{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/audioscrape-com/json-schema/audioscrape-com-podcast-detail-schema.json",
  "title": "PodcastDetail",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/audioscrape-com-podcasts-api-openapi.yml#/components/schemas/PodcastDetail",
  "type": "object",
  "required": [
    "podcast",
    "recent_episodes"
  ],
  "properties": {
    "podcast": {
      "$ref": "#/$defs/PodcastFull"
    },
    "recent_episodes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/EpisodeInPodcast"
      }
    }
  },
  "$defs": {
    "EpisodeInPodcast": {
      "type": "object",
      "required": [
        "id",
        "title",
        "slug",
        "publish_date",
        "has_transcript"
      ],
      "properties": {
        "duration_seconds": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32"
        },
        "has_transcript": {
          "type": "boolean"
        },
        "id": {
          "type": "integer",
          "format": "int64"
        },
        "publish_date": {
          "type": "string"
        },
        "slug": {
          "type": "string"
        },
        "title": {
          "type": "string"
        }
      }
    },
    "PodcastFull": {
      "type": "object",
      "required": [
        "id",
        "title",
        "slug",
        "episode_count"
      ],
      "properties": {
        "description": {
          "type": [
            "string",
            "null"
          ]
        },
        "episode_count": {
          "type": "integer",
          "format": "int64"
        },
        "id": {
          "type": "integer",
          "format": "int64"
        },
        "image_url": {
          "type": [
            "string",
            "null"
          ]
        },
        "language": {
          "type": [
            "string",
            "null"
          ]
        },
        "slug": {
          "type": "string"
        },
        "title": {
          "type": "string"
        }
      }
    }
  }
}