> ## 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.

# Read one policy

> The policy term, its transaction rollup, its rated carrier and product, and the rest of its landed row. A policy the acting seat cannot read and one that does not exist are the same 404 NOT_VISIBLE_OR_ABSENT.



## OpenAPI

````yaml /openapi.generated.json get /records/policies/{id}
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/policies/{id}:
    get:
      tags:
        - policies
      summary: Read one policy
      description: >-
        The policy term, its transaction rollup, its rated carrier and product,
        and the rest of its landed row. A policy the acting seat cannot read and
        one that does not exist are the same 404 NOT_VISIBLE_OR_ABSENT.
      operationId: getPolicy
      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 policy id (its instance key).
          in: path
          name: id
          required: true
          schema:
            description: The policy id (its instance key).
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecordPolicyRecord'
          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:
    RecordPolicyRecord:
      additionalProperties: false
      properties:
        data:
          $ref: '#/components/schemas/PolicyRecord'
        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
    PolicyRecord:
      additionalProperties: false
      properties:
        account_decisions:
          $ref: '#/components/schemas/PolicyAccountDecisions'
          description: >-
            Complete-account policy order and term support. Present on
            account_scope=register when workflow facts were read.
        account_executive_code:
          type:
            - string
            - 'null'
        account_executive_display_name:
          description: >-
            account_executive_name as a producer reads it: AMS 360's Last, First
            in reading order without the dates, phone numbers, extensions or
            splits the agency typed into it (bookdisplay.AMSPersonName). Filters
            and sorts read the served name.
          type:
            - string
            - 'null'
        account_executive_name:
          type:
            - string
            - 'null'
        account_id:
          description: >-
            The account's instance key, {instance}:customer:{customer id}; null
            when the policy names no customer.
          type:
            - string
            - 'null'
        account_name:
          description: The account's name, from the client record or the policy.
          type:
            - string
            - 'null'
        account_representative_code:
          type:
            - string
            - 'null'
        account_representative_display_name:
          description: >-
            account_representative_name as a producer reads it: AMS 360's Last,
            First in reading order without the dates, phone numbers, extensions
            or splits the agency typed into it (bookdisplay.AMSPersonName).
            Filters and sorts read the served name.
          type:
            - string
            - 'null'
        account_representative_name:
          type:
            - string
            - 'null'
        agency_code:
          type:
            - string
            - 'null'
        am_best_company:
          description: >-
            view=full with am_best_rating: the writing company whose AM Best
            rating matched, which can differ from carrier_attribution (a group
            or an intermediary).
          type: string
        ams360_branch_code:
          type:
            - string
            - 'null'
        ams360_branch_name:
          type:
            - string
            - 'null'
        ams360_datasource:
          type:
            - string
            - 'null'
        ams360_department_code:
          type:
            - string
            - 'null'
        ams360_department_name:
          type:
            - string
            - 'null'
        ams360_division_code:
          type:
            - string
            - 'null'
        ams360_division_name:
          type:
            - string
            - 'null'
        ams360_group_code:
          type:
            - string
            - 'null'
        ams360_group_name:
          type:
            - string
            - 'null'
        bill_method:
          type:
            - string
            - 'null'
        billed_commission_total:
          type:
            - string
            - 'null'
        brokerage_company:
          type:
            - string
            - 'null'
        business_origin:
          type:
            - string
            - 'null'
        cancellation:
          $ref: '#/components/schemas/PolicyCancellation'
          description: >-
            view=cancellations: the cancellation inside the range, its office
            and any reinstatement after it.
        cancellation_effective_date:
          format: date-time
          type:
            - string
            - 'null'
        cancelled_at_pin:
          type: boolean
        carrier:
          $ref: '#/components/schemas/BookCompany'
        carrier_attribution:
          type:
            - string
            - 'null'
        carrier_market_entity_key:
          description: >-
            The market id the policy's carrier attribution resolved to (the id
            /records/markets/{id} takes); null when it resolved to no market.
          type:
            - string
            - 'null'
        certificates_due:
          $ref: '#/components/schemas/PolicyCertificatesDue'
          description: >-
            view=certificates_due: the renewing term's certificates and its days
            to expiration.
        client_code:
          type:
            - string
            - 'null'
        client_naics_code:
          type:
            - string
            - 'null'
        client_name:
          type:
            - string
            - 'null'
        cohort_member:
          type: boolean
        commission_method:
          type:
            - string
            - 'null'
        coverage_line:
          anyOf:
            - $ref: '#/components/schemas/PolicyCoverageLine'
              description: >-
                The canonical coverage line policy_line_of_business resolves to,
                read with the type of business (the register views read their
                world in its place): a known line or alias under its canonical
                id and label, an unrecognized line under its own trimmed text
                with an x_&lt;world&gt;_ id. A read that serves
                policy_description reads the line with it: an occupational
                accident policy landed as Workers Compensation or Accident and
                Health is Occupational Accident. Null when the policy carries no
                line.
            - type: 'null'
        coverage_world:
          description: >-
            The world of coverage_line when the line resolves to a known
            coverage, else the world the type of business names (other when it
            names none). Not the registers' world: view=full, renewal,
            certificates_due and cancellations serve and filter world by the
            type of business alone, and the two can differ on the same policy (a
            known line under a miscoded or missing type of business).
          enum:
            - commercial
            - personal
            - benefits
            - life
            - other
          type: string
        current_policy_status:
          type:
            - string
            - 'null'
        customer_id:
          type:
            - string
            - 'null'
        days_to_expiration:
          format: int64
          type: integer
        dim_billing_company_sk:
          type:
            - string
            - 'null'
        dim_writing_company_sk:
          type:
            - string
            - 'null'
        effective_next_policy_id:
          items:
            type: string
          type:
            - array
            - 'null'
        effective_prior_policy_id:
          type:
            - string
            - 'null'
        expiry_urgency:
          enum:
            - muted
            - critical
            - warning
            - normal
          type: string
        first_written_date:
          format: date-time
          type:
            - string
            - 'null'
        full_term_premium:
          type:
            - string
            - 'null'
        full_term_premium_basis:
          type:
            - string
            - 'null'
        full_term_premium_effective:
          type:
            - string
            - 'null'
        id:
          description: >-
            The policy term's instance key, {instance}:policy_term:{policy id}:
            the rank-1 version's POLICY_ID, which changes when a new version
            becomes rank 1 (the term identity is open in the cutover spec).
          type: string
        in_force:
          type: boolean
        in_force_at_pin:
          type: boolean
        insurance_company:
          type:
            - string
            - 'null'
        is_continuous_policy:
          type:
            - boolean
            - 'null'
        is_new_business_to_agency:
          type:
            - boolean
            - 'null'
        line_kind:
          description: >-
            The certificate section the policy belongs to, classified over the
            landed line and coverage_line's label together (so an abbreviation
            classifies by its canonical label): the first of gl, auto, umbrella,
            wc and package whose words appear, else other. package marks a
            policy that may hold a liability section.
          enum:
            - gl
            - auto
            - umbrella
            - wc
            - package
            - other
          type: string
        lines:
          description: >-
            The coverage lines the policy holds from its AMS 360 line rows,
            beside the package it is: a package written as General Liability and
            Property lists both. Absent when the read serves no line rows or the
            policy has none live.
          items:
            $ref: '#/components/schemas/PolicyCoverageLine'
          type:
            - array
            - 'null'
        negotiated_commission_flat_amount:
          type:
            - string
            - 'null'
        negotiated_commission_percentage:
          type:
            - string
            - 'null'
        new_business_renewal_group:
          type:
            - string
            - 'null'
        personnel_datasource:
          description: >-
            The AMS 360 datasource whose employee records the policy's account
            executive and representative codes name. It differs from
            ams360_datasource on a policy relabelled from another instance,
            where the same code names another employee; read an employee by code
            only in this datasource. Null when the read carries neither code.
          type:
            - string
            - 'null'
        policy_description:
          type:
            - string
            - 'null'
        policy_effective_date:
          format: date-time
          type:
            - string
            - 'null'
        policy_expiration_date:
          format: date-time
          type:
            - string
            - 'null'
        policy_id:
          type:
            - string
            - 'null'
        policy_issued_state:
          type:
            - string
            - 'null'
        policy_line_of_business:
          type:
            - string
            - 'null'
        policy_number:
          type:
            - string
            - 'null'
        policy_record_status:
          type:
            - string
            - 'null'
        policy_status:
          type:
            - string
            - 'null'
        policy_sub_type:
          type:
            - string
            - 'null'
        policy_type:
          type:
            - string
            - 'null'
        policy_type_of_business:
          type:
            - string
            - 'null'
        premium_2025_up_for_renewal_after_2026:
          type:
            - string
            - 'null'
        premium_quality:
          description: >-
            Whether full_term_premium_effective prices the term. priced: it
            does. not_a_premium: it was recovered from the policy's own
            transactions (full_term_premium_basis transaction_annualized or
            transaction_full_term) and either the line resolves into the
            benefits world or the figure is under 100 dollars a year in absolute
            value; the figure still serves, and a premium total leaves it out.
            absent: the term carries no figure (full_term_premium_effective
            null, empty, an exact zero or not a number).
          enum:
            - priced
            - not_a_premium
            - absent
          type: string
        premium_quality_reason:
          description: >-
            Why premium_quality is not_a_premium. benefits_line: the line
            resolves into the benefits world (this wins when the figure is also
            under the floor). under_floor: the figure is under 100 dollars a
            year in absolute value on any other line. Null when premium_quality
            is priced or absent.
          enum:
            - benefits_line
            - under_floor
          type:
            - string
            - 'null'
        prior_policy_id:
          type:
            - string
            - 'null'
        prior_policy_link_source:
          type:
            - string
            - 'null'
        product:
          $ref: '#/components/schemas/BookProduct'
        product_grain:
          description: The level the reference names; a book row always names a product.
          enum:
            - product
            - type
          type: string
        product_id:
          description: >-
            The org's product id (the source's PRODUCT_ID); null when the source
            names no product, with product_unmatched_reason saying why.
          type:
            - string
            - 'null'
        product_name:
          description: The product's name in the source; null when product_id is null.
          type:
            - string
            - 'null'
        product_source_text:
          description: >-
            The source's own wording for the row's line, or the product name
            where the row carries no line text.
          type: string
        product_unmatched_reason:
          description: >-
            source_has_no_product (the source mapped the row to its unknown
            member) or source_product_missing (the row's product key finds no
            product); null when product_id is set.
          type:
            - string
            - 'null'
        program:
          description: The coverage program this policy belongs to, including ended terms.
          type: string
        program_rank:
          description: The program's display order; lower ranks appear first.
          format: int64
          type: integer
        raw_producer_display_name:
          description: >-
            raw_producer_name as a producer reads it: AMS 360's Last, First in
            reading order without the dates, phone numbers, extensions or splits
            the agency typed into it (bookdisplay.AMSPersonName). Filters and
            sorts read the served name.
          type:
            - string
            - 'null'
        raw_producer_name:
          description: >-
            The producer the AMS 360 policy record names
            (DIM_POLICY.RAW_PRODUCER_NAME), the value the policy detail serves
            on source_record.raw_producer_name. It can differ from
            account_executive_name and has no code; the producer filter and
            facet read the account executive. Null when the record names none.
          type:
            - string
            - 'null'
        register_status:
          description: >-
            Policy register status at the served as-of day: cancelled when the
            term's last cancellation or reinstatement transaction is a
            cancellation, ended when it is no longer in force, active otherwise.
          enum:
            - active
            - ended
            - cancelled
          type: string
        renewal:
          $ref: '#/components/schemas/PolicyRenewal'
          description: 'view=renewal: the renewal register''s row.'
        renewal_report_flag:
          type:
            - string
            - 'null'
        revenue:
          type:
            - string
            - 'null'
        revenue_2025_up_for_renewal_after_2026:
          type:
            - string
            - 'null'
        revenue_unread:
          description: >-
            True when the account detail did not read this term's revenue: the
            term expires outside the renewal window (from 2 days before the pin
            to 402 days after). revenue is then null because it was not read,
            not because the term has none. Absent or false where revenue was
            read.
          type: boolean
        root_policy_id:
          type:
            - string
            - 'null'
        root_policy_level_num:
          type:
            - string
            - 'null'
        source_datasource:
          description: The source instance the row was read from.
          type: string
        source_record:
          $ref: '#/components/schemas/BookPolicySourceRecord'
        standard_policy_number:
          type:
            - string
            - 'null'
        transactions:
          $ref: '#/components/schemas/BookPolicyTransactionsRollup'
          description: >-
            The policy's transaction rollup where the read sums one (a seat
            bound to AMS 360); null on a warehouse read, which reads no
            transaction here: the transactions are GET
            /records/policies/{id}/transactions.
        world:
          description: commercial, personal, benefits, life or other.
          type: string
        writing_company:
          type:
            - string
            - 'null'
        writing_company_naic:
          description: >-
            The five-digit NAIC company number of the writing company; null when
            the warehouse holds none.
          type:
            - string
            - 'null'
      required:
        - transactions
        - carrier
        - product
        - source_record
        - carrier_market_entity_key
        - id
        - account_id
        - policy_number
        - policy_line_of_business
        - account_executive_name
        - account_representative_code
        - account_representative_name
        - policy_effective_date
        - policy_expiration_date
        - carrier_attribution
        - in_force_at_pin
        - cancelled_at_pin
        - full_term_premium_effective
        - coverage_line
        - line_kind
        - coverage_world
        - program
        - program_rank
        - expiry_urgency
      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
    PolicyAccountDecisions:
      additionalProperties: false
      properties:
        pursuit_urgent:
          type: boolean
        renewal_support:
          $ref: '#/components/schemas/RenewalTermSupport'
        scan_order:
          format: int64
          type: integer
        urgency_rank:
          format: int64
          type: integer
      required:
        - scan_order
        - urgency_rank
        - pursuit_urgent
        - renewal_support
      type: object
    PolicyCancellation:
      additionalProperties: false
      properties:
        account_name:
          type:
            - string
            - 'null'
        ams360_datasource:
          type: string
        cancel_reason:
          description: >-
            Why the policy cancelled, in plain words: the label AMS 360's reason
            dictionary gives the cancellation's reason code (with the typed note
            when the code is Other), or the typed note when no code was set;
            null when AMS 360 recorded no reason.
          type:
            - string
            - 'null'
        cancel_reason_code:
          description: >-
            The cancellation's AMS 360 reason code (REASONPOLT), or null when
            none was set.
          type:
            - string
            - 'null'
        cancelled_on:
          description: >-
            The newest cancellation AMS 360 recorded on the term effective
            inside the range (YYYY-MM-DD).
          type: string
        customer_id:
          type: string
        office_code:
          description: The policy's office (agency code).
          type:
            - string
            - 'null'
        office_label:
          description: The office's name and place as the org units list it.
          type:
            - string
            - 'null'
        policy_id:
          type: string
        reinstated_by_download:
          description: True when a carrier download posted that reinstatement.
          type: boolean
        reinstated_on:
          description: >-
            The effective date of the reinstatement AMS 360 entered last on the
            policy, after every cancellation on it, or null when the policy is
            not reinstated.
          type:
            - string
            - 'null'
        state:
          anyOf:
            - $ref: '#/components/schemas/MachineState'
              description: >-
                Where the policy's cancellation stands, as the org's
                policy_cancellation machine declares it: the value its last
                cancellation and reason stand at (reinstated when a
                reinstatement followed), with the label, settled flag, tone and
                next step. Null when the org declares no policy_cancellation
                machine or no value names the transaction.
            - type: 'null'
        world:
          enum:
            - commercial
            - personal
            - benefits
            - life
            - other
          type: string
      required:
        - ams360_datasource
        - policy_id
        - customer_id
        - account_name
        - world
        - office_code
        - office_label
        - cancelled_on
        - cancel_reason
        - cancel_reason_code
        - reinstated_on
        - reinstated_by_download
        - state
      type: object
    BookCompany:
      additionalProperties: false
      properties:
        am_best_business_type:
          type:
            - string
            - 'null'
        am_best_company_number:
          type:
            - string
            - 'null'
        am_best_financial_size_category:
          type:
            - string
            - 'null'
        am_best_rating:
          type:
            - string
            - 'null'
        am_best_rating_effective_date:
          type:
            - string
            - 'null'
        company_finance_name:
          type:
            - string
            - 'null'
        company_id:
          type:
            - string
            - 'null'
        company_name:
          type:
            - string
            - 'null'
        company_operating_name:
          type:
            - string
            - 'null'
        company_type:
          type:
            - string
            - 'null'
        dim_company_sk:
          type: string
        distribution_channel:
          type:
            - string
            - 'null'
        naic_company_number:
          type:
            - string
            - 'null'
        parent_company_name:
          type:
            - string
            - 'null'
        raw_company_id:
          type:
            - string
            - 'null'
        raw_company_name:
          type:
            - string
            - 'null'
        ultimate_parent_company_name:
          type:
            - string
            - 'null'
      required:
        - dim_company_sk
        - raw_company_id
        - company_id
        - naic_company_number
        - company_name
        - raw_company_name
        - parent_company_name
        - ultimate_parent_company_name
        - company_operating_name
        - company_finance_name
        - company_type
        - distribution_channel
        - am_best_company_number
        - am_best_rating
        - am_best_rating_effective_date
        - am_best_financial_size_category
        - am_best_business_type
      type: object
    PolicyCertificatesDue:
      additionalProperties: false
      properties:
        account_name:
          type:
            - string
            - 'null'
        ams360_datasource:
          type: string
        certificates:
          description: Distinct live AMS 360 certificates that name the policy; at least 1.
          format: int64
          type: integer
        customer_id:
          type: string
        days_to_expiration:
          format: int64
          type: integer
        expiration_date:
          type: string
        policy_id:
          type: string
        urgency:
          enum:
            - warning
            - info
          type: string
        world:
          enum:
            - commercial
            - personal
            - benefits
            - life
            - other
          type: string
      required:
        - urgency
        - ams360_datasource
        - policy_id
        - customer_id
        - account_name
        - world
        - expiration_date
        - days_to_expiration
        - certificates
      type: object
    PolicyCoverageLine:
      additionalProperties: false
      properties:
        id:
          description: >-
            The canonical line's id, for example general_liability or
            personal_umbrella; an unrecognized line is x_&lt;world&gt;_&lt;its
            normalized text&gt;.
          type: string
        label:
          description: >-
            The canonical line's label, for example General Liability; an
            unrecognized line's own trimmed text.
          type: string
      required:
        - id
        - label
      type: object
    BookProduct:
      additionalProperties: false
      properties:
        dim_product_sk:
          type: string
        line_of_business:
          type:
            - string
            - 'null'
        product_category:
          type:
            - string
            - 'null'
        product_id:
          type:
            - string
            - 'null'
        product_name:
          type:
            - string
            - 'null'
        product_operating_name:
          type:
            - string
            - 'null'
        product_type:
          type:
            - string
            - 'null'
        product_unmatched_reason:
          type:
            - string
            - 'null'
      required:
        - dim_product_sk
        - product_id
        - product_unmatched_reason
        - product_name
        - product_operating_name
        - product_type
        - product_category
        - line_of_business
      type: object
    PolicyRenewal:
      additionalProperties: false
      properties:
        account_executive_code:
          type:
            - string
            - 'null'
        account_executive_display_name:
          description: >-
            account_executive_name as a producer reads it: AMS 360's Last, First
            in reading order without the dates, phone numbers, extensions or
            splits the agency typed into it (bookdisplay.AMSPersonName). Filters
            and sorts read the served name.
          type:
            - string
            - 'null'
        account_executive_name:
          type:
            - string
            - 'null'
        account_name:
          type:
            - string
            - 'null'
        account_representative_code:
          type:
            - string
            - 'null'
        account_representative_display_name:
          description: >-
            account_representative_name as a producer reads it: AMS 360's Last,
            First in reading order without the dates, phone numbers, extensions
            or splits the agency typed into it (bookdisplay.AMSPersonName).
            Filters and sorts read the served name.
          type:
            - string
            - 'null'
        account_representative_name:
          type:
            - string
            - 'null'
        already_renewed:
          type: boolean
        ams360_datasource:
          type: string
        available_decisions:
          description: >-
            The strategy decisions renewal.strategy_record accepts from this
            term's stage and AMS 360 standing, with whether each needs the
            producer's reason. Empty when none is open to the producer. Null
            when not read: the stage or standing was unread, the renewal step
            read failed, or the key holds no actions:read.
          items:
            $ref: '#/components/schemas/BookRenewalDecision'
          type:
            - array
            - 'null'
        bill_method:
          description: >-
            The policy's AMS 360 bill method: Direct, Agency or Unknown. Only an
            agency-bill renewal has a payment for the agency to collect.
          type:
            - string
            - 'null'
        board_filings:
          description: >-
            How many of the policy's live certificates are filed with Oregon's
            Construction Contractors Board: the client is a contractor whose
            license needs this policy on file at the board.
          format: int64
          type: integer
        carrier:
          type:
            - string
            - 'null'
        certificates:
          format: int64
          type: integer
        commission:
          type:
            - string
            - 'null'
        contractor_board_reminder_on:
          description: >-
            The day the contractor board filing is due a reminder (90, 60, 30 or
            15 days before expiration), when the policy has board_filings and
            that day is within the next 7 days, today included; null otherwise.
          format: date
          type:
            - string
            - 'null'
        customer_id:
          type: string
        days_to_expiration:
          format: int64
          type: integer
        desk_assigned_to:
          type:
            - string
            - 'null'
        desk_assigned_to_name:
          type:
            - string
            - 'null'
        desk_complete:
          type: boolean
        desk_list_description:
          type:
            - string
            - 'null'
        desk_list_id:
          type:
            - string
            - 'null'
        desk_not_renewable:
          type: boolean
        desk_stage:
          type:
            - string
            - 'null'
        desk_stage_label:
          description: >-
            The renewal desk's stage as the agency wrote it on the renewal list
            row (AMS 360 STAGE), trimmed; null when the row has no stage. It is
            desk_stage read for display, never a recomputed or mapped stage.
          type:
            - string
            - 'null'
        desk_state:
          type: string
        display:
          anyOf:
            - $ref: '#/components/schemas/PolicyRenewalDisplay'
              description: >-
                Renewal presentation decisions. Null when the standing was not
                read; clients do not reconstruct them from state words.
            - type: 'null'
        effective_date:
          type:
            - string
            - 'null'
        expected_revenue:
          type:
            - string
            - 'null'
        expiration_date:
          type: string
        flags:
          items:
            $ref: '#/components/schemas/BookRetentionFlag'
          type:
            - array
            - 'null'
        focus:
          type: boolean
        hold_path:
          anyOf:
            - $ref: '#/components/schemas/BookRenewalHoldPath'
              description: >-
                Where the renewal stands on the hold path, read from the one
                recorded stage: whether it is on the path, the stage, and the
                steps done through it. Null when not read: the renewal step read
                failed, or the key holds no actions:read.
            - type: 'null'
        last_action_at:
          format: date-time
          type:
            - string
            - 'null'
        line:
          type:
            - string
            - 'null'
        lost_reason:
          description: >-
            A Lost mark's reason code, one of the org's lost reasons (GET
            /records/machines/renewal_outcome); empty on every other mark and on
            a Lost mark recorded with a note only.
          type: string
        lost_reason_label:
          description: >-
            The lost reason's words as the org declares them; empty when the
            mark carries no reason.
          type: string
        marked_at:
          format: date-time
          type:
            - string
            - 'null'
        marked_by:
          type: string
        marked_this_cycle:
          description: >-
            Whether this account-period has a mark younger than 14 producer
            calendar days. Null when marks or the account-period identity are
            unread; an undated mark counts as marked.
          type:
            - boolean
            - 'null'
        nature_basis:
          type: string
        next_status_key:
          type: string
        next_step_args:
          anyOf:
            - $ref: '#/components/schemas/RenewalActionArgs'
              description: >-
                The selected next step's arguments, set for annual_check_in
                only. Null for every other key and when no next step is served;
                an unread next step is named in unreachable.
            - type: 'null'
        next_step_due:
          description: >-
            Due date of the selected next step. Null when no deadline is stated;
            an unread deadline is named in unreachable.
          type:
            - string
            - 'null'
        next_step_key:
          description: >-
            The renewal's one next step: the plan workspace's (its checklist
            item id, or record_the_outcome once the term expired with no settled
            outcome) for a term with a plan row the caller may read; for any
            other term, the renewal register's next action key from its AMS 360
            activity and Workbench stage record. Empty when next_status_key is
            set or no step is served.
          type: string
        next_step_label:
          description: >-
            The next step's words: the plan workspace's item, or the org's
            renewal_stage machine's words for a register key. Clients show it as
            served; empty when no next action is served; unread steps are named
            in unreachable.
          type: string
        note:
          type: string
        outcome:
          anyOf:
            - $ref: '#/components/schemas/MachineState'
              description: >-
                The renewal_outcome value with its label, tone and settled flag
                from the org's declared machine; null when the org declares no
                renewal_outcome machine, or when the standing was not read,
                which unreachable names.
            - type: 'null'
        outlook:
          type: string
        placement_scope:
          $ref: '#/components/schemas/PlacementScope'
          description: >-
            What a placement of this renewal carries: every term on the account
            that expires on this term's day, this term first, as the lines the
            commercial placement engine places and the terms it cannot with
            their reason. Basis says which terms it was read over.
        placement_scope_unavailable:
          description: >-
            Why this row has no placement scope: terms_unavailable, the same-day
            terms were not read; cancellation_unavailable, a same-day term's
            cancellation is unknown on this build; content_lag, the build is
            behind its source, so a term cancelled or added since would be
            missing; renewing_term_cancelled, this row's own term is cancelled
            at the serving pin. The admitted renewal remains readable; no
            placement may infer a scope from this row alone.
          enum:
            - terms_unavailable
            - cancellation_unavailable
            - content_lag
            - renewing_term_cancelled
          type: string
        policy_current_status:
          type:
            - string
            - 'null'
        policy_id:
          type: string
        policy_number:
          type:
            - string
            - 'null'
        policy_prior_policy_id:
          type:
            - string
            - 'null'
        premium:
          type:
            - string
            - 'null'
        premium_basis:
          type:
            - string
            - 'null'
        renewal_closed_by_name:
          description: >-
            The named person who keyed or worked a completed live successor.
            Null on due work, loss, cancellation, untouched offers and unnamed
            or system actors.
          type:
            - string
            - 'null'
        renewal_closed_on:
          description: >-
            The day the renewal was closed by that review. Set on the same rows
            as renewal_closed_by_name.
          format: date
          type:
            - string
            - 'null'
        renewal_flag:
          description: >-
            The AMS 360 renewal report flag word the state read, lower case, for
            audit.
          type:
            - string
            - 'null'
        renewal_nature:
          enum:
            - renews
            - one_time
            - multi_year
            - bond_continuous
            - bond_term
            - non_renewed
          type: string
        renewal_open:
          description: Whether the row is open work. Read this, never the state word.
          type: boolean
        renewal_state:
          description: >-
            Where the expiring term stands, read from AMS 360 and the Workbench
            remarketing mark: a renewal_outcome value (GET
            /records/machines/renewal_outcome). renewal_open says whether it is
            open work.
          enum:
            - open
            - information
            - remarketing
            - quoted
            - proposal_out
            - bind_requested
            - offer_in
            - renewed
            - overdue
            - renewed_then_cancelled
            - rewritten
            - lost
            - cancelled
            - non_renewed
            - confirm
          type: string
        renewal_state_reason:
          description: >-
            The sentence beside a state that is not plain open work; null on an
            open row.
          type:
            - string
            - 'null'
        renewed_id:
          description: >-
            The renewal term's policy id (its instance key), when AMS 360
            already renewed the policy; the id the renewal steps rollup takes
            for it.
          type:
            - string
            - 'null'
        renewed_policy_id:
          type:
            - string
            - 'null'
        revenue:
          type:
            - string
            - 'null'
        risk:
          type: string
        risk_reason:
          type: string
        stage:
          description: >-
            The renewal stage on record: a renewal_stage value (GET
            /records/machines/renewal_stage); not_started when nothing is
            recorded. It is not the stage the renewal page shows:
            workspace_stage is.
          enum:
            - not_started
            - reviewing
            - hold
            - remarketing
            - renewing_as_is
            - quoted
            - proposal_out
            - bind_requested
            - bound
            - non_renewed
            - lost
            - closed
          type: string
        stage_state:
          anyOf:
            - $ref: '#/components/schemas/MachineState'
              description: >-
                The renewal_stage value on record with its label, step, settled
                flag, tone and next step from the org's declared machine; null
                when the org declares no renewal_stage machine, or when the
                stage was not read: a key without actions:read is refused the
                action ledger, which unreachable names.
            - type: 'null'
        standing_key:
          description: >-
            Records-selected headline discriminator. Clients own labels and
            sentence formatting; absent with unreachable when standing facts are
            unread.
          type: string
        state_source:
          description: >-
            Always events: the renewal state has one derivation, from raw AMS
            360 events. Deprecated; removed in a later release once no client
            reads it.
          enum:
            - events
          type: string
        status_band:
          type:
            - string
            - 'null'
        status_cancellation_on:
          type:
            - string
            - 'null'
        status_reason:
          type:
            - string
            - 'null'
        status_state:
          anyOf:
            - $ref: '#/components/schemas/MachineState'
              description: >-
                The renewal_outcome confirm value when AMS 360 disagrees with
                itself about whether the term is in force, with the words for
                why; null otherwise, and when the standing was not read, which
                unreachable names. The outcome stays beside it.
            - type: 'null'
        steps:
          $ref: '#/components/schemas/BookRenewalStepsRow'
        strategy_note:
          type:
            - string
            - 'null'
        successor_carrier:
          description: The next term's carrier.
          type:
            - string
            - 'null'
        successor_creator:
          description: >-
            Who created the next term AMS 360 holds for this renewal: download
            (the carrier's overnight feed) or person. Null when no next term is
            on file.
          enum:
            - download
            - person
          type:
            - string
            - 'null'
        successor_creator_name:
          description: The person who keyed the next term, when a person did.
          type:
            - string
            - 'null'
        successor_effective_on:
          description: The day the next term starts.
          format: date
          type:
            - string
            - 'null'
        successor_entered_on:
          description: The day the next term was entered in AMS 360.
          format: date
          type:
            - string
            - 'null'
        successor_person_touch:
          description: >-
            Whether a person has worked the next term since it was entered: a
            person-authored transaction, a suspense or a Renewal activity on it.
          type: boolean
        successor_premium:
          description: >-
            The next term's full term premium as AMS 360 holds it; null when it
            carries none.
          type:
            - string
            - 'null'
        term_end:
          format: date
          type:
            - string
            - 'null'
        term_years:
          format: int64
          maximum: 5
          minimum: 2
          type:
            - integer
            - 'null'
        today_flagged:
          description: The open renewal needs attention in the Today work view.
          type: boolean
        workflow_recorded:
          type: boolean
        workspace_stage:
          anyOf:
            - $ref: '#/components/schemas/PolicyRenewalStage'
              description: >-
                The stage the renewal is at, the one its renewal page shows as
                current: the plan workspace's stage id and words, from the AMS
                360 outcome, the recorded moves and the checklist. Read this,
                never stage, to say what stage a renewal is at. Null when the
                term has no plan row, is settled or has no current stage; a
                stage that could not be read (no live term state, too many
                recorded moves, a failed read or access refused) is null and
                named in unreachable. Never fall back to stage.
            - type: 'null'
        world:
          type: string
      required:
        - today_flagged
        - display
        - next_step_due
        - next_step_args
        - steps
        - renewal_nature
        - nature_basis
        - term_end
        - term_years
        - ams360_datasource
        - policy_id
        - customer_id
        - policy_number
        - account_name
        - line
        - world
        - carrier
        - premium
        - premium_basis
        - commission
        - revenue
        - focus
        - effective_date
        - expiration_date
        - days_to_expiration
        - workspace_stage
        - stage
        - workflow_recorded
        - strategy_note
        - risk
        - risk_reason
        - already_renewed
        - renewed_policy_id
        - renewed_id
        - desk_state
        - desk_stage
        - desk_stage_label
        - desk_assigned_to
        - desk_assigned_to_name
        - desk_complete
        - desk_not_renewable
        - desk_list_id
        - desk_list_description
        - policy_prior_policy_id
        - policy_current_status
        - account_executive_code
        - account_executive_name
        - account_representative_code
        - account_representative_name
        - bill_method
        - renewal_state
        - outcome
        - status_state
        - stage_state
        - renewal_state_reason
        - renewal_open
        - state_source
        - renewal_flag
        - successor_creator
        - successor_creator_name
        - successor_premium
        - successor_carrier
        - successor_effective_on
        - successor_entered_on
        - successor_person_touch
        - renewal_closed_by_name
        - renewal_closed_on
        - status_band
        - status_reason
        - status_cancellation_on
        - certificates
        - board_filings
        - contractor_board_reminder_on
        - outlook
        - lost_reason
        - lost_reason_label
        - note
        - expected_revenue
        - marked_by
        - marked_at
        - marked_this_cycle
        - last_action_at
        - flags
        - available_decisions
        - hold_path
        - placement_scope
      type: object
    BookPolicySourceRecord:
      additionalProperties: false
      properties:
        agency_id:
          type:
            - string
            - 'null'
        billing_account_number:
          type:
            - string
            - 'null'
        derived_policy_id:
          type:
            - string
            - 'null'
        dim_agency_sk:
          type:
            - string
            - 'null'
        dim_product_sk:
          type:
            - string
            - 'null'
        dw_inserted_at:
          format: date-time
          type:
            - string
            - 'null'
        dw_updated_at:
          format: date-time
          type:
            - string
            - 'null'
        effective_next_policy_id:
          items:
            type: string
          type:
            - array
            - 'null'
        effective_prior_policy_id:
          type:
            - string
            - 'null'
        header:
          $ref: '#/components/schemas/BookPolicyHeader'
        negotiated_commission_valid_date:
          format: date-time
          type:
            - string
            - 'null'
        original_ams360_datasource:
          type:
            - string
            - 'null'
        prior_policy_id:
          type:
            - string
            - 'null'
        prior_policy_link_source:
          type:
            - string
            - 'null'
        raw_policy_number:
          type:
            - string
            - 'null'
        raw_producer_display_name:
          type:
            - string
            - 'null'
        raw_producer_name:
          type:
            - string
            - 'null'
        raw_product_id:
          type:
            - string
            - 'null'
        root_policy_level_num:
          type:
            - string
            - 'null'
        short_policy_number:
          type:
            - string
            - 'null'
        source_policy_id:
          type:
            - string
            - 'null'
        standard_product_id:
          type:
            - string
            - 'null'
        subscription_company:
          type:
            - string
            - 'null'
      required:
        - header
        - source_policy_id
        - prior_policy_id
        - effective_prior_policy_id
        - effective_next_policy_id
        - prior_policy_link_source
        - root_policy_level_num
        - raw_policy_number
        - short_policy_number
        - original_ams360_datasource
        - dim_product_sk
        - raw_product_id
        - standard_product_id
        - dim_agency_sk
        - agency_id
        - billing_account_number
        - subscription_company
        - raw_producer_name
        - negotiated_commission_valid_date
        - derived_policy_id
        - dw_inserted_at
        - dw_updated_at
      type: object
    BookPolicyTransactionsRollup:
      additionalProperties: false
      properties:
        billed_commission_total:
          type:
            - string
            - 'null'
        billed_premium_total:
          type:
            - string
            - 'null'
        estimated_revenue_total:
          type:
            - string
            - 'null'
        first_effective_date:
          format: date-time
          type:
            - string
            - 'null'
        last_effective_date:
          format: date-time
          type:
            - string
            - 'null'
        premium_total:
          type:
            - string
            - 'null'
        transaction_count:
          format: int64
          type: integer
        written_premium_total:
          type:
            - string
            - 'null'
      required:
        - transaction_count
        - premium_total
        - billed_premium_total
        - written_premium_total
        - estimated_revenue_total
        - billed_commission_total
        - first_effective_date
        - last_effective_date
      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
    RenewalTermSupport:
      additionalProperties: false
      properties:
        attached_placement_id:
          type:
            - string
            - 'null'
        placement_attach_allowed:
          type: boolean
        successor_id:
          type:
            - string
            - 'null'
      required:
        - successor_id
        - placement_attach_allowed
        - attached_placement_id
      type: object
    MachineState:
      additionalProperties: false
      properties:
        label:
          description: >-
            The words a person sees for the value; null when the machine labels
            none.
          type:
            - string
            - 'null'
        machine:
          description: The machine's state field (GET /records/machines/{field}).
          type: string
        next:
          anyOf:
            - $ref: '#/components/schemas/MachineNextStep'
              description: The next step served for the value; null when it has none.
            - type: 'null'
        settled:
          description: True when the value ends the work.
          type: boolean
        step:
          description: The workflow step the value sits in; null when it sits in none.
          type:
            - string
            - 'null'
        tone:
          description: The tone the value is shown with; null when the machine gives none.
          enum:
            - neutral
            - positive
            - warning
            - danger
            - null
          type:
            - string
            - 'null'
        value:
          type: string
      required:
        - machine
        - value
        - label
        - step
        - settled
        - tone
        - next
      type: object
    BookRenewalDecision:
      additionalProperties: false
      properties:
        decision:
          enum:
            - start_review
            - hold
            - remarket
          type: string
        reason_required:
          description: >-
            Whether renewal.strategy_record refuses the decision without the
            producer's reason when the renewal plan suggests another approach or
            none.
          type: boolean
        stage:
          description: The stage the decision records.
          type: string
      required:
        - decision
        - stage
        - reason_required
      type: object
    PolicyRenewalDisplay:
      additionalProperties: false
      properties:
        next_term_on_file:
          description: >-
            Open, with a next term on file: an offer in, or a term a person
            keyed.
          type: boolean
        offer_detail:
          description: The carrier's offer is in and no person has worked it.
          type: boolean
        renewed:
          description: Finished, and the term renewed or was rewritten.
          type: boolean
        summary_uses_sentence:
          description: >-
            The summary line reads renewal_state_reason rather than the outcome
            label.
          type: boolean
        urgency_flag:
          type: boolean
      required:
        - renewed
        - next_term_on_file
        - offer_detail
        - summary_uses_sentence
        - urgency_flag
      type: object
    BookRetentionFlag:
      additionalProperties: false
      properties:
        code:
          type: string
        sentence:
          type: string
      required:
        - code
        - sentence
      type: object
    BookRenewalHoldPath:
      additionalProperties: false
      properties:
        done:
          items:
            enum:
              - terms_received
              - proposal_sent
              - bind_requested
              - carrier_confirmed
            type: string
          type:
            - array
            - 'null'
        on_hold:
          description: >-
            True when the recorded stage keeps the incumbent (hold or
            renewing_as_is) or is a hold-path step.
          type: boolean
        stage:
          description: >-
            The recorded stage the path stands at; null when the renewal is not
            on the hold path.
          type:
            - string
            - 'null'
      required:
        - on_hold
        - stage
        - done
      type: object
    RenewalActionArgs:
      additionalProperties: false
      properties:
        renewal_certificate:
          description: >-
            annual_check_in only: the line is a bond, surety, dealer or garage
            line, so the check-in also asks for what the renewal certificate
            needs. False on a row that serves no line.
          type: boolean
      required:
        - renewal_certificate
      type: object
    PlacementScope:
      additionalProperties: false
      properties:
        as_of:
          description: The serving pin's day the terms were read at.
          format: date
          type: string
        basis:
          description: >-
            Which terms the scope was read over, less every term cancelled at
            the serving pin. same_day_terms: every term on the account the seat
            can read that expires on the renewing term's day.
          enum:
            - same_day_terms
          type: string
        covered:
          description: The renewal's terms the placement carries, renewing term first.
          items:
            $ref: '#/components/schemas/RenewalScopeTerm'
          type:
            - array
            - 'null'
        excluded:
          description: >-
            The renewal's terms the placement does not carry, each with its
            reason.
          items:
            $ref: '#/components/schemas/RenewalScopeExcluded'
          type:
            - array
            - 'null'
        expiration_date:
          description: 'The renewal''s day: the renewing term''s expiration.'
          format: date
          type: string
        lines:
          description: >-
            The canonical line codes a placement of this renewal carries, in
            term order, each once: the renewing term's first, then the other
            terms expiring the same day.
          items:
            type: string
          type:
            - array
            - 'null'
        renewing_policy_id:
          description: 'The renewing term''s policy id (its instance key): this row''s term.'
          type: string
      required:
        - renewing_policy_id
        - expiration_date
        - lines
        - covered
        - excluded
        - basis
        - as_of
      type: object
    BookRenewalStepsRow:
      additionalProperties: false
      properties:
        ams:
          $ref: '#/components/schemas/BookRenewalAMSStep'
        auto_id_on:
          type:
            - string
            - 'null'
        certificate_on:
          type:
            - string
            - 'null'
        datasource:
          type: string
        open_step:
          $ref: '#/components/schemas/BookRenewalOpenStep'
        policy_id:
          type: string
        workbench:
          $ref: '#/components/schemas/BookRenewalWorkbenchStep'
      required:
        - datasource
        - policy_id
        - ams
        - open_step
        - auto_id_on
        - certificate_on
        - workbench
      type: object
    PolicyRenewalStage:
      additionalProperties: false
      properties:
        id:
          type: string
        label:
          type: string
      required:
        - id
        - label
      type: object
    BookPolicyHeader:
      additionalProperties: false
      properties:
        audit_flag:
          type:
            - string
            - 'null'
        audit_period:
          type:
            - string
            - 'null'
        billed_statement_premium:
          type:
            - string
            - 'null'
        carrier_status:
          type:
            - string
            - 'null'
        header_changed_date:
          format: date-time
          type:
            - string
            - 'null'
        installment_day:
          format: int64
          type:
            - integer
            - 'null'
        is_financed:
          type:
            - string
            - 'null'
        issued_state_as_recorded:
          type:
            - string
            - 'null'
        method_of_payments:
          type:
            - string
            - 'null'
        not_renewable:
          type:
            - string
            - 'null'
        number_of_payments:
          format: int64
          type:
            - integer
            - 'null'
        payment_plan_description:
          type:
            - string
            - 'null'
        payment_plan_id:
          type:
            - string
            - 'null'
        underwriter:
          type:
            - string
            - 'null'
      required:
        - audit_flag
        - audit_period
        - is_financed
        - number_of_payments
        - installment_day
        - payment_plan_id
        - payment_plan_description
        - method_of_payments
        - billed_statement_premium
        - underwriter
        - carrier_status
        - not_renewable
        - issued_state_as_recorded
        - header_changed_date
      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
    MachineNextStep:
      additionalProperties: false
      properties:
        key:
          description: The next step key.
          type: string
        label:
          description: The words a person sees for the step.
          type: string
        waiting_on:
          description: Who the work waits on at this step.
          type: string
      required:
        - key
      type: object
    RenewalScopeTerm:
      additionalProperties: false
      properties:
        carrier:
          type:
            - string
            - 'null'
        line:
          description: The term's line of business as AMS 360 holds it.
          type:
            - string
            - 'null'
        policy_id:
          description: The term's policy id (its instance key).
          type: string
        policy_number:
          type:
            - string
            - 'null'
      required:
        - policy_id
        - line
        - policy_number
        - carrier
      type: object
    RenewalScopeExcluded:
      additionalProperties: false
      properties:
        reason:
          description: >-
            Why the placement does not carry the term: line_not_placeable, the
            commercial placement engine places commercial lines and surety bonds
            only, so the term needs a separate placement.
          enum:
            - line_not_placeable
          type: string
        term:
          $ref: '#/components/schemas/RenewalScopeTerm'
      required:
        - term
        - reason
      type: object
    BookRenewalAMSStep:
      additionalProperties: false
      properties:
        action:
          type: string
        occurred_on:
          type: string
        scope:
          enum:
            - policy
            - account
          type: string
        source:
          enum:
            - activity
            - suspense
          type: string
        step:
          type: string
      required:
        - action
        - step
        - scope
        - source
        - occurred_on
      type: object
    BookRenewalOpenStep:
      additionalProperties: false
      properties:
        action:
          type: string
        assigned_to_name:
          type:
            - string
            - 'null'
        due_on:
          type:
            - string
            - 'null'
        step:
          type: string
      required:
        - action
        - step
        - due_on
        - assigned_to_name
      type: object
    BookRenewalWorkbenchStep:
      additionalProperties: false
      properties:
        at:
          format: date-time
          type:
            - string
            - 'null'
        reason:
          type:
            - string
            - 'null'
        stage:
          type: string
      required:
        - stage
        - reason
        - at
      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.