{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thecoop-media/json-schema/thecoop-media-event-list-schema.json",
  "title": "EventList",
  "x-generated": "2026-12-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thecoop-media-data-openapi.yml#/components/schemas/EventList",
  "type": "object",
  "properties": {
    "page": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991,
      "description": "This page, starting at 1."
    },
    "total_items": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991,
      "description": "All matching records."
    },
    "total_pages": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991,
      "description": "Pages at the requested limit."
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "const": "event"
          },
          "slug": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "description": "Canonical URL. Cite this."
          },
          "title": {
            "type": "string"
          },
          "short_description": {
            "type": "string"
          },
          "start_date": {
            "type": "string",
            "description": "ISO 8601 date or date-time."
          },
          "end_date": {
            "type": "string",
            "description": "ISO 8601 date or date-time."
          },
          "city": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "region": {
            "type": "string"
          },
          "venue": {
            "type": "string"
          },
          "exhibitor_count": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "type",
          "slug",
          "url",
          "title",
          "start_date",
          "end_date",
          "exhibitor_count"
        ],
        "additionalProperties": {}
      }
    }
  },
  "required": [
    "page",
    "total_items",
    "total_pages",
    "items"
  ],
  "additionalProperties": {}
}