OpenTravel 2020A Hotel Descriptive Content Resource

Swagger 2.0 resource contract generated from the OpenTravel 2.0 Object Model, 2020A Object Suite. Defines three operations for hotel descriptive content — GET /HotelDescriptiveContents, POST /HotelDescriptiveContents/Query and POST /HotelDescriptiveContents/Notifications — with 337 model definitions. This is a specification artifact published by the standards body for implementers to host themselves; the document declares host 127.0.0.1 and basePath /v1_0 and OpenTravel operates no runtime endpoint for it.

Documentation

Specifications

Schemas & Data

Other Resources

OpenAPI Specification

opentravel-2020a-hotel-descriptive-content-resource-defs-openapi.json Raw ↑
{
  "swagger": "2.0",
  "x-otm-resource": {
    "namespace": "http://www.opentravel.org/OTM/resources/HospitalityResources/v1",
    "localName": "HotelDescriptiveContentResource"
  },
  "info": {
    "title": "HotelDescriptiveContentResource",
    "x-otm-library": {
      "ResourceName": "HotelDescriptiveContentResource",
      "LibraryName": "HospitalityContent",
      "LibraryVersion": "1.0.0",
      "LibraryStatus": "DRAFT",
      "SourceFile": "/HospitalityContent_1_0_0.otm",
      "CompilerVersion": "4.0-SNAPSHOT",
      "CompileDate": "2019-10-30T13:33:15.081-0400"
    },
    "version": "1.0.0"
  },
  "host": "127.0.0.1",
  "basePath": "/v1_0",
  "schemes": [
    "http"
  ],
  "paths": {
    "/HotelDescriptiveContents": {
      "get": {
        "summary": "HotelDescriptiveContentResource - Get",
        "operationId": "Get",
        "produces": [
          "application/xml",
          "application/json"
        ],
        "parameters": [
          {
            "name": "displayCurrency",
            "in": "query",
            "description": "Preferred currencty code is a 3 char currency code as defined in ISO 4127",
            "x-otm-annotations": {
              "documentation": {
                "references": [
                  "http:\\/\\/www.opentraveldevelopersnetwork.com\\/Supported_ISO_Standards.php"
                ],
                "more-info": [
                  "http:\\/\\/www.opentraveldevelopersnetwork.com\\/2012A_SchemaDoc\\/DisplayCurrency"
                ]
              }
            },
            "required": false,
            "type": "string",
            "pattern": "[a-zA-Z]{3}"
          },
          {
            "name": "maxResponses",
            "in": "query",
            "description": "The maximum quantity of search results in the response.",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "summaryResultsInd",
            "in": "query",
            "description": "If true, summary information is requested in the search results.",
            "required": false,
            "type": "boolean"
          },
          {
            "name": "code",
            "in": "query",
            "description": "Uniquely identifies a single property for a reservation.",
            "x-otm-annotations": {
              "examples": [
                {
                  "context": "ph",
                  "value": "WASJW"
                }
              ]
            },
            "required": false,
            "type": "string",
            "maxLength": 32
          },
          {
            "name": "chainCode",
            "in": "query",
            "description": "Identifies the chain.",
            "x-otm-annotations": {
              "examples": [
                {
                  "context": "ph",
                  "value": "MC"
                }
              ]
            },
            "required": false,
            "type": "string",
            "maxLength": 32
          },
          {
            "name": "brandCode",
            "in": "query",
            "description": "Identifies a brand with in a chain (e.g. Courtyard, Hampton Inn).  This code is optional if the hotel is an independent property that can be identified by a propert code alone.",
            "x-otm-annotations": {
              "examples": [
                {
                  "context": "ph",
                  "value": "FS"
                }
              ]
            },
            "required": false,
            "type": "string",
            "maxLength": 32
          },
          {
            "name": "cityCode",
            "in": "query",
            "description": "Specifies the three character IATA city code.",
            "x-otm-annotations": {
              "examples": [
                {
                  "context": "ph",
                  "value": "WAS"
                }
              ]
            },
            "required": false,
            "type": "string",
            "maxLength": 32
          },
          {
            "name": "areaID",
            "in": "query",
            "description": "An identifier of an area as defined by a hotel reservation system to allow for seaches in areas such as suburbs or regions.",
            "required": false,
            "type": "string",
            "maxLength": 512
          },
          {
            "name": "hotelCode_TTI",
            "in": "query",
            "description": "TTI hotel reference code.",
            "required": false,
            "type": "integer",
            "format": "int32",
            "minimum": 0,
            "exclusiveMinimum": false
          }
        ],
        "responses": {
          "400": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/BaseResponse"
            },
            "x-xml-schema": {
              "$ref": "Common_5_0_0_Trim.xsd#/BaseResponse"
            }
          },
          "401": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/BaseResponse"
            },
            "x-xml-schema": {
              "$ref": "Common_5_0_0_Trim.xsd#/BaseResponse"
            }
          },
          "402": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/BaseResponse"
            },
            "x-xml-schema": {
              "$ref": "Common_5_0_0_Trim.xsd#/BaseResponse"
            }
          },
          "403": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/BaseResponse"
            },
            "x-xml-schema": {
              "$ref": "Common_5_0_0_Trim.xsd#/BaseResponse"
            }
          },
          "404": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/BaseResponse"
            },
            "x-xml-schema": {
              "$ref": "Common_5_0_0_Trim.xsd#/BaseResponse"
            }
          },
          "500": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/BaseResponse"
            },
            "x-xml-schema": {
              "$ref": "Common_5_0_0_Trim.xsd#/BaseResponse"
            }
          },
          "200": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/HotelDescriptiveContentListResponse"
            },
            "x-xml-schema": {
              "$ref": "HospitalityContent_HospitalityResources_1_0_0_Trim.xsd#/HotelDescriptiveContentListResponse"
            }
          }
        }
      }
    },
    "/HotelDescriptiveContents/Notifications": {
      "post": {
        "summary": "HotelDescriptiveContentResource - Notification",
        "operationId": "Notification",
        "consumes": [
          "application/json",
          "application/xml"
        ],
        "produces": [
          "application/xml",
          "application/json"
        ],
        "parameters": [
          {
            "name": "HotelDescriptiveContentID",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/HotelDescriptiveContentID"
            },
            "x-xml-schema": {
              "$ref": "OrganizationHospitality_4_0_0_Trim.xsd#/HotelDescriptiveContent"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/BaseResponse"
            },
            "x-xml-schema": {
              "$ref": "Common_5_0_0_Trim.xsd#/BaseResponse"
            }
          },
          "401": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/BaseResponse"
            },
            "x-xml-schema": {
              "$ref": "Common_5_0_0_Trim.xsd#/BaseResponse"
            }
          },
          "402": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/BaseResponse"
            },
            "x-xml-schema": {
              "$ref": "Common_5_0_0_Trim.xsd#/BaseResponse"
            }
          },
          "403": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/BaseResponse"
            },
            "x-xml-schema": {
              "$ref": "Common_5_0_0_Trim.xsd#/BaseResponse"
            }
          },
          "404": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/BaseResponse"
            },
            "x-xml-schema": {
              "$ref": "Common_5_0_0_Trim.xsd#/BaseResponse"
            }
          },
          "500": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/BaseResponse"
            },
            "x-xml-schema": {
              "$ref": "Common_5_0_0_Trim.xsd#/BaseResponse"
            }
          },
          "201": {
            "description": ""
          }
        }
      }
    },
    "/HotelDescriptiveContents/Query": {
      "post": {
        "summary": "HotelDescriptiveContentResource - Query",
        "operationId": "Query",
        "consumes": [
          "application/json",
          "application/xml"
        ],
        "produces": [
          "application/xml",
          "application/json"
        ],
        "parameters": [
          {
            "name": "HotelDescriptiveContentQueryInfo",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/HotelDescriptiveContentQueryInfo"
            },
            "x-xml-schema": {
              "$ref": "HospitalityContent_HospitalityResources_1_0_0_Trim.xsd#/HotelDescriptiveContentQueryInfo"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/BaseResponse"
            },
            "x-xml-schema": {
              "$ref": "Common_5_0_0_Trim.xsd#/BaseResponse"
            }
          },
          "401": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/BaseResponse"
            },
            "x-xml-schema": {
              "$ref": "Common_5_0_0_Trim.xsd#/BaseResponse"
            }
          },
          "402": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/BaseResponse"
            },
            "x-xml-schema": {
              "$ref": "Common_5_0_0_Trim.xsd#/BaseResponse"
            }
          },
          "403": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/BaseResponse"
            },
            "x-xml-schema": {
              "$ref": "Common_5_0_0_Trim.xsd#/BaseResponse"
            }
          },
          "404": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/BaseResponse"
            },
            "x-xml-schema": {
              "$ref": "Common_5_0_0_Trim.xsd#/BaseResponse"
            }
          },
          "500": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/BaseResponse"
            },
            "x-xml-schema": {
              "$ref": "Common_5_0_0_Trim.xsd#/BaseResponse"
            }
          },
          "201": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/HotelDescriptiveContentListResponse"
            },
            "x-xml-schema": {
              "$ref": "HospitalityContent_HospitalityResources_1_0_0_Trim.xsd#/HotelDescriptiveContentListResponse"
            }
          }
        }
      }
    }
  },
  "definitions": {
    "GuaranteesAccepted": {
      "x-otm-entity": {
        "EntityType": "CoreObject",
        "EntityName": "GuaranteesAccepted"
      },
      "properties": {
        "@type": {
          "type": "string"
        },
        "Type": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/PaymentType_Enum"
          },
          "maxItems": 50
        },
        "PaymentCardCode": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/PaymentCardCode_Enum"
          },
          "maxItems": 30
        },
        "noCardHolderInfoReqInd": {
          "description": "If true, no credit card holder information is required. If false, it is not required.",
          "type": "boolean"
        },
        "nameReqInd": {
          "description": "If true, the credit card holder name is required. If false, it is not required.",
          "type": "boolean"
        },
        "addressReqInd": {
          "description": "If true, credit card holder address is required. If false, it is not required.",
          "type": "boolean"
        },
        "phoneReqInd": {
          "description": "If true, credit card holder phone number is required. If false, it is not required.",
          "type": "boolean"
        },
        "interbankNbrReqInd": {
          "description": "If true, the credit card interbank number is required. If false, it is not required.",
          "type": "boolean"
        },
        "bookingSourceAllowedInd": {
          "description": "When true, the booking source may be used to guarantee the booking.",
          "type": "boolean"
        },
        "corpDiscountNbrAllowedInd": {
          "description": "When true, the corporate discount number may be used to guarantee the booking.",
          "type": "boolean"
        },
        "ExtensionPoint": {
          "$ref": "#/definitions/ExtensionPoint"
        }
      },
      "required": [
        "@type"
      ],
      "discriminator": "@type"
    },
    "PaymentsAccepted": {
      "x-otm-entity": {
        "EntityType": "CoreObject",
        "EntityName": "GuaranteesAccepted"
      },
      "properties": {
        "@type": {
          "type": "string"
        },
        "Type": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/PaymentType_Enum"
          },
          "maxItems": 50
        },
        "PaymentCardCode": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/PaymentCardCode_Enum"
          },
          "maxItems": 30
        },
        "noCardHolderInfoReqInd": {
          "description": "If true, no credit card holder information is required. If false, it is not required.",
          "type": "boolean"
        },
        "nameReqInd": {
          "description": "If true, the credit card holder name is required. If false, it is not required.",
          "type": "boolean"
        },
        "addressReqInd": {
          "description": "If true, credit card holder address is required. If false, it is not required.",
          "type": "boolean"
        },
        "phoneReqInd": {
          "description": "If true, credit card holder phone number is required. If false, it is not required.",
          "type": "boolean"
        },
        "interbankNbrReqInd": {
          "description": "If true, the credit card interbank number is required. If false, it is not required.",
          "type": "boolean"
        },
        "bookingSourceAllowedInd": {
          "description": "When true, the booking source may be used to guarantee the booking.",
          "type": "boolean"
        },
        "corpDiscountNbrAllowedInd": {
          "description": "When true, the corporate discount number may be used to guarantee the booking.",
          "type": "boolean"
        },
        "ExtensionPoint": {
          "$ref": "#/definitions/ExtensionPoint"
        }
      },
      "required": [
        "@type"
      ],
      "discriminator": "@type"
    },
    "Deadline": {
      "x-otm-entity": {
        "EntityType": "ChoiceObject",
        "EntityName": "Deadline"
      },
      "properties": {
        "@type": {
          "type": "string"
        },
        "deadlineType": {
          "description": "An enumerated list of deadline types e.g.Before Arrival.",
          "$ref": "#/definitions/DeadlineDropTime_Enum"
        },
        "ExtensionPoint_Shared": {
          "$ref": "#/definitions/ExtensionPoint_Shared"
        }
      },
      "required": [
        "@type"
      ],
      "discriminator": "@type"
    },
    "DeadlineTimePeriod": {
      "x-otm-entity": {
        "EntityType": "ChoiceObject",
        "EntityName": "Deadline"
      },
      "allOf": [
        {
          "$ref": "#/definitions/Deadline"
        },
        {
          "properties": {
            "minPeriod": {
              "description": "The minimum time period.",
              "type": "integer",
              "format": "int32"
            },
            "maxPeriod": {
              "description": "The maximum time period",
              "type": "integer",
              "format": "int32"
            },
            "timePeriod": {
              "description": "Assigned Type: ota2-0500:StringTiny",
              "type": "string",
              "maxLength": 32
            },
            "ExtensionPoint": {
              "$ref": "#/definitions/ExtensionPoint"
            }
          }
        }
      ]
    },
    "DeadlineAbsoluteDate": {
      "x-otm-entity": {
        "EntityType": "ChoiceObject",
        "EntityName": "Deadline"
      },
      "allOf": [
        {
          "$ref": "#/definitions/Deadline"
        },
        {
          "properties": {
            "absoluteDateTime": {
              "description": "Assigned Type: ota2-0500:DateTime",
              "type": "string",
              "format": "date-time"
            },
            "ExtensionPoint": {
              "$ref": "#/definitions/ExtensionPoint"
            }
          }
        }
      ]
    },
    "RoomOccupancy": {
      "x-otm-entity": {
        "EntityType": "CoreObject",
        "EntityName": "RoomOccupancy"
      },
      "properties": {
        "@type": {
          "type": "string"
        },
        "minOccupancy": {
          "description": "Assigned Type: ota2-0500:NonNegativeInteger",
          "x-otm-annotations": {
            "examples": [
              {
                "context": "ph",
                "value": "1"
              }
            ]
          },
          "type": "integer",
          "format": "int32",
          "minimum": 0,
          "exclusiveMinimum": false
        },
        "maxOccupancy": {
          "description": "Assigned Type: ota2-0500:NonNegativeInteger",
          "x-otm-annotations": {
            "examples": [
              {
                "context": "ph",
                "value": "4"
              }
            ]
          },
          "type": "integer",
          "format": "int32",
          "minimum": 0,
          "exclusiveMinimum": false
        },
        "standardOccupancy": {
          "description": "Assigned Type: ota2-0500:NonNegativeInteger",
          "type": "integer",
          "format": "int32",
          "minimum": 0,
          "exclusiveMinimum": false
        },
        "AgeQualifying": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/AgeQualifyingCode_Enum"
          },
          "maxItems": 20
        },
        "ExtensionPoint": {
          "$ref": "#/definitions/ExtensionPoint"
        }
      },
      "required": [
        "@type"
      ],
      "discriminator": "@type"
    },
    "BasicPropertyInfo": {
      "x-otm-entity": {
        "EntityType": "CoreObject",
        "EntityName": "BasicPropertyInfo"
      },
      "properties": {
        "@type": {
          "type": "string"
        },
        "code": {
          "description": "Assigned Type: ota2-0500:StringTiny",
          "x-otm-annotations": {
            "examples": [
              {
                "context": "ph",
                "value": "WASJW"
              }
            ]
          },
          "type": "string",
          "maxLength": 32
        },
        "name": {
          "description": "Assigned Type: ota2-0500:StringShort",
          "x-otm-annotations": {
            "examples": [
              {
                "context": "ph",
                "value": "JW Marriott Washington DC"
              }
            ]
          },
          "type": "string",
          "maxLength": 128
        },
        "chainCode": {
          "description": "Assigned Type: ota2-0500:StringTiny",
          "x-otm-annotations": {
            "examples": [
              {
                "context": "ph",
                "value": "MC"
              }
            ]
          },
          "type": "string",
          "maxLength": 32
        },
        "brandCode": {
          "description": "Assigned Type: ota2-0500:StringTiny",
          "x-otm-annotations": {
            "examples": [
              {
                "context": "ph",
                "value": "FS"
              }
            ]
          },
          "type": "string",
          "maxLength": 32
        },
        "cityCode": {
          "description": "Assigned Type: ota2-0500:StringTiny",
          "x-otm-annotations": {
            "examples": [
              {
                "context": "ph",
                "value": "WAS"
              }
            ]
          },
          "type": "string",
          "maxLength": 32
        },
        "ExtensionPoint_Summary": {
          "$ref": "#/definitions/ExtensionPoint_Summary"
        }
      },
      "required": [
        "@type"
      ],
      "discriminator": "@type"
    },
    "Site": {
      "x-otm-entity": {
        "EntityType": "CoreObject",
        "EntityName": "BasicPropertyInfo"
      },
      "properties": {
        "@type": {
          "type": "string"
        },
        "code": {
          "description": "Assigned Type: ota2-0500:StringTiny",
          "x-otm-annotations": {
            "examples": [
              {
                "context": "ph",
                "value": "WASJW"
              }
            ]
          },
          "type": "string",
          "maxLength": 32
        },
        "name": {
          "description": "Assigned Type: ota2-0500:StringShort",
          "x-otm-annotations": {
            "examples": [
              {
                "context": "ph",
                "value": "JW Marriott Washington DC"
              }
            ]
          },
          "type": "string",
          "maxLength": 128
        },
        "chainCode": {
          "description": "Assigned Type: ota2-0500:StringTiny",
          "x-otm-annotations": {
            "examples": [
              {
                "context": "ph",
                "value": "MC"
              }
            ]
          },
          "type": "string",
          "maxLength": 32
        },
        "brandCode": {
          "description": "Assigned Type: ota2-0500:StringTiny",
          "x-otm-annotations": {
            "examples": [
              {
                "context": "ph",
                "value": "FS"
              }
            ]
          },
          "type": "string",
          "maxLength": 32
        },
        "cityCode": {
          "description": "Assigned Type: ota2-0500:StringTiny",
          "x-otm-annotations": {
            "examples": [
              {
                "context": "ph",
                "value": "WAS"
              }
            ]
          },
          "type": "string",
          "maxLength": 32
        },
        "ExtensionPoint_Summary": {
          "$ref": "#/definitions/ExtensionPoint_Summary"
        }
      },
      "required": [
        "@type"
      ],
      "discriminator": "@type"
    },
    "BasicPropertyInfoDetail": {
      "x-otm-entity": {
        "EntityType": "CoreObject",
        "EntityName": "BasicPropertyInfo"
      },
      "allOf": [
        {
          "$ref": "#/definitions/BasicPropertyInfo"
        },
        {
          "properties": {
            "nameShort": {
              "description": "Assigned Type: ota2-0500:StringShort",
              "type": "string",
              "maxLength": 128
            },
            "chainName": {
              "description": "Assigned Type: ota2-0500:StringShort",
              "x-otm-annotations": {
                "examples": [
                  {
                    "context": "ph",
                    "value": "Marriott"
                  }
                ]
              },
              "type": "string",
              "maxLength": 128
            },
            "brandName": {
              "description": "Assigned Type: ota2-0500:StringShort",
              "x-otm-annotations": {
                "examples": [
                  {
                    "context": "ph",
                    "value": "Full Service"
                  }
                ]
              },
              "type": "string",
              "maxLength": 128
            },
            "areaID": {
              "description": "Assigned Type: ota2-0500:String",
              "type": "string",
              "maxLength": 512
            },
            "hotelCode_TTI": {
              "description": "Assigned Type: ota2-0500:NonNegativeInteger",
              "type": "integer",
              "format": "int32",
              "minimum": 0,
              "exclusiveMinimum": false
            },
            "hotelCodeContext": {
              "description": "Assigned Type: ota2-0500:StringShort",
              "type": "string",
              "maxLength": 128
            },
            "ExtensionPoint_Detail": {
              "$ref": "#/definitions/ExtensionPoint_Detail"
            }
          }
        }
      ]
    },
    "SiteDetail": {
      "x-otm-entity": {
        "EntityType": "CoreObject",
        "EntityName": "BasicPropertyInfo"
      },
      "allOf": [
        {
          "$ref": "#/definitions/Site"
        },
        {
          "properties": {
            "nameShort": {
              "description": "Assigned Type: ota2-0500:StringShort",
              "type": "string",
              "maxLength": 128
            },
            "chainName": {
              "description": "Assigned Type: ota2-0500:StringShort",
              "x-otm-annotations": {
                "examples": [
                  {
                    "context": "ph",
                    "value": "Marriott"
                  }
                ]
              },
              "type": "string",
              "maxLength": 128
            },
            "brandName": {
              "description": "Assigned Type: ota2-0500:StringShort",
              "x-otm-annotations": {
                "examples": [
                  {
                    "context": "ph",
                    "value": "Full Service"
                  }
                ]
              },
              "type": "string",
              "maxLength": 128
            },
            "areaID": {
              "description": "Assigned Type: ota2-0500:String",
              "type": "string",
              "maxLength": 512
            },
            "hotelCode_TTI": {
              "description": "Assigned Type: ota2-0500:NonNegativeInteger",
              "type": "integer",
              "format": "int32",
              "minimum": 0,
              "exclusiveMinimum": false
            },
            "hotelCodeContext": {
              "description": "Assigned Type: ota2-0500:StringShort",
              "type": "string",
              "maxLength": 128
            },
            "ExtensionPoint_Detail": {
              "$ref": "#/definitions/ExtensionPoint_Detail"
            }
          }
        }
      ]
    },
    "HotelDescriptiveContentListResponse": {
      "x-otm-entity": {
        "EntityType": "CoreObject",
        "EntityName": "BaseResponse"
      },
      "properties": {
        "@type": {
          "type": "string"
        },
        "HotelDescriptiveContent": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/HotelDescriptiveContentID"
          }
        },
        "PayloadStdAttributes": {
          "description": "Assigned Type: ota2-0500:PayloadStdAttributes",
          "$ref": "#/definitions/PayloadStdAttributes"
        },
        "Result": {
          "description": "Assigned Type: ota2-0500:Result",
          "$ref": "#/definitions/Result"
        },
        "ExtensionPoint": {
          "$ref": "#/definitions/ExtensionPoint"
        }
      },
      "required": [
        "@type"
      ],
      "discriminator": "@type"
    },
    "HotelDescriptiveContentQueryInfo": {
      "x-otm-entity": {
        "EntityType": "BusinessObject",
        "EntityName": "HotelDescriptiveContent"
      },
      "properties": {
        "@type": {
          "type": "string"
        },
        "ProcessingInfo": {
          "description": "Assigned Type: ota2-0500:ProcessingInfo",
          "$ref": "#/definitions/ProcessingInfo"
        },
        "HotelDescriptiveRequestInfo": {
          "description": "Assigned Type: orghs-0400:HotelDescriptiveRequestInfo",
          "$ref": "#/definitions/HotelDescriptiveRequestInfo"
        },
        "ExtensionPoint": {
          "$ref": "#/definitions/ExtensionPoint"
        }
      },
      "required": [
        "@type"
      ],
      "discriminator": "@type"
    },
    "HotelDescriptiveContentQueryGet": {
      "x-otm-entity": {
        "EntityType": "BusinessObject",
        "EntityName": "HotelDescriptiveContent"
      },
      "properties": {
        "@type": {
          "type": "string"
        },
        "BasicPropertyInfo": {
          "description": "Assigned Type: ph-0200:BasicPropertyInfo",
          "$ref": "#/definitions/BasicPropertyInfo"
        },
        "ProcessingInfo": {
          "description": "Assigned Type: ota2-0500:ProcessingInfo",
          "$ref": "#/definitions/ProcessingInfo"
        },
        "ExtensionPoint": {
          "$ref": "#/definitions/ExtensionPoint"
        }
      },
      "required": [
        "@type",
        "BasicPropertyInfo"
      ],
      "discriminator": "@type"
    },
    "Recreation": {
      "x-otm-entity": {
        "EntityType": "CoreObject",
        "EntityName": "Recreation"
      },
      "properties": {
        "@type": {
          "type": "string"
        },
        "name": {
          "description": "Assigned Type: ota2-0500:StringShort",
          "type": "string",
          "maxLength": 128
        },
        "sort": {
          "description": "Assigned Type: ota2-0500:NonNegativeInteger",
          "type": "integer",
          "format": "int32",
          "minimum": 0,
          "exclusiveMinimum": false
        },
        "yearReplaced": {
          "description": "The year when recreation associated equipment was last replaced.",
          "type": "string",
          "format": "date"
        },
        "language": {
          "description": "Identifies the language in which the attraction information is sent.",
          "type": "string"
        },
        "Proximity": {
          "description": "Assigned Type: ota2-0400:Proximity_Enum",
          "$ref": "#/definitions/Proximity_Enum"
        },
        "ID": {
          "description": "Assigned Type: ota2-0500:Identifier",
          "$ref": "#/definitions/Identifier"
        },
        "RecreationService": {
          "description": "Assigned Type: ota2-0400:RecreationService_Enum",
          "x-otm-annotations": {
            "documentation": {
              "implementers": [
                "Assigned XSD Type: {http:\\/\\/chameleon.anonymous\\/ns}OTA_CodeType"
              ]
            }
          },
          "$ref": "#/definitions/RecreationService_Enum"
        },
        "ContactInformation": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ContactInformation"
          },
          "maxItems": 10
        },
        "OperationSchedule": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/OperationSchedule"
          },
          "maxItems": 100
        },
        "ReferencePoint": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ReferencePoint"
          },
          "maxItems": 100
        },
        "MultimediaCollection": {
          "description": "Assigned Type: ota2-0500:MultimediaCollection",
          "$ref": "#/definitions/MultimediaCollection"
        },
        "RecreationFeature": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/RecreationFeature"
          },
          "maxItems": 100
        },
        "Description": {
          "description": "Assigned Type: ota2-0500:Description",
          "$ref": "#/definitions/Description"
        },
        "includedInd": {
          "description": "When true, this recreation is included with basic room rates.",
          "type": "boolean"
        },
        "featuredI

# --- truncated at 32 KB (428 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/opentravel-alliance/refs/heads/main/openapi/opentravel-2020a-hotel-descriptive-content-resource-defs-openapi.json