> ## 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 a submission

> One submission by ID. A Nexio workspace submission linked to an account also carries document_asks: the documents its account class asks for (required first), the account document that answers each (null when none does) and why.



## OpenAPI

````yaml /openapi.generated.json get /records/submissions/{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/submissions/{id}:
    get:
      tags:
        - submissions
      summary: Read a submission
      description: >-
        One submission by ID. A Nexio workspace submission linked to an account
        also carries document_asks: the documents its account class asks for
        (required first), the account document that answers each (null when none
        does) and why.
      operationId: getSubmission
      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 book to read, as tokens, repeatable: own (the acting seat's own
            codes), book:&lt;code&gt;, producer:&lt;me|code&gt;,
            client_manager:&lt;me|code&gt; (the two axes AND; repeats within one
            OR), member:&lt;member id&gt; (read as another member). Absent: the
            seat's can-open boundary. Frozen in the cursor.
          explode: true
          in: query
          name: subject
          schema:
            description: >-
              The book to read, as tokens, repeatable: own (the acting seat's
              own codes), book:&lt;code&gt;, producer:&lt;me|code&gt;,
              client_manager:&lt;me|code&gt; (the two axes AND; repeats within
              one OR), member:&lt;member id&gt; (read as another member).
              Absent: the seat's can-open boundary. Frozen in the cursor.
            items:
              type: string
            type:
              - array
              - 'null'
        - description: The record ID returned by this collection.
          in: path
          name: id
          required: true
          schema:
            description: The record ID returned by this collection.
            minLength: 1
            type: string
        - description: Optional authorized source connection for the record.
          explode: false
          in: query
          name: connection_id
          schema:
            description: Optional authorized source connection for the record.
            type: string
        - description: Disambiguates an ID shared by the two sources.
          explode: false
          in: query
          name: source
          schema:
            description: Disambiguates an ID shared by the two sources.
            enum:
              - ams
              - workspace
            type: string
        - description: >-
            Carry the submission packet. packet adds the application block, the
            required original forms, the requirements with met or unmet and the
            reason, and the applicant field bindings to a workspace submission,
            built from the account's facts under the caller's scope; a part the
            seat cannot read is named unreachable. An AMS approach carries none.
          explode: false
          in: query
          name: include
          schema:
            description: >-
              Carry the submission packet. packet adds the application block,
              the required original forms, the requirements with met or unmet
              and the reason, and the applicant field bindings to a workspace
              submission, built from the account's facts under the caller's
              scope; a part the seat cannot read is named unreachable. An AMS
              approach carries none.
            enum:
              - packet
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecordSubmission'
          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
        '409':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Conflict
        '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:
    RecordSubmission:
      additionalProperties: false
      properties:
        data:
          $ref: '#/components/schemas/Submission'
        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
    Submission:
      additionalProperties: false
      properties:
        account_id:
          type:
            - string
            - 'null'
        account_name:
          type:
            - string
            - 'null'
        ams360_datasource:
          type: string
        carrier_code:
          type: string
        carrier_name:
          type: string
        changed_date:
          format: date-time
          type: string
        client_name:
          type: string
        created_at:
          format: date-time
          type:
            - string
            - 'null'
        data: {}
        declined_at:
          format: date-time
          type: string
        document_asks:
          description: >-
            The Intake document asks: on GET /records/submissions/{id} for a
            workspace submission linked to an account; absent elsewhere.
          items:
            $ref: '#/components/schemas/DocumentAskJSON'
          type: array
        entered_date:
          format: date-time
          type: string
        group_date:
          format: date-time
          type: string
        group_number:
          type: string
        id:
          type: string
        latest_packet_version:
          description: >-
            The highest saved packet version number of a workspace submission;
            null for an AMS approach or a submission with no saved packet.
          format: int64
          type:
            - integer
            - 'null'
        org_id:
          description: >-
            The caller's own org id. Served only when the caller is the service
            key; absent for a seat.
          type: string
        packet:
          $ref: '#/components/schemas/Packet'
          description: >-
            With include=packet on GET /records/submissions/{id}: the submission
            packet (application block, required forms, requirements with
            met/unmet and reason, applicant field bindings). Absent otherwise
            and on an AMS approach.
        quoted_at:
          format: date-time
          type: string
        quotes:
          description: >-
            With include=quotes: the workspace submission's quotes (every
            status), in id order. Absent otherwise and on an AMS approach.
          items:
            $ref: '#/components/schemas/WorkspaceRecord'
          type: array
        shell_policy_id:
          type: string
        source:
          type: string
        state:
          anyOf:
            - $ref: '#/components/schemas/MachineState'
              description: >-
                A workspace submission's placement_status value with its label,
                settled flag, tone and next step from the org's declared
                machine; null on an AMS approach or when the org declares no
                placement_status machine.
            - type: 'null'
        status:
          type: string
        status_label:
          type: string
        status_provenance:
          type: string
        submission_group_id:
          type: string
        submission_id:
          type: string
        updated_at:
          format: date-time
          type:
            - string
            - 'null'
        user_id:
          type: string
      required:
        - source
        - created_at
        - updated_at
        - state
        - id
        - account_id
        - account_name
        - latest_packet_version
      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
    DocumentAskJSON:
      additionalProperties: false
      properties:
        document_id:
          type:
            - string
            - 'null'
        label:
          type: string
        reasons:
          items:
            $ref: '#/components/schemas/DocumentAskReason'
          type: array
        required:
          type: boolean
      required:
        - label
        - required
        - document_id
        - reasons
      type: object
    Packet:
      additionalProperties: false
      properties:
        applicant_bindings:
          items:
            $ref: '#/components/schemas/FieldBinding'
          type:
            - array
            - 'null'
        application:
          $ref: '#/components/schemas/Application'
        required_forms:
          items:
            $ref: '#/components/schemas/RequiredForm'
          type:
            - array
            - 'null'
        required_original_forms:
          items:
            type: string
          type:
            - array
            - 'null'
        requirements:
          items:
            $ref: '#/components/schemas/Requirement'
          type:
            - array
            - 'null'
      required:
        - application
        - required_original_forms
        - required_forms
        - requirements
        - applicant_bindings
      type: object
    WorkspaceRecord:
      additionalProperties: false
      properties:
        account_id:
          type: string
        created_at:
          format: date-time
          type: string
        data: {}
        id:
          type: string
        source:
          type: string
        status:
          type:
            - string
            - 'null'
        submission_id:
          type: string
        updated_at:
          format: date-time
          type: string
        user_id:
          type: string
      required:
        - id
        - source
        - status
        - data
        - created_at
        - updated_at
      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
    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
    DocumentAskReason:
      additionalProperties: false
      properties:
        code:
          enum:
            - named_on_file
            - none_on_file
            - taken_by_earlier_ask
            - no_identifying_word
          type: string
        text:
          type: string
      required:
        - code
        - text
      type: object
    FieldBinding:
      additionalProperties: false
      properties:
        checkbox_on_value:
          type: string
        equals:
          type: string
        equals_bool:
          type: boolean
        field:
          type: string
        format:
          type: string
        includes:
          type: string
        kind:
          type: string
        required:
          type: boolean
        source_path:
          type: string
      required:
        - field
        - kind
        - source_path
      type: object
    Application:
      additionalProperties: false
      properties:
        business_type:
          type:
            - string
            - 'null'
        contact:
          $ref: '#/components/schemas/ApplicationContact'
        loss_history:
          $ref: '#/components/schemas/LossHistory'
        premises:
          items:
            $ref: '#/components/schemas/Premises'
          type:
            - array
            - 'null'
        premium_summary:
          $ref: '#/components/schemas/PremiumSummary'
        prior_carriers:
          items:
            $ref: '#/components/schemas/PriorCarrier'
          type:
            - array
            - 'null'
        producer_of_record:
          type:
            - string
            - 'null'
        year_established:
          format: int64
          type:
            - integer
            - 'null'
      required:
        - producer_of_record
        - contact
        - premises
        - prior_carriers
        - premium_summary
        - loss_history
        - business_type
        - year_established
      type: object
    RequiredForm:
      additionalProperties: false
      properties:
        document_id:
          type: string
        form_completion:
          $ref: '#/components/schemas/FormCompletion'
        id:
          type: string
        kind:
          type: string
        label:
          type: string
        line:
          type: string
        market_entity_key:
          type: string
        market_key:
          type: string
        packet_target_id:
          type: string
        state:
          type: string
        status:
          type: string
        template:
          $ref: '#/components/schemas/Template'
      required:
        - id
        - kind
        - label
        - market_entity_key
        - line
        - status
        - template
      type: object
    Requirement:
      additionalProperties: false
      properties:
        close:
          $ref: '#/components/schemas/Close'
        form_completion:
          $ref: '#/components/schemas/FormCompletion'
        form_document_id:
          type: string
        form_state:
          type: string
        id:
          type: string
        kind:
          type: string
        label:
          type: string
        line:
          type: string
        market_key:
          type: string
        met:
          type: boolean
        reason:
          type: string
        rule_id:
          type: string
        satisfied_by:
          $ref: '#/components/schemas/SatisfiedBy'
        scope:
          type: string
        section:
          type: string
        status:
          type: string
        template:
          $ref: '#/components/schemas/Template'
      required:
        - id
        - rule_id
        - kind
        - label
        - scope
        - status
        - met
        - section
        - reason
      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
    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
    ApplicationContact:
      additionalProperties: false
      properties:
        email:
          type:
            - string
            - 'null'
        name:
          type: string
        phone:
          type:
            - string
            - 'null'
        title:
          type:
            - string
            - 'null'
      required:
        - name
        - title
        - email
        - phone
      type: object
    LossHistory:
      additionalProperties: false
      properties:
        note:
          type: string
        rows:
          items:
            $ref: '#/components/schemas/LossRow'
          type:
            - array
            - 'null'
      required:
        - rows
        - note
      type: object
    Premises:
      additionalProperties: false
      properties:
        city:
          type: string
        kind:
          type: string
        state:
          type: string
        street1:
          type: string
        street2:
          type:
            - string
            - 'null'
        zip:
          type: string
      required:
        - street1
        - street2
        - city
        - state
        - zip
        - kind
      type: object
    PremiumSummary:
      additionalProperties: false
      properties:
        counted_count:
          format: int64
          type: integer
        excluded_count:
          format: int64
          type: integer
        note:
          type:
            - string
            - 'null'
        rows:
          items:
            $ref: '#/components/schemas/PremiumRow'
          type:
            - array
            - 'null'
        total:
          format: double
          type: number
      required:
        - rows
        - total
        - counted_count
        - excluded_count
        - note
      type: object
    PriorCarrier:
      additionalProperties: false
      properties:
        carrier_name:
          type: string
        effective_date:
          type:
            - string
            - 'null'
        expiration_date:
          type:
            - string
            - 'null'
        line:
          type: string
        policy_number:
          type:
            - string
            - 'null'
        premium:
          format: double
          type:
            - number
            - 'null'
        premium_note:
          type:
            - string
            - 'null'
        status:
          type: string
      required:
        - line
        - carrier_name
        - policy_number
        - effective_date
        - expiration_date
        - premium
        - status
        - premium_note
      type: object
    FormCompletion:
      additionalProperties: false
      properties:
        edition:
          type: string
        facts_sha256:
          type: string
        field_map_revision:
          type: string
        form_number:
          type: string
        issues:
          items:
            type: string
          type:
            - array
            - 'null'
        output_sha256:
          type: string
        profile_id:
          type: string
        reviewed_at:
          type: string
        reviewed_by:
          type: string
        source_sha256:
          type: string
        state:
          type: string
        template_id:
          type: string
      required:
        - template_id
        - profile_id
        - form_number
        - edition
        - field_map_revision
        - source_sha256
        - output_sha256
        - facts_sha256
        - state
        - issues
      type: object
    Template:
      additionalProperties: false
      properties:
        applies_to:
          $ref: '#/components/schemas/AppliesTo'
        deleted:
          type: boolean
        document_id:
          type: string
        form_profile:
          $ref: '#/components/schemas/ProfileRef'
        id:
          type: string
        is_active:
          type: boolean
        kind:
          type: string
        line:
          type: string
        market_entity_key:
          type: string
        name:
          type: string
        state:
          type: string
        uploaded_at:
          type: string
        version:
          format: int64
          type: integer
      required:
        - id
        - market_entity_key
        - line
        - kind
        - applies_to
        - name
        - version
        - is_active
        - document_id
        - uploaded_at
      type: object
    Close:
      additionalProperties: false
      properties:
        attach:
          type: string
        href:
          type: string
        label:
          type: string
      required:
        - label
      type: object
    SatisfiedBy:
      additionalProperties: false
      properties:
        document_ids:
          items:
            type: string
          type:
            - array
            - 'null'
        source_path:
          type: string
        template_id:
          type: string
      type: object
    LossRow:
      additionalProperties: false
      properties:
        date:
          type:
            - string
            - 'null'
        description:
          type: string
        incurred:
          format: double
          type:
            - number
            - 'null'
        line:
          type:
            - string
            - 'null'
        status:
          type: string
      required:
        - date
        - line
        - description
        - incurred
        - status
      type: object
    PremiumRow:
      additionalProperties: false
      properties:
        amount:
          format: double
          type:
            - number
            - 'null'
        counted:
          type: boolean
        label:
          type: string
        note:
          type:
            - string
            - 'null'
        policy_id:
          type: string
      required:
        - policy_id
        - label
        - amount
        - counted
        - note
      type: object
    AppliesTo:
      additionalProperties: false
      properties:
        lines:
          items:
            type: string
          type:
            - array
            - 'null'
        naics_classes:
          items:
            type: string
          type:
            - array
            - 'null'
        states:
          items:
            type: string
          type:
            - array
            - 'null'
      type: object
    ProfileRef:
      additionalProperties: false
      properties:
        edition:
          type: string
        field_map_revision:
          type: string
        form_number:
          type: string
        id:
          type: string
        source_sha256:
          type: string
        standard:
          type: string
      required:
        - id
        - standard
        - form_number
        - edition
        - source_sha256
        - field_map_revision
      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.