> ## 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 the document library (parameters in the body)

> GET /documents/library with its query parameters in a JSON body, keyed by their query names, so free text never travels in a URL. A repeatable parameter takes an array. The answer is the GET's; a query string is refused.



## OpenAPI

````yaml /openapi.generated.json post /documents/library/search
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:
  /documents/library/search:
    post:
      tags:
        - Documents
      summary: Read the document library (parameters in the body)
      description: >-
        GET /documents/library with its query parameters in a JSON body, keyed
        by their query names, so free text never travels in a URL. A repeatable
        parameter takes an array. The answer is the GET's; a query string is
        refused.
      operationId: documentsLibrarySearch
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: false
              properties:
                cursor:
                  description: The page token from next.
                  type: string
                hide.group:
                  description: >-
                    Register view: library groups to leave out, comma separated,
                    by group id; none hides nothing. Absent reads the person's
                    saved view, else nothing hidden.
                  type: string
                limit:
                  description: Page size. Absent reads every template the filters keep.
                  format: int64
                  minimum: 1
                  type: integer
                q:
                  description: >-
                    Words each found in a template's group, name, full name,
                    code, format or purpose.
                  maxLength: 200
                  type: string
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentLibraryJSON'
          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
        '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
      security:
        - bearer: []
components:
  schemas:
    DocumentLibraryJSON:
      additionalProperties: false
      properties:
        data:
          $ref: '#/components/schemas/LibraryView'
        next:
          description: The page token of the following page; null at the end.
          type:
            - string
            - 'null'
        total:
          description: The templates the search and view filters keep.
          format: int64
          type: integer
        view:
          $ref: '#/components/schemas/View'
          description: >-
            The register view filters this read applied, each group's count
            under the search and how many templates they hide. Present on a read
            with no cursor.
      required:
        - data
        - total
        - next
      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
    LibraryView:
      additionalProperties: false
      properties:
        entries:
          items:
            $ref: '#/components/schemas/LibraryCard'
          type: array
        groups:
          items:
            $ref: '#/components/schemas/LibraryGroup'
          type: array
      required:
        - groups
        - entries
      type: object
    View:
      additionalProperties: false
      properties:
        columns:
          $ref: '#/components/schemas/Columns'
          description: >-
            Every column the seat may show, its role's default columns and the
            columns this person shows.
        filters:
          items:
            $ref: '#/components/schemas/Filter'
          type:
            - array
            - 'null'
        hidden:
          $ref: '#/components/schemas/Hidden'
      required:
        - filters
        - hidden
      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
    LibraryCard:
      additionalProperties: false
      properties:
        blankFormats:
          items:
            enum:
              - pdf
              - docx
              - xlsx
              - csv
              - pptx
            type: string
          type: array
        carrier:
          $ref: '#/components/schemas/LibraryCarrier'
        clientFills:
          items:
            type: string
          type: array
        code:
          type:
            - string
            - 'null'
        edition:
          description: >-
            ACORD only: the exact edition of the pinned original the form fills,
            for example 2016-03r2.
          type:
            - string
            - 'null'
        fields:
          items:
            $ref: '#/components/schemas/LibraryField'
          type: array
        format:
          enum:
            - Word
            - Excel
            - PDF
            - PowerPoint
          type: string
        fullName:
          type: string
        group:
          type: string
        hasBlank:
          type: boolean
        id:
          type: string
        isNew:
          type: boolean
        kind:
          enum:
            - definition
            - workbook
            - acord
            - carrier
          type: string
        layout:
          $ref: '#/components/schemas/DocumentLayout'
        name:
          type: string
        naturalWidth:
          enum:
            - 816
            - 1056
          format: int64
          type: integer
        original:
          anyOf:
            - $ref: '#/components/schemas/LibraryOriginal'
              description: >-
                ACORD only: the pinned original's identity, file size and the
                lines its application covers.
            - type: 'null'
        published:
          type: boolean
        purpose:
          type: string
        referenceUrl:
          description: >-
            ACORD only: the public reference the pinned edition's field map was
            verified against.
          type:
            - string
            - 'null'
        reviewNote:
          type:
            - string
            - 'null'
        sheet:
          type: boolean
        typeVersion:
          format: int64
          type:
            - integer
            - 'null'
        variants:
          $ref: '#/components/schemas/LibraryChoices'
      required:
        - id
        - name
        - fullName
        - group
        - kind
        - code
        - format
        - sheet
        - purpose
        - isNew
        - hasBlank
        - blankFormats
        - naturalWidth
        - variants
        - fields
        - clientFills
        - reviewNote
        - published
        - typeVersion
        - edition
        - referenceUrl
        - original
        - layout
      type: object
    LibraryGroup:
      additionalProperties: false
      properties:
        id:
          type: string
        title:
          type: string
      required:
        - id
        - title
      type: object
    Columns:
      additionalProperties: false
      properties:
        available:
          description: Every labeled field the register serves that this seat may read.
          items:
            $ref: '#/components/schemas/Column'
          type:
            - array
            - 'null'
        default:
          description: The columns the seat's role shows with nothing chosen, in order.
          items:
            type: string
          type:
            - array
            - 'null'
        shown:
          description: >-
            The columns this person shows, in order: their saved choice, else
            the default.
          items:
            type: string
          type:
            - array
            - 'null'
      required:
        - available
        - default
        - shown
      type: object
    Filter:
      additionalProperties: false
      properties:
        applied:
          description: The value this read used.
          oneOf:
            - items:
                type: string
              type: array
            - type: integer
            - type: boolean
            - type: string
        default:
          description: The value with nothing chosen.
          oneOf:
            - items:
                type: string
              type: array
            - type: integer
            - type: boolean
            - type: string
        key:
          type: string
        option_count:
          description: Values the filter holds.
          format: int64
          type: integer
        options:
          description: A multiselect's values with their counts, in the order they show.
          items:
            $ref: '#/components/schemas/Option'
          type:
            - array
            - 'null'
        truncated:
          description: More values than options; search with options_q.&lt;key&gt;.
          type: boolean
        type:
          enum:
            - multiselect
            - days
            - toggle
            - select
            - amount
          type: string
      required:
        - key
        - type
        - default
        - applied
      type: object
    Hidden:
      additionalProperties: false
      properties:
        by_filter:
          additionalProperties:
            format: int64
            type: integer
          description: >-
            Rows each filter removes from what every other filter keeps. These
            overlap and need not sum to total.
          type: object
        total:
          description: >-
            Rows the other filters keep minus the rows shown: turning every
            filter of this block off shows exactly this many more.
          format: int64
          type: integer
      required:
        - total
        - by_filter
      type: object
    LibraryCarrier:
      additionalProperties: false
      properties:
        carrierName:
          type: string
        documentId:
          type: string
        line:
          type: string
        marketEntityKey:
          type: string
        state:
          type:
            - string
            - 'null'
        version:
          format: int64
          type: integer
      required:
        - marketEntityKey
        - carrierName
        - line
        - state
        - version
        - documentId
      type: object
    LibraryField:
      additionalProperties: false
      properties:
        columns:
          items:
            $ref: '#/components/schemas/LibraryColumn'
          type:
            - array
            - 'null'
        enumValues:
          items:
            type: string
          type:
            - array
            - 'null'
        fixedValue:
          type: string
        hint:
          type: string
        id:
          type: string
        label:
          type: string
        required:
          type: boolean
        suppliedBy:
          enum:
            - account
            - producer
            - client
            - fixed
            - assistant
          type: string
        type:
          type: string
      required:
        - id
        - label
        - type
        - hint
        - suppliedBy
      type: object
    DocumentLayout:
      additionalProperties: false
      properties:
        canonical:
          additionalProperties:
            type: string
          type: object
        clientFills:
          items:
            type: string
          type: array
        fields:
          items:
            $ref: '#/components/schemas/LayoutField'
          type: array
        labels:
          additionalProperties:
            type: string
          type: object
        template:
          $ref: '#/components/schemas/LayoutTemplate'
        values:
          additionalProperties:
            oneOf:
              - type: string
              - items:
                  additionalProperties:
                    type: string
                  type: object
                type: array
          type: object
      required:
        - template
        - values
        - labels
        - canonical
        - fields
        - clientFills
      type: object
    LibraryOriginal:
      additionalProperties: false
      properties:
        edition:
          type: string
        fieldMapRevision:
          type: string
        fileSize:
          format: int64
          type: integer
        formNumber:
          type: string
        lines:
          description: >-
            The lines an application covers, its primary line first; empty for a
            certificate.
          items:
            type: string
          type:
            - array
            - 'null'
        pageCount:
          format: int64
          type: integer
        profileId:
          type: string
        protectedFields:
          description: >-
            The boxes no fill writes or clears: signatures, initials and the
            printed edition identifier.
          items:
            type: string
          type:
            - array
            - 'null'
        referenceUrl:
          type:
            - string
            - 'null'
        sourceSha256:
          type: string
        standard:
          enum:
            - ACORD
          type: string
        use:
          description: >-
            application for a submission form; certificate for proof of coverage
            a producer issues to a holder (the ACORD 25 Certificate Studio fills
            and the evidence forms).
          enum:
            - application
            - certificate
          type: string
      required:
        - profileId
        - standard
        - use
        - formNumber
        - edition
        - sourceSha256
        - fieldMapRevision
        - pageCount
        - fileSize
        - referenceUrl
        - lines
        - protectedFields
      type: object
    LibraryChoices:
      additionalProperties: false
      properties:
        label:
          type: string
        variants:
          items:
            $ref: '#/components/schemas/LibraryVariant'
          type: array
      required:
        - label
        - variants
      type: object
    Column:
      additionalProperties: false
      properties:
        description:
          description: What the field holds, from the API contract.
          type: string
        key:
          description: >-
            The served field, dotted for a field inside an object:
            producer.name.
          type: string
        label:
          type: string
        sortable:
          description: The list's sort parameter takes this key.
          type: boolean
        type:
          enum:
            - text
            - number
            - date
            - boolean
            - list
            - object
          type: string
      required:
        - key
        - label
        - type
        - sortable
      type: object
    Option:
      additionalProperties: false
      properties:
        count:
          format: int64
          type: integer
        label:
          type: string
        parent:
          description: >-
            The value this option sits under, where the filter groups its
            values: an office's reporting market. Absent when it has none.
          type: string
        uncounted:
          description: >-
            True when the read did not count this option; count is then 0 and
            states nothing. Absent when counted.
          type: boolean
        value:
          type: string
      required:
        - value
        - label
        - count
      type: object
    LibraryColumn:
      additionalProperties: false
      properties:
        hint:
          type: string
        id:
          type: string
        label:
          type: string
        type:
          type: string
      required:
        - id
        - label
        - type
        - hint
      type: object
    LayoutField:
      additionalProperties: false
      properties:
        id:
          type: string
        label:
          type: string
        section:
          description: >-
            The template's own section the field first prints under: the level-1
            heading in force or a titled section's title. Absent ahead of every
            section (the cover, the letterhead, a letter's opening).
          type: string
        suppliedBy:
          enum:
            - account
            - producer
            - client
            - fixed
            - assistant
          type: string
      required:
        - id
        - label
        - suppliedBy
      type: object
    LayoutTemplate:
      additionalProperties: false
      properties:
        blocks:
          items:
            oneOf:
              - $ref: '#/components/schemas/LockedBlock'
              - $ref: '#/components/schemas/ProseBlock'
              - $ref: '#/components/schemas/HeadingBlock'
              - $ref: '#/components/schemas/FactsBlock'
              - $ref: '#/components/schemas/AddresseeBlock'
              - $ref: '#/components/schemas/TableBlock'
              - $ref: '#/components/schemas/CardsBlock'
              - $ref: '#/components/schemas/ListBlock'
              - $ref: '#/components/schemas/SignaturesBlock'
              - $ref: '#/components/schemas/CheckboxesBlock'
              - $ref: '#/components/schemas/ImageBlock'
              - $ref: '#/components/schemas/PageBreakBlock'
              - $ref: '#/components/schemas/SectionBlock'
              - $ref: '#/components/schemas/NoteBlock'
              - $ref: '#/components/schemas/CoverBlock'
              - $ref: '#/components/schemas/BrandPageBlock'
              - $ref: '#/components/schemas/ContentsBlock'
          type: array
        composition:
          $ref: '#/components/schemas/DraftComposition'
        filledDensity:
          enum:
            - compact
          type: string
        fullName:
          type: string
        id:
          type: string
        kicker:
          type: string
        letterhead:
          description: >-
            Whose letterhead heads the pages: the sending agency's, the
            client's, or none.
          enum:
            - agency
            - client
            - none
          type: string
        name:
          type: string
        officeOf:
          enum:
            - sender
            - account
          type: string
        orientation:
          enum:
            - portrait
            - landscape
          type: string
        output:
          enum:
            - docx
            - xlsx
            - pdf
            - pptx
          type: string
        spreadsheet:
          $ref: '#/components/schemas/LayoutSpreadsheet'
        title:
          type: string
        type:
          enum:
            - proposal
            - submission
            - worksheet
            - schedule
            - letter
            - acord
          type: string
        typeScale:
          enum:
            - large
          type: string
      required:
        - id
        - name
        - type
        - output
        - letterhead
        - blocks
      type: object
    LibraryVariant:
      additionalProperties: false
      properties:
        id:
          type: string
        label:
          type: string
      required:
        - id
        - label
      type: object
    LockedBlock:
      additionalProperties: false
      properties:
        dense:
          type: boolean
        introduces:
          type: string
        keepNext:
          type: boolean
        kind:
          enum:
            - locked
          type: string
        style:
          enum:
            - body
            - small
            - strong
          type: string
        text:
          type: string
      required:
        - kind
        - text
      type: object
    ProseBlock:
      additionalProperties: false
      properties:
        id:
          type: string
        keepNext:
          type: boolean
        kind:
          enum:
            - prose
          type: string
        label:
          type: string
      required:
        - kind
        - id
        - label
      type: object
    HeadingBlock:
      additionalProperties: false
      properties:
        kind:
          enum:
            - heading
          type: string
        level:
          enum:
            - 1
            - 2
          format: int64
          type: integer
        sameSheet:
          type: boolean
        text:
          type: string
        without:
          $ref: '#/components/schemas/HeadingWithout'
      required:
        - kind
        - text
      type: object
    FactsBlock:
      additionalProperties: false
      properties:
        columns:
          enum:
            - 1
            - 2
          format: int64
          type: integer
        kind:
          enum:
            - facts
          type: string
        rows:
          items:
            $ref: '#/components/schemas/LayoutFact'
          type: array
      required:
        - kind
        - rows
      type: object
    AddresseeBlock:
      additionalProperties: false
      properties:
        date:
          type: string
        kind:
          enum:
            - addressee
          type: string
        lines:
          items:
            type: string
          type: array
      required:
        - kind
        - lines
      type: object
    TableBlock:
      additionalProperties: false
      properties:
        blankRows:
          format: int64
          type: integer
        columns:
          items:
            $ref: '#/components/schemas/LayoutTableColumn'
          type: array
        compactType:
          format: double
          type: number
        count:
          $ref: '#/components/schemas/LayoutCountLine'
        dense:
          type: boolean
        denseWhenFilled:
          type: boolean
        group:
          type: string
        headerless:
          type: boolean
        keepTogether:
          description: >-
            Never split under what precedes it: when the whole table does not
            fit the room left on the page, it starts the next page.
          type: boolean
        kind:
          enum:
            - table
          type: string
        needed:
          items:
            type: string
          type: array
        pivot:
          $ref: '#/components/schemas/LayoutPivot'
        required:
          type: boolean
        strongRows:
          $ref: '#/components/schemas/LayoutStrongRows'
        title:
          type: string
        totals:
          $ref: '#/components/schemas/LayoutTableTotals'
        typedCells:
          description: >-
            Type each cell by what it holds (an amount, a percent, a count, a
            date), whatever its field declares: a table whose column headers are
            the draft's own values.
          type: boolean
        where:
          $ref: '#/components/schemas/LayoutRowFilter'
      required:
        - kind
        - group
        - columns
      type: object
    CardsBlock:
      additionalProperties: false
      properties:
        group:
          type: string
        image:
          type: string
        kicker:
          type: string
        kind:
          enum:
            - cards
          type: string
        lines:
          items:
            type: string
          type: array
        perRow:
          enum:
            - 2
            - 3
          format: int64
          type: integer
        title:
          type: string
      required:
        - kind
        - group
        - title
        - lines
      type: object
    ListBlock:
      additionalProperties: false
      properties:
        columns:
          enum:
            - 2
            - 3
          format: int64
          type: integer
        dense:
          type: boolean
        items:
          items:
            type: string
          type: array
        kind:
          enum:
            - list
          type: string
        ordered:
          type: boolean
        start:
          format: int64
          type: integer
      required:
        - kind
        - items
      type: object
    SignaturesBlock:
      additionalProperties: false
      properties:
        closing:
          type: string
        kind:
          enum:
            - signatures
          type: string
        signers:
          items:
            $ref: '#/components/schemas/LayoutSigner'
          type: array
      required:
        - kind
        - signers
      type: object
    CheckboxesBlock:
      additionalProperties: false
      properties:
        kind:
          enum:
            - checkboxes
          type: string
        label:
          type: string
        options:
          items:
            type: string
          type: array
        stacked:
          type: boolean
      required:
        - kind
        - label
        - options
      type: object
    ImageBlock:
      additionalProperties: false
      properties:
        field:
          type: string
        initialsFrom:
          type: string
        kind:
          enum:
            - image
          type: string
        label:
          type: string
        shape:
          enum:
            - square
            - circle
          type: string
        size:
          format: double
          type: number
      required:
        - kind
        - field
        - label
      type: object
    PageBreakBlock:
      additionalProperties: false
      properties:
        hard:
          type: boolean
        kind:
          enum:
            - pageBreak
          type: string
      required:
        - kind
      type: object
    SectionBlock:
      additionalProperties: false
      properties:
        blocks:
          items:
            oneOf:
              - $ref: '#/components/schemas/LockedBlock'
              - $ref: '#/components/schemas/ProseBlock'
              - $ref: '#/components/schemas/HeadingBlock'
              - $ref: '#/components/schemas/FactsBlock'
              - $ref: '#/components/schemas/AddresseeBlock'
              - $ref: '#/components/schemas/TableBlock'
              - $ref: '#/components/schemas/CardsBlock'
              - $ref: '#/components/schemas/ListBlock'
              - $ref: '#/components/schemas/SignaturesBlock'
              - $ref: '#/components/schemas/CheckboxesBlock'
              - $ref: '#/components/schemas/ImageBlock'
              - $ref: '#/components/schemas/PageBreakBlock'
              - $ref: '#/components/schemas/SectionBlock'
              - $ref: '#/components/schemas/NoteBlock'
              - $ref: '#/components/schemas/CoverBlock'
              - $ref: '#/components/schemas/BrandPageBlock'
              - $ref: '#/components/schemas/ContentsBlock'
          type: array
        kind:
          enum:
            - section
          type: string
        line:
          type: string
        occupancies:
          items:
            type: string
          type: array
        title:
          type: string
        unasked:
          type: boolean
        when:
          type: string
      required:
        - kind
        - blocks
      type: object
    NoteBlock:
      additionalProperties: false
      properties:
        kind:
          enum:
            - note
          type: string
        text:
          type: string
      required:
        - kind
        - text
      type: object
    CoverBlock:
      additionalProperties: false
      properties:
        kind:
          enum:
            - cover
          type: string
        line:
          enum:
            - Commercial
            - Personal
          type: string
      required:
        - kind
        - line
      type: object
    BrandPageBlock:
      additionalProperties: false
      properties:
        kind:
          enum:
            - brandPage
          type: string
        page:
          enum:
            - 1
            - 2
          format: int64
          type: integer
      required:
        - kind
        - page
      type: object
    ContentsBlock:
      additionalProperties: false
      properties:
        entries:
          items:
            $ref: '#/components/schemas/LayoutContentsItem'
          type: array
        kind:
          enum:
            - contents
          type: string
      required:
        - kind
        - entries
      type: object
    DraftComposition:
      additionalProperties: false
      properties:
        kind:
          enum:
            - renewal
            - newBusiness
            - quoteOnly
          type: string
        options:
          items:
            type: string
          type: array
        preset:
          type: string
        sections:
          items:
            $ref: '#/components/schemas/DraftSectionUse'
          type: array
      required:
        - preset
        - sections
      type: object
    LayoutSpreadsheet:
      additionalProperties: false
      properties:
        fitToPage:
          type: boolean
      type: object
    HeadingWithout:
      additionalProperties: false
      properties:
        part:
          type: string
        text:
          type: string
      required:
        - part
        - text
      type: object
    LayoutFact:
      additionalProperties: false
      properties:
        field:
          type: string
        label:
          type: string
      required:
        - label
        - field
      type: object
    LayoutTableColumn:
      additionalProperties: false
      properties:
        align:
          enum:
            - left
            - right
          type: string
        bareHeader:
          type: string
        field:
          type: string
        groupLabel:
          description: >-
            The column names the group a run of rows belongs to: a filled table
            prints the cell only where it differs from the row above.
          type: boolean
        header:
          type: string
        optional:
          type: boolean
        width:
          type: string
        write:
          type: boolean
      required:
        - header
      type: object
    LayoutCountLine:
      additionalProperties: false
      properties:
        many:
          type: string
        one:
          type: string
      required:
        - one
        - many
      type: object
    LayoutPivot:
      additionalProperties: false
      properties:
        across:
          items:
            $ref: '#/components/schemas/LayoutPivotColumn'
          type: array
        align:
          enum:
            - left
            - right
          type: string
        blank:
          items:
            type: string
          type: array
        by:
          type: string
        cell:
          type: string
      required:
        - by
        - cell
      type: object
    LayoutStrongRows:
      additionalProperties: false
      properties:
        field:
          type: string
        values:
          items:
            type: string
          type: array
      required:
        - field
        - values
      type: object
    LayoutTableTotals:
      additionalProperties: false
      properties:
        fields:
          items:
            type: string
          type: array
        label:
          type: string
      required:
        - label
        - fields
      type: object
    LayoutRowFilter:
      additionalProperties: false
      properties:
        field:
          type: string
        in:
          items:
            type: string
          type: array
      required:
        - field
        - in
      type: object
    LayoutSigner:
      additionalProperties: false
      properties:
        heading:
          type: string
        lines:
          items:
            $ref: '#/components/schemas/LayoutSignerLine'
          type: array
      required:
        - lines
      type: object
    LayoutContentsItem:
      additionalProperties: false
      properties:
        sub:
          type: boolean
        text:
          type: string
      required:
        - text
      type: object
    DraftSectionUse:
      additionalProperties: false
      properties:
        detail:
          enum:
            - detailed
            - plain
          type: string
        id:
          type: string
        line:
          type: string
      required:
        - id
      type: object
    LayoutPivotColumn:
      additionalProperties: false
      properties:
        header:
          type: string
        key:
          type: string
      required:
        - key
        - header
      type: object
    LayoutSignerLine:
      additionalProperties: false
      properties:
        field:
          type: string
        label:
          type: string
      required:
        - label
      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.