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

# The account's policy schedules by policy term

> Each policy term's coverages and forms, and the coverage record and answer merged from them, every term in one read. An account the acting seat cannot read is 404 NOT_VISIBLE_OR_ABSENT.



## OpenAPI

````yaml /openapi.generated.json get /records/accounts/{id}/rollups/policy-schedules
openapi: 3.1.0
info:
  description: >-
    Public API reference. Generated from apps/engine/openapi.yaml by make
    docs-openapi-write. Do not edit.
  title: Nexio platform API
  version: '1'
servers:
  - url: https://api.usenexio.com
security: []
tags:
  - name: Access
  - name: Catalog
  - name: Conversations
  - name: Documents
  - name: Engines
  - name: Events
  - name: Feedback
  - name: Graph
  - name: Records
  - name: Roadmap
  - name: Runs
  - name: Webhooks
  - name: accounts
  - name: actions
  - name: activities
  - name: activity-feed
  - name: attachments
  - name: audit
  - name: benefit-plans
  - name: billing-transactions
  - name: carrier_documents
  - name: certificate-holders
  - name: certificate_drafts
  - name: certificates
  - name: change_feed
  - name: claims
  - name: classes
  - name: codes
  - name: commission_facts
  - name: connections
  - name: contacts
  - name: contingencies
  - name: conversations
  - name: customer
  - name: customer_contacts
  - name: deals
  - name: dependents
  - name: document_extractions
  - name: documents
  - name: drivers
  - name: eforms
  - name: employees
  - name: events
  - name: feature_requests
  - name: form-templates
  - name: invoices
  - name: leads
  - name: line_schedules_other
  - name: loss_history
  - name: machines
  - name: markets
  - name: motor-carriers
  - name: notes
  - name: opportunities
  - name: opportunity-signals
  - name: pages
  - name: personal_lines_detail
  - name: placement_choices
  - name: placement_feedback
  - name: placements
  - name: policies
  - name: policy_parties
  - name: policy_personnel
  - name: policy_transactions
  - name: premium_rows
  - name: procedures
  - name: proposals
  - name: quote_comparisons
  - name: quotes
  - name: records
  - name: register-views
  - name: renewal-entries
  - name: risk_review_choices
  - name: rollups
  - name: seats
  - name: sec-filings
  - name: service_agreements
  - name: submissions
  - name: suspenses
  - name: tasks
  - name: umbrella_underlying
  - name: underwriting_questions
  - name: uploaded_documents
  - name: vehicles
  - name: workflows
paths:
  /records/accounts/{id}/rollups/policy-schedules:
    get:
      tags:
        - accounts
      summary: The account's policy schedules by policy term
      description: >-
        Each policy term's coverages and forms, and the coverage record and
        answer merged from them, every term in one read. An account the acting
        seat cannot read is 404 NOT_VISIBLE_OR_ABSENT.
      operationId: getAccountPolicySchedulesRollup
      parameters:
        - description: >-
            The member the read is made for (a WorkOS user id). Unset keeps the
            org-wide posture the key alone grants.
          in: header
          name: Nexio-Act-As
          schema:
            description: >-
              The member the read is made for (a WorkOS user id). Unset keeps
              the org-wide posture the key alone grants.
            type: string
        - description: >-
            The acting member's verified email, lowercased. Ignored without
            Nexio-Act-As.
          in: header
          name: Nexio-Act-As-Email
          schema:
            description: >-
              The acting member's verified email, lowercased. Ignored without
              Nexio-Act-As.
            type: string
        - description: The calling application (workbench).
          in: header
          name: Nexio-Consumer
          schema:
            description: The calling application (workbench).
            type: string
        - description: The calling application's build.
          in: header
          name: Nexio-Consumer-Build
          schema:
            description: The calling application's build.
            type: string
        - description: The access vocabulary hash the calling build was generated against.
          in: header
          name: Nexio-Consumer-Vocabulary
          schema:
            description: >-
              The access vocabulary hash the calling build was generated
              against.
            type: string
        - description: >-
            A caller-chosen request id, echoed in the Nexio-Request-Id response
            header.
          in: header
          name: Nexio-Request-Id
          schema:
            description: >-
              A caller-chosen request id, echoed in the Nexio-Request-Id
              response header.
            type: string
        - description: >-
            The caller's remaining budget for this request, in whole
            milliseconds (1 to 10 digits, greater than zero), relative to
            receipt. The engine stops work at the shorter of this and the
            route's own budget, and answers 504 request_timeout when it expires.
            A value above the route budget is capped to it; a malformed value is
            ignored.
          in: header
          name: Nexio-Timeout
          schema:
            description: >-
              The caller's remaining budget for this request, in whole
              milliseconds (1 to 10 digits, greater than zero), relative to
              receipt. The engine stops work at the shorter of this and the
              route's own budget, and answers 504 request_timeout when it
              expires. A value above the route budget is capped to it; a
              malformed value is ignored.
            type: string
        - description: The account id (its instance key).
          in: path
          name: id
          required: true
          schema:
            description: The account id (its instance key).
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecordAccountPolicySchedules'
          description: OK
        '400':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Bad Request
        '401':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Unauthorized
        '403':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Forbidden
        '404':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Not Found
        '424':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Failed Dependency
        '429':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Too Many Requests
        '500':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Internal Server Error
        '503':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Service Unavailable
        '504':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Gateway Timeout
      security:
        - bearer: []
