> ## Documentation Index
> Fetch the complete documentation index at: https://docs.poddata.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Saves one page of a diligence report, its overview or its plan, over the version that was read

> Saves one page of a report, the overview with `overview` as the page, or the plan of its pages with `plan` as the page, over the version you read (`rev`). A plan names the kind of company and says of each of the ten whether it's in, and why where it's out: saving it marks each page it leaves out as left out, and puts a page it brings back to empty. Copy cites a figure as `{exhibit.figure}`, never as a number typed in: each exhibit is a saved question to a number tool (`numbers`, `company`, `params`), asked again each time the report is read, and its figure takes the braces' place. Each web source on a page that names neither a kept `document` nor `not_kept` has its page kept as it's saved, a PDF or a filing on EDGAR too, as `POST /diligence-reports/{id}/web-pages` keeps one: the answer's source names the `document`, or says in `not_kept` why it couldn't be kept, such as a sign-in. A finding of the overview may name the sentences of a company's call it draws on, at most six (`sentences`): each the call's transcript (`tr_…`), the turn's number as `GET /transcripts/{id}` gives it, and the sentence's first character and the one after its last in that turn's text, a sentence or a run of whole sentences of one turn. A page is saved whenever it fits the shape, whatever the check says. The answer fills and checks what you saved and the overview, which `covers` names: their exhibits asked now, their figures in place in `filled`, and what the check finds on them and on the report's shape. The other pages stay as saved, figures in braces, so a save stays quick on a long report: `GET /diligence-reports/{id}` fills every page, and `POST /diligence-reports/{id}/check` checks every page and records how many things it refuses.

**Before:** `GET /diligence-reports/{id}` for the current `rev` and the page as saved. Ask each exhibit’s number tool first, to see what its figures are.

**Next:** Save the next page. When all five and the overview are written, `POST /diligence-reports/{id}/check`, which checks the whole report.

**Limits:** A `rev` someone has saved over since is a `409` that names the version it's at now: read it again and change only what you meant to. A page holds at most 12 exhibits and 30 cited items. Keeping a page's web sources waits up to 25 seconds, side by side; one not kept by then, or one its site couldn't answer just now, is asked again on the next save. Saving makes a checked report a draft again. When the report can't be read back after the page is saved, as when PodData's database stays too busy for what it asked through waits of 2, 5, 10 and 20 seconds, the answer is still `200` with the version saved and `check.pending`: the page is kept, `filled` has its figures still in braces, and a read a minute later fills them and says what the check finds. A `503` with `Retry-After` comes before the save is kept, or may have kept it: read the report for its version before saving again.

