{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kicksma-sh/json-schema/kicksma-sh-board-schema.json",
  "title": "Board",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kicksma-sh-openapi.json#/components/schemas/Board",
  "type": "object",
  "properties": {
    "slug": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "mapUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "calendarUrl": {
      "type": "string"
    },
    "matches": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "startsAt": {
            "type": "string"
          },
          "tz": {
            "type": "string"
          },
          "capacity": {
            "type": "integer"
          },
          "players": {
            "type": "integer"
          },
          "spotsLeft": {
            "type": "integer"
          },
          "level": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "min": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "max": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "preset": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "bronze, silver, gold, platinum or custom"
              },
              "verifiedOnly": {
                "type": "boolean",
                "description": "Only levels confirmed by an organizer, a coach or the club walk in; declared levels inside the range ask to join."
              }
            }
          },
          "category": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "men",
              "women",
              "mixed",
              null
            ],
            "description": "Who the match is for; null for anyone. Information only: nobody is checked when they join."
          },
          "ageMin": {
            "type": [
              "integer",
              "null"
            ],
            "enum": [
              35,
              45,
              55,
              null
            ],
            "description": "An age tag, read as 35+, 45+ or 55+; null for any age. Information only."
          }
        }
      }
    }
  }
}