openactive / open-booking-api

Repository for the Open Booking API specification
Other
2 stars 3 forks source link

Clarify required fields for `PropertyValue` #188

Open nickevansuk opened 3 years ago

nickevansuk commented 3 years ago

Clarify required fields for PropertyValue in each context, e.g:

The spec should clearly reflect the following:

    {
      "accessCode": {
        "requiredFields": [
          "type",
          "name",
          "description"
        ]
      },
      "additionalProperty": {
        "requiredFields": [
          "type",
          "name",
          "value"
        ]
      },
      "orderItemIntakeFormResponse": {
        "requiredFields": [
          "type",
          "propertyID",
          "value"
        ]
      }
    }