{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bidclub-ai/json-schema/bidclub-ai-show-list-schema.json",
  "title": "ShowList",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bidclub-ai-openapi.json#/components/schemas/ShowList",
  "type": "object",
  "required": [
    "shows"
  ],
  "properties": {
    "shows": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Show"
      }
    }
  },
  "$defs": {
    "Show": {
      "type": "object",
      "required": [
        "id",
        "name",
        "lang",
        "hosts",
        "tracked",
        "position",
        "sources"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "lang": {
          "type": "string",
          "description": "Primary language of the show, lower-case ISO code (e.g. \"en\", \"zh\")."
        },
        "hosts": {
          "type": [
            "string",
            "null"
          ]
        },
        "tracked": {
          "type": "boolean",
          "description": "Whether the show is on the actively-followed roster."
        },
        "position": {
          "type": "integer",
          "description": "Display order in the registry."
        },
        "sources": {
          "type": "object",
          "description": "Known upstream locations and the registry blurb.",
          "properties": {
            "rss": {
              "type": [
                "string",
                "null"
              ]
            },
            "youtube": {
              "type": [
                "string",
                "null"
              ]
            },
            "xiaoyuzhou": {
              "type": [
                "string",
                "null"
              ]
            },
            "site": {
              "type": [
                "string",
                "null"
              ]
            },
            "description": {
              "type": [
                "string",
                "null"
              ]
            },
            "description_source": {
              "type": [
                "string",
                "null"
              ]
            },
            "other": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}