**MCP tool:** `save_report_page`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](https://docs.poddata.ai/mcp-server.md).


## OpenAPI

````yaml /openapi.json put /diligence-reports/{id}/pages/{page}
openapi: 3.1.0
info:
  title: PodData API
  version: 1.0.0
  description: >-
    PodData is competitive intelligence from the record: what leaders said on
    podcasts, in interviews and at their own events, as quotes with the speaker,
    the source, the day and the second; and, for a diligence, what public
    sources say about a company and its rivals, read through links a person on
    your team has confirmed.


    ## Quick start


    1. **A key.** Someone on your team makes one in the workspace, Settings ›
    API keys. Send it on every call as `Authorization: Bearer pd_live_…`. Keep
    it in an environment variable, such as `PODDATA_API_KEY`, and never print it
    or write it to a file.

    2. **A target.** `POST /targets` with a company's `name` and `domain`, an id
    from `GET /companies?q=`, or its SEC `ticker`.

    3. **Its links and rivals.** `POST /targets/{company}/find`, `POST
    /targets/{company}/profiles/find` and `POST /targets/{company}/rivals/find`
    find them, each with the page that shows it. A link with its page is taken
    at once, and so is a rival both reads agree on with a sign no model gave.
    `POST /companies/{id}/relations` proposes a listed parent or comparable,
    taken by a test of its own. Show a person what was taken, and confirm what
    stayed proposed only on their yes.

    4. **A read.** `POST /targets/{company}/read` with `{"rivals": true}` asks
    PodData to read the target and its confirmed rivals now. `GET
    /targets/{company}/coverage` says what has been read, source by source.

    5. **The files.** `GET /targets/{company}/folder` lists a file for each
    source, for the target and each confirmed rival. `?format=zip` is all of
    them at once.

    6. **A report.** `POST /diligence-reports` makes one with five empty pages.
    Write each with `PUT /diligence-reports/{id}/pages/{page}`, check it with
    `POST /diligence-reports/{id}/check`, and read it with every figure filled
    with `GET /diligence-reports/{id}`. Or have PodData's own agent write it,
    `POST /diligence-reports/{id}/runs`, and follow the run with `GET
    /diligence-runs/{id}`.


    The tags below are in that order. Each operation says what has to be true
    first, what to call next and its limits, with a made-up example of the call
    and its answer.


    **For an assistant,** start from `https://api.poddata.ai/llms.txt`, which
    needs no key: the same steps, the MCP server, and PodData's diligence skill
    with its puller, which saves a target's folder, its rivals' and its reports
    to disk. The MCP server does what the API does:
    `https://api.poddata.ai/mcp`, with the same key or by signing in to PodData,
    and each operation here names its tool in `x-mcp-tool`. To add it to Claude
    Code with the key read from the environment each time it starts, never
    written down, run this as it is, in single quotes: `claude mcp add
    --transport http --scope project poddata https://api.poddata.ai/mcp --header
    'Authorization: Bearer ${PODDATA_API_KEY}'`.


    **Limits.** 120 requests a minute a key, then a `429` with `Retry-After`. A
    team's plan sets how many reads, rival finds and filers it may ask for a
    day, and a call past one is a `403` with the code `plan` that says the
    limit. A quote is at most 80 words in a row. A review's, a story's, a post's
    and a record's words come whole where PodData holds them, in a list and in a
    file. A whole document or transcript comes from its own route, one at a
    time, under a daily limit.


    **Errors** are `{"error": {"code": "…", "message": "…"}}`, the message a
    sentence that says what to do.
servers:
  - url: https://api.poddata.ai/v1
security:
  - key: []
tags:
  - name: Targets
    description: >-
      Start here. The companies your team looks at: add one by its name and
      domain, by an id from `GET /companies`, or by its SEC ticker. A target is
      your team's alone, and nothing says another team looks at it.
  - name: Links
    description: >-
      A target's own domain, listings, accounts and review profiles. PodData
      proposes them from its own site and from the review sites' own pages, and
      reads only through a link a person on your team has confirmed.
  - name: Rivals
    description: >-
      The companies a target competes with. PodData finds and tests candidates
      and proposes only the rivals. One both reads agree on, with an industry
      code or a town the two firms share, is taken at once; a person decides the
      rest and can strike any. A confirmed rival is read beside the target.
  - name: Parents and comparables
    description: >-
      A target's listed parent and the listed companies it's compared with. A
      parent proposed with a page that shows it is taken at once, and so is a
      listed comparable that passed the rival test. A person decides the rest
      and can strike any.
  - name: Reads
    description: >-
      Ask PodData to read a target and its confirmed rivals now, and see what
      has been read for it, source by source, and what is missing and why.
  - name: Records and signals
    description: >-
      What PodData read about a company through its confirmed links: records,
      such as filings, licences, cases and stories, and signals, such as reviews
      and ratings, each with its own day and its page on the source's site. And
      the figures your team's own data licences read.
  - name: Ads and site
    description: >-
      A brand's ads in Meta's US ad library, from PodData's weekly reads, and
      the pages of a company's own site as PodData read them.
  - name: Number tools
    description: >-
      Figures computed on the server, so an assistant never pages through
      thousands of reviews or does the sums itself: ratings, complaints, a
      series, a timeline, ads and a site, for a company beside its confirmed
      rivals, or for a market's confirmed players with the field's own figures.
      Each answers the figures, the rows behind them, the evidence and how they
      were built.
  - name: Folder
    description: >-
      Everything PodData holds for a target and its confirmed rivals, as files:
      an index, a CSV a source and kind, and one zip.
  - name: Reports
    description: >-
      A diligence report: an overview and its pages, each figure filled by a
      number tool when the report is read, and a check that refuses what the
      evidence doesn't hold. Your own assistant writes it a page at a time, or
      PodData's agent does.
  - name: Markets
    description: >-
      A market your team studies, such as Intelligent Document Processing: a
      whole category rather than one company, what it is in words, and its main
      players, each read as a target's rival is. A market is your team's own,
      and nothing says another team studies the same one.
  - name: Report runs
    description: >-
      PodData's own agent writing a report or changing one: each run's status,
      its turns and what it cost.
  - name: Officers and directors
    description: >-
      The officers and directors of companies that file with the SEC, from their
      own Forms 3, 4 and 5: name the filers you want by ticker or SEC number, up
      to 500 a call, then read each one's people, or all of them at once, with
      updated_after for what changed.
  - name: Quotes
    description: >-
      What people said, as quotes with the speaker, the show, the day, the
      second and a page to cite.
  - name: People
    description: >-
      The people PodData quotes, their sources and timelines, and lookups of
      someone new.
  - name: Shows and episodes
    description: The shows PodData reads and their episodes, with who spoke when.
  - name: Companies
    description: >-
      What companies said and filed themselves: their documents, events,
      transcripts, slides, posts and figures, and passages of at most 80 words
      from them.
  - name: Trackers
    description: >-
      A tracker follows a topic or a person and sends each new quote it matches
      by email, Slack or webhook.
  - name: Lists
    description: >-
      A team's own lists of people and companies, to narrow a search or a
      tracker to them.
  - name: Saved
    description: >-
      What a person signed in has saved, their saved filters and their calendar
      feed. A key, which has no person, is refused most of these.
  - name: Sources
    description: >-
      The sources PodData reads, what it holds from each, and how much of the
      watch list is covered.
  - name: Webhooks
    description: Webhooks a program registers to be sent what its trackers match.
  - name: Usage
    description: The team's calls and reads, counted by day and kind.
  - name: Help
    description: >-
      PodData's guide to itself: what each part of PodData does and where in the
      workspace it's done, topic by topic.
paths:
  /diligence-reports/{id}/pages/{page}:
    put:
      tags:
        - Reports
      summary: >-
        Saves one page of a diligence report, its overview or its plan, over the
        version that was read
      description: >-
        Saves one page of a report, the overview with `overview` as the page, or
        the plan of its pages with `plan` as the page, over the version you read
        (`rev`). A plan names the kind of company and says of each of the ten
        whether it's in, and why where it's out: saving it marks each page it
        leaves out as left out, and puts a page it brings back to empty. Copy
        cites a figure as `{exhibit.figure}`, never as a number typed in: each
        exhibit is a saved question to a number tool (`numbers`, `company`,
        `params`), asked again each time the report is read, and its figure
        takes the braces' place. Each web source on a page that names neither a
        kept `document` nor `not_kept` has its page kept as it's saved, a PDF or
        a filing on EDGAR too, as `POST /diligence-reports/{id}/web-pages` keeps
        one: the answer's source names the `document`, or says in `not_kept` why
        it couldn't be kept, such as a sign-in. A finding of the overview may
        name the sentences of a company's call it draws on, at most six
        (`sentences`): each the call's transcript (`tr_…`), the turn's number as
        `GET /transcripts/{id}` gives it, and the sentence's first character and
        the one after its last in that turn's text, a sentence or a run of whole
        sentences of one turn. A page is saved whenever it fits the shape,
        whatever the check says. The answer fills and checks what you saved and
        the overview, which `covers` names: their exhibits asked now, their
        figures in place in `filled`, and what the check finds on them and on
        the report's shape. The other pages stay as saved, figures in braces, so
        a save stays quick on a long report: `GET /diligence-reports/{id}` fills
        every page, and `POST /diligence-reports/{id}/check` checks every page
        and records how many things it refuses.


        **Before:** `GET /diligence-reports/{id}` for the current `rev` and the
        page as saved. Ask each exhibit’s number tool first, to see what its
        figures are.


        **Next:** Save the next page. When all five and the overview are
        written, `POST /diligence-reports/{id}/check`, which checks the whole
        report.


        **Limits:** A `rev` someone has saved over since is a `409` that names
        the version it's at now: read it again and change only what you meant
        to. A page holds at most 12 exhibits and 30 cited items. Keeping a
        page's web sources waits up to 25 seconds, side by side; one not kept by
        then, or one its site couldn't answer just now, is asked again on the
        next save. Saving makes a checked report a draft again. When the report
        can't be read back after the page is saved, as when PodData's database
        stays too busy for what it asked through waits of 2, 5, 10 and 20
        seconds, the answer is still `200` with the version saved and
        `check.pending`: the page is kept, `filled` has its figures still in
        braces, and a read a minute later fills them and says what the check
        finds. A `503` with `Retry-After` comes before the save is kept, or may
        have kept it: read the report for its version before saving again.
      operationId: saveDiligenceReportPage
      parameters:
        - schema:
            type: string
            maxLength: 64
          required: true
          name: id
          in: path
        - schema:
            anyOf:
              - type: string
                enum:
                  - company
                  - market
                  - financials
                  - customer
                  - competitive
                  - marketing
                  - news
                  - trends
                  - expert
                  - risks
                  - players
                  - profiles
                  - overview
                  - plan
              - type: string
                maxLength: 48
                pattern: ^x-[a-z0-9]+(?:-[a-z0-9]+)*$
            description: >-
              One of the report's pages, a page of its own (`x-` and a slug),
              the overview, or the plan of its pages
          required: true
          description: >-
            One of the report's pages, a page of its own (`x-` and a slug), the
            overview, or the plan of its pages
          name: page
          in: path
      requestBody:
        required: true
        content:
          application/json:
            examples:
              made-up:
                summary: 'Made up: no team’s data'
                value:
                  rev: 2
                  page:
                    id: customer
                    state: written
                    headline: >-
                      Patients rate Northwind {customer-1.average} stars on
                      Google, a little below its rival’s
                      {customer-1.rivals_average}
                    lede: >-
                      Across its three clinics, patients praise the care and
                      complain about the wait.
                    read:
                      - exhibit: customer-1
                        figure: reviews
                        label: Google reviews read
                    questions:
                      - id: customer-q1
                        ask: Do patients rate it as well as its rivals?
                        answer: >-
                          A little below: {customer-1.average} stars against
                          {customer-1.rivals_average}.
                        cards:
                          - exhibit: customer-1
                            figure: average
                            label: Northwind Dental
                            line: average stars on Google, the last year
                      - id: customer-q2
                        ask: What do unhappy patients say?
                        answer: Mostly that they waited past their appointment.
                        cards: []
                    exhibits:
                      - id: customer-1
                        numbers: rating_rivals
                        company: northwind-dental
                        params:
                          source: google-maps
                          from: '2025-11-14'
                          to: '2026-11-14'
                        show: bars
                        title: Google rating, against its confirmed rival
                        point: Northwind trails Bluebird by three tenths of a star.
                        caveat: null
                    quotes:
                      - kind: signal
                        id: sig_01JD9C5E6F7G00000000000000
                        exhibit: customer-1
                        why: A two-star review about the wait
                    method:
                      read: >-
                        Google reviews of its three confirmed clinics, and of
                        its one confirmed rival’s two
                      from: '2025-11-14'
                      to: '2026-11-14'
                      left_out: []
                    web: []
                    names:
                      - Northwind Dental
                      - Bluebird Dental
                      - Google
            schema:
              type: object
              properties:
                rev:
                  type: integer
                  minimum: 1
                  description: The version the change was made on, from the last read
                page:
                  type: object
                  properties:
                    id:
                      anyOf:
                        - type: string
                          enum:
                            - company
                            - market
                            - financials
                            - customer
                            - competitive
                            - marketing
                            - news
                            - trends
                            - expert
                            - risks
                            - players
                            - profiles
                        - type: string
                          maxLength: 48
                          pattern: ^x-[a-z0-9]+(?:-[a-z0-9]+)*$
                    question:
                      type: string
                      maxLength: 200
                    name:
                      type: string
                      maxLength: 60
                    after:
                      type: string
                      enum:
                        - company
                        - market
                        - financials
                        - customer
                        - competitive
                        - marketing
                        - news
                        - trends
                        - expert
                        - risks
                        - players
                        - profiles
                    state:
                      type: string
                      enum:
                        - empty
                        - written
                        - waits
                        - left_out
                    headline:
                      type: string
                    lede:
                      type: string
                    read:
                      type: array
                      items:
                        type: object
                        properties:
                          exhibit:
                            type: string
                          figure:
                            type: string
                          label:
                            type: string
                          line:
                            type: string
                        required:
                          - exhibit
                          - figure
                          - label
                      maxItems: 6
                    questions:
                      type: array
                      items:
                        type: object
                        properties:
                          id:
                            type: string
                          ask:
                            type: string
                          answer:
                            type: string
                          cards:
                            type: array
                            items:
                              type: object
                              properties:
                                exhibit:
                                  type: string
                                figure:
                                  type: string
                                label:
                                  type: string
                                line:
                                  type: string
                              required:
                                - exhibit
                                - figure
                                - label
                                - line
                            maxItems: 3
                        required:
                          - id
                          - ask
                          - answer
                          - cards
                      maxItems: 2
                    exhibits:
                      type: array
                      items:
                        type: object
                        properties:
                          id:
                            type: string
                          numbers:
                            type:
                              - string
                              - 'null'
                          company:
                            type: string
                          params:
                            type: object
                            additionalProperties:
                              anyOf:
                                - type: string
                                - type: number
                                - type: boolean
                                - type: array
                                  items:
                                    type: string
                          show:
                            type: string
                            enum:
                              - figures
                              - table
                              - bars
                              - share
                              - series
                              - timeline
                              - voices
                              - windows
                              - grid
                              - lanes
                              - lines
                              - squares
                              - strip
                          by:
                            type: string
                            enum:
                              - none
                              - tie
                          title:
                            type: string
                          point:
                            type: string
                          caveat:
                            type:
                              - string
                              - 'null'
                        required:
                          - id
                          - numbers
                          - company
                          - params
                          - show
                          - title
                          - point
                          - caveat
                      maxItems: 12
                    quotes:
                      type: array
                      items:
                        type: object
                        properties:
                          kind:
                            type: string
                            enum:
                              - quote
                              - signal
                              - passage
                              - record
                          id:
                            type: string
                          exhibit:
                            type:
                              - string
                              - 'null'
                          why:
                            type: string
                          player:
                            type:
                              - string
                              - 'null'
                        required:
                          - kind
                          - id
                          - exhibit
                          - why
                      maxItems: 30
                    uses:
                      type: array
                      items:
                        type: object
                        properties:
                          tag:
                            type: string
                          action:
                            type: string
                          line:
                            type: string
                        required:
                          - tag
                          - action
                          - line
                      maxItems: 4
                    method:
                      type: object
                      properties:
                        read:
                          type: string
                        from:
                          type:
                            - string
                            - 'null'
                          format: date
                        to:
                          type:
                            - string
                            - 'null'
                          format: date
                        left_out:
                          type: array
                          items:
                            type: object
                            properties:
                              what:
                                type: string
                              why:
                                type: string
                            required:
                              - what
                              - why
                          maxItems: 30
                      required:
                        - read
                        - from
                        - to
                        - left_out
                    web:
                      type: array
                      items:
                        type: object
                        properties:
                          id:
                            type: string
                          url:
                            type: string
                          title:
                            type: string
                          day:
                            type:
                              - string
                              - 'null'
                            format: date
                          day_from:
                            type: string
                            enum:
                              - page
                              - none
                          read_at:
                            type: string
                            format: date-time
                          why:
                            type: string
                          figures:
                            type: array
                            items:
                              type: object
                              properties:
                                name:
                                  type: string
                                value:
                                  type: number
                                unit:
                                  type: string
                                  enum:
                                    - count
                                    - stars
                                    - share
                                    - usd
                                    - days
                                    - number
                                says:
                                  type: string
                              required:
                                - name
                                - value
                                - unit
                                - says
                            maxItems: 8
                          document:
                            type:
                              - string
                              - 'null'
                          not_kept:
                            type:
                              - string
                              - 'null'
                        required:
                          - url
                          - title
                          - day
                          - day_from
                          - read_at
                          - why
                      maxItems: 20
                    names:
                      type: array
                      items:
                        type: string
                      maxItems: 100
                    profiles:
                      type: array
                      items:
                        type: object
                        properties:
                          player:
                            type: string
                          copy:
                            type: string
                          cards:
                            type: array
                            items:
                              type: object
                              properties:
                                exhibit:
                                  type: string
                                figure:
                                  type: string
                                label:
                                  type: string
                                line:
                                  type: string
                                row:
                                  type: string
                              required:
                                - exhibit
                                - figure
                                - label
                                - line
                            maxItems: 4
                        required:
                          - player
                          - copy
                          - cards
                      maxItems: 20
                  required:
                    - id
                    - state
                    - headline
                    - lede
                    - read
                    - questions
                    - exhibits
                    - quotes
                    - method
                    - web
                    - names
                  description: The page, for one of the pages
                overview:
                  type: object
                  properties:
                    bottom_line:
                      type: string
                    story:
                      type: array
                      items:
                        type: string
                      maxItems: 8
                    sections:
                      type: array
                      items:
                        type: object
                        properties:
                          page:
                            anyOf:
                              - type: string
                                enum:
                                  - company
                                  - market
                                  - financials
                                  - customer
                                  - competitive
                                  - marketing
                                  - news
                                  - trends
                                  - expert
                                  - risks
                                  - players
                                  - profiles
                              - type: string
                                maxLength: 48
                                pattern: ^x-[a-z0-9]+(?:-[a-z0-9]+)*$
                          text:
                            type: string
                        required:
                          - page
                          - text
                      maxItems: 15
                    cards:
                      type: array
                      items:
                        type: object
                        properties:
                          exhibit:
                            type: string
                          figure:
                            type: string
                          label:
                            type: string
                          line:
                            type: string
                        required:
                          - exhibit
                          - figure
                          - label
                          - line
                      maxItems: 3
                    first_question:
                      type: string
                    case_for:
                      type: array
                      items:
                        type: object
                        properties:
                          text:
                            type: string
                          page:
                            anyOf:
                              - type: string
                                enum:
                                  - company
                                  - market
                                  - financials
                                  - customer
                                  - competitive
                                  - marketing
                                  - news
                                  - trends
                                  - expert
                                  - risks
                                  - players
                                  - profiles
                              - type: string
                                maxLength: 48
                                pattern: ^x-[a-z0-9]+(?:-[a-z0-9]+)*$
                          cited:
                            type:
                              - string
                              - 'null'
                        required:
                          - text
                          - page
                      maxItems: 4
                    case_against:
                      type: array
                      items:
                        type: object
                        properties:
                          text:
                            type: string
                          page:
                            anyOf:
                              - type: string
                                enum:
                                  - company
                                  - market
                                  - financials
                                  - customer
                                  - competitive
                                  - marketing
                                  - news
                                  - trends
                                  - expert
                                  - risks
                                  - players
                                  - profiles
                              - type: string
                                maxLength: 48
                                pattern: ^x-[a-z0-9]+(?:-[a-z0-9]+)*$
                          cited:
                            type:
                              - string
                              - 'null'
                        required:
                          - text
                          - page
                      maxItems: 4
                    findings:
                      type: array
                      items:
                        type: object
                        properties:
                          text:
                            type: string
                          sure:
                            type: string
                            enum:
                              - strong
                              - moderate
                              - thin
                          why:
                            type: string
                          pages:
                            type: array
                            items:
                              anyOf:
                                - type: string
                                  enum:
                                    - company
                                    - market
                                    - financials
                                    - customer
                                    - competitive
                                    - marketing
                                    - news
                                    - trends
                                    - expert
                                    - risks
                                    - players
                                    - profiles
                                - type: string
                                  maxLength: 48
                                  pattern: ^x-[a-z0-9]+(?:-[a-z0-9]+)*$
                            minItems: 1
                            maxItems: 4
                          sentences:
                            type: array
                            items:
                              type: object
                              properties:
                                transcript:
                                  type: string
                                  maxLength: 64
                                turn:
                                  type: integer
                                  minimum: 0
                                start:
                                  type: integer
                                  minimum: 0
                                end:
                                  type: integer
                                  minimum: 1
                              required:
                                - transcript
                                - turn
                                - start
                                - end
                            maxItems: 6
                        required:
                          - text
                          - sure
                          - why
                          - pages
                      maxItems: 12
                    first_tests:
                      type: array
                      items:
                        type: integer
                        minimum: 1
                        maximum: 12
                      maxItems: 6
                    risks:
                      type: array
                      items:
                        type: object
                        properties:
                          risk:
                            type: string
                          why:
                            type: string
                          findings:
                            type: array
                            items:
                              type: integer
                              minimum: 1
                              maximum: 12
                            maxItems: 6
                          page:
                            anyOf:
                              - type: string
                                enum:
                                  - company
                                  - market
                                  - financials
                                  - customer
                                  - competitive
                                  - marketing
                                  - news
                                  - trends
                                  - expert
                                  - risks
                                  - players
                                  - profiles
                              - type: string
                                maxLength: 48
                                pattern: ^x-[a-z0-9]+(?:-[a-z0-9]+)*$
                              - type: 'null'
                        required:
                          - risk
                          - why
                          - findings
                      maxItems: 9
                    would_change:
                      type: string
                    asks:
                      type: array
                      items:
                        type: object
                        properties:
                          ask:
                            type: string
                          tests:
                            type: string
                          findings:
                            type: array
                            items:
                              type: integer
                              minimum: 1
                              maximum: 12
                            minItems: 1
                            maxItems: 6
                        required:
                          - ask
                          - tests
                          - findings
                      maxItems: 15
                    not_assessed:
                      type: string
                    names:
                      type: array
                      items:
                        type: string
                      maxItems: 100
                  required:
                    - bottom_line
                    - cards
                    - first_question
                    - names
                  description: The overview, for overview
                plan:
                  type: object
                  properties:
                    kind:
                      type: string
                      enum:
                        - consumer-product
                        - franchise
                        - b2b-manufacturer
                        - casino
                        - clinic-network
                        - software
                        - b2b-services
                        - other
                    pages:
                      type: array
                      items:
                        type: object
                        properties:
                          id:
                            anyOf:
                              - type: string
                                enum:
                                  - company
                                  - market
                                  - financials
                                  - customer
                                  - competitive
                                  - marketing
                                  - news
                                  - trends
                                  - expert
                                  - risks
                                  - players
                                  - profiles
                              - type: string
                                maxLength: 48
                                pattern: ^x-[a-z0-9]+(?:-[a-z0-9]+)*$
                          name:
                            type: string
                            maxLength: 60
                          after:
                            type: string
                            enum:
                              - company
                              - market
                              - financials
                              - customer
                              - competitive
                              - marketing
                              - news
                              - trends
                              - expert
                              - risks
                              - players
                              - profiles
                          in:
                            type: boolean
                          why:
                            type:
                              - string
                              - 'null'
                            maxLength: 400
                        required:
                          - id
                          - in
                          - why
                      maxItems: 15
                  required:
                    - kind
                    - pages
                  description: The plan of the report's pages, for plan
              required:
                - rev
              additionalProperties: false
      responses:
        '200':
          description: >-
            Saved, with what it saved and the overview read back filled and
            checked
          content:
            application/json:
              examples:
                made-up:
                  summary: 'Made up: no team’s data'
                  value:
                    id: dlr_01JD9K4M5N6P00000000000000
                    company:
                      id: northwind-dental
                      name: Northwind Dental
                    title: Northwind Dental
                    status: draft
                    rev: 3
                    problems: 5
                    playbook: '2'
                    saved_by: key
                    created_at: '2026-11-14T08:00:00.000Z'
                    updated_at: '2026-11-14T09:05:00.000Z'
                    checked_at: null
                    pages:
                      - id: company
                        state: empty
                      - id: market
                        state: empty
                      - id: financials
                        state: empty
                      - id: customer
                        state: written
                      - id: competitive
                        state: empty
                      - id: marketing
                        state: empty
                      - id: news
                        state: empty
                      - id: trends
                        state: empty
                      - id: expert
                        state: empty
                      - id: risks
                        state: empty
                    checks:
                      running: null
                      last:
                        id: dck_01JD9C6A1B2C00000000000000
                        rev: 3
                        state: draft
                        asked_at: '2026-11-14T09:06:00.000Z'
                        started_at: '2026-11-14T09:06:01.000Z'
                        ended_at: '2026-11-14T09:06:40.000Z'
                        refused: 5
                        ahead: null
                        why: null
                    report:
                      version: 1
                      company: northwind-dental
                      title: Northwind Dental
                      playbook: '2'
                      overview:
                        bottom_line: ''
                        cards: []
                        first_question: ''
                        case_for: []
                        case_against: []
                        names: []
                      pages:
                        - id: company
                          state: empty
                          headline: ''
                          lede: ''
                          read: []
                          questions: []
                          exhibits: []
                          quotes: []
                          method:
                            read: ''
                            from: null
                            to: null
                            left_out: []
                          web: []
                          names: []
                        - id: market
                          state: empty
                          headline: ''
                          lede: ''
                          read: []
                          questions: []
                          exhibits: []
                          quotes: []
                          method:
                            read: ''
                            from: null
                            to: null
                            left_out: []
                          web: []
                          names: []
                        - id: financials
                          state: empty
                          headline: ''
                          lede: ''
                          read: []
                          questions: []
                          exhibits: []
                          quotes: []
                          method:
                            read: ''
                            from: null
                            to: null
                            left_out: []
                          web: []
                          names: []
                        - id: customer
                          state: written
                          headline: >-
                            Patients rate Northwind {customer-1.average} stars
                            on Google, a little below its rival’s
                            {customer-1.rivals_average}
                          lede: >-
                            Across its three clinics, patients praise the care
                            and complain about the wait.
                          read:
                            - exhibit: customer-1
                              figure: reviews
                              label: Google reviews read
                          questions:
                            - id: customer-q1
                              ask: Do patients rate it as well as its rivals?
                              answer: >-
                                A little below: {customer-1.average} stars
                                against {customer-1.rivals_average}.
                              cards:
                                - exhibit: customer-1
                                  figure: average
                                  label: Northwind Dental
                                  line: average stars on Google, the last year
                            - id: customer-q2
                              ask: What do unhappy patients say?
                              answer: Mostly that they waited past their appointment.
                              cards: []
                          exhibits:
                            - id: customer-1
                              numbers: rating_rivals
                              company: northwind-dental
                              params:
                                source: google-maps
                                from: '2025-11-14'
                                to: '2026-11-14'
                              show: bars
                              title: Google rating, against its confirmed rival
                              point: >-
                                Northwind trails Bluebird by three tenths of a
                                star.
                              caveat: null
                          quotes:
                            - kind: signal
                              id: sig_01JD9C5E6F7G00000000000000
                              exhibit: customer-1
                              why: A two-star review about the wait
                          method:
                            read: >-
                              Google reviews of its three confirmed clinics, and
                              of its one confirmed rival’s two
                            from: '2025-11-14'
                            to: '2026-11-14'
                            left_out: []
                          web: []
                          names:
                            - Northwind Dental
                            - Bluebird Dental
                            - Google
                        - id: competitive
                          state: empty
                          headline: ''
                          lede: ''
                          read: []
                          questions: []
                          exhibits: []
                          quotes: []
                          method:
                            read: ''
                            from: null
                            to: null
                            left_out: []
                          web: []
                          names: []
                        - id: marketing
                          state: empty
                          headline: ''
                          lede: ''
                          read: []
                          questions: []
                          exhibits: []
                          quotes: []
                          method:
                            read: ''
                            from: null
                            to: null
                            left_out: []
                          web: []
                          names: []
                        - id: news
                          state: empty
                          headline: ''
                          lede: ''
                          read: []
                          questions: []
                          exhibits: []
                          quotes: []
                          method:
                            read: ''
                            from: null
                            to: null
                            left_out: []
                          web: []
                          names: []
                        - id: trends
                          state: empty
                          headline: ''
                          lede: ''
                          read: []
                          questions: []
                          exhibits: []
                          quotes: []
                          method:
                            read: ''
                            from: null
                            to: null
                            left_out: []
                          web: []
                          names: []
                        - id: expert
                          state: empty
                          headline: ''
                          lede: ''
                          read: []
                          questions: []
                          exhibits: []
                          quotes: []
                          method:
                            read: ''
                            from: null
                            to: null
                            left_out: []
                          web: []
                          names: []
                        - id: risks
                          state: empty
                          headline: ''
                          lede: ''
                          read: []
                          questions: []
                          exhibits: []
                          quotes: []
                          method:
                            read: ''
                            from: null
                            to: null
                            left_out: []
                          web: []
                          names: []
                    filled:
                      version: 1
                      company: northwind-dental
                      title: Northwind Dental
                      playbook: '2'
                      overview:
                        bottom_line: ''
                        cards: []
                        first_question: ''
                        case_for: []
                        case_against: []
                        names: []
                      pages:
                        - id: company
                          state: empty
                          headline: ''
                          lede: ''
                          read: []
                          questions: []
                          exhibits: []
                          quotes: []
                          method:
                            read: ''
                            from: null
                            to: null
                            left_out: []
                          web: []
                          names: []
                        - id: market
                          state: empty
                          headline: ''
                          lede: ''
                          read: []
                          questions: []
                          exhibits: []
                          quotes: []
                          method:
                            read: ''
                            from: null
                            to: null
                            left_out: []
                          web: []
                          names: []
                        - id: financials
                          state: empty
                          headline: ''
                          lede: ''
                          read: []
                          questions: []
                          exhibits: []
                          quotes: []
                          method:
                            read: ''
                            from: null
                            to: null
                            left_out: []
                          web: []
                          names: []
                        - id: customer
                          state: written
                          headline: >-
                            Patients rate Northwind 4.3 stars on Google, a
                            little below its rival’s 4.6
                          lede: >-
                            Across its three clinics, patients praise the care
                            and complain about the wait.
                          read:
                            - exhibit: customer-1
                              figure: reviews
                              label: Google reviews read
                          questions:
                            - id: customer-q1
                              ask: Do patients rate it as well as its rivals?
                              answer: 'A little below: 4.3 stars against 4.6.'
                              cards:
                                - exhibit: customer-1
                                  figure: average
                                  label: Northwind Dental
                                  line: average stars on Google, the last year
                            - id: customer-q2
                              ask: What do unhappy patients say?
                              answer: Mostly that they waited past their appointment.
                              cards: []
                          exhibits:
                            - id: customer-1
                              numbers: rating_rivals
                              company: northwind-dental
                              params:
                                source: google-maps
                                from: '2025-11-14'
                                to: '2026-11-14'
                              show: bars
                              title: Google rating, against its confirmed rival
                              point: >-
                                Northwind trails Bluebird by three tenths of a
                                star.
                              caveat: null
                          quotes:
                            - kind: signal
                              id: sig_01JD9C5E6F7G00000000000000
                              exhibit: customer-1
                              why: A two-star review about the wait
                          method:
                            read: >-
                              Google reviews of its three confirmed clinics, and
                              of its one confirmed rival’s two
                            from: '2025-11-14'
                            to: '2026-11-14'
                            left_out: []
                          web: []
                          names:
                            - Northwind Dental
                            - Bluebird Dental
                            - Google
                        - id: competitive
                          state: empty
                          headline: ''
                          lede: ''
                          read: []
                          questions: []
                          exhibits: []
                          quotes: []
                          method:
                            read: ''
                            from: null
                            to: null
                            left_out: []
                          web: []
                          names: []
                        - id: marketing
                          state: empty
                          headline: ''
                          lede: ''
                          read: []
                          questions: []
                          exhibits: []
                          quotes: []
                          method:
                            read: ''
                            from: null
                            to: null
                            left_out: []
                          web: []
                          names: []
                        - id: news
                          state: empty
                          headline: ''
                          lede: ''
                          read: []
                          questions: []
                          exhibits: []
                          quotes: []
                          method:
                            read: ''
                            from: null
                            to: null
                            left_out: []
                          web: []
                          names: []
                        - id: trends
                          state: empty
                          headline: ''
                          lede: ''
                          read: []
                          questions: []
                          exhibits: []
                          quotes: []
                          method:
                            read: ''
                            from: null
                            to: null
                            left_out: []
                          web: []
                          names: []
                        - id: expert
                          state: empty
                          headline: ''
                          lede: ''
                          read: []
                          questions: []
                          exhibits: []
                          quotes: []
                          method:
                            read: ''
                            from: null
                            to: null
                            left_out: []
                          web: []
                          names: []
                        - id: risks
                          state: empty
                          headline: ''
                          lede: ''
                          read: []
                          questions: []
                          exhibits: []
                          quotes: []
                          method:
                            read: ''
                            from: null
                            to: null
                            left_out: []
                          web: []
                          names: []
                    answers:
                      customer-1:
                        asked_at: '2026-11-14T09:05:00.000Z'
                        answer:
                          numbers: rating_rivals
                          company:
                            id: northwind-dental
                            name: Northwind Dental
                          params:
                            source: google-maps
                            from: '2025-11-14'
                            to: '2026-11-14'
                          figures:
                            - name: average
                              label: Northwind Dental, average stars
                              value: 4.3
                              unit: stars
                              company: northwind-dental
                              'n': 760
                              small: false
                              interval:
                                low: 4.2
                                high: 4.4
                            - name: rivals_average
                              label: Its rivals, average stars
                              value: 4.6
                              unit: stars
                              company: null
                              'n': 444
                              small: false
                              interval:
                                low: 4.5
                                high: 4.7
                            - name: reviews
                              label: Reviews read
                              value: 1204
                              unit: count
                              company: null
                              'n': 1204
                              small: false
                              interval: null
                          columns:
                            - name: average
                              label: Average stars
                              unit: stars
                            - name: reviews
                              label: Reviews
                              unit: count
                          rows:
                            - key: northwind-dental
                              label: Northwind Dental
                              kind: company
                              company: northwind-dental
                              values:
                                average: 4.3
                                reviews: 760
                              small: false
                              day: null
                              source: google-maps
                              category: null
                              url: null
                              was: null
                            - key: bluebird-dental
                              label: Bluebird Dental
                              kind: company
                              company: bluebird-dental
                              values:
                                average: 4.6
                                reviews: 444
                              small: false
                              day: null
                              source: google-maps
                              category: null
                              url: null
                              was: null
                          evidence:
                            items:
                              - kind: signal
                                id: sig_01JD9C5E6F7G00000000000000
                                source: google-maps
                                company: northwind-dental
                                link: cln_01JD8X4K2N3R00000000000000
                                day: '2026-11-09'
                                url: >-
                                  https://www.google.com/maps/place/?q=place_id:ChIJ_made_up_riverside
                                row: northwind-dental
                                rating: 2
                                text: null
                            total: 1204
                            more: 1203
                          basis:
                            sources:
                              - id: google-maps
                                name: Google Maps reviews and listings
                                network: google
                            independent: 1
                            window:
                              from: '2025-11-14'
                              to: '2026-11-14'
                            compare: null
                            method: >-
                              The average of the stars of every review dated in
                              the window, through each company’s confirmed
                              places.
                            sample:
                              read: 1204
                              of: 1388
                              from: '2025-11-14'
                              to: '2026-11-12'
                              days: 363
                              undated: 0
                            breaks: []
                            periods: null
                            left_out: []
                            caveats: []
                          computed_at: '2026-11-14T09:05:00.000Z'
                        error: null
                    cited:
                      sig_01JD9C5E6F7G00000000000000:
                        kind: signal
                        id: sig_01JD9C5E6F7G00000000000000
                        text: >-
                          Waited forty minutes past my appointment and the front
                          desk never said why.
                        day: '2026-11-09'
                        url: >-
                          https://www.google.com/maps/place/?q=place_id:ChIJ_made_up_riverside
                        cite: Google Maps review
                        rating: 2
                        speaker_confirmed: null
                        tie: null
                    check:
                      passes: false
                      problems:
                        - where: overview.bottom_line
                          problem: has no bottom line
                          refused: true
                      running: false
                    pages_needed:
                      - company
                      - market
                      - financials
                      - customer
                      - competitive
                      - marketing
                      - news
                      - trends
                      - expert
                      - risks
                    covers:
                      - customer
                      - overview
              schema:
                type: object
                properties:
                  id:
                    type: string
                  company:
                    type: object
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                    required:
                      - id
                      - name
                  subject:
                    type: string
                    enum:
                      - company
                      - market
                  market:
                    type:
                      - object
                      - 'null'
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                    required:
                      - id
                      - name
                  title:
                    type: string
                  status:
                    type: string
                    enum:
                      - draft
                      - checked
                  rev:
                    type: integer
                  problems:
                    type: integer
                  playbook:
                    type:
                      - string
                      - 'null'
                  saved_by:
                    type: string
                    enum:
                      - key
                      - member
                      - agent
                  created_at:
                    type: string
                  updated_at:
                    type: string
                  checked_at:
                    type:
                      - string
                      - 'null'
                  pages:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          anyOf:
                            - type: string
                              enum:
                                - company
                                - market
                                - financials
                                - customer
                                - competitive
                                - marketing
                                - news
                                - trends
                                - expert
                                - risks
                                - players
                                - profiles
                            - type: string
                              maxLength: 48
                              pattern: ^x-[a-z0-9]+(?:-[a-z0-9]+)*$
                        state:
                          type: string
                          enum:
                            - empty
                            - written
                            - waits
                      required:
                        - id
                        - state
                  checks:
                    type: object
                    properties:
                      running:
                        type:
                          - object
                          - 'null'
                        properties:
                          id:
                            type: string
                          rev:
                            type: integer
                          state:
                            type: string
                            enum:
                              - queued
                              - running
                              - checked
                              - draft
                              - saved_over
                              - failed
                          asked_at:
                            type: string
                          started_at:
                            type:
                              - string
                              - 'null'
                          ended_at:
                            type:
                              - string
                              - 'null'
                          refused:
                            type:
                              - integer
                              - 'null'
                          ahead:
                            type:
                              - integer
                              - 'null'
                          why:
                            type:
                              - string
                              - 'null'
                          waiting_for:
                            type:
                              - integer
                              - 'null'
                        required:
                          - id
                          - rev
                          - state
                          - asked_at
                          - started_at
                          - ended_at
                          - refused
                          - ahead
                          - why
                      last:
                        type:
                          - object
                          - 'null'
                        properties:
                          id:
                            type: string
                          rev:
                            type: integer
                          state:
                            type: string
                            enum:
                              - queued
                              - running
                              - checked
                              - draft
                              - saved_over
                              - failed
                          asked_at:
                            type: string
                          started_at:
                            type:
                              - string
                              - 'null'
                          ended_at:
                            type:
                              - string
                              - 'null'
                          refused:
                            type:
                              - integer
                              - 'null'
                          ahead:
                            type:
                              - integer
                              - 'null'
                          why:
                            type:
                              - string
                              - 'null'
                          waiting_for:
                            type:
                              - integer
                              - 'null'
                        required:
                          - id
                          - rev
                          - state
                          - asked_at
                          - started_at
                          - ended_at
                          - refused
                          - ahead
                          - why
                    required:
                      - running
                      - last
                  report:
                    type: object
                    properties:
                      version:
                        type: number
                        enum:
                          - 1
                      subject:
                        type: string
                        enum:
                          - company
                          - market
                      company:
                        type: string
                      title:
                        type: string
                      playbook:
                        type:
                          - string
                          - 'null'
                      overview:
                        type: object
                        properties:
                          bottom_line:
                            type: string
                          story:
                            type: array
                            items:
                              type: string
                            maxItems: 8
                          sections:
                            type: array
                            items:
                              type: object
                              properties:
                                page:
                                  anyOf:
                                    - type: string
                                      enum:
                                        - company
                                        - market
                                        - financials
                                        - customer
                                        - competitive
                                        - marketing
                                        - news
                                        - trends
                                        - expert
                                        - risks
                                        - players
                                        - profiles
                                    - type: string
                                      maxLength: 48
                                      pattern: ^x-[a-z0-9]+(?:-[a-z0-9]+)*$
                                text:
                                  type: string
                              required:
                                - page
                                - text
                            maxItems: 15
                          cards:
                            type: array
                            items:
                              type: object
                              properties:
                                exhibit:
                                  type: string
                                figure:
                                  type: string
                                label:
                                  type: string
                                line:
                                  type: string
                              required:
                                - exhibit
                                - figure
                                - label
                                - line
                            maxItems: 3
                          first_question:
                            type: string
                          case_for:
                            type: array
                            items:
                              type: object
                              properties:
                                text:
                                  type: string
                                page:
                                  anyOf:
                                    - type: string
                                      enum:
                                        - company
                                        - market
                                        - financials
                                        - customer
                                        - competitive
                                        - marketing
                                        - news
                                        - trends
                                        - expert
                                        - risks
                                        - players
                                        - profiles
                                    - type: string
                                      maxLength: 48
                                      pattern: ^x-[a-z0-9]+(?:-[a-z0-9]+)*$
                                cited:
                                  type:
                                    - string
                                    - 'null'
                              required:
                                - text
                                - page
                            maxItems: 4
                          case_against:
                            type: array
                            items:
                              type: object
                              properties:
                                text:
                                  type: string
                                page:
                                  anyOf:
                                    - type: string
                                      enum:
                                        - company
                                        - market
                                        - financials
                                        - customer
                                        - competitive
                                        - marketing
                                        - news
                                        - trends
                                        - expert
                                        - risks
                                        - players
                                        - profiles
                                    - type: string
                                      maxLength: 48
                                      pattern: ^x-[a-z0-9]+(?:-[a-z0-9]+)*$
                                cited:
                                  type:
                                    - string
                                    - 'null'
                              required:
                                - text
                                - page
                            maxItems: 4
                          findings:
                            type: array
                            items:
                              type: object
                              properties:
                                text:
                                  type: string
                                sure:
                                  type: string
                                  enum:
                                    - strong
                                    - moderate
                                    - thin
                                why:
                                  type: string
                                pages:
                                  type: array
                                  items:
                                    anyOf:
                                      - type: string
                                        enum:
                                          - company
                                          - market
                                          - financials
                                          - customer
                                          - competitive
                                          - marketing
                                          - news
                                          - trends
                                          - expert
                                          - risks
                                          - players
                                          - profiles
                                      - type: string
                                        maxLength: 48
                                        pattern: ^x-[a-z0-9]+(?:-[a-z0-9]+)*$
                                  minItems: 1
                                  maxItems: 4
                                sentences:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      transcript:
                                        type: string
                                        maxLength: 64
                                      turn:
                                        type: integer
                                        minimum: 0
                                      start:
                                        type: integer
                                        minimum: 0
                                      end:
                                        type: integer
                                        minimum: 1
                                    required:
                                      - transcript
                                      - turn
                                      - start
                                      - end
                                  maxItems: 6
                              required:
                                - text
                                - sure
                                - why
                                - pages
                            maxItems: 12
                          first_tests:
                            type: array
                            items:
                              type: integer
                              minimum: 1
                              maximum: 12
                            maxItems: 6
                          risks:
                            type: array
                            items:
                              type: object
                              properties:
                                risk:
                                  type: string
                                why:
                                  type: string
                                findings:
                                  type: array
                                  items:
                                    type: integer
                                    minimum: 1
                                    maximum: 12
                                  maxItems: 6
                                page:
                                  anyOf:
                                    - type: string
                                      enum:
                                        - company
                                        - market
                                        - financials
                                        - customer
                                        - competitive
                                        - marketing
                                        - news
                                        - trends
                                        - expert
                                        - risks
                                        - players
                                        - profiles
                                    - type: string
                                      maxLength: 48
                                      pattern: ^x-[a-z0-9]+(?:-[a-z0-9]+)*$
                                    - type: 'null'
                              required:
                                - risk
                                - why
                                - findings
                            maxItems: 9
                          would_change:
                            type: string
                          asks:
                            type: array
                            items:
                              type: object
                              properties:
                                ask:
                                  type: string
                                tests:
                                  type: string
                                findings:
                                  type: array
                                  items:
                                    type: integer
                                    minimum: 1
                                    maximum: 12
                                  minItems: 1
                                  maxItems: 6
                              required:
                                - ask
                                - tests
                                - findings
                            maxItems: 15
                          not_assessed:
                            type: string
                          names:
                            type: array
                            items:
                              type: string
                            maxItems: 100
                        required:
                          - bottom_line
                          - cards
                          - first_question
                          - names
                      pages:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              anyOf:
                                - type: string
                                  enum:
                                    - company
                                    - market
                                    - financials
                                    - customer
                                    - competitive
                                    - marketing
                                    - news
                                    - trends
                                    - expert
                                    - risks
                                    - players
                                    - profiles
                                - type: string
                                  maxLength: 48
                                  pattern: ^x-[a-z0-9]+(?:-[a-z0-9]+)*$
                            question:
                              type: string
                              maxLength: 200
                            name:
                              type: string
                              maxLength: 60
                            after:
                              type: string
                              enum:
                                - company
                                - market
                                - financials
                                - customer
                                - competitive
                                - marketing
                                - news
                                - trends
                                - expert
                                - risks
                                - players
                                - profiles
                            state:
                              type: string
                              enum:
                                - empty
                                - written
                                - waits
                                - left_out
                            headline:
                              type: string
                            lede:
                              type: string
                            read:
                              type: array
                              items:
                                type: object
                                properties:
                                  exhibit:
                                    type: string
                                  figure:
                                    type: string
                                  label:
                                    type: string
                                  line:
                                    type: string
                                required:
                                  - exhibit
                                  - figure
                                  - label
                              maxItems: 6
                            questions:
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: string
                                  ask:
                                    type: string
                                  answer:
                                    type: string
                                  cards:
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        exhibit:
                                          type: string
                                        figure:
                                          type: string
                                        label:
                                          type: string
                                        line:
                                          type: string
                                      required:
                                        - exhibit
                                        - figure
                                        - label
                                        - line
                                    maxItems: 3
                                required:
                                  - id
                                  - ask
                                  - answer
                                  - cards
                              maxItems: 2
                            exhibits:
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: string
                                  numbers:
                                    type:
                                      - string
                                      - 'null'
                                  company:
                                    type: string
                                  params:
                                    type: object
                                    additionalProperties:
                                      anyOf:
                                        - type: string
                                        - type: number
                                        - type: boolean
                                        - type: array
                                          items:
                                            type: string
                                  show:
                                    type: string
                                    enum:
                                      - figures
                                      - table
                                      - bars
                                      - share
                                      - series
                                      - timeline
                                      - voices
                                      - windows
                                      - grid
                                      - lanes
                                      - lines
                                      - squares
                                      - strip
                                  by:
                                    type: string
                                    enum:
                                      - none
                                      - tie
                                  title:
                                    type: string
                                  point:
                                    type: string
                                  caveat:
                                    type:
                                      - string
                                      - 'null'
                                required:
                                  - id
                                  - numbers
                                  - company
                                  - params
                                  - show
                                  - title
                                  - point
                                  - caveat
                              maxItems: 12
                            quotes:
                              type: array
                              items:
                                type: object
                                properties:
                                  kind:
                                    type: string
                                    enum:
                                      - quote
                                      - signal
                                      - passage
                                      - record
                                  id:
                                    type: string
                                  exhibit:
                                    type:
                                      - string
                                      - 'null'
                                  why:
                                    type: string
                                  player:
                                    type:
                                      - string
                                      - 'null'
                                required:
                                  - kind
                                  - id
                                  - exhibit
                                  - why
                              maxItems: 30
                            uses:
                              type: array
                              items:
                                type: object
                                properties:
                                  tag:
                                    type: string
                                  action:
                                    type: string
                                  line:
                                    type: string
                                required:
                                  - tag
                                  - action
                                  - line
                              maxItems: 4
                            method:
                              type: object
                              properties:
                                read:
                                  type: string
                                from:
                                  type:
                                    - string
                                    - 'null'
                                  format: date
                                to:
                                  type:
                                    - string
                                    - 'null'
                                  format: date
                                left_out:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      what:
                                        type: string
                                      why:
                                        type: string
                                    required:
                                      - what
                                      - why
                                  maxItems: 30
                              required:
                                - read
                                - from
                                - to
                                - left_out
                            web:
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: string
                                  url:
                                    type: string
                                  title:
                                    type: string
                                  day:
                                    type:
                                      - string
                                      - 'null'
                                    format: date
                                  day_from:
                                    type: string
                                    enum:
                                      - page
                                      - none
                                  read_at:
                                    type: string
                                    format: date-time
                                  why:
                                    type: string
                                  figures:
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        name:
                                          type: string
                                        value:
                                          type: number
                                        unit:
                                          type: string
                                          enum:
                                            - count
                                            - stars
                                            - share
                                            - usd
                                            - days
                                            - number
                                        says:
                                          type: string
                                      required:
                                        - name
                                        - value
                                        - unit
                                        - says
                                    maxItems: 8
                                  document:
                                    type:
                                      - string
                                      - 'null'
                                  not_kept:
                                    type:
                                      - string
                                      - 'null'
                                required:
                                  - url
                                  - title
                                  - day
                                  - day_from
                                  - read_at
                                  - why
                              maxItems: 20
                            names:
                              type: array
                              items:
                                type: string
                              maxItems: 100
                            profiles:
                              type: array
                              items:
                                type: object
                                properties:
                                  player:
                                    type: string
                                  copy:
                                    type: string
                                  cards:
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        exhibit:
                                          type: string
                                        figure:
                                          type: string
                                        label:
                                          type: string
                                        line:
                                          type: string
                                        row:
                                          type: string
                                      required:
                                        - exhibit
                                        - figure
                                        - label
                                        - line
                                    maxItems: 4
                                required:
                                  - player
                                  - copy
                                  - cards
                              maxItems: 20
                          required:
                            - id
                            - state
                            - headline
                            - lede
                            - read
                            - questions
                            - exhibits
                            - quotes
                            - method
                            - web
                            - names
                        maxItems: 15
                      plan:
                        type: object
                        properties:
                          kind:
                            type: string
                            enum:
                              - consumer-product
                              - franchise
                              - b2b-manufacturer
                              - casino
                              - clinic-network
                              - software
                              - b2b-services
                              - other
                          pages:
                            type: array
                            items:
                              type: object
                              properties:
                                id:
                                  anyOf:
                                    - type: string
                                      enum:
                                        - company
                                        - market
                                        - financials
                                        - customer
                                        - competitive
                                        - marketing
                                        - news
                                        - trends
                                        - expert
                                        - risks
                                        - players
                                        - profiles
                                    - type: string
                                      maxLength: 48
                                      pattern: ^x-[a-z0-9]+(?:-[a-z0-9]+)*$
                                name:
                                  type: string
                                  maxLength: 60
                                after:
                                  type: string
                                  enum:
                                    - company
                                    - market
                                    - financials
                                    - customer
                                    - competitive
                                    - marketing
                                    - news
                                    - trends
                                    - expert
                                    - risks
                                    - players
                                    - profiles
                                in:
                                  type: boolean
                                why:
                                  type:
                                    - string
                                    - 'null'
                                  maxLength: 400
                              required:
                                - id
                                - in
                                - why
                            maxItems: 15
                        required:
                          - kind
                          - pages
                    required:
                      - version
                      - company
                      - title
                      - playbook
                      - overview
                      - pages
                  filled:
                    type: object
                    properties:
                      version:
                        type: number
                        enum:
                          - 1
                      subject:
                        type: string
                        enum:
                          - company
                          - market
                      company:
                        type: string
                      title:
                        type: string
                      playbook:
                        type:
                          - string
                          - 'null'
                      overview:
                        type: object
                        properties:
                          bottom_line:
                            type: string
                          story:
                            type: array
                            items:
                              type: string
                            maxItems: 8
                          sections:
                            type: array
                            items:
                              type: object
                              properties:
                                page:
                                  anyOf:
                                    - type: string
                                      enum:
                                        - company
                                        - market
                                        - financials
                                        - customer
                                        - competitive
                                        - marketing
                                        - news
                                        - trends
                                        - expert
                                        - risks
                                        - players
                                        - profiles
                                    - type: string
                                      maxLength: 48
                                      pattern: ^x-[a-z0-9]+(?:-[a-z0-9]+)*$
                                text:
                                  type: string
                              required:
                                - page
                                - text
                            maxItems: 15
                          cards:
                            type: array
                            items:
                              type: object
                              properties:
                                exhibit:
                                  type: string
                                figure:
                                  type: string
                                label:
                                  type: string
                                line:
                                  type: string
                              required:
                                - exhibit
                                - figure
                                - label
                                - line
                            maxItems: 3
                          first_question:
                            type: string
                          case_for:
                            type: array
                            items:
                              type: object
                              properties:
                                text:
                                  type: string
                                page:
                                  anyOf:
                                    - type: string
                                      enum:
                                        - company
                                        - market
                                        - financials
                                        - customer
                                        - competitive
                                        - marketing
                                        - news
                                        - trends
                                        - expert
                                        - risks
                                        - players
                                        - profiles
                                    - type: string
                                      maxLength: 48
                                      pattern: ^x-[a-z0-9]+(?:-[a-z0-9]+)*$
                                cited:
                                  type:
                                    - string
                                    - 'null'
                              required:
                                - text
                                - page
                            maxItems: 4
                          case_against:
                            type: array
                            items:
                              type: object
                              properties:
                                text:
                                  type: string
                                page:
                                  anyOf:
                                    - type: string
                                      enum:
                                        - company
                                        - market
                                        - financials
                                        - customer
                                        - competitive
                                        - marketing
                                        - news
                                        - trends
                                        - expert
                                        - risks
                                        - players
                                        - profiles
                                    - type: string
                                      maxLength: 48
                                      pattern: ^x-[a-z0-9]+(?:-[a-z0-9]+)*$
                                cited:
                                  type:
                                    - string
                                    - 'null'
                              required:
                                - text
                                - page
                            maxItems: 4
                          findings:
                            type: array
                            items:
                              type: object
                              properties:
                                text:
                                  type: string
                                sure:
                                  type: string
                                  enum:
                                    - strong
                                    - moderate
                                    - thin
                                why:
                                  type: string
                                pages:
                                  type: array
                                  items:
                                    anyOf:
                                      - type: string
                                        enum:
                                          - company
                                          - market
                                          - financials
                                          - customer
                                          - competitive
                                          - marketing
                                          - news
                                          - trends
                                          - expert
                                          - risks
                                          - players
                                          - profiles
                                      - type: string
                                        maxLength: 48
                                        pattern: ^x-[a-z0-9]+(?:-[a-z0-9]+)*$
                                  minItems: 1
                                  maxItems: 4
                                sentences:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      transcript:
                                        type: string
                                        maxLength: 64
                                      turn:
                                        type: integer
                                        minimum: 0
                                      start:
                                        type: integer
                                        minimum: 0
                                      end:
                                        type: integer
                                        minimum: 1
                                    required:
                                      - transcript
                                      - turn
                                      - start
                                      - end
                                  maxItems: 6
                              required:
                                - text
                                - sure
                                - why
                                - pages
                            maxItems: 12
                          first_tests:
                            type: array
                            items:
                              type: integer
                              minimum: 1
                              maximum: 12
                            maxItems: 6
                          risks:
                            type: array
                            items:
                              type: object
                              properties:
                                risk:
                                  type: string
                                why:
                                  type: string
                                findings:
                                  type: array
                                  items:
                                    type: integer
                                    minimum: 1
                                    maximum: 12
                                  maxItems: 6
                                page:
                                  anyOf:
                                    - type: string
                                      enum:
                                        - company
                                        - market
                                        - financials
                                        - customer
                                        - competitive
                                        - marketing
                                        - news
                                        - trends
                                        - expert
                                        - risks
                                        - players
                                        - profiles
                                    - type: string
                                      maxLength: 48
                                      pattern: ^x-[a-z0-9]+(?:-[a-z0-9]+)*$
                                    - type: 'null'
                              required:
                                - risk
                                - why
                                - findings
                            maxItems: 9
                          would_change:
                            type: string
                          asks:
                            type: array
                            items:
                              type: object
                              properties:
                                ask:
                                  type: string
                                tests:
                                  type: string
                                findings:
                                  type: array
                                  items:
                                    type: integer
                                    minimum: 1
                                    maximum: 12
                                  minItems: 1
                                  maxItems: 6
                              required:
                                - ask
                                - tests
                                - findings
                            maxItems: 15
                          not_assessed:
                            type: string
                          names:
                            type: array
                            items:
                              type: string
                            maxItems: 100
                        required:
                          - bottom_line
                          - cards
                          - first_question
                          - names
                      pages:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              anyOf:
                                - type: string
                                  enum:
                                    - company
                                    - market
                                    - financials
                                    - customer
                                    - competitive
                                    - marketing
                                    - news
                                    - trends
                                    - expert
                                    - risks
                                    - players
                                    - profiles
                                - type: string
                                  maxLength: 48
                                  pattern: ^x-[a-z0-9]+(?:-[a-z0-9]+)*$
                            question:
                              type: string
                              maxLength: 200
                            name:
                              type: string
                              maxLength: 60
                            after:
                              type: string
                              enum:
                                - company
                                - market
                                - financials
                                - customer
                                - competitive
                                - marketing
                                - news
                                - trends
                                - expert
                                - risks
                                - players
                                - profiles
                            state:
                              type: string
                              enum:
                                - empty
                                - written
                                - waits
                                - left_out
                            headline:
                              type: string
                            lede:
                              type: string
                            read:
                              type: array
                              items:
                                type: object
                                properties:
                                  exhibit:
                                    type: string
                                  figure:
                                    type: string
                                  label:
                                    type: string
                                  line:
                                    type: string
                                required:
                                  - exhibit
                                  - figure
                                  - label
                              maxItems: 6
                            questions:
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: string
                                  ask:
                                    type: string
                                  answer:
                                    type: string
                                  cards:
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        exhibit:
                                          type: string
                                        figure:
                                          type: string
                                        label:
                                          type: string
                                        line:
                                          type: string
                                      required:
                                        - exhibit
                                        - figure
                                        - label
                                        - line
                                    maxItems: 3
                                required:
                                  - id
                                  - ask
                                  - answer
                                  - cards
                              maxItems: 2
                            exhibits:
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: string
                                  numbers:
                                    type:
                                      - string
                                      - 'null'
                                  company:
                                    type: string
                                  params:
                                    type: object
                                    additionalProperties:
                                      anyOf:
                                        - type: string
                                        - type: number
                                        - type: boolean
                                        - type: array
                                          items:
                                            type: string
                                  show:
                                    type: string
                                    enum:
                                      - figures
                                      - table
                                      - bars
                                      - share
                                      - series
                                      - timeline
                                      - voices
                                      - windows
                                      - grid
                                      - lanes
                                      - lines
                                      - squares
                                      - strip
                                  by:
                                    type: string
                                    enum:
                                      - none
                                      - tie
                                  title:
                                    type: string
                                  point:
                                    type: string
                                  caveat:
                                    type:
                                      - string
                                      - 'null'
                                required:
                                  - id
                                  - numbers
                                  - company
                                  - params
                                  - show
                                  - title
                                  - point
                                  - caveat
                              maxItems: 12
                            quotes:
                              type: array
                              items:
                                type: object
                                properties:
                                  kind:
                                    type: string
                                    enum:
                                      - quote
                                      - signal
                                      - passage
                                      - record
                                  id:
                                    type: string
                                  exhibit:
                                    type:
                                      - string
                                      - 'null'
                                  why:
                                    type: string
                                  player:
                                    type:
                                      - string
                                      - 'null'
                                required:
                                  - kind
                                  - id
                                  - exhibit
                                  - why
                              maxItems: 30
                            uses:
                              type: array
                              items:
                                type: object
                                properties:
                                  tag:
                                    type: string
                                  action:
                                    type: string
                                  line:
                                    type: string
                                required:
                                  - tag
                                  - action
                                  - line
                              maxItems: 4
                            method:
                              type: object
                              properties:
                                read:
                                  type: string
                                from:
                                  type:
                                    - string
                                    - 'null'
                                  format: date
                                to:
                                  type:
                                    - string
                                    - 'null'
                                  format: date
                                left_out:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      what:
                                        type: string
                                      why:
                                        type: string
                                    required:
                                      - what
                                      - why
                                  maxItems: 30
                              required:
                                - read
                                - from
                                - to
                                - left_out
                            web:
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: string
                                  url:
                                    type: string
                                  title:
                                    type: string
                                  day:
                                    type:
                                      - string
                                      - 'null'
                                    format: date
                                  day_from:
                                    type: string
                                    enum:
                                      - page
                                      - none
                                  read_at:
                                    type: string
                                    format: date-time
                                  why:
                                    type: string
                                  figures:
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        name:
                                          type: string
                                        value:
                                          type: number
                                        unit:
                                          type: string
                                          enum:
                                            - count
                                            - stars
                                            - share
                                            - usd
                                            - days
                                            - number
                                        says:
                                          type: string
                                      required:
                                        - name
                                        - value
                                        - unit
                                        - says
                                    maxItems: 8
                                  document:
                                    type:
                                      - string
                                      - 'null'
                                  not_kept:
                                    type:
                                      - string
                                      - 'null'
                                required:
                                  - url
                                  - title
                                  - day
                                  - day_from
                                  - read_at
                                  - why
                              maxItems: 20
                            names:
                              type: array
                              items:
                                type: string
                              maxItems: 100
                            profiles:
                              type: array
                              items:
                                type: object
                                properties:
                                  player:
                                    type: string
                                  copy:
                                    type: string
                                  cards:
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        exhibit:
                                          type: string
                                        figure:
                                          type: string
                                        label:
                                          type: string
                                        line:
                                          type: string
                                        row:
                                          type: string
                                      required:
                                        - exhibit
                                        - figure
                                        - label
                                        - line
                                    maxItems: 4
                                required:
                                  - player
                                  - copy
                                  - cards
                              maxItems: 20
                          required:
                            - id
                            - state
                            - headline
                            - lede
                            - read
                            - questions
                            - exhibits
                            - quotes
                            - method
                            - web
                            - names
                        maxItems: 15
                      plan:
                        type: object
                        properties:
                          kind:
                            type: string
                            enum:
                              - consumer-product
                              - franchise
                              - b2b-manufacturer
                              - casino
                              - clinic-network
                              - software
                              - b2b-services
                              - other
                          pages:
                            type: array
                            items:
                              type: object
                              properties:
                                id:
                                  anyOf:
                                    - type: string
                                      enum:
                                        - company
                                        - market
                                        - financials
                                        - customer
                                        - competitive
                                        - marketing
                                        - news
                                        - trends
                                        - expert
                                        - risks
                                        - players
                                        - profiles
                                    - type: string
                                      maxLength: 48
                                      pattern: ^x-[a-z0-9]+(?:-[a-z0-9]+)*$
                                name:
                                  type: string
                                  maxLength: 60
                                after:
                                  type: string
                                  enum:
                                    - company
                                    - market
                                    - financials
                                    - customer
                                    - competitive
                                    - marketing
                                    - news
                                    - trends
                                    - expert
                                    - risks
                                    - players
                                    - profiles
                                in:
                                  type: boolean
                                why:
                                  type:
                                    - string
                                    - 'null'
                                  maxLength: 400
                              required:
                                - id
                                - in
                                - why
                            maxItems: 15
                        required:
                          - kind
                          - pages
                    required:
                      - version
                      - company
                      - title
                      - playbook
                      - overview
                      - pages
                  answers:
                    type: object
                    additionalProperties:
                      type: object
                      properties:
                        asked_at:
                          type: string
                        answer:
                          type:
                            - object
                            - 'null'
                          properties:
                            numbers:
                              type: string
                              enum:
                                - rating
                                - rating_by_link
                                - rating_rivals
                                - rating_windows
                                - complaints
                                - series
                                - timeline
                                - ads
                                - ads_weeks
                                - site
                                - site_changes
                                - figures
                                - profile
                                - risks
                                - market
                                - funding
                                - interest
                                - social
                                - videos
                                - rating_periods
                                - query
                                - players
                                - category
                            company:
                              type: object
                              properties:
                                id:
                                  type: string
                                name:
                                  type: string
                              required:
                                - id
                                - name
                            market:
                              type: object
                              properties:
                                id:
                                  type: string
                                name:
                                  type: string
                              required:
                                - id
                                - name
                            params:
                              type: object
                              additionalProperties: {}
                            figures:
                              type: array
                              items:
                                type: object
                                properties:
                                  name:
                                    type: string
                                    maxLength: 60
                                    pattern: ^[a-z][a-z0-9_]*$
                                  label:
                                    type: string
                                  value:
                                    type:
                                      - number
                                      - 'null'
                                  unit:
                                    type: string
                                    enum:
                                      - count
                                      - stars
                                      - share
                                      - usd
                                      - days
                                      - number
                                  company:
                                    type:
                                      - string
                                      - 'null'
                                  'n':
                                    type:
                                      - integer
                                      - 'null'
                                  small:
                                    type: boolean
                                  interval:
                                    type:
                                      - object
                                      - 'null'
                                    properties:
                                      low:
                                        type: number
                                      high:
                                        type: number
                                    required:
                                      - low
                                      - high
                                required:
                                  - name
                                  - label
                                  - value
                                  - unit
                                  - company
                                  - 'n'
                                  - small
                                  - interval
                            columns:
                              type: array
                              items:
                                type: object
                                properties:
                                  name:
                                    type: string
                                    maxLength: 60
                                    pattern: ^[a-z][a-z0-9_]*$
                                  label:
                                    type: string
                                  unit:
                                    type: string
                                    enum:
                                      - count
                                      - stars
                                      - share
                                      - usd
                                      - days
                                      - number
                                required:
                                  - name
                                  - label
                                  - unit
                            word_columns:
                              type: array
                              items:
                                type: object
                                properties:
                                  name:
                                    type: string
                                    maxLength: 60
                                    pattern: ^[a-z][a-z0-9_]*$
                                  label:
                                    type: string
                                required:
                                  - name
                                  - label
                            rows:
                              type: array
                              items:
                                type: object
                                properties:
                                  key:
                                    type: string
                                  label:
                                    type: string
                                  kind:
                                    type: string
                                    enum:
                                      - company
                                      - link
                                      - star
                                      - period
                                      - topic
                                      - event
                                      - review
                                  company:
                                    type:
                                      - string
                                      - 'null'
                                  values:
                                    type: object
                                    additionalProperties:
                                      type:
                                        - number
                                        - 'null'
                                  small:
                                    type: boolean
                                  day:
                                    type:
                                      - string
                                      - 'null'
                                  source:
                                    type:
                                      - string
                                      - 'null'
                                  category:
                                    type:
                                      - string
                                      - 'null'
                                  url:
                                    type:
                                      - string
                                      - 'null'
                                  was:
                                    type:
                                      - array
                                      - 'null'
                                    items:
                                      type: object
                                      properties:
                                        label:
                                          type: string
                                        values:
                                          type: object
                                          additionalProperties:
                                            type:
                                              - number
                                              - 'null'
                                        day:
                                          type:
                                            - string
                                            - 'null'
                                        seen_from:
                                          type: string
                                        seen_to:
                                          type: string
                                      required:
                                        - label
                                        - values
                                        - day
                                        - seen_from
                                        - seen_to
                                  words:
                                    type: object
                                    additionalProperties:
                                      type:
                                        - string
                                        - 'null'
                                  marks:
                                    type: array
                                    items:
                                      type: integer
                                      minimum: 0
                                required:
                                  - key
                                  - label
                                  - kind
                                  - company
                                  - values
                                  - small
                                  - day
                                  - source
                                  - category
                                  - url
                                  - was
                            evidence:
                              type: object
                              properties:
                                items:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      kind:
                                        type: string
                                        enum:
                                          - signal
                                          - record
                                          - document
                                          - quote
                                          - snapshot
                                      id:
                                        type: string
                                      source:
                                        type: string
                                      company:
                                        type:
                                          - string
                                          - 'null'
                                      link:
                                        type:
                                          - string
                                          - 'null'
                                      day:
                                        type:
                                          - string
                                          - 'null'
                                      url:
                                        type:
                                          - string
                                          - 'null'
                                      row:
                                        type:
                                          - string
                                          - 'null'
                                      column:
                                        type: string
                                      rating:
                                        type:
                                          - number
                                          - 'null'
                                      text:
                                        type:
                                          - string
                                          - 'null'
                                      found_by:
                                        type: string
                                      facts:
                                        type: array
                                        items:
                                          type: object
                                          properties:
                                            label:
                                              type: string
                                            line:
                                              type:
                                                - string
                                                - 'null'
                                            concept:
                                              type: string
                                            axis:
                                              type:
                                                - string
                                                - 'null'
                                            member:
                                              type:
                                                - string
                                                - 'null'
                                            start_on:
                                              type:
                                                - string
                                                - 'null'
                                            end_on:
                                              type: string
                                            value:
                                              type: number
                                            worked_from:
                                              type:
                                                - array
                                                - 'null'
                                              items:
                                                type: object
                                                properties:
                                                  label:
                                                    type: string
                                                  line:
                                                    type:
                                                      - string
                                                      - 'null'
                                                  concept:
                                                    type: string
                                                  axis:
                                                    type:
                                                      - string
                                                      - 'null'
                                                  member:
                                                    type:
                                                      - string
                                                      - 'null'
                                                  start_on:
                                                    type:
                                                      - string
                                                      - 'null'
                                                  end_on:
                                                    type: string
                                                  value:
                                                    type: number
                                                  document:
                                                    type:
                                                      - string
                                                      - 'null'
                                                  url:
                                                    type: string
                                                  form:
                                                    type: string
                                                  filed_on:
                                                    type: string
                                                required:
                                                  - label
                                                  - line
                                                  - concept
                                                  - axis
                                                  - member
                                                  - start_on
                                                  - end_on
                                                  - value
                                                  - document
                                                  - url
                                                  - form
                                                  - filed_on
                                          required:
                                            - label
                                            - line
                                            - concept
                                            - axis
                                            - member
                                            - start_on
                                            - end_on
                                            - value
                                            - worked_from
                                      document:
                                        type:
                                          - string
                                          - 'null'
                                    required:
                                      - kind
                                      - id
                                      - source
                                      - company
                                      - link
                                      - day
                                      - url
                                      - row
                                      - rating
                                      - text
                                  maxItems: 200
                                total:
                                  type: integer
                                more:
                                  type: integer
                              required:
                                - items
                                - total
                                - more
                            basis:
                              type: object
                              properties:
                                sources:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      id:
                                        type: string
                                      name:
                                        type: string
                                      network:
                                        type: string
                                      read:
                                        type: integer
                                      from:
                                        type:
                                          - string
                                          - 'null'
                                      to:
                                        type:
                                          - string
                                          - 'null'
                                      total:
                                        type:
                                          - integer
                                          - 'null'
                                      rating:
                                        type:
                                          - number
                                          - 'null'
                                      url:
                                        type:
                                          - string
                                          - 'null'
                                      held:
                                        type: integer
                                      held_from:
                                        type:
                                          - string
                                          - 'null'
                                      held_to:
                                        type:
                                          - string
                                          - 'null'
                                      listings:
                                        type: array
                                        items:
                                          type: object
                                          properties:
                                            company:
                                              type: string
                                            label:
                                              type: string
                                            link:
                                              type:
                                                - string
                                                - 'null'
                                            read:
                                              type: integer
                                            from:
                                              type:
                                                - string
                                                - 'null'
                                            to:
                                              type:
                                                - string
                                                - 'null'
                                            total:
                                              type:
                                                - integer
                                                - 'null'
                                            rating:
                                              type:
                                                - number
                                                - 'null'
                                            url:
                                              type:
                                                - string
                                                - 'null'
                                            held:
                                              type: integer
                                            held_from:
                                              type:
                                                - string
                                                - 'null'
                                            held_to:
                                              type:
                                                - string
                                                - 'null'
                                            reads_from:
                                              type:
                                                - string
                                                - 'null'
                                            routes:
                                              type: array
                                              items:
                                                type: object
                                                properties:
                                                  route:
                                                    type:
                                                      - string
                                                      - 'null'
                                                  found_by:
                                                    type:
                                                      - string
                                                      - 'null'
                                                  'n':
                                                    type: integer
                                                  filter:
                                                    type:
                                                      - string
                                                      - 'null'
                                                required:
                                                  - route
                                                  - found_by
                                                  - 'n'
                                                  - filter
                                            shop:
                                              type: object
                                              properties:
                                                store:
                                                  type: string
                                                name:
                                                  type:
                                                    - string
                                                    - 'null'
                                                item_words:
                                                  type: string
                                                item:
                                                  type: string
                                                read_on:
                                                  type:
                                                    - string
                                                    - 'null'
                                                figures_on:
                                                  type:
                                                    - string
                                                    - 'null'
                                                price_usd:
                                                  type:
                                                    - number
                                                    - 'null'
                                                price_low_90d:
                                                  type:
                                                    - number
                                                    - 'null'
                                                price_high_90d:
                                                  type:
                                                    - number
                                                    - 'null'
                                                bought_past_month:
                                                  type:
                                                    - number
                                                    - 'null'
                                                sales_rank:
                                                  type:
                                                    - number
                                                    - 'null'
                                                sales_rank_best_90d:
                                                  type:
                                                    - number
                                                    - 'null'
                                                written_reviews:
                                                  type:
                                                    - number
                                                    - 'null'
                                              required:
                                                - store
                                                - name
                                                - item_words
                                                - item
                                                - read_on
                                                - figures_on
                                                - price_usd
                                                - price_low_90d
                                                - price_high_90d
                                                - bought_past_month
                                                - sales_rank
                                                - sales_rank_best_90d
                                                - written_reviews
                                          required:
                                            - company
                                            - label
                                            - link
                                            - read
                                            - from
                                            - to
                                            - total
                                            - rating
                                            - url
                                    required:
                                      - id
                                      - name
                                      - network
                                independent:
                                  type: integer
                                window:
                                  type:
                                    - object
                                    - 'null'
                                  properties:
                                    from:
                                      type: string
                                    to:
                                      type: string
                                  required:
                                    - from
                                    - to
                                compare:
                                  type:
                                    - object
                                    - 'null'
                                  properties:
                                    from:
                                      type: string
                                    to:
                                      type: string
                                  required:
                                    - from
                                    - to
                                method:
                                  type: string
                                sample:
                                  type: object
                                  properties:
                                    read:
                                      type: integer
                                    of:
                                      type:
                                        - integer
                                        - 'null'
                                    from:
                                      type:
                                        - string
                                        - 'null'
                                    to:
                                      type:
                                        - string
                                        - 'null'
                                    days:
                                      type: integer
                                    undated:
                                      type: integer
                                  required:
                                    - read
                                    - of
                                    - from
                                    - to
                                    - days
                                    - undated
                                breaks:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      sources:
                                        type: array
                                        items:
                                          type: string
                                      from:
                                        type: string
                                      to:
                                        type:
                                          - string
                                          - 'null'
                                      approximate:
                                        type: boolean
                                      effect:
                                        type: string
                                        enum:
                                          - mark
                                          - mask
                                      what:
                                        type: string
                                      url:
                                        type: string
                                    required:
                                      - sources
                                      - from
                                      - to
                                      - approximate
                                      - effect
                                      - what
                                      - url
                                periods:
                                  type:
                                    - object
                                    - 'null'
                                  properties:
                                    has:
                                      type: array
                                      items:
                                        type: string
                                    lacks:
                                      type: array
                                      items:
                                        type: string
                                  required:
                                    - has
                                    - lacks
                                left_out:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      what:
                                        type: string
                                      count:
                                        type: integer
                                      why:
                                        type: string
                                    required:
                                      - what
                                      - count
                                      - why
                                caveats:
                                  type: array
                                  items:
                                    type: string
                              required:
                                - sources
                                - independent
                                - window
                                - compare
                                - method
                                - sample
                                - breaks
                                - periods
                                - left_out
                                - caveats
                            choices:
                              type: array
                              items:
                                type: object
                                properties:
                                  name:
                                    type: string
                                  label:
                                    type: string
                                  options:
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        value:
                                          type: string
                                        label:
                                          type: string
                                        params:
                                          type: object
                                          additionalProperties:
                                            type: string
                                        unset:
                                          type: array
                                          items:
                                            type: string
                                      required:
                                        - value
                                        - label
                                        - params
                                  selected:
                                    type:
                                      - string
                                      - 'null'
                                required:
                                  - name
                                  - label
                                  - options
                                  - selected
                            computed_at:
                              type: string
                          required:
                            - numbers
                            - params
                            - figures
                            - columns
                            - rows
                            - evidence
                            - basis
                            - computed_at
                        error:
                          type:
                            - object
                            - 'null'
                          properties:
                            code:
                              type: string
                            message:
                              type: string
                          required:
                            - code
                            - message
                      required:
                        - asked_at
                        - answer
                        - error
                  cited:
                    type: object
                    additionalProperties:
                      type:
                        - object
                        - 'null'
                      properties:
                        kind:
                          type: string
                          enum:
                            - quote
                            - signal
                            - passage
                            - record
                        id:
                          type: string
                        text:
                          type:
                            - string
                            - 'null'
                        day:
                          type:
                            - string
                            - 'null'
                        url:
                          type: string
                        cite:
                          type: string
                        rating:
                          type:
                            - number
                            - 'null'
                        people:
                          type: array
                          items:
                            type: object
                            properties:
                              as:
                                type: string
                                enum:
                                  - reviewer
                                  - writer
                                  - author
                                  - coauthor
                                  - tagged
                                  - named
                              name:
                                type: string
                              handle:
                                type: string
                              role:
                                type: string
                              picture:
                                type: object
                                properties:
                                  from:
                                    type: string
                                  copy_url:
                                    type: string
                                required:
                                  - from
                              profile:
                                type: string
                              location:
                                type: string
                              badges:
                                type: array
                                items:
                                  type: string
                              street:
                                type: string
                              phone:
                                type: string
                              email:
                                type: string
                            required:
                              - as
                        speaker_confirmed:
                          type:
                            - boolean
                            - 'null'
                        tie:
                          type:
                            - object
                            - 'null'
                          properties:
                            tie:
                              type: string
                              enum:
                                - staff
                                - former_staff
                                - rival
                                - customer
                                - partner
                                - adviser
                                - practitioner
                                - academic
                                - unknown
                            rival:
                              type:
                                - object
                                - 'null'
                              properties:
                                id:
                                  type: string
                                name:
                                  type: string
                              required:
                                - id
                                - name
                            how:
                              type: string
                              enum:
                                - role_on_day
                                - role_ended
                                - rival_role
                                - model
                                - unconfirmed
                                - nothing_read
                            why:
                              type: string
                            evidence:
                              type: array
                              items:
                                oneOf:
                                  - type: object
                                    properties:
                                      from:
                                        type: string
                                        enum:
                                          - role
                                      source:
                                        type: string
                                      source_kind:
                                        type: string
                                      title:
                                        type:
                                          - string
                                          - 'null'
                                      company:
                                        type:
                                          - string
                                          - 'null'
                                      first_on:
                                        type: string
                                      last_on:
                                        type: string
                                    required:
                                      - from
                                      - source
                                      - source_kind
                                      - title
                                      - company
                                      - first_on
                                      - last_on
                                  - type: object
                                    properties:
                                      from:
                                        type: string
                                        enum:
                                          - lineup
                                      episode:
                                        type:
                                          - string
                                          - 'null'
                                      role:
                                        type:
                                          - string
                                          - 'null'
                                      company:
                                        type:
                                          - string
                                          - 'null'
                                      day:
                                        type: string
                                    required:
                                      - from
                                      - episode
                                      - role
                                      - company
                                      - day
                                  - type: object
                                    properties:
                                      from:
                                        type: string
                                        enum:
                                          - words
                                      where:
                                        type: string
                                        enum:
                                          - lineup
                                          - introduction
                                          - episode
                                      words:
                                        type: string
                                    required:
                                      - from
                                      - where
                                      - words
                            model:
                              type:
                                - string
                                - 'null'
                            decided_at:
                              type: string
                          required:
                            - tie
                            - rival
                            - how
                            - why
                            - evidence
                            - model
                            - decided_at
                      required:
                        - kind
                        - id
                        - text
                        - day
                        - url
                        - cite
                        - rating
                        - speaker_confirmed
                  sentences:
                    type: object
                    additionalProperties:
                      type:
                        - object
                        - 'null'
                      properties:
                        transcript:
                          type: string
                          maxLength: 64
                        turn:
                          type: integer
                          minimum: 0
                        start:
                          type: integer
                          minimum: 0
                        end:
                          type: integer
                          minimum: 1
                        from:
                          type: string
                          enum:
                            - ours
                            - api-ninjas
                        text:
                          type: string
                        speaker:
                          type: object
                          properties:
                            id:
                              type:
                                - string
                                - 'null'
                            name:
                              type:
                                - string
                                - 'null'
                            role:
                              type:
                                - string
                                - 'null'
                            company:
                              type:
                                - string
                                - 'null'
                          required:
                            - id
                            - name
                            - role
                            - company
                        speaker_confirmed:
                          type: boolean
                        chapter:
                          type:
                            - object
                            - 'null'
                          properties:
                            id:
                              type:
                                - string
                                - 'null'
                            title:
                              type: string
                          required:
                            - id
                            - title
                        event:
                          type: object
                          properties:
                            id:
                              type: string
                            title:
                              type: string
                            date:
                              type: string
                          required:
                            - id
                            - title
                            - date
                        company:
                          type: object
                          properties:
                            id:
                              type: string
                            name:
                              type: string
                          required:
                            - id
                            - name
                        shown:
                          type: string
                          enum:
                            - passages
                            - whole
                      required:
                        - transcript
                        - turn
                        - start
                        - end
                        - from
                        - text
                        - speaker
                        - speaker_confirmed
                        - chapter
                        - event
                        - company
                        - shown
                  check:
                    type: object
                    properties:
                      passes:
                        type: boolean
                      problems:
                        type: array
                        items:
                          type: object
                          properties:
                            where:
                              type: string
                            problem:
                              type: string
                            refused:
                              type: boolean
                          required:
                            - where
                            - problem
                            - refused
                      pending:
                        type: boolean
                      running:
                        type: boolean
                    required:
                      - passes
                      - problems
                  pages_needed:
                    type: array
                    items:
                      anyOf:
                        - type: string
                          enum:
                            - company
                            - market
                            - financials
                            - customer
                            - competitive
                            - marketing
                            - news
                            - trends
                            - expert
                            - risks
                            - players
                            - profiles
                        - type: string
                          maxLength: 48
                          pattern: ^x-[a-z0-9]+(?:-[a-z0-9]+)*$
                  target_added:
                    type: boolean
                  covers:
                    type: array
                    items:
                      anyOf:
                        - type: string
                          enum:
                            - company
                            - market
                            - financials
                            - customer
                            - competitive
                            - marketing
                            - news
                            - trends
                            - expert
                            - risks
                            - players
                            - profiles
                        - type: string
                          maxLength: 48
                          pattern: ^x-[a-z0-9]+(?:-[a-z0-9]+)*$
                        - type: string
                          enum:
                            - overview
                            - plan
                required:
                  - id
                  - company
                  - title
                  - status
                  - rev
                  - problems
                  - playbook
                  - saved_by
                  - created_at
                  - updated_at
                  - checked_at
                  - pages
                  - report
                  - filled
                  - answers
                  - cited
                  - check
                  - pages_needed
        default:
          description: An error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      x-codeSamples:
        - lang: bash
          label: curl, made-up values
          source: >-
            curl -X PUT
            'https://api.poddata.ai/v1/diligence-reports/dlr_01JD9K4M5N6P00000000000000/pages/customer'
            \
              -H "Authorization: Bearer $PODDATA_API_KEY" \
              -H 'Content-Type: application/json' \
              -d '{"rev":2,"page":{"id":"customer","state":"written","headline":"Patients rate Northwind {customer-1.average} stars on Google, a little below its rival’s {customer-1.rivals_average}","lede":"Across its three clinics, patients praise the care and complain about the wait.","read":[{"exhibit":"customer-1","figure":"reviews","label":"Google reviews read"}],"questions":[{"id":"customer-q1","ask":"Do patients rate it as well as its rivals?","answer":"A little below: {customer-1.average} stars against {customer-1.rivals_average}.","cards":[{"exhibit":"customer-1","figure":"average","label":"Northwind Dental","line":"average stars on Google, the last year"}]},{"id":"customer-q2","ask":"What do unhappy patients say?","answer":"Mostly that they waited past their appointment.","cards":[]}],"exhibits":[{"id":"customer-1","numbers":"rating_rivals","company":"northwind-dental","params":{"source":"google-maps","from":"2025-11-14","to":"2026-11-14"},"show":"bars","title":"Google rating, against its confirmed rival","point":"Northwind trails Bluebird by three tenths of a star.","caveat":null}],"quotes":[{"kind":"signal","id":"sig_01JD9C5E6F7G00000000000000","exhibit":"customer-1","why":"A two-star review about the wait"}],"method":{"read":"Google reviews of its three confirmed clinics, and of its one confirmed rival’s two","from":"2025-11-14","to":"2026-11-14","left_out":[]},"web":[],"names":["Northwind Dental","Bluebird Dental","Google"]}}'
components:
  schemas:
    ApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - bad_request
                - no_key
                - plan
                - forbidden
                - not_found
                - conflict
                - unclear
                - slow_down
                - internal
                - busy
            message:
              type: string
          required:
            - code
            - message
      required:
        - error
  securitySchemes:
    key:
      type: http
      scheme: bearer
      description: >-
        An API key, sent as `Authorization: Bearer pd_live_…`. Someone on your
        team makes one in the workspace, Settings › API keys; it's shown once.
        Staging's keys start with `pd_test_`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.