Feed validation schema

The following JSON schema can be downloaded and used for validation any generated JSON files during development.

{
  "title": "ext.travel.ttd.proto.feeds.v1.EventFeed",
  "type": [
    "object"
  ],
  "properties": {
    "data": {
      "title": "data",
      "description": "List of the events.",
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.Event"
      }
    }
  },
  "additionalProperties": true,
  "definitions": {
    "google.type.LocalizedText": {
      "title": "google.type.LocalizedText",
      "type": [
        "object"
      ],
      "properties": {
        "text": {
          "title": "text",
          "description": "Localized string in the language corresponding to `language_code\u0027 below.",
          "type": [
            "string"
          ]
        },
        "language_code": {
          "title": "language_code",
          "description": "The text\u0027s BCP-47 language code, such as \"en-US\" or \"sr-Latn\".\n\n For more information, see\n http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.",
          "type": [
            "string"
          ]
        }
      },
      "additionalProperties": true,
      "required": [ "text", "language_code" ]
    },
    "ext.travel.ttd.proto.feeds.v1.LocalizedTextSet": {
      "title": "ext.travel.ttd.proto.feeds.v1.LocalizedTextSet",
      "description": "Values of the localized fields.",
      "type": [
        "object"
      ],
      "properties": {
        "localized_texts": {
          "title": "localized_texts",
          "description": "Per-locale LocalizedText values.\n Maximum repeatedness: 50\n At least one value is required",
          "type": [
            "array"
          ],
          "items": {
            "$ref": "#/definitions/google.type.LocalizedText"
          },
          "minItems": 1
        }
      },
      "additionalProperties": true
    },
    "ext.travel.ttd.proto.feeds.v1.TimeInfo": {
      "title": "ext.travel.ttd.proto.feeds.v1.TimeInfo",
      "description": "Time information about a time slot for a service or event.",
      "type": [
        "object"
      ],
      "properties": {
        "start_seconds": {
          "title": "start_seconds",
          "description": "Event start time - seconds since epoch UTC.\n Required",
          "type": [
            "integer"
          ]
        },
        "start_to_be_decided": {
          "title": "start_to_be_decided",
          "description": "Set to true if the start sec has not been decided.\n The start_sec in this case must be set to the earliest potential time.",
          "type": [
            "boolean"
          ]
        },
        "end_seconds": {
          "title": "end_seconds",
          "description": "Event end time - seconds since epoch UTC.\n Optional.",
          "type": [
            "integer"
          ]
        },
        "door_open_seconds": {
          "title": "door_open_seconds",
          "description": "Door opening time -in seconds since the epoch UTC.\n Optional.",
          "type": [
            "integer"
          ]
        }
      },
      "additionalProperties": true,
      "required": [ "start_seconds" ]
    },
    "google.type.LatLng": {
      "title": "google.type.LatLng",
      "description": "An object that represents a latitude/longitude pair. This is expressed as a\n pair of doubles to represent degrees latitude and degrees longitude. Unless\n specified otherwise, this must conform to the\n \u003ca href\u003d\"http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf\"\u003eWGS84\n standard\u003c/a\u003e. Values must be within normalized ranges.",
      "type": [
        "object"
      ],
      "properties": {
        "latitude": {
          "title": "latitude",
          "description": "The latitude in degrees. It must be in the range [-90.0, +90.0].",
          "type": [
            "number"
          ]
        },
        "longitude": {
          "title": "longitude",
          "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].",
          "type": [
            "number"
          ]
        }
      },
      "additionalProperties": true,
      "required": [ "latitude", "longitude" ]
    },
    "ext.travel.ttd.proto.feeds.v1.StructuredAddress": {
      "title": "ext.travel.ttd.proto.feeds.v1.StructuredAddress",
      "type": [
        "object"
      ],
      "properties": {
        "street_address": {
          "title": "street_address",
          "description": "Street address, including house number and any other component that cannot\n be provided using the more specific fields defined below. It should not\n include the place or business name, which must instead be provided\n separately using the `name` field under `PlaceInfo`. It should also not\n include postal code, locality or country as those should be provided using\n the corresponding fields below.\n\n Examples:\n - \"Piazza del Colosseo, 1\" for the Colosseum.\n - \"Great Russell St\" for The British Museum.\n - \"Champ de Mars, 5 Av. Anatole France\" for the Eiffel Tower.\n\n Max length: 200.\n Required.",
          "type": [
            "string"
          ],
          "maxLength": 200
        },
        "locality": {
          "title": "locality",
          "description": "Locality, generally referring to the city/town portion of an address.\n Examples: \"New York\", \"Rome\", \"London\", \"Tokyo\".\n In regions of the world where localities are not well defined or do not fit\n into this structure well, leave empty.\n Max length: 80.\n Optional.",
          "type": [
            "string"
          ],
          "maxLength": 80
        },
        "administrative_area": {
          "title": "administrative_area",
          "description": "Highest administrative subdivision used for postal addresses of the\n specific country or region. This can be a state, a region, a province, an\n oblast, a prefecture, etc.\n It can be an abbreviation or a full name, depending on how the region is\n usually represented in the postal addresses of the specific country. For\n example, \"CA\" or \"California\" for US addresses, \"RM\" for Rome province in\n Italy.\n Many countries don\u0027t use an administrative area in postal addresses. For\n instance, this field should not be used for addresses in Switzerland.\n Max length: 80.\n Optional.",
          "type": [
            "string"
          ],
          "maxLength": 80
        },
        "postal_code": {
          "title": "postal_code",
          "description": "The postal code or zip code.\n Examples: \"75007\", \"WC1B 3DG\", etc.\n Required if the country supports postal codes, otherwise it should be left\n empty.\n Max length: 30.\n Optional.",
          "type": [
            "string"
          ],
          "maxLength": 30
        },
        "country_code": {
          "title": "country_code",
          "description": "Country code, as defined by Unicode\u0027s \"CLDR\", itself based on the ISO 3166\n alpha-2 standard. See\n https://unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html.\n\n Examples: \"US\" for the United States, \"FR\" for France, \"GB\" for the United\n Kingdom, etc.\n Max length: 2.\n Required.",
          "type": [
            "string"
          ],
          "minLength": 2,
          "maxLength": 3
        }
      },
      "additionalProperties": true,
      "required": [ "street_address", "country_code" ]
    },
    "ext.travel.ttd.proto.feeds.v1.PlaceInfo": {
      "title": "ext.travel.ttd.proto.feeds.v1.PlaceInfo",
      "type": [
        "object"
      ],
      "properties": {
        "name": {
          "title": "name",
          "description": "Place or business name.\n For higher matching accuracy, this should be the same as the name shown on\n Google for the place. For places with a claimed Google Business Profile,\n this should be the same as the business name configured in the business\n profile.\n Max length: 100.\n Required.",
          "type": [
            "string"
          ],
          "maxLength": 100
        },
        "phone_number": {
          "title": "phone_number",
          "description": "Phone number, including the international prefix.\n For higher matching accuracy, this should be the same as the phone number\n shown on Google for the place.\n It can include commonly used separator characters.\n Examples: \"+1 212-363-3200\", \"+91 562 222 7261\".\n Max length: 30.\n Optional.",
          "type": [
            "string"
          ],
          "maxLength": 30
        },
        "website_url": {
          "title": "website_url",
          "description": "Website URL shown on Google for the place, preferably the URL linked from\n the business listing in Google Maps or Search for the place.\n Max length: 1000.\n Optional.",
          "type": [
            "string"
          ],
          "maxLength": 1000
        },
        "coordinates": {
          "title": "coordinates",
          "description": "Geographic coordinates of the place.\n If left empty, Google will infer the coordinates from the address.\n Optional, but either `coordinates` or one of `address_type` must be\n provided.",
          "$ref": "#/definitions/google.type.LatLng"
        },
        "structured_address": {
          "title": "structured_address [oneof#address_type]",
          "description": "Structured address.\n Prefer this format whenever possible for higher matching accuracy.",
          "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.StructuredAddress"
        },
        "unstructured_address": {
          "title": "unstructured_address [oneof#address_type]",
          "description": "Unstructured address.\n It should not include the place or business name, which must instead be\n provided separately using the `name` field.\n\n Examples:\n - `name`: \"Colosseum\", `unstructured_address`: \"Piazza del Colosseo, 1,\n 00184 Roma RM, Italy\".\n - `name`: \"The British Museum\", `unstructured_address`: \"Great Russell\n St, London WC1B 3DG, United Kingdom\".\n\n Max length: 400.",
          "type": [
            "string"
          ],
          "maxLength": 400
        }
      },
      "additionalProperties": true,
      "required": [ "name" ],
      "anyOf": [
        {"required": ["coordinates"]},
        { "oneOf": [
          {"required": ["structured_address"]},
          {"required": ["unstructured_address"]}
        ]}
      ]
    },
    "ext.travel.ttd.proto.feeds.v1.GeoLocation": {
      "title": "ext.travel.ttd.proto.feeds.v1.GeoLocation",
      "type": [
        "object"
      ],
      "properties": {
        "place_id": {
          "title": "place_id [oneof#value]",
          "description": "Place ID as defined by the Places API:\n   https://developers.google.com/places/web-service/place-id\n\n Uniquely identifies a POI on Google.\n It can be sourced using the Places API endpoints, for instance Place\n Search or Place Autocomplete, or manually using the Find Location Matches\n tool in Things to Do Center.\n Max length: 64.",
          "type": [
            "string"
          ]
        },
        "address": {
          "title": "address [oneof#value]",
          "description": "Legacy single-line address.\n Components are expected to be comma-separated, with the first component\n being the place name as it is displayed on Google.\n For higher matching accuracy, use the street address shown on Google for\n the place.\n\n Examples:\n - \"Colosseum, Piazza del Colosseo, 1, 00184 Roma RM, Italy\"\n - \"The British Museum, Great Russell St, London WC1B 3DG, United Kingdom\"\n Max length: 200.\n\n Deprecated: use `place_info` for higher matching accuracy, which provides\n a separate field for the place name and supports both structured and\n unstructured address formats.",
          "type": [
            "string"
          ]
        },
        "place_info": {
          "title": "place_info [oneof#value]",
          "description": "Structured place information.",
          "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.PlaceInfo"
        },
        "business_profile_id": {
          "title": "business_profile_id [oneof#value]",
          "description": "Business Profile ID, as found in the Google Business Profile settings\n page. Use this field when sourcing locations directly from the place\n owner, who has access to the Google Business Profile for the place and\n can provide such ID.",
          "type": [
            "string"
          ]
        },
        "lat_lng": {
          "title": "lat_lng [oneof#value]",
          "description": "Geographic coordinates.\n This field can only be used to determine a city or geographical region,\n as it is too ambiguous to identify a specific place or businesses.\n Use `place_info` instead to match to a specific place by name and\n coordinates.",
          "$ref": "#/definitions/google.type.LatLng"
        }
      },
      "additionalProperties": true,
      "oneOf": [
        {"required": ["place_info"]},
        {"required": ["place_id"]},
        {"required": ["address"]},
        {"required": ["business_profile_id"]},
        {"required": ["lat_lng"]}
      ]
    },
    "ext.travel.ttd.proto.feeds.v1.Location": {
      "title": "ext.travel.ttd.proto.feeds.v1.Location",
      "type": [
        "object"
      ],
      "properties": {
        "location": {
          "title": "location",
          "description": "At least one of (location, description) must be set, and we highly\n recommend populating location wherever possible.\n\n To emphasize, both fields can be populated together, e.g. you can set\n Central Park New York for the location and \"In front of the 72 Street\n Station\" for the description.",
          "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.GeoLocation"
        },
        "description": {
          "title": "description",
          "description": "Additional description in human-readable form, e.g.\n     \"On the left side of the fountain on the Palace square\".\n At least one of (location, description) must be set.\n Recommended to not exceed length of 1000 in any language. Max length: 2000.",
          "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.LocalizedTextSet"
        }
      },
      "additionalProperties": true,
      "anyOf": [
        {"required": ["location"]},
        {"required": ["description"]}
      ]
    },
    "ext.travel.ttd.proto.feeds.v1.Entity": {
      "title": "ext.travel.ttd.proto.feeds.v1.Entity",
      "description": "Reference to one of the performing entities in the Event. These are meant to\n reflect the artist/team/group/etc that a person might see on the ticket or\n broader concepts (e.g. concert tours, festivals).",
      "type": [
        "object"
      ],
      "properties": {
        "id": {
          "title": "id",
          "description": "Unique identifier of the entity in the partner\u0027s database.\n Max length: 255. Allowed characters are alphanumeric, _, and -.\n Recommended.",
          "type": [
            "string"
          ],
          "maxLength": 255
        },
        "name": {
          "title": "name",
          "description": "The name of the entity in plain text.\n Recommended to not exceed length of 50.\n Max length: 150.\n Required.",
          "$ref": "#/definitions/google.type.LocalizedText"
        },
        "official_website_url": {
          "title": "official_website_url",
          "description": "The official website URL of the entity.\n Max length: 2000.\n Recommended.",
          "type": [
            "string"
          ],
          "maxLength": 2000
        },
        "url": {
          "title": "url",
          "description": "Url of the webpage that unambiguously describes the entity.\n This is the webpage on the partner\u0027s website for the entity if any; for\n other public URLs of the entity, use related_urls.\n Max length: 2000.\n Recommended.",
          "type": [
            "string"
          ],
          "maxLength": 2000
        },
        "related_urls": {
          "title": "related_urls",
          "description": "Other urls that might identify the entity.\n Max length: 2000. Max number of links: 10.\n Optional.",
          "type": [
            "array"
          ],
          "items": {
            "type": [
              "string"
            ],
            "maxLength": 2000
          },
          "maxItems": 10
        },
        "musicbrainz_id": {
          "title": "musicbrainz_id",
          "description": "ID as used by MusicBrainz.\n Fixed length: 36. Allowed characters are hexadecimal (0-9, a-f) and -.\n Optional.",
          "type": [
            "string"
          ]
        },
        "entity_type": {
          "title": "entity_type",
          "description": "The type of the entity.\n Optional.",
          "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.Entity.EntityType"
        },
        "performer_role": {
          "title": "performer_role",
          "description": "The role of the performer in the event. Should be used only when the entity\n refers to a person or a group of people (i.e. entity type starts with\n \"ENTITY_TYPE_PERFORMER_*\").\n Optional.",
          "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.Entity.PerformerRole"
        }
      },
      "additionalProperties": true,
      "required": ["name"]
    },
    "ext.travel.ttd.proto.feeds.v1.DeepLink": {
      "title": "ext.travel.ttd.proto.feeds.v1.DeepLink",
      "description": "Deep link definition. Can include value parameters that will be expanded on\n serve time.",
      "type": [
        "object"
      ],
      "properties": {
        "url": {
          "title": "url",
          "description": "Landing page URL template for desktop. If both `url` and `localized_url`\n are provided, the former is used as a fallback in case\n no URL matches the user’s locale.\n Max length: 2000.\n Either `url` or `localized_url` is required.",
          "type": [
            "string"
          ],
          "maxLength": 2000
        },
        "localized_url": {
          "title": "localized_url",
          "description": "Localized landing page URL template for desktop. If both `url` and\n `localized_url` are provided, the former is used as a fallback in case\n no URL matches the user’s locale.\n Max length: 2000.\n Max number of locales: 50.\n Either `url` or `localized_url` is required.",
          "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.LocalizedTextSet"
        }
      },
      "additionalProperties": true,
      "anyOf": [
        {"required": ["url"]},
        {"required": ["localized_url"]}
      ]
    },
    "ext.travel.ttd.proto.feeds.v1.ReferralLink": {
      "title": "ext.travel.ttd.proto.feeds.v1.ReferralLink",
      "description": "Referral link.",
      "type": [
        "object"
      ],
      "properties": {
        "link": {
          "title": "link",
          "description": "Landing page URL. The page should include a button to start the\n booking/checkout flow.\n Required.",
          "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.DeepLink"
        },
        "surface": {
          "title": "surface",
          "description": "Predetermined event surface associated with a link.\n Optional.",
          "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.ReferralLink.Surface"
        }
      },
      "additionalProperties": true,
      "required": ["link"]
    },
    "google.type.Money": {
      "title": "google.type.Money",
      "description": "Represents an amount of money with its currency type.",
      "type": [
        "object"
      ],
      "properties": {
        "currency_code": {
          "title": "currency_code",
          "description": "The three-letter currency code defined in ISO 4217.",
          "type": [
            "string"
          ]
        },
        "units": {
          "title": "units",
          "description": "The whole units of the amount.\n For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
          "type": [
            "integer"
          ],
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "nanos": {
          "title": "nanos",
          "description": "Number of nano (10^-9) units of the amount.\n The value must be between -999,999,999 and +999,999,999 inclusive.\n If `units` is positive, `nanos` must be positive or zero.\n If `units` is zero, `nanos` can be positive, zero, or negative.\n If `units` is negative, `nanos` must be negative or zero.\n For example $-1.75 is represented as `units`\u003d-1 and `nanos`\u003d-750,000,000.",
          "type": [
            "integer"
          ],
          "minimum": -999999999,
          "maximum": 999999999
        }
      },
      "additionalProperties": true,
      "required": [ "currency_code" ]
    },
    "ext.travel.ttd.proto.feeds.v1.SellerInfo": {
      "title": "ext.travel.ttd.proto.feeds.v1.SellerInfo",
      "description": " Additional information about the seller of a ticket.",
      "type": [
        "object"
      ],
      "properties": {
        "name": {
          "title": "name",
          "description": "The localized name of the ticket seller.",
          "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.LocalizedTextSet"
        },
        "logo_url": {
          "title": "logo_url",
          "description": "The logo URL of the seller.",
          "type": [
            "string"
          ],
          "maxLength": 2000
        }
      },
      "additionalProperties": true
    },
    "ext.travel.ttd.proto.feeds.v1.Price": {
      "title": "ext.travel.ttd.proto.feeds.v1.Price",
      "description": "Information about the price.",
      "type": [
        "object"
      ],
      "properties": {
        "price": {
          "title": "value",
          "description": "Price value, must match the final price on the checkout page. Currency will\n be converted to the user currency on rendering.\n Required when is_free is false.",
          "$ref": "#/definitions/google.type.Money"
        },
        "is_free": {
          "title": "is_free",
          "description": "Admission or ticket is free. Must be set to true for zero-price options.\n Optional, default is false.",
          "type": [
            "boolean"
          ]
        },
        "per_ticket_fee": {
          "title": "per_ticket_fee",
          "description": "Booking fees included in the final price.\n Optional.",
          "$ref": "#/definitions/google.type.Money"
        },
        "per_ticket_tax": {
          "title": "per_ticket_tax",
          "description": "Taxes included in the final price.\n Optional.",
          "$ref": "#/definitions/google.type.Money"
        },
        "price_display_type": {
          "title": "price_display_type",
          "description": "Predetermined display type of a single option price.",
          "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.Price.PriceDisplayType"
        }
      },
      "additionalProperties": true,
      "if": {
        "not": {
          "properties": {
            "is_free": {
              "enum": [ true ]
            }
          }
        }
      },
      "then": {
        "required": [
         "price"
        ]
      }
    },
    "ext.travel.ttd.proto.feeds.v1.AvailabilityInfo": {
      "title": "ext.travel.ttd.proto.feeds.v1.AvailabilityInfo",
      "description": "Availability information of a time slot or ticket for a service or event.",
      "type": [
        "object"
      ],
      "properties": {
        "onsale_start_seconds": {
          "title": "onsale_start_seconds",
          "description": "On sale start time - seconds since epoch UTC\n Optional.",
          "type": [
            "integer"
          ]
        },
        "onsale_end_seconds": {
          "title": "onsale_end_seconds",
          "description": "On sale end time - seconds since epoch UTC\n Optional.",
          "type": [
            "integer"
          ]
        },
        "spots_total": {
          "title": "spots_total",
          "description": "The total number of tickets (or spots) that were originally available for\n this availability.\n Optional.",
          "type": [
            "integer"
          ]
        },
        "spots_available": {
          "title": "spots_available",
          "description": "The current number of tickets (or spots) still available for purchase for\n this availability.\n Required.",
          "type": [
            "integer"
          ]
        }
      },
      "additionalProperties": true,
      "required": ["spots_available"]
    },
    "ext.travel.ttd.proto.feeds.v1.CancellationPolicy.RefundCondition": {
      "title": "ext.travel.ttd.proto.feeds.v1.CancellationPolicy.RefundCondition",
      "description": "Defines a single refund condition. Multiple refund conditions could be\n used together to describe \"refund steps\" as various durations before the\n service start time.",
      "type": [
        "object"
      ],
      "properties": {
        "min_duration_before_start_time_sec": {
          "title": "min_duration_before_start_time_sec",
          "description": "Duration in seconds before the start time, until when the customer can\n receive a refund for part of the service\u0027s cost specified in\n `refund_percent`.\n When unset or set to 0 the service can be cancelled at any time.\n Optional.",
          "type": [
            "integer"
          ]
        },
        "refund_percent": {
          "title": "refund_percent",
          "description": "The percent that can be refunded, as long as the service booking is\n cancelled at least `min_duration_before_start_time` before the service\n start time, in the range of [0, 100].\n When unset or set to 0, the service is not refundable. When set to 100\n this service is fully refundable.\n Optional.",
          "type": [
            "integer"
          ]
        },
        "refund_fee": {
          "title": "refund_fee",
          "description": "A flat fee deducted on refund. Could be used separately, or in\n combination with the refund_percent above. In the latter case, refund\n percent applies first, then the fee is deducted.\n Optional.",
          "$ref": "#/definitions/google.type.Money"
        }
      },
      "additionalProperties": true
    },
    "ext.travel.ttd.proto.feeds.v1.CancellationPolicy": {
      "title": "ext.travel.ttd.proto.feeds.v1.CancellationPolicy",
      "description": "Cancellation policy for a product.",
      "type": [
        "object"
      ],
      "properties": {
        "refund_conditions": {
          "title": "refund_conditions",
          "description": "Zero or more refund conditions applicable to the policy.\n Max number of refund conditions: 10.",
          "type": [
            "array"
          ],
          "items": {
            "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.CancellationPolicy.RefundCondition"
          },
          "maxItems": 10
        }
      },
      "additionalProperties": true
    },
    "ext.travel.ttd.proto.feeds.v1.Ticket": {
      "title": "ext.travel.ttd.proto.feeds.v1.Ticket",
      "description": "Ticket available for the Event.",
      "type": [
        "object"
      ],
      "properties": {
        "id": {
          "title": "id",
          "description": "Ticket ID. Must be unique within the event.\n Max length: 255. Allowed characters are alphanumeric, _, and -.\n Required.",
          "type": [
            "string"
          ],
          "maxLength": 255
        },
        "title": {
          "title": "title",
          "description": "The title of the ticket in plain text, e.g. \"Category 1 ticket\".\n\n If there is only a single ticket, the ticket title may be the same as the\n event title. If multiple tickets are present, the title must be\n unique to the ticket.\n Recommended to not exceed length of 50 in any language.\n Max length: 150.\n Recommended.",
          "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.LocalizedTextSet"
        },
        "description": {
          "title": "description",
          "description": "The description of the ticket. Limited formatting options are allowed in\n the HTML format, see event description field for more details.\n Recommended to not exceed length of 10000 in any language.\n Max length: 16000.\n Recommended.",
          "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.LocalizedTextSet"
        },
        "seller_info": {
          "title": "seller_info",
          "description": "Additional information about the seller of this ticket.\nOptional.",
          "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.SellerInfo"
        },
        "referral_urls": {
          "title": "referral_urls",
          "description": "URL for this ticket. The page should include a button to start the\n booking/checkout flow.\n Required.",
          "type": [
            "array"
          ],
          "items": {
            "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.ReferralLink"
          },
          "minItem": 1 
        },
        "price": {
          "title": "price",
          "description": "Lowest base adult general-accessible ticket price.\n Recommended.",
          "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.Price"
        },
        "availability_info": {
          "title": "availability_info",
          "description": "Information about the availability of the ticket.\n Recommended.",
          "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.AvailabilityInfo"
        },
        "cancellation_policy": {
          "title": "cancellation_policy",
          "description": "Cancellation policy for this ticket.\n Optional.",
          "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.CancellationPolicy"
        },
        "inventory_type": {
          "title": "inventory_type",
          "description": "Predetermined inventory type of a single ticket of this type.\n Optional.",
          "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.Ticket.InventoryType"
        }
      },
      "additionalProperties": true,
      "required": ["id", "referral_urls"]
    },
    "ext.travel.ttd.proto.feeds.v1.Media": {
      "title": "ext.travel.ttd.proto.feeds.v1.Media",
      "type": [
        "object"
      ],
      "properties": {
        "url": {
          "title": "url",
          "description": "URL of this media source. Google will crawl the media hosted at this URL.\n Max length: 2000.\n Required.",
          "type": [
            "string"
          ]
        },
        "type": {
          "title": "type",
          "description": "Type of this media source.\n Required.",
          "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.Media.MediaType"
        },
        "attribution": {
          "title": "attribution",
          "description": "Attribution information about the source of the media. Note that if\n the attribution is required to display with the media to give credit to\n photographer or agency, this field must be set.\n Recommended to not exceed length of 1000 in any language.\n Max length: 2000.\n Optional.",
          "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.LocalizedTextSet"
        }
      },
      "additionalProperties": true,
      "required": ["url", "type"]
    },
    "ext.travel.ttd.proto.feeds.v1.Event.EventCreator": {
      "title": "ext.travel.ttd.proto.feeds.v1.Event.EventCreator",
      "description": "Information about the creator of the event. Only relevant for platforms\n that include user-generated content events.",
      "type": [
        "object"
      ],
      "properties": {
        "name": {
          "title": "name",
          "description": "Name of the event creator.\n Max length: 100.\n Required.",
          "type": [
            "string"
          ],
          "maxLength": 100
        }
      },
      "additionalProperties": true
    },
    "ext.travel.ttd.proto.feeds.v1.Event": {
      "title": "ext.travel.ttd.proto.feeds.v1.Event",
      "description": "Represents a single event.",
      "type": [
        "object"
      ],
      "properties": {
        "id": {
          "title": "id",
          "description": "Unique across the feed.\n Max length: 255. Allowed characters are alphanumeric, _, and -.\n Required.",
          "type": [
            "string"
          ],
          "maxLength": 100
        },
        "title": {
          "title": "title",
          "description": "The title of the event in plain text.\n Recommended to not exceed length of 50 in any language.\n Max length: 150.\n Required.",
          "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.LocalizedTextSet"
        },
        "description": {
          "title": "description",
          "description": "The description of the event. Limited formatting options are allowed in the\n HTML format. Supported tags:\n   * h1-h5\n   * ul, ol, li\n   * strong, italic, em\n   * p, br\n Other tags are not supported and will be removed. CSS, tables, style\n property, `a` links are not supported. Images are not allowed, use the\n related_media field instead.\n Recommended to not exceed length of 10000 in any language.\n Max length: 16000.\n Recommended.",
          "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.LocalizedTextSet"
        },
        "time_info": {
          "title": "time_info",
          "description": "Detailed timing information for the event.\n Required.",
          "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.TimeInfo"
        },
        "venue": {
          "title": "venue",
          "description": "The physical location where the event is held.\n Required.",
          "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.Location"
        },
        "related_entities": {
          "title": "related_entities",
          "description": "List of the performing or related entities in the Event. These are meant to\n reflect the artist/team/group/etc that a person might see on the ticket or\n broader concepts (e.g. concert tours, festivals).\n Max number of entities: 100.\n Strongly recommended.",
          "type": [
            "array"
          ],
          "items": {
            "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.Entity"
          }
        },
        "event_types": {
          "title": "event_types",
          "description": "A list of categories that best describe the event.\n Max number of categories: 100.\n Optional.",
          "type": [
            "array"
          ],
          "items": {
            "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.Event.EventType"
          }
        },
        "tickets": {
          "title": "tickets",
          "description": "Tickets available for this event.\n Max number of tickets: 20.\n Optional.",
          "type": [
            "array"
          ],
          "items": {
            "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.Ticket"
          }
        },
        "related_media": {
          "title": "related_media",
          "description": "Related media such as photos or videos.\n Max number of media: 30.\n Recommended.",
          "type": [
            "array"
          ],
          "items": {
            "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.Media"
          }
        },
        "brand_name": {
          "title": "brand_name",
          "description": "Provider brand name. This should be the brand that is owned by the partner.\n Max length: 50.\n Optional.",
          "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.LocalizedTextSet"
        },
        "event_url": {
          "title": "event_url",
          "description": "Landing page URL for this event. The page should include a button to start\n the booking/checkout flow.\n Required.",
          "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.DeepLink"
        },
        "partner_role": {
          "title": "partner_role",
          "description": "Indicates the role of the partner listing the event tickets.\n Optional.",
          "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.Event.PartnerRole"
        },
        "event_creator": {
          "title": "event_creator",
          "description": "Information about the creator of the event.",
          "$ref": "#/definitions/ext.travel.ttd.proto.feeds.v1.Event.EventCreator"
        }
      },
      "additionalProperties": true,
      "required": ["id", "title", "time_info", "venue", "event_url"]
    },
    "ext.travel.ttd.proto.feeds.v1.Entity.EntityType": {
      "title": "ext.travel.ttd.proto.feeds.v1.Entity.EntityType",
      "description": "The type of the entity.",
      "enum": [
        "ENTITY_TYPE_UNSPECIFIED",
        "ENTITY_TYPE_PERFORMER_MUSICIAN",
        "ENTITY_TYPE_PERFORMER_COMEDIAN",
        "ENTITY_TYPE_PERFORMER_MAGICIAN",
        "ENTITY_TYPE_PERFORMER_ONLINE_PERSONALITY",
        "ENTITY_TYPE_PERFORMER_SPORTS_PLAYER",
        "ENTITY_TYPE_PERFORMER_SPORTS_TEAM",
        "ENTITY_TYPE_SHOW",
        "ENTITY_TYPE_CONCERT_TOUR",
        "ENTITY_TYPE_SPORTS_TOURNAMENT"
      ]
    },
    "ext.travel.ttd.proto.feeds.v1.Entity.PerformerRole": {
      "title": "ext.travel.ttd.proto.feeds.v1.Entity.PerformerRole",
      "description": "The role of the performer in the event.",
      "enum": [
        "PERFORMER_ROLE_UNSPECIFIED",
        "PERFORMER_ROLE_HEADLINER",
        "PERFORMER_ROLE_SUPPORTER",
        "PERFORMER_ROLE_HOME_TEAM",
        "PERFORMER_ROLE_AWAY_TEAM"
      ]
    },
    "ext.travel.ttd.proto.feeds.v1.ReferralLink.Surface": {
      "title": "ext.travel.ttd.proto.feeds.v1.ReferralLink.Surface",
      "description": "Predetermined event surface associated with a action link.",
      "enum": [
        "SURFACE_UNSPECIFIED",
        "SURFACE_SEARCH",
        "SURFACE_YOUTUBE",
        "SURFACE_ADS"
      ]
    },
    "ext.travel.ttd.proto.feeds.v1.Price.PriceDisplayType": {
      "title": "ext.travel.ttd.proto.feeds.v1.Price.PriceDisplayType",
      "description": "Indicates the price format displayed on the landing page.\n\n This field allows Google surfaces to show the same price format as used by\n the landing page. Consistent price formats improve conversion rate and\n reduce confusion.",
      "enum": [
        "PRICE_DISPLAY_TYPE_UNSPECIFIED",
        "PRICE_DISPLAY_TYPE_BASE",
        "PRICE_DISPLAY_TYPE_ALL_IN"
      ]
    },
    "ext.travel.ttd.proto.feeds.v1.Ticket.InventoryType": {
      "title": "ext.travel.ttd.proto.feeds.v1.Ticket.InventoryType",
      "description": "Predetermined inventory type of a single ticket of this type.",
      "enum": [
        "INVENTORY_TYPE_UNSPECIFIED",
        "INVENTORY_TYPE_PRIMARY",
        "INVENTORY_TYPE_VERIFIED_RESALE",
        "INVENTORY_TYPE_RESALE",
        "INVENTORY_TYPE_AGGREGATOR",
        "RENAME_ME_TO_ADD_NEW_ENUM_5"
      ]
    },
    "ext.travel.ttd.proto.feeds.v1.Media.MediaType": {
      "title": "ext.travel.ttd.proto.feeds.v1.Media.MediaType",
      "enum": [
        "MEDIA_TYPE_UNSPECIFIED",
        "MEDIA_TYPE_PHOTO"
      ]
    },
    "ext.travel.ttd.proto.feeds.v1.Event.PartnerRole": {
      "title": "ext.travel.ttd.proto.feeds.v1.Event.PartnerRole",
      "enum": [
        "PARTNER_ROLE_UNSPECIFIED",
        "PARTNER_ROLE_OFFICIAL_SELLER",
        "PARTNER_ROLE_AGGREGATOR"
      ]
    },
    "ext.travel.ttd.proto.feeds.v1.Event.EventType": {
      "title": "ext.travel.ttd.proto.feeds.v1.Event.EventType",
      "enum": [
        "EVENT_TYPE_UNSPECIFIED",
        "EVENT_TYPE_CONCERT",
        "EVENT_TYPE_SPORTS", 
        "EVENT_TYPE_THEATER", 
        "EVENT_TYPE_WORKSHOP",
        "EVENT_TYPE_CONVENTION",
        "EVENT_TYPE_TOUR",
        "EVENT_TYPE_SHOW",
        "EVENT_TYPE_FAIR",
        "EVENT_TYPE_FESTIVAL",
        "EVENT_TYPE_EXPO"
      ]
    }
  }
}