{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/particle-pro/json-schema/particle-pro-podcast-format-profile-schema.json",
  "title": "PodcastFormatProfile",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/particle-pro-openapi.yml#/components/schemas/PodcastFormatProfile",
  "additionalProperties": false,
  "properties": {
    "ad_episode_rate": {
      "description": "Share of analyzed episodes carrying advertiser reads, in [0,1]",
      "format": "double",
      "type": "number"
    },
    "analyzed_episodes": {
      "description": "Number of episodes with speaker analysis — the sample behind guest_frequency, signals, has_ads, and the rates below",
      "format": "int64",
      "type": "integer"
    },
    "avg_episode_minutes": {
      "description": "Average episode length in minutes. Omitted when no episode durations are known.",
      "format": "int64",
      "type": "integer"
    },
    "call_in_episode_rate": {
      "description": "Share of analyzed episodes with listener callers, in [0,1]",
      "format": "double",
      "type": "number"
    },
    "computed_at": {
      "description": "When the profile was last recomputed",
      "format": "date-time",
      "type": "string"
    },
    "episode_count": {
      "description": "Total episodes tracked for this podcast",
      "format": "int64",
      "type": "integer"
    },
    "episode_minutes_median": {
      "description": "Median episode length in minutes",
      "format": "int64",
      "type": "integer"
    },
    "episode_minutes_p25": {
      "description": "25th percentile episode length in minutes",
      "format": "int64",
      "type": "integer"
    },
    "episode_minutes_p75": {
      "description": "75th percentile episode length in minutes",
      "format": "int64",
      "type": "integer"
    },
    "episodes_per_week": {
      "description": "Publishing cadence over the trailing 90 days, in episodes per week (e.g. 5.0 for a weekday daily, 0.5 for a fortnightly show). Omitted until the show has been tracked long enough to measure reliably.",
      "format": "double",
      "type": "number"
    },
    "first_episode_published_at": {
      "description": "Publish date of the earliest tracked episode",
      "format": "date-time",
      "type": "string"
    },
    "guest_episode_rate": {
      "description": "Share of analyzed episodes featuring at least one guest, in [0,1]",
      "format": "double",
      "type": "number"
    },
    "guest_frequency": {
      "description": "How often episodes feature a guest: never, rare, occasional, regular, or always. Derived from the share of analyzed episodes with at least one guest speaker. Omitted when too few episodes have been analyzed to judge. Filter the catalog with the guest_frequency query parameter on GET /v1/podcasts.",
      "type": "string"
    },
    "has_ads": {
      "description": "Whether episodes carry advertiser reads. Omitted when too few episodes have been analyzed to judge. The full advertising profile (sponsors, read types, ad load) is served by GET /v1/podcasts/{id}/advertising.",
      "type": "boolean"
    },
    "has_video": {
      "description": "Whether any episode has a discovered video version (e.g. a YouTube release).",
      "type": "boolean"
    },
    "latest_episode_published_at": {
      "description": "Publish date of the most recent tracked episode",
      "format": "date-time",
      "type": "string"
    },
    "panel_episode_rate": {
      "description": "Share of analyzed episodes with panelists, in [0,1]",
      "format": "double",
      "type": "number"
    },
    "publish_days": {
      "$ref": "#/$defs/PodcastFormatPublishDays",
      "description": "Histogram of episodes by publish day of week"
    },
    "publishing_status": {
      "description": "Whether the show is still releasing episodes: active (published within the last 90 days) or dormant. Omitted when no publish dates are known.",
      "type": "string"
    },
    "signals": {
      "description": "Production formats detected from the show's speaker-role mix: interview, panel, call_in, and/or solo_narrated. A show can carry several (a panel show with call-in segments). Omitted when too few episodes have been analyzed to judge.",
      "items": {
        "type": "string"
      },
      "type": [
        "array",
        "null"
      ]
    }
  },
  "required": [
    "analyzed_episodes",
    "episode_count",
    "guest_episode_rate",
    "ad_episode_rate",
    "call_in_episode_rate",
    "panel_episode_rate",
    "publish_days",
    "computed_at",
    "has_video"
  ],
  "type": "object",
  "$defs": {
    "PodcastFormatPublishDays": {
      "additionalProperties": false,
      "properties": {
        "friday": {
          "description": "Episodes published on a Friday",
          "format": "int64",
          "type": "integer"
        },
        "monday": {
          "description": "Episodes published on a Monday",
          "format": "int64",
          "type": "integer"
        },
        "saturday": {
          "description": "Episodes published on a Saturday",
          "format": "int64",
          "type": "integer"
        },
        "sunday": {
          "description": "Episodes published on a Sunday",
          "format": "int64",
          "type": "integer"
        },
        "thursday": {
          "description": "Episodes published on a Thursday",
          "format": "int64",
          "type": "integer"
        },
        "tuesday": {
          "description": "Episodes published on a Tuesday",
          "format": "int64",
          "type": "integer"
        },
        "wednesday": {
          "description": "Episodes published on a Wednesday",
          "format": "int64",
          "type": "integer"
        }
      },
      "required": [
        "monday",
        "tuesday",
        "wednesday",
        "thursday",
        "friday",
        "saturday",
        "sunday"
      ],
      "type": "object"
    }
  }
}