{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/spectacularatlas-com/json-schema/spectacularatlas-com-search-result-schema.json",
  "title": "SearchResult",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/spectacularatlas-com-openapi.yml#/components/schemas/SearchResult",
  "type": "object",
  "properties": {
    "total": {
      "type": "integer"
    },
    "offset": {
      "type": "integer"
    },
    "limit": {
      "type": "integer"
    },
    "events": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Event"
      }
    },
    "license": {
      "type": "string"
    },
    "attribution": {
      "type": "string"
    },
    "data_updated": {
      "type": "string"
    },
    "note": {
      "type": "string"
    }
  },
  "$defs": {
    "Event": {
      "type": "object",
      "properties": {
        "id": {
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "also_known_as": {
          "type": [
            "string",
            "null"
          ]
        },
        "local_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "size": {
          "type": [
            "string",
            "null"
          ]
        },
        "status": {
          "type": [
            "string",
            "null"
          ]
        },
        "status_label": {
          "type": [
            "string",
            "null"
          ]
        },
        "start": {
          "type": [
            "string",
            "null"
          ]
        },
        "end": {
          "type": [
            "string",
            "null"
          ]
        },
        "schedule": {
          "type": [
            "string",
            "null"
          ]
        },
        "city": {
          "type": [
            "string",
            "null"
          ]
        },
        "place": {
          "type": [
            "string",
            "null"
          ]
        },
        "country": {
          "type": [
            "string",
            "null"
          ]
        },
        "country_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "region": {
          "type": [
            "string",
            "null"
          ]
        },
        "description": {
          "type": [
            "string",
            "null"
          ]
        },
        "official_url": {
          "type": [
            "string",
            "null"
          ]
        },
        "last_checked": {
          "type": [
            "string",
            "null"
          ]
        },
        "page_url": {
          "type": [
            "string",
            "null"
          ]
        },
        "types": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "end_unknown": {
          "type": "boolean"
        },
        "lat": {
          "type": [
            "number",
            "null"
          ]
        },
        "lng": {
          "type": [
            "number",
            "null"
          ]
        },
        "free": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "distance_km": {
          "type": "number"
        },
        "season_months": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "integer",
            "minimum": 1,
            "maximum": 12
          },
          "description": "For regular shows: the months (1-12) they run in; null when they run all year"
        },
        "year_round": {
          "type": "boolean",
          "description": "A venue open all year, or a regular show without a season"
        },
        "added": {
          "type": [
            "string",
            "null"
          ],
          "format": "date",
          "description": "When the event was first published on Spectacular Atlas"
        },
        "dates_confirmed": {
          "type": [
            "string",
            "null"
          ],
          "format": "date",
          "description": "The latest date its dates went from not announced, expected, reported or provisional to confirmed; null unless the status is confirmed"
        },
        "date_source": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "url": {
              "type": "string"
            },
            "quote": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}