{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/particle-pro/json-schema/particle-pro-share-of-voice-schema.json",
  "title": "ShareOfVoice",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/particle-pro-openapi.yml#/components/schemas/ShareOfVoice",
  "additionalProperties": false,
  "properties": {
    "attributed_mentions": {
      "description": "Of speaker_mentions, the lines spoken by someone with an expertise reading (and, for a guest, whose appearance read does not doubt it is them). Shares of occupations and fields are of these.",
      "format": "int64",
      "type": "integer"
    },
    "breakdown": {
      "description": "The axis each group's lines are split by, when breakdown was given.",
      "enum": [
        "sentiment",
        "certainty",
        "specificity",
        "temporal_orientation"
      ],
      "type": "string"
    },
    "by": {
      "description": "What the groups are: SOC 2018 occupations, ANZSRC 2020 fields of research, or the labels of one speaker statement characteristics axis.",
      "enum": [
        "occupation",
        "field",
        "sentiment",
        "certainty",
        "specificity",
        "temporal_orientation"
      ],
      "type": "string"
    },
    "characteristics_version": {
      "description": "Opaque version of the speaker statement characteristics the split read. Compare splits only when it is equal.",
      "type": "string"
    },
    "company": {
      "$ref": "#/$defs/CompanyCompact",
      "description": "The company the entity was resolved from, when company_id was given."
    },
    "end": {
      "description": "Day the window ends (UTC), excluded: the window is [start, end), so a published_before date shows as the day after it.",
      "type": "string"
    },
    "entity": {
      "$ref": "#/$defs/EntityCompact",
      "description": "The entity whose mentions are split."
    },
    "groups": {
      "description": "By occupation or field, the groups with the most attributed mentions, most first; a person listed under several codes counts in each, so shares can sum past 1. By an axis, one group per label in the axis's order, zero counts included.",
      "items": {
        "$ref": "#/$defs/ShareOfVoiceGroup"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "host_mentions": {
      "description": "Of mentions, the lines hosts spoke, counted whatever speakers is.",
      "format": "int64",
      "type": "integer"
    },
    "keyword": {
      "description": "The keyword whose lines are split, when keyword_search was given instead of an entity. Mentions are then the lines that say it.",
      "type": "string"
    },
    "level": {
      "description": "The groups' level: SOC major groups or detailed occupations; ANZSRC divisions or groups. Absent when by is an axis.",
      "enum": [
        "major",
        "detailed"
      ],
      "type": "string"
    },
    "mentions": {
      "description": "Lines mentioning the entity, or saying the keyword, in the window, from every speaker. Ad reads are left out unless include_ads.",
      "format": "int64",
      "type": "integer"
    },
    "scored_mentions": {
      "description": "The lines the groups count that carry speaker statement characteristics, when by is an axis, breakdown is set or speaker_statement_characteristics filters: shares of an axis's labels are of these. Not every line carries them, so this can be below the lines counted.",
      "format": "int64",
      "type": "integer"
    },
    "speaker_mentions": {
      "description": "Of those, the lines spoken by the speakers counted: all of them, or guests' and panelists' with speakers=guests. Coverage is attributed_mentions over this.",
      "format": "int64",
      "type": "integer"
    },
    "speakers": {
      "description": "Whose lines the groups count: every speaker's, or guests' and panelists' only.",
      "enum": [
        "all",
        "guests"
      ],
      "type": "string"
    },
    "start": {
      "description": "First day of the window (UTC), included.",
      "type": "string"
    }
  },
  "required": [
    "by",
    "start",
    "end",
    "speakers",
    "mentions",
    "speaker_mentions",
    "host_mentions",
    "attributed_mentions",
    "groups"
  ],
  "type": "object",
  "$defs": {
    "CompanyCompact": {
      "additionalProperties": false,
      "properties": {
        "description": {
          "description": "Short company description, when known.",
          "type": "string"
        },
        "domain": {
          "description": "Primary website domain (e.g. 'nvidia.com'), when known.",
          "type": "string"
        },
        "id": {
          "description": "Company identifier (domain, slug, or encoded ID)",
          "type": "string"
        },
        "image_url": {
          "description": "Company logo or image URL",
          "type": "string"
        },
        "name": {
          "description": "Company name",
          "type": "string"
        },
        "slug": {
          "description": "Stable human-readable handle (the linked knowledge-graph slug, e.g. 'nvidia'), when known. Companies have no slug of their own; prefer this for display and pass it (or id) to /v1/companies.",
          "type": "string"
        },
        "ticker": {
          "description": "Primary stock ticker symbol, when listed.",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name"
      ],
      "type": "object"
    },
    "EntityCompact": {
      "additionalProperties": false,
      "properties": {
        "company": {
          "$ref": "#/$defs/EntityCompany",
          "description": "Linked company record, if this entity is a known company"
        },
        "description": {
          "description": "Short description",
          "type": "string"
        },
        "id": {
          "description": "Entity ID",
          "type": "string"
        },
        "image_url": {
          "description": "Entity image URL",
          "type": "string"
        },
        "name": {
          "description": "Entity name",
          "type": "string"
        },
        "person": {
          "$ref": "#/$defs/EntityPerson",
          "description": "Linked person record, if this entity is a known person"
        },
        "slug": {
          "description": "Human-readable slug identifier",
          "type": "string"
        },
        "type": {
          "$ref": "#/$defs/EntityType",
          "description": "Category. Omitted when the entity falls outside the supported set."
        },
        "wikipedia_url": {
          "description": "Wikipedia URL",
          "type": "string"
        }
      },
      "required": [
        "id",
        "slug",
        "name"
      ],
      "type": "object"
    },
    "EntityCompany": {
      "additionalProperties": false,
      "properties": {
        "cik": {
          "description": "SEC Central Index Key, when the company files with the SEC",
          "type": "string"
        },
        "domain": {
          "description": "Company website domain",
          "type": "string"
        },
        "id": {
          "description": "Company identifier",
          "type": "string"
        },
        "ticker": {
          "description": "Primary stock ticker symbol",
          "type": "string"
        }
      },
      "required": [
        "id"
      ],
      "type": "object"
    },
    "EntityPerson": {
      "additionalProperties": false,
      "properties": {
        "company": {
          "description": "Current company name",
          "type": "string"
        },
        "id": {
          "description": "Person identifier",
          "type": "string"
        },
        "image_url": {
          "description": "Person headshot URL",
          "type": "string"
        },
        "title": {
          "description": "Current role title",
          "type": "string"
        }
      },
      "required": [
        "id"
      ],
      "type": "object"
    },
    "EntityType": {
      "additionalProperties": false,
      "properties": {
        "name": {
          "description": "Human-friendly display label (e.g. 'Company').",
          "type": "string"
        },
        "slug": {
          "description": "Stable identifier, safe to pass to the type query parameter (e.g. 'company').",
          "type": "string"
        }
      },
      "required": [
        "slug",
        "name"
      ],
      "type": "object"
    },
    "EpisodeCompactWithPodcast": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "description": "Episode ID",
          "type": "string"
        },
        "podcast": {
          "$ref": "#/$defs/PodcastCompact",
          "description": "Parent podcast"
        },
        "published_at": {
          "description": "Publication date",
          "format": "date-time",
          "type": "string"
        },
        "slug": {
          "description": "Human-readable slug identifier",
          "type": "string"
        },
        "title": {
          "description": "Episode title",
          "type": "string"
        },
        "web_url": {
          "description": "The episode's page on Radar, where it plays beside its transcript: https://radar.particle.pro/podcasts/{podcast}/episodes/{episode}, each segment the slug or, when there is none, the raw UUID. Append ?t={seconds} to start at a moment; the hit's own url field already does. Omitted for back-catalogue episodes we have not ingested, which have no page, and in episode stream, feed and archive payloads stored before this field shipped (they are replayed as stored): build it from the slugs, or fetch the episode.",
          "type": "string"
        }
      },
      "required": [
        "id",
        "title"
      ],
      "type": "object"
    },
    "PersonCompact": {
      "additionalProperties": false,
      "properties": {
        "description": {
          "description": "Short description (e.g. current role), when known.",
          "type": "string"
        },
        "id": {
          "description": "Encoded Person identifier",
          "type": "string"
        },
        "image_url": {
          "description": "Canonical headshot URL when one is known for the Person",
          "type": "string"
        },
        "name": {
          "description": "Display name",
          "type": "string"
        },
        "slug": {
          "description": "Stable human-readable handle (e.g. 'satya-nadella'). Recommended canonical identifier on every Particle Pro person surface.",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name"
      ],
      "type": "object"
    },
    "PodcastCompact": {
      "additionalProperties": false,
      "properties": {
        "best_rank": {
          "$ref": "#/$defs/PodcastRankingHandle",
          "description": "The single best (lowest-numbered) chart position this podcast currently holds across all charts. Omitted when the podcast holds no current chart appearances, and on endpoints that do not attach it. Reading a full chart (with country/category/source filters and history) remains premium; a single show's own placement is available on every plan."
        },
        "bias": {
          "description": "Political bias rating for the podcast, as on the podcast resource: EXTREME_LEFT, LEANS_LEFT, LEFT, CENTER, RIGHT, LEANS_RIGHT, or EXTREME_RIGHT. Omitted when the podcast is not substantively political, has not been evaluated yet, and on endpoints that do not attach it (GET /v1/podcasts/episodes/{id} does).",
          "type": "string"
        },
        "id": {
          "description": "Podcast ID",
          "type": "string"
        },
        "image_url": {
          "description": "Cover image URL",
          "type": "string"
        },
        "popularity": {
          "description": "Global popularity percentile in (0,1], a cume_dist ranking over all currently-charting podcasts (Apple Podcasts charts). Higher is more popular. Omitted when the podcast is not currently charting, on endpoints that build this resource from a projection rather than the full podcast row, and in episode stream, feed and archive payloads, which are stored and replayed: read it live from the podcast endpoints.",
          "format": "double",
          "type": "number"
        },
        "publisher": {
          "$ref": "#/$defs/PodcastPublisherCompact",
          "description": "Publisher (network) attributed to this podcast. Present only when the embedding endpoint preloads publisher attribution and the podcast's publisher is known."
        },
        "slug": {
          "description": "Human-readable slug identifier",
          "type": "string"
        },
        "suitability_tier": {
          "description": "Brand-suitability verdict, as on the podcast resource: SAFE, LIMITED, SENSITIVE, or UNSAFE. Omitted when the podcast has not been evaluated yet, and on endpoints that do not attach it (GET /v1/podcasts/episodes/{id} does).",
          "type": "string"
        },
        "title": {
          "description": "Podcast title",
          "type": "string"
        }
      },
      "required": [
        "id",
        "title"
      ],
      "type": "object"
    },
    "PodcastPublisherCompact": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "description": "Publisher ID",
          "type": "string"
        },
        "name": {
          "description": "Publisher name",
          "type": "string"
        },
        "slug": {
          "description": "Human-readable slug identifier (e.g., 'goalhanger', 'iheartpodcasts'). When present, accepted in place of the ID anywhere a publisher reference is taken in the API. Occasionally absent on publishers whose name doesn't slugify (e.g., scripts not representable in ASCII URL slugs).",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name"
      ],
      "type": "object"
    },
    "PodcastRankingHandle": {
      "additionalProperties": false,
      "properties": {
        "captured_at": {
          "format": "date-time",
          "type": "string"
        },
        "category_slug": {
          "type": "string"
        },
        "chart_type": {
          "enum": [
            "top_podcasts"
          ],
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "rank": {
          "format": "int64",
          "type": "integer"
        },
        "source": {
          "enum": [
            "apple",
            "spotify"
          ],
          "type": "string"
        }
      },
      "required": [
        "source",
        "chart_type",
        "rank",
        "captured_at"
      ],
      "type": "object"
    },
    "ShareOfVoiceBucket": {
      "additionalProperties": false,
      "properties": {
        "mentions": {
          "format": "int64",
          "type": "integer"
        },
        "start": {
          "description": "First day of the bucket (UTC).",
          "type": "string"
        }
      },
      "required": [
        "start",
        "mentions"
      ],
      "type": "object"
    },
    "ShareOfVoiceExample": {
      "additionalProperties": false,
      "properties": {
        "episode": {
          "$ref": "#/$defs/EpisodeCompactWithPodcast",
          "description": "Episode the line was said in."
        },
        "line": {
          "$ref": "#/$defs/TranscriptLine",
          "description": "The line: its text, speaker and times, with is_mention set and its speaker_statement_characteristics when it has been read."
        },
        "person": {
          "$ref": "#/$defs/PersonCompact",
          "description": "The person who said it."
        },
        "start_seconds": {
          "description": "When the line starts, in seconds (episode-absolute).",
          "format": "double",
          "type": "number"
        },
        "url": {
          "description": "Moment link that plays the line on Radar: the episode's web_url with ?t= at start_seconds.",
          "type": "string"
        }
      },
      "required": [
        "episode",
        "start_seconds",
        "line"
      ],
      "type": "object"
    },
    "ShareOfVoiceGroup": {
      "additionalProperties": false,
      "properties": {
        "breakdown": {
          "description": "With breakdown, the group's scored mentions by their label on that axis, one entry per label in the axis's order.",
          "items": {
            "$ref": "#/$defs/ShareOfVoiceLabel"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "buckets": {
          "description": "The group's mentions per interval bucket, when interval is set.",
          "items": {
            "$ref": "#/$defs/ShareOfVoiceBucket"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "code": {
          "description": "The SOC 2018 or ANZSRC 2020 code, or, when by is an axis, the label (e.g. negative).",
          "type": "string"
        },
        "episodes": {
          "description": "Distinct episodes they were said in.",
          "format": "int64",
          "type": "integer"
        },
        "low_sample": {
          "description": "Fewer than 20 scored mentions stand behind the group's label shares: its breakdown's with breakdown, or the split's when by is an axis. Read them as examples, not as a distribution.",
          "type": "boolean"
        },
        "mentions": {
          "description": "Lines mentioning the entity or saying the keyword in this group. By occupation or field: attributed lines spoken by people listed under the code. By an axis: scored lines carrying the label, spoken by the speakers counted, whether or not the speaker has an expertise reading.",
          "format": "int64",
          "type": "integer"
        },
        "scored_mentions": {
          "description": "With breakdown, the group's mentions that carry speaker statement characteristics: its breakdown's shares are of these.",
          "format": "int64",
          "type": "integer"
        },
        "share": {
          "description": "mentions over attributed_mentions by occupation or field, or over scored_mentions when by is an axis (0-1).",
          "format": "double",
          "type": "number"
        },
        "speakers": {
          "description": "Distinct people who said them.",
          "format": "int64",
          "type": "integer"
        },
        "title": {
          "description": "The code's title, or the label again when by is an axis.",
          "type": "string"
        },
        "top": {
          "$ref": "#/$defs/ShareOfVoiceTop",
          "description": "At level=detailed, the top-level group the code sits under (a SOC major group or an ANZSRC division) and its share, so a group split across detailed codes still shows its size."
        }
      },
      "required": [
        "code",
        "title",
        "mentions",
        "share",
        "speakers",
        "episodes"
      ],
      "type": "object"
    },
    "ShareOfVoiceLabel": {
      "additionalProperties": false,
      "properties": {
        "label": {
          "description": "The label on the breakdown axis.",
          "type": "string"
        },
        "mentions": {
          "description": "The scored mentions with the label, of the group or bucket it is in.",
          "format": "int64",
          "type": "integer"
        },
        "share": {
          "description": "mentions over the scored_mentions of the group or bucket it is in (0-1).",
          "format": "double",
          "type": "number"
        }
      },
      "required": [
        "label",
        "mentions",
        "share"
      ],
      "type": "object"
    },
    "ShareOfVoiceTop": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "description": "The SOC 2018 major group or ANZSRC 2020 division.",
          "type": "string"
        },
        "share": {
          "description": "The top-level group's mentions over attributed_mentions (0-1).",
          "format": "double",
          "type": "number"
        },
        "title": {
          "description": "The code's title.",
          "type": "string"
        }
      },
      "required": [
        "code",
        "title",
        "share"
      ],
      "type": "object"
    },
    "SpeakerStatementCharacteristics": {
      "additionalProperties": false,
      "properties": {
        "certainty": {
          "description": "How sure the speaker sounds: hedged (\"maybe\", \"I think\", \"it could\"), neutral, or confident (flat assertion).",
          "enum": [
            "hedged",
            "neutral",
            "confident"
          ],
          "type": "string"
        },
        "sentiment": {
          "description": "The statement's tone: negative, neutral or positive.",
          "enum": [
            "negative",
            "neutral",
            "positive"
          ],
          "type": "string"
        },
        "specificity": {
          "description": "Whether the line commits to something concrete: specific (names, numbers, dates, mechanisms), neutral, or vague (generalities).",
          "enum": [
            "vague",
            "neutral",
            "specific"
          ],
          "type": "string"
        },
        "temporal_orientation": {
          "description": "Where the line points in time: past (looking back), present (how things are), or future (predictions, plans, expectations).",
          "enum": [
            "past",
            "present",
            "future"
          ],
          "type": "string"
        }
      },
      "required": [
        "sentiment",
        "certainty",
        "specificity",
        "temporal_orientation"
      ],
      "type": "object"
    },
    "TranscriptLine": {
      "additionalProperties": false,
      "properties": {
        "end_seconds": {
          "description": "End time in seconds (episode-absolute)",
          "format": "double",
          "type": "number"
        },
        "is_match": {
          "description": "Top-scored line within the window for the current query, on /v1/podcasts/episodes/search results. Not set on /v1/podcasts/mentions.",
          "type": "boolean"
        },
        "is_mention": {
          "description": "Line contains a textual mention of the resolved entity. Set on /v1/podcasts/mentions only — /v1/podcasts/episodes/search treats entity_id as a filter and does not mark mention lines.",
          "type": "boolean"
        },
        "matched_terms": {
          "description": "Terms from the query that occur in this line, longest-first, for clients to highlight. Locate them case-insensitively: each term is spelled as the query spelled it, which may differ in case from the line's text (query \"openai\" is reported for a line reading \"OpenAI\"). Whole-token matches only — a term never matches inside a longer word, so \"AI\" is not reported for \"said\". A multi-word query yields the whole phrase (\"founder mode\") when it occurs contiguously, so clients mark it as one span rather than highlighting each word separately; individual words appear only where they occur outside the phrase. Only the longest term is reported at any position, so terms never overlap. On /v1/podcasts/episodes/search this is set on any line in the window containing the query, not only is_match lines; on /v1/podcasts/mentions it is set only on is_mention lines. Absent when nothing matched or the query was not text-based.",
          "items": {
            "type": "string"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "number": {
          "description": "Line number within the episode (1-indexed)",
          "format": "int64",
          "type": "integer"
        },
        "role": {
          "description": "Speaker role (HOST, GUEST, etc.)",
          "type": "string"
        },
        "segment_id": {
          "description": "The segment containing this line. Set on is_mention lines of /v1/podcasts/mentions, so a mention can be cited by segment even when its window opened in the previous one (a window starts context_lines before its first mention, and the window's segment is where the window starts). Absent elsewhere.",
          "type": "string"
        },
        "speaker": {
          "description": "Speaker name or label",
          "type": "string"
        },
        "speaker_statement_characteristics": {
          "$ref": "#/$defs/SpeakerStatementCharacteristics",
          "description": "How the speaker said this line: its sentiment, certainty, specificity and temporal orientation, as labels. A pole label (such as positive or confident) means the line clearly reads that way; a borderline line takes the middle label. Set on lines of /v1/podcasts/episodes/search and /v1/podcasts/mentions windows when the line has been read. Absent on lines that are not: short lines, and lines in intros, ad breaks and other segments outside topic discussions and interviews."
        },
        "start_seconds": {
          "description": "Start time in seconds (episode-absolute)",
          "format": "double",
          "type": "number"
        },
        "text": {
          "description": "Spoken text",
          "type": "string"
        }
      },
      "required": [
        "number",
        "speaker",
        "start_seconds",
        "end_seconds",
        "text"
      ],
      "type": "object"
    }
  }
}