components:
  schemas:
    RecordAccountPolicySchedules:
      additionalProperties: false
      properties:
        data:
          $ref: '#/components/schemas/AccountPolicySchedules'
        missing_count:
          description: >-
            For a hierarchy record, source records missing that level after
            source filters and before name/ID filters.
          format: int64
          type: integer
        request_id:
          type: string
        source:
          $ref: '#/components/schemas/Source'
        unreachable:
          items:
            $ref: '#/components/schemas/Unreachable'
          type:
            - array
            - 'null'
        warnings:
          items:
            $ref: '#/components/schemas/Warning'
          type:
            - array
            - 'null'
      required:
        - data
        - source
        - unreachable
        - warnings
        - request_id
      type: object
    Problem:
      additionalProperties: false
      properties:
        code:
          description: >-
            The stable machine-readable error code, UPPER_SNAKE_CASE, one
            meaning forever.
          enum:
            - INVALID_ARGUMENT
            - UNAUTHENTICATED
            - CAPABILITY_DENIED
            - NOT_VISIBLE_OR_ABSENT
            - IDEMPOTENT_REQUEST_IN_FLIGHT
            - ETAG_MISMATCH
            - VALIDATION_FAILED
            - IDEMPOTENCY_KEY_PAYLOAD_MISMATCH
            - SOURCE_UNAVAILABLE
            - RATE_LIMITED
            - INTERNAL
            - DEADLINE_EXCEEDED
            - UNAVAILABLE
            - CLIENT_CLOSED_REQUEST
          type: string
        detail:
          description: A human-readable sentence about this occurrence.
          type: string
        details:
          description: >-
            Structured detail for the reason (for example which owner selection
            rule failed). A Records refusal names its reason code in
            details.reason; a projection refusal (SOURCE_UNAVAILABLE) also names
            its closed subtype in details.subtype (admission_pending, no_build,
            binding_changed, agency_admission_unbounded,
            authority_coordinates_changed, guard_absent, derivation_unaccepted),
            and only admission_pending, which clears by itself, also carries
            details.retry_after_ms, equal to retry_after_ms and the Retry-After
            header.
        errors:
          description: Each invalid parameter, for INVALID_ARGUMENT.
          items:
            $ref: '#/components/schemas/ProblemError'
          type:
            - array
            - 'null'
        instance:
          description: The request path this occurrence answered.
          type: string
        reason:
          description: >-
            The finer cause within the code, UPPER_SNAKE_CASE (for example
            SCOPE_UNAVAILABLE under CAPABILITY_DENIED).
          type: string
        request_id:
          description: The request id, as echoed in the Nexio-Request-Id response header.
          type: string
        retry_after_ms:
          description: When a retry may succeed, the wait before it.
          format: int64
          type: integer
        status:
          description: The HTTP status code.
          format: int64
          type: integer
        title:
          description: The HTTP status phrase.
          type: string
        type:
          description: A URI naming the problem type, derived from the code.
          type: string
      required:
        - type
        - title
        - status
        - code
        - request_id
      type: object
    AccountPolicySchedules:
      additionalProperties: false
      properties:
        families:
          additionalProperties:
            $ref: '#/components/schemas/BookFamilyCoverage'
          description: >-
            The coverage of policies, policy_coverages, policy_forms and
            policy_coverage_record.
          type: object
        policy_ids:
          description: >-
            The account's admitted policy terms, in policy id order; null when
            the seat may not read the policies.
          items:
            type: string
          type:
            - array
            - 'null'
        terms:
          description: One entry per policy term, in policy id order.
          items:
            $ref: '#/components/schemas/AccountPolicySchedule'
          type:
            - array
            - 'null'
      required:
        - terms
        - policy_ids
        - families
      type: object
    Source:
      additionalProperties: false
      properties:
        actor:
          $ref: '#/components/schemas/Actor'
        connection:
          description: >-
            The id of the connection that answered; empty when the read had no
            connection.
          type: string
        coverage:
          $ref: '#/components/schemas/SourceCoverage'
          description: >-
            What the family's data has: late only when its source is older than
            its measured window, and the gaps a reader states where it shows an
            absence for the family.
        elapsed_ms:
          description: A live source's call time for this read.
          format: int64
          type: integer
        family:
          description: The registry family that answered.
          type: string
        freshness:
          description: >-
            The freshness word as served before freshness_promised and
            freshness_observed existed; read those two instead.
          type: string
        freshness_observed:
          description: >-
            What this read observed: settled or prior_stable (the warehouse
            pin), reused (a kept answer of the same statement and data version),
            live (a call answered now), fresh or stale.
          type: string
        freshness_promised:
          description: >-
            What the source promises: pinned (the warehouse, read at a pinned
            instant), live (the system of record, per call), store (the
            platform's own store) or computed (a derived function over other
            reads).
          type: string
        id:
          description: >-
            The registry source id (warehouse, ams360_ems, ...), empty when
            absent.
          type: string
        kind:
          description: >-
            The kind of source that answered: the warehouse, the customer's
            system of record (whichever vendor; the vendor is in id), the
            platform's own store, or absent when no source serves the family.
          enum:
            - warehouse
            - system
            - store
            - absent
          type: string
        operations:
          description: >-
            What ran to serve this answer, in order: the warehouse statements,
            vendor operations, store families or functions. Empty only when no
            source serves the family.
          items:
            $ref: '#/components/schemas/SourceOperation'
          type:
            - array
            - 'null'
        origin:
          description: Which input decided the source.
          enum:
            - default
            - connection
            - seat
          type: string
        reason:
          $ref: '#/components/schemas/SourceReason'
          description: Why the family is absent, when kind is absent.
        snapshot_at:
          description: >-
            The instant the rows were read at: the warehouse pin, or the live
            call's time.
          format: date-time
          type:
            - string
            - 'null'
        snapshot_id:
          description: The warehouse snapshot the rows came from, when one names them.
          type: string
        stale_since:
          description: When the snapshot stopped being current, for a stale read.
          format: date-time
          type: string
        subject:
          $ref: '#/components/schemas/Subject'
        system:
          deprecated: true
          description: >-
            deprecated: read kind; removed with generation 1. The system behind
            the source.
          enum:
            - warehouse
            - ams360
            - store
            - absent
          type: string
      required:
        - coverage
        - family
        - kind
        - connection
        - system
        - id
        - origin
        - freshness
        - freshness_promised
        - snapshot_at
        - operations
        - subject
        - actor
      type: object
    Unreachable:
      additionalProperties: false
      properties:
        detail:
          type: string
        part:
          description: The envelope part (a field path or a child family).
          type: string
        reason:
          description: 'Why: no_adapter, not_documented, absent, source_unavailable, ...'
          type: string
        ref:
          description: The vendor reference id of the call that failed, when one did.
          type: string
      required:
        - part
        - reason
      type: object
    Warning:
      additionalProperties: false
      properties:
        code:
          description: >-
            UPPER_SNAKE_CASE, one meaning forever (LIMIT_COERCED, FACET_DROPPED,
            ...).
          type: string
        detail:
          type: string
      required:
        - code
      type: object
    ProblemError:
      additionalProperties: false
      properties:
        location:
          description: Where the input was, for example query.limit.
          type: string
        message:
          type: string
        value: {}
      required:
        - message
      type: object
    BookFamilyCoverage:
      additionalProperties: false
      properties:
        coverage:
          type: string
        duration_ms:
          format: int64
          type: integer
        presence:
          type: string
        projection:
          type: string
        reason:
          type: string
        row_count:
          format: int64
          type: integer
      required:
        - presence
        - coverage
        - duration_ms
      type: object
    AccountPolicySchedule:
      additionalProperties: false
      properties:
        coverage_answer:
          anyOf:
            - $ref: '#/components/schemas/Answer'
              description: >-
                The record merged with the AMS 360 rows; null when the record
                family did not answer.
            - type: 'null'
        coverage_record:
          anyOf:
            - $ref: '#/components/schemas/BookPolicyCoverageRecord'
              description: >-
                The platform-owned coverage record; null when none is stored or
                the record family did not answer.
            - type: 'null'
        coverages:
          items:
            $ref: '#/components/schemas/BookPolicyCoverage'
          type:
            - array
            - 'null'
        forms:
          $ref: '#/components/schemas/BookPolicyFormsSchedule'
        policy_id:
          description: The policy term's instance key, {instance}:policy_term:{policy id}.
          type: string
      required:
        - policy_id
        - coverages
        - forms
        - coverage_record
        - coverage_answer
      type: object
    Actor:
      additionalProperties: false
      properties:
        impersonation_kind:
          enum:
            - act_as
            - workos
          type: string
        impersonator:
          description: The operator behind an impersonated session.
          type: string
        member:
          description: The acting member (Nexio-Act-As); empty for a key acting as itself.
          type: string
      type: object
    SourceCoverage:
      additionalProperties: false
      properties:
        as_of:
          description: >-
            The earliest as-of among the family's sources, present only when the
            state is late.
          format: date-time
          type: string
        gaps:
          description: >-
            The family's absence gaps, each stated in plain words with its share
            and whose it is to fill. Empty when the family has none.
          items:
            $ref: '#/components/schemas/CoverageGap'
          type: array
        late:
          $ref: '#/components/schemas/CoverageLate'
          description: Present only when the state is late.
        state:
          description: >-
            late: a source is older than its measured window. current: no source
            is late. unmeasured: no source with a refresh cadence has two stored
            commits yet, so no window is known.
          enum:
            - current
            - late
            - unmeasured
          type: string
      required:
        - state
        - gaps
      type: object
    SourceOperation:
      additionalProperties: false
      properties:
        kind:
          description: >-
            statement: a registered warehouse statement; vendor: a system of
            record operation; store: a platform store family; compute: a derived
            function.
          enum:
            - statement
            - vendor
            - store
            - compute
          type: string
        ref:
          description: >-
            The statement name, the Records operation ref, the store family or
            the function.
          type: string
        reused:
          description: >-
            True when a kept answer of the same statement and data version was
            replayed instead of run.
          type: boolean
      required:
        - kind
        - ref
        - reused
      type: object
    SourceReason:
      additionalProperties: false
      properties:
        kind:
          type: string
        note:
          type: string
        ref:
          type: string
      required:
        - kind
      type: object
    Subject:
      additionalProperties: false
      properties:
        member:
          $ref: '#/components/schemas/SubjectMember'
          description: >-
            The member whose book was read, when the request read as another
            member.
        scope:
          description: The scope kind the acting seat resolved to (self, office, all, ...).
          type: string
        selection:
          description: >-
            The subject selection served, as subject= tokens (own,
            book:&lt;code&gt;, producer:&lt;code|me&gt;,
            client_manager:&lt;code|me&gt;, member:&lt;id&gt;). Empty when none
            was sent.
          items:
            type: string
          type:
            - array
            - 'null'
        selection_kind:
          description: >-
            own, code, client_manager, account, boundary or whole: what the
            served relation is.
          type: string
        selection_source:
          description: >-
            request when the caller chose the selection; none when it chose
            nothing.
          type: string
      required:
        - scope
        - selection
        - selection_kind
        - selection_source
      type: object
    Answer:
      additionalProperties: false
      properties:
        ams:
          $ref: '#/components/schemas/AnswerAMSRead'
        attributes:
          items:
            $ref: '#/components/schemas/AnswerAttribute'
          type:
            - array
            - 'null'
        capabilities:
          items:
            $ref: '#/components/schemas/AnswerCapability'
          type:
            - array
            - 'null'
        conflicts:
          format: int64
          type: integer
        entries:
          items:
            $ref: '#/components/schemas/AnswerEntry'
          type:
            - array
            - 'null'
        forms:
          items:
            $ref: '#/components/schemas/AnswerForm'
          type:
            - array
            - 'null'
        forms_schedule:
          $ref: '#/components/schemas/AnswerFormsSchedule'
        held:
          items:
            $ref: '#/components/schemas/AnswerHeld'
          type:
            - array
            - 'null'
        unverified:
          format: int64
          type: integer
      required:
        - ams
        - entries
        - attributes
        - forms
        - forms_schedule
        - capabilities
        - held
        - conflicts
        - unverified
      type: object
    BookPolicyCoverageRecord:
      additionalProperties: false
      properties:
        acted_by:
          type: string
        actor_id:
          type: string
        operation:
          type: string
        record:
          $ref: '#/components/schemas/Record'
        removed:
          type: boolean
        revision:
          format: int64
          type: integer
        updated_at:
          format: date-time
          type: string
      required:
        - revision
        - operation
        - actor_id
        - updated_at
        - removed
        - record
      type: object
    BookPolicyCoverage:
      additionalProperties: false
      properties:
        aggregate_applies_to:
          type: string
        applies_to:
          type:
            - string
            - 'null'
        claims_made:
          type: string
        coinsurance_percent:
          type:
            - string
            - 'null'
        coverage_code:
          type:
            - string
            - 'null'
        coverage_id:
          type:
            - string
            - 'null'
        deductible_1:
          type:
            - string
            - 'null'
        deductible_2:
          type:
            - string
            - 'null'
        deductible_3:
          type:
            - string
            - 'null'
        deductible_type_1:
          type:
            - string
            - 'null'
        deductible_type_2:
          type:
            - string
            - 'null'
        deductible_type_3:
          type:
            - string
            - 'null'
        description:
          type:
            - string
            - 'null'
        effective_date:
          format: date-time
          type:
            - string
            - 'null'
        expiration_date:
          format: date-time
          type:
            - string
            - 'null'
        form_date:
          type:
            - string
            - 'null'
        form_number:
          type:
            - string
            - 'null'
        full_term_premium:
          type:
            - string
            - 'null'
        is_blanket:
          type:
            - string
            - 'null'
        is_statutory:
          type:
            - string
            - 'null'
        limit_1:
          type:
            - string
            - 'null'
        limit_2:
          type:
            - string
            - 'null'
        limit_3:
          type:
            - string
            - 'null'
        line_of_business:
          type: string
        line_of_business_code:
          type: string
        line_of_business_id:
          type:
            - string
            - 'null'
        parent_coverage_id:
          type:
            - string
            - 'null'
        source_table:
          type: string
        status:
          type:
            - string
            - 'null'
        writing_company_naic:
          type: string
      required:
        - coverage_id
        - parent_coverage_id
        - line_of_business_id
        - coverage_code
        - description
        - applies_to
        - limit_1
        - limit_2
        - limit_3
        - deductible_1
        - deductible_2
        - deductible_3
        - deductible_type_1
        - deductible_type_2
        - deductible_type_3
        - coinsurance_percent
        - full_term_premium
        - form_number
        - form_date
        - is_blanket
        - is_statutory
        - status
        - effective_date
        - expiration_date
      type: object
    BookPolicyFormsSchedule:
      additionalProperties: false
      properties:
        company_context:
          items:
            $ref: '#/components/schemas/BookPolicyCompanyContext'
          type:
            - array
            - 'null'
        coverage_forms:
          items:
            $ref: '#/components/schemas/BookPolicyForm'
          type:
            - array
            - 'null'
        electronic_forms:
          items:
            $ref: '#/components/schemas/BookElectronicForm'
          type:
            - array
            - 'null'
        form_types:
          items:
            $ref: '#/components/schemas/BookPolicyFormType'
          type:
            - array
            - 'null'
        policy_forms:
          items:
            $ref: '#/components/schemas/BookPolicyForm'
          type:
            - array
            - 'null'
        question_answers:
          items:
            $ref: '#/components/schemas/BookPolicyQuestionAnswer'
          type:
            - array
            - 'null'
      required:
        - policy_forms
        - coverage_forms
        - form_types
        - electronic_forms
        - question_answers
        - company_context
      type: object
    CoverageGap:
      additionalProperties: false
      properties:
        code:
          description: Stable gap code.
          type: string
        owner:
          description: Who keeps the source that would fill the gap.
          enum:
            - firm
            - vertafore
            - nexio
          type: string
        section_field:
          description: >-
            Dotted path inside a derived read's section that holds this gap's
            fact: the gap applies when that value is empty.
          type: string
        section_lines:
          description: >-
            AMS 360 line codes the gap speaks to: it applies only when the
            read's line_codes name one.
          items:
            type: string
          type:
            - array
            - 'null'
        sentence:
          description: >-
            The gap in plain words: the source, the share it covers and whose it
            is to fill.
          type: string
      required:
        - code
        - sentence
        - owner
      type: object
    CoverageLate:
      additionalProperties: false
      properties:
        sentence:
          type: string
      required:
        - sentence
      type: object
    SubjectMember:
      additionalProperties: false
      properties:
        display_name:
          type: string
        id:
          type: string
        scope:
          type: string
      required:
        - id
        - display_name
        - scope
      type: object
    AnswerAMSRead:
      additionalProperties: false
      properties:
        coverages_read:
          type: boolean
        forms_read:
          type: boolean
        writing_company_naic:
          type: string
      required:
        - coverages_read
        - forms_read
      type: object
    AnswerAttribute:
      additionalProperties: false
      properties:
        code:
          type: string
        controlling:
          type: string
        part:
          type: string
        provenance:
          $ref: '#/components/schemas/Provenance'
        rule:
          format: int64
          type: integer
        value:
          type:
            - string
            - 'null'
      required:
        - code
        - part
        - value
        - controlling
        - rule
        - provenance
      type: object
    AnswerCapability:
      additionalProperties: false
      properties:
        as_of:
          format: date-time
          type:
            - string
            - 'null'
        basis:
          $ref: '#/components/schemas/AnswerCapabilityBasis'
        capability:
          enum:
            - blanket_additional_insured
            - scheduled_additional_insured
            - primary_noncontributory
            - waiver_of_subrogation
            - per_project_aggregate
            - completed_operations
            - notice_of_cancellation
          type: string
        edition:
          type: string
        form_number:
          type: string
        provenance:
          anyOf:
            - $ref: '#/components/schemas/Provenance'
            - type: 'null'
        reasons:
          items:
            $ref: '#/components/schemas/AnswerCapabilityReason'
          type:
            - array
            - 'null'
        state:
          enum:
            - granted
            - not_granted
            - unknown
          type: string
      required:
        - capability
        - state
        - reasons
        - basis
        - as_of
        - provenance
      type: object
    AnswerEntry:
      additionalProperties: false
      properties:
        ams:
          $ref: '#/components/schemas/AnswerAMSValue'
        conflict:
          $ref: '#/components/schemas/AnswerConflict'
        controlling:
          type: string
        kind:
          type: string
        label:
          type: string
        matches_ams:
          type: boolean
        part:
          type: string
        part_label:
          type: string
        prints:
          type: boolean
        prints_as:
          enum:
            - limit
            - sublimit
            - other_row
            - deductible
            - null
          type:
            - string
            - 'null'
        record:
          $ref: '#/components/schemas/AnswerRecord'
        rule:
          format: int64
          type: integer
        slot:
          type:
            - string
            - 'null'
        value:
          type:
            - string
            - 'null'
        value_text:
          type:
            - string
            - 'null'
      required:
        - slot
        - part
        - kind
        - label
        - value
        - value_text
        - controlling
        - rule
        - prints
        - prints_as
        - matches_ams
        - record
        - ams
        - conflict
      type: object
    AnswerForm:
      additionalProperties: false
      properties:
        classified:
          type: boolean
        edition:
          type: string
        form_number:
          type: string
        grants:
          items:
            type: string
          type:
            - array
            - 'null'
        grants_basis:
          type: string
        in_ams:
          type: boolean
        in_record:
          type: boolean
        is_endorsement:
          type:
            - boolean
            - 'null'
        normalized:
          type: string
        provenance:
          anyOf:
            - $ref: '#/components/schemas/Provenance'
            - type: 'null'
        title:
          type: string
      required:
        - form_number
        - normalized
        - title
        - is_endorsement
        - grants
        - grants_basis
        - classified
        - in_ams
        - in_record
        - provenance
      type: object
    AnswerFormsSchedule:
      additionalProperties: false
      properties:
        all_classified:
          type: boolean
        attested:
          $ref: '#/components/schemas/Attested'
        complete:
          type: boolean
      required:
        - complete
        - attested
        - all_classified
      type: object
    AnswerHeld:
      additionalProperties: false
      properties:
        ams_value:
          type:
            - string
            - 'null'
        label:
          type: string
        reason:
          enum:
            - ams_changed
            - unverified
          type: string
        record_value:
          type:
            - string
            - 'null'
        slot:
          type:
            - string
            - 'null'
      required:
        - slot
        - label
        - reason
        - record_value
        - ams_value
      type: object
    Record:
      additionalProperties: false
      properties:
        forms:
          items:
            $ref: '#/components/schemas/Form'
          type:
            - array
            - 'null'
        forms_complete:
          $ref: '#/components/schemas/Attested'
        parts:
          items:
            $ref: '#/components/schemas/Part'
          type:
            - array
            - 'null'
        schema_version:
          format: int64
          type: integer
      required:
        - schema_version
        - parts
        - forms
      type: object
    BookPolicyCompanyContext:
      additionalProperties: false
      properties:
        company_code:
          type:
            - string
            - 'null'
        company_name:
          type:
            - string
            - 'null'
        company_source_object:
          type: string
        company_type:
          type:
            - string
            - 'null'
        evidence_kind:
          type: string
        naic:
          type:
            - string
            - 'null'
        policy_changed_at:
          format: date-time
          type:
            - string
            - 'null'
        source_datasource:
          type: string
        source_object:
          type: string
      required:
        - source_datasource
        - source_object
        - company_source_object
        - evidence_kind
        - company_code
        - company_name
        - company_type
        - naic
        - policy_changed_at
      type: object
    BookPolicyForm:
      additionalProperties: false
      properties:
        description:
          type:
            - string
            - 'null'
        description2:
          type:
            - string
            - 'null'
        edition_date:
          type:
            - string
            - 'null'
        effective_date:
          format: date-time
          type:
            - string
            - 'null'
        expiration_date:
          format: date-time
          type:
            - string
            - 'null'
        form_number:
          type:
            - string
            - 'null'
        grain:
          type: string
        line_of_business:
          type: string
        line_of_business_code:
          type: string
        line_of_business_id:
          type:
            - string
            - 'null'
        status:
          type:
            - string
            - 'null'
        vocabulary_description:
          type:
            - string
            - 'null'
      required:
        - grain
        - form_number
        - vocabulary_description
        - description
        - description2
        - edition_date
        - effective_date
        - expiration_date
        - status
        - line_of_business_id
      type: object
    BookElectronicForm:
      additionalProperties: false
      properties:
        archived_at:
          format: date-time
          type:
            - string
            - 'null'
        category:
          type:
            - string
            - 'null'
        description:
          type:
            - string
            - 'null'
        edition_date:
          type:
            - string
            - 'null'
        evidence_kind:
          type: string
        folder_id:
          type: string
        form_id:
          type: string
        form_number:
          type:
            - string
            - 'null'
        form_type_id:
          type:
            - string
            - 'null'
        form_version_id:
          type:
            - string
            - 'null'
        line_of_business_id:
          type:
            - string
            - 'null'
        source_datasource:
          type: string
        source_object:
          type: string
        state:
          type:
            - string
            - 'null'
      required:
        - source_datasource
        - source_object
        - evidence_kind
        - form_id
        - folder_id
        - form_version_id
        - form_type_id
        - form_number
        - description
        - edition_date
        - state
        - category
        - line_of_business_id
        - archived_at
      type: object
    BookPolicyFormType:
      additionalProperties: false
      properties:
        effective_date:
          format: date-time
          type:
            - string
            - 'null'
        form_type:
          type:
            - string
            - 'null'
        line_of_business:
          type: string
        line_of_business_code:
          type: string
        line_of_business_id:
          type:
            - string
            - 'null'
        location_id:
          type:
            - string
            - 'null'
        status:
          type:
            - string
            - 'null'
      required:
        - form_type
        - line_of_business_id
        - location_id
        - effective_date
        - status
      type: object
    BookPolicyQuestionAnswer:
      additionalProperties: false
      properties:
        answer:
          type:
            - string
            - 'null'
        answer_set_id:
          type: string
        effective_date:
          format: date-time
          type:
            - string
            - 'null'
        evidence_kind:
          type: string
        question:
          type:
            - string
            - 'null'
        question_code:
          type: string
        question_id:
          type:
            - string
            - 'null'
        source_datasource:
          type: string
        source_object:
          type: string
        status:
          type:
            - string
            - 'null'
      required:
        - source_datasource
        - source_object
        - evidence_kind
        - question_code
        - question_id
        - question
        - answer_set_id
        - answer
        - effective_date
        - status
      type: object
    Provenance:
      additionalProperties: false
      properties:
        acted_by:
          type: string
        ams_at_confirm:
          $ref: '#/components/schemas/AMSAtConfirm'
        carried_from:
          $ref: '#/components/schemas/CarriedFrom'
        confirmed_at:
          format: date-time
          type: string
        confirmed_by:
          type: string
        document:
          $ref: '#/components/schemas/DocumentRef'
        entered_at:
          format: date-time
          type: string
        entered_by:
          type: string
        source:
          type: string
        state:
          type: string
      required:
        - source
        - state
        - entered_by
        - entered_at
        - ams_at_confirm
      type: object
    AnswerCapabilityBasis:
      additionalProperties: false
      properties:
        family:
          enum:
            - policy_coverage_record
          type: string
        grants_basis:
          enum:
            - reviewer
            - form_table
          type: string
      required:
        - family
      type: object
    AnswerCapabilityReason:
      additionalProperties: false
      properties:
        code:
          enum:
            - granted_by_form
            - schedule_complete
            - forms_unread
            - forms_empty
            - form_unnumbered
            - form_unclassified
          type: string
        source:
          $ref: '#/components/schemas/AnswerCapabilitySource'
        text:
          type: string
      required:
        - code
        - text
        - source
      type: object
    AnswerAMSValue:
      additionalProperties: false
      properties:
        amount:
          type: string
        coverage_id:
          type: string
        phrase:
          type: string
      required:
        - amount
        - phrase
      type: object
    AnswerConflict:
      additionalProperties: false
      properties:
        ams_at_confirm:
          type:
            - string
            - 'null'
        ams_value:
          type: string
        kind:
          type: string
        record_text:
          type: string
        record_value:
          type:
            - string
            - 'null'
      required:
        - kind
        - record_value
        - ams_value
        - ams_at_confirm
      type: object
    AnswerRecord:
      additionalProperties: false
      properties:
        amount:
          type:
            - string
            - 'null'
        amount_text:
          type: string
        basis:
          type: string
        entry_id:
          type: string
        part_id:
          type: string
        provenance:
          $ref: '#/components/schemas/Provenance'
        sublimit_of:
          type: string
      required:
        - entry_id
        - part_id
        - amount
        - basis
        - provenance
      type: object
    Attested:
      additionalProperties: false
      properties:
        provenance:
          $ref: '#/components/schemas/Provenance'
        value:
          type: boolean
      required:
        - value
        - provenance
      type: object
    Form:
      additionalProperties: false
      properties:
        edition:
          type: string
        form_number:
          type: string
        grants:
          items:
            type: string
          type:
            - array
            - 'null'
        grants_basis:
          type: string
        id:
          type: string
        is_endorsement:
          type: boolean
        provenance:
          $ref: '#/components/schemas/Provenance'
        title:
          type: string
      required:
        - id
        - form_number
        - title
        - is_endorsement
        - grants
        - grants_basis
        - provenance
      type: object
    Part:
      additionalProperties: false
      properties:
        attributes:
          additionalProperties:
            $ref: '#/components/schemas/Value'
          type: object
        deductibles:
          items:
            $ref: '#/components/schemas/Entry'
          type:
            - array
            - 'null'
        id:
          type: string
        label:
          type: string
        limits:
          items:
            $ref: '#/components/schemas/Entry'
          type:
            - array
            - 'null'
        part:
          type: string
      required:
        - id
        - part
        - attributes
        - limits
        - deductibles
      type: object
    AMSAtConfirm:
      additionalProperties: false
      properties:
        read_at:
          format: date-time
          type: string
        value:
          type:
            - string
            - 'null'
      required:
        - value
        - read_at
      type: object
    CarriedFrom:
      additionalProperties: false
      properties:
        effective_date:
          type: string
        policy_id:
          type: string
      required:
        - policy_id
        - effective_date
      type: object
    DocumentRef:
      additionalProperties: false
      properties:
        document_id:
          type: string
        extraction_id:
          type: string
        extractor_version:
          type: string
        page:
          format: int64
          type: integer
        quote:
          type: string
      required:
        - document_id
        - page
        - quote
        - extraction_id
        - extractor_version
      type: object
    AnswerCapabilitySource:
      additionalProperties: false
      properties:
        kind:
          enum:
            - form
            - forms_schedule
          type: string
        ref:
          type: string
      required:
        - kind
        - ref
      type: object
    Value:
      additionalProperties: false
      properties:
        provenance:
          $ref: '#/components/schemas/Provenance'
        value:
          type: string
      required:
        - value
        - provenance
      type: object
    Entry:
      additionalProperties: false
      properties:
        amount:
          type:
            - string
            - 'null'
        amount_text:
          type: string
        basis:
          type: string
        id:
          type: string
        label:
          type: string
        provenance:
          $ref: '#/components/schemas/Provenance'
        slot:
          type:
            - string
            - 'null'
        sublimit_of:
          type: string
      required:
        - id
        - slot
        - label
        - amount
        - basis
        - provenance
      type: object
  securitySchemes:
    bearer:
      description: The org's platform API key.
      scheme: bearer
      type: http

````

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