Skip to content

Validate @id references in Booking API context #402

@nickevansuk

Description

@nickevansuk

Validate that acceptedOffer and orderedItem are @ids for requests, and objects for responses, within the Open Booking API.

Currently the validator will pass when @id references are used in the wrong context


Also (related) ensure that @id references are validated in the context of the feed.

For example this in a Slots feed currently passes the validator

            "facilityUse":{
               "@type":"FacilityUse",
               "@id":"https://localhost/ven_000229-rbt_000010",
               identifier":"ven_000229-rbt_000010"
           },

This has been split out into a separate issue #408

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions