Skip to content

Validator and OpenActive.Net disagree on allowable values of "kind" #23

@matdavies

Description

@matdavies

OpenActive.Net serialises the "kind" field for slots as "Slot":

https://github.com/openactive/OpenActive.NET/blob/b171a1c76184b6d69118483bd998dab3eea29907/OpenActive.NET/rpde/RDPEModels.cs#L47

https://github.com/openactive/OpenActive.NET/blob/b171a1c76184b6d69118483bd998dab3eea29907/OpenActive.NET/rpde/RDPEModels.cs#L338

(Though I must admit, I can't seem to find where this property is actually set?)

However, the validator does not accept this type:

Given this array of items, this is the result;

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions