{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dibatto-com/json-schema/dibatto-com-shows-response-schema.json",
  "title": "ShowsResponse",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dibatto-com-openapi.yml#/components/schemas/ShowsResponse",
  "type": "object",
  "properties": {
    "shows": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          },
          "user_id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "topic_pack_id": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              {
                "type": "null"
              }
            ]
          },
          "format_id": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              {
                "type": "null"
              }
            ]
          },
          "cohost_id": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              {
                "type": "null"
              }
            ]
          },
          "cadence": {
            "type": "string",
            "enum": [
              "daily",
              "weekdays",
              "weekly",
              "adhoc"
            ]
          },
          "brand": {
            "type": "object",
            "properties": {
              "host_color": {
                "type": "string"
              },
              "cohost_color": {
                "type": "string"
              },
              "accent": {
                "type": "string"
              },
              "logo_key": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": false
          },
          "rss_enabled": {
            "type": "boolean"
          },
          "public": {
            "type": "boolean"
          },
          "open_with_cold_open": {
            "default": true,
            "type": "boolean"
          },
          "beat": {
            "default": null,
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "description": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "topics": {
                    "default": [],
                    "maxItems": 8,
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "topic": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 160
                        },
                        "familiarity": {
                          "default": "working",
                          "type": "string",
                          "enum": [
                            "expert",
                            "working",
                            "unfamiliar"
                          ]
                        },
                        "angle": {
                          "type": "string",
                          "maxLength": 400
                        }
                      },
                      "required": [
                        "topic",
                        "familiarity"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "sources": {
                    "default": [],
                    "maxItems": 10,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 300
                    }
                  },
                  "goal": {
                    "type": "string",
                    "maxLength": 400
                  }
                },
                "required": [
                  "description",
                  "topics",
                  "sources"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "user_id",
          "name",
          "slug",
          "topic_pack_id",
          "format_id",
          "cohost_id",
          "cadence",
          "brand",
          "rss_enabled",
          "public",
          "open_with_cold_open",
          "beat",
          "created_at"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "shows"
  ],
  "additionalProperties": false
}