{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/xp-tickets/json-schema/xp-tickets-venue-schema.json",
  "title": "Venue",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/xp-tickets-openapi.yml#/components/schemas/Venue",
  "type": "object",
  "required": [
    "id",
    "name"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "Venue external ID (prefixed `vnu_`)."
    },
    "name": {
      "type": "string"
    },
    "city": {
      "type": [
        "string",
        "null"
      ]
    },
    "state_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "Subdivision (state / province / region) where the venue is\nlocated. **Format is not strict** — parse as an opaque\nstring, not as a fixed-length ISO code. Typically an ISO\n3166-2 two-letter code for US states / Canadian provinces\n(e.g. `NY`, `ON`), but partners should expect free-form\nregional names for international venues (e.g. `Saxony`,\n`Lower Saxony`, `City of Bristol`). Legacy non-US rows may\nalso carry the literal country code here (e.g. `UK`).\n`null` when no subdivision is recorded.\n"
    },
    "country_code": {
      "type": [
        "string",
        "null"
      ]
    },
    "timezone": {
      "type": [
        "string",
        "null"
      ],
      "description": "IANA timezone name."
    }
  }
}