{
  "components": {
    "schemas": {
      "A1MarketAppetiteEvidenceForm": {
        "additionalProperties": false,
        "properties": {
          "file": {
            "contentMediaType": "application/octet-stream",
            "description": "The evidence file, at most 10 MiB.",
            "format": "binary",
            "type": "string"
          },
          "market": {
            "description": "The market reference as JSON: kind catalog with connection_id and entity_key, or kind ams with datasource_id and company_id.",
            "type": "string"
          }
        },
        "required": [
          "market",
          "file"
        ],
        "type": "object"
      },
      "AMS360ActivityWrite": {
        "additionalProperties": false,
        "properties": {
          "text": {
            "description": "The activity's text, as the person typed it.",
            "maxLength": 4000,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "text"
        ],
        "type": "object"
      },
      "AMS360AttachmentWrite": {
        "additionalProperties": false,
        "properties": {
          "conversation_id": {
            "description": "The conversation that holds the upload. Required with upload_id, refused without it.",
            "format": "uuid",
            "type": "string"
          },
          "description": {
            "description": "What the document is; the file name when empty.",
            "maxLength": 4000,
            "type": "string"
          },
          "draft_format": {
            "description": "The draft's export format; pdf when empty. Only with draft_id.",
            "enum": [
              "pdf",
              "docx",
              "xlsx",
              "csv",
              "pptx"
            ],
            "type": "string"
          },
          "draft_id": {
            "description": "A Workbench document draft the seat may read (GET /documents/drafts/{id}). The API renders its working copy in draft_format and files that: no bytes travel in the request. Omit when upload_id is sent.",
            "type": "string"
          },
          "file_name": {
            "description": "The document's file name, at most 150 characters (AMS 360's limit). The rendered or stored file's own name when empty.",
            "maxLength": 150,
            "type": "string"
          },
          "upload_id": {
            "description": "A file already stored through the conversation upload path (POST /conversations/instances/{instanceSlug}/conversations/{conversationID}/attachments/reserve), ready and held by conversation_id for the seat. The API reads its bytes and files them: none travel in the request. At most 10 MiB. Omit when draft_id is sent.",
            "type": "string"
          }
        },
        "type": "object"
      },
      "AMS360ContactUpdate": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "description": "The contact's email; empty clears it.",
            "maxLength": 100,
            "type": "string"
          },
          "name": {
            "maxLength": 100,
            "minLength": 1,
            "type": "string"
          },
          "title": {
            "description": "The contact's title; empty clears it.",
            "maxLength": 100,
            "type": "string"
          }
        },
        "type": "object"
      },
      "AMS360CustomerCreate": {
        "additionalProperties": false,
        "properties": {
          "city": {
            "maxLength": 30,
            "type": "string"
          },
          "customer_type": {
            "description": "prospect, or customer for a client.",
            "enum": [
              "prospect",
              "customer"
            ],
            "type": "string"
          },
          "firm_name": {
            "description": "The business's name, at most 75 characters (AMS 360's limit).",
            "maxLength": 75,
            "minLength": 1,
            "type": "string"
          },
          "state": {
            "description": "The two-letter state code.",
            "pattern": "^[A-Za-z]{2}$",
            "type": "string"
          },
          "zip_code": {
            "pattern": "^[0-9]{5}(-[0-9]{4})?$",
            "type": "string"
          }
        },
        "required": [
          "customer_type",
          "firm_name"
        ],
        "type": "object"
      },
      "AMS360FollowUpUpdate": {
        "additionalProperties": false,
        "properties": {
          "assigned_to_employee_code": {
            "description": "Reassign: the AMS 360 employee code the follow-up moves to.",
            "maxLength": 20,
            "minLength": 1,
            "type": "string"
          },
          "completed": {
            "description": "Complete: true completes the follow-up. Reopening is not offered.",
            "type": "boolean"
          },
          "due_date": {
            "description": "Reschedule: the new due day, YYYY-MM-DD.",
            "format": "date",
            "type": "string"
          }
        },
        "type": "object"
      },
      "AMS360FollowUpWrite": {
        "additionalProperties": false,
        "properties": {
          "description": {
            "description": "What to follow up on.",
            "maxLength": 4000,
            "minLength": 1,
            "type": "string"
          },
          "due_date": {
            "description": "The due day, YYYY-MM-DD.",
            "format": "date",
            "type": "string"
          }
        },
        "required": [
          "description",
          "due_date"
        ],
        "type": "object"
      },
      "AMS360PolicyActivityWrite": {
        "additionalProperties": false,
        "properties": {
          "follow_up": {
            "$ref": "#/components/schemas/AMS360PolicyFollowUpWrite",
            "description": "A follow-up on the same policy, saved after the activity in the same save, assigned to the seat's own employee."
          },
          "outcome": {
            "description": "What happened with the carrier: the key the connection maps to its AMS 360 activity action.",
            "enum": [
              "forwarded",
              "quoted",
              "declined_by_company",
              "declined_by_client",
              "order_policy",
              "lost"
            ],
            "type": "string"
          },
          "text": {
            "description": "The activity's text, as the person typed it; also the follow-up's description.",
            "maxLength": 4000,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "outcome",
          "text"
        ],
        "type": "object"
      },
      "AMS360PolicyFollowUpWrite": {
        "additionalProperties": false,
        "properties": {
          "due_date": {
            "description": "The due day, YYYY-MM-DD: today or later, at most two years out.",
            "format": "date",
            "type": "string"
          },
          "outcome": {
            "description": "The key the connection maps to its AMS 360 suspense action.",
            "enum": [
              "win_back"
            ],
            "type": "string"
          }
        },
        "required": [
          "outcome",
          "due_date"
        ],
        "type": "object"
      },
      "AMS360RenewalClose": {
        "additionalProperties": false,
        "properties": {
          "not_renewing": {
            "description": "true marks the policy as not renewing; false undoes it.",
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "required": [
          "not_renewing"
        ],
        "type": "object"
      },
      "AMS360SavedFollowUp": {
        "additionalProperties": false,
        "properties": {
          "action_name": {
            "description": "The AMS 360 follow-up action the connection maps the key to.",
            "type": "string"
          },
          "due_date": {
            "description": "The follow-up's due day, YYYY-MM-DD.",
            "format": "date",
            "type": "string"
          },
          "outcome": {
            "description": "The follow-up's outcome key.",
            "type": "string"
          }
        },
        "required": [
          "outcome",
          "action_name",
          "due_date"
        ],
        "type": "object"
      },
      "AMS360SavedOutcome": {
        "additionalProperties": false,
        "properties": {
          "action_name": {
            "description": "The AMS 360 activity action the connection maps the key to.",
            "type": "string"
          },
          "date": {
            "description": "The day the activity saved, YYYY-MM-DD (UTC).",
            "format": "date",
            "type": "string"
          },
          "follow_up": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AMS360SavedFollowUp",
                "description": "The follow-up saved with it; null without one."
              },
              {
                "type": "null"
              }
            ]
          },
          "outcome": {
            "description": "The outcome key saved.",
            "type": "string"
          }
        },
        "required": [
          "outcome",
          "action_name",
          "date",
          "follow_up"
        ],
        "type": "object"
      },
      "AMS360WriteActor": {
        "additionalProperties": false,
        "properties": {
          "acted_by": {
            "description": "The operator acting as the seat through View as.",
            "type": [
              "string",
              "null"
            ]
          },
          "acted_by_email": {
            "type": [
              "string",
              "null"
            ]
          },
          "employee_code": {
            "description": "The AMS 360 employee the seat is. AMS 360 records the integration user as the saver.",
            "type": "string"
          },
          "principal": {
            "type": "string"
          }
        },
        "required": [
          "principal",
          "employee_code",
          "acted_by",
          "acted_by_email"
        ],
        "type": "object"
      },
      "AMS360WriteResult": {
        "additionalProperties": false,
        "properties": {
          "account_key": {
            "description": "The account written; empty for a new customer, which opens for its maker once a policy carries their code.",
            "type": "string"
          },
          "action": {
            "enum": [
              "attachment",
              "activity",
              "follow_up",
              "follow_up_update",
              "customer_create",
              "contact_update",
              "renewal_close",
              "policy_activity"
            ],
            "type": "string"
          },
          "outcome": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AMS360SavedOutcome",
                "description": "A policy activity's saved outcome, its AMS 360 action and day, so the market row shows it at once; null for every other write."
              },
              {
                "type": "null"
              }
            ]
          },
          "previous_value": {
            "description": "What the record held before; null for a new record; the follow-up's due_date, assigned_to_employee_code and is_completed before a follow-up update; the contact's name, title and email before a contact update; the policy's not_renewing, changed_date and changed_by (AMS 360's record of its last change) before a renewal close."
          },
          "record_ids": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "The AMS 360 ids made or changed: activity_id, follow_up_id, attachment_id, contact_id, policy_id, or a new customer's customer_id and customer_number.",
            "type": "object"
          },
          "request_key": {
            "type": "string"
          },
          "saved_at": {
            "format": "date-time",
            "type": "string"
          },
          "saved_by": {
            "$ref": "#/components/schemas/AMS360WriteActor"
          },
          "state": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/MachineState",
                "description": "The write's write_back state with its label, settled flag, tone and next step; null when the org declares no write_back machine holding the value."
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "description": "Always saved_in_ams: a write that did not save answers a problem whose details carry its state.",
            "enum": [
              "saved_in_ams"
            ],
            "type": "string"
          }
        },
        "required": [
          "request_key",
          "action",
          "status",
          "state",
          "account_key",
          "record_ids",
          "saved_by",
          "saved_at",
          "previous_value",
          "outcome"
        ],
        "type": "object"
      },
      "AMSAtConfirm": {
        "additionalProperties": false,
        "properties": {
          "read_at": {
            "format": "date-time",
            "type": "string"
          },
          "value": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "value",
          "read_at"
        ],
        "type": "object"
      },
      "AcceptToolCallRequest": {
        "additionalProperties": false,
        "properties": {
          "end_user": {
            "type": "string"
          },
          "executor_epoch": {
            "format": "int64",
            "type": "integer"
          },
          "executor_id": {
            "type": "string"
          },
          "seq": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "end_user",
          "executor_id",
          "executor_epoch",
          "seq"
        ],
        "type": "object"
      },
      "AccessApprovalChange": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "description": "The audit action the change recorded.",
            "type": "string"
          },
          "before": {
            "description": "The state the change replaced, as the audit recorded it, when there was one."
          },
          "data": {
            "$ref": "#/components/schemas/ActionApproval"
          },
          "principal": {
            "description": "The person the change is about.",
            "type": "string"
          },
          "request_id": {
            "description": "The request's id, as logged.",
            "type": "string"
          }
        },
        "required": [
          "action",
          "data"
        ],
        "type": "object"
      },
      "AccessApprovalDecisionRequest": {
        "additionalProperties": false,
        "properties": {
          "approve": {
            "type": "boolean"
          },
          "reason": {
            "type": "string"
          }
        },
        "required": [
          "approve",
          "reason"
        ],
        "type": "object"
      },
      "AccessApprovalList": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ActionApproval"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "AccessApprovalRequest": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "type": "string"
          },
          "approver_id": {
            "type": "string"
          },
          "expires_at": {
            "format": "date-time",
            "type": "string"
          },
          "idempotency_key": {
            "type": "string"
          },
          "payload_hash": {
            "type": "string"
          },
          "policy_version": {
            "format": "int64",
            "type": "integer"
          },
          "record_ids": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "workflow": {
            "type": "string"
          }
        },
        "required": [
          "approver_id",
          "workflow",
          "action",
          "record_ids",
          "payload_hash",
          "policy_version",
          "idempotency_key",
          "expires_at"
        ],
        "type": "object"
      },
      "AccessApprover": {
        "additionalProperties": false,
        "properties": {
          "approver_id": {
            "type": "string"
          }
        },
        "required": [
          "approver_id"
        ],
        "type": "object"
      },
      "AccessApproverResolution": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccessApprover"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "AccessApproverResolveRequest": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "type": "string"
          },
          "record_ids": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "workflow": {
            "type": "string"
          }
        },
        "required": [
          "workflow",
          "action"
        ],
        "type": "object"
      },
      "AccessAssignmentChange": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "description": "The audit action the change recorded.",
            "type": "string"
          },
          "before": {
            "description": "The state the change replaced, as the audit recorded it, when there was one."
          },
          "data": {
            "$ref": "#/components/schemas/WorkflowAssignment"
          },
          "principal": {
            "description": "The person the change is about.",
            "type": "string"
          },
          "request_id": {
            "description": "The request's id, as logged.",
            "type": "string"
          }
        },
        "required": [
          "action",
          "data"
        ],
        "type": "object"
      },
      "AccessAssignmentRequest": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "type": "string"
          },
          "expected_revision": {
            "type": "string"
          },
          "operator": {
            "description": "The operator the calling app names, recorded in the audit snapshot; never trusted as the actor.",
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "revoke": {
            "type": "boolean"
          },
          "root_id": {
            "type": "string"
          },
          "root_type": {
            "type": "string"
          },
          "workflow": {
            "type": "string"
          }
        },
        "required": [
          "workflow",
          "root_type",
          "root_id",
          "email",
          "reason"
        ],
        "type": "object"
      },
      "AccessAuditPage": {
        "additionalProperties": false,
        "properties": {
          "cursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "data": {
            "items": {
              "$ref": "#/components/schemas/AuditRecord"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "cursor"
        ],
        "type": "object"
      },
      "AccessChange": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "ends_at": {
            "type": "string"
          },
          "grant": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "profile": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "revoke": {
            "type": "boolean"
          },
          "root_id": {
            "type": "string"
          },
          "root_type": {
            "type": "string"
          },
          "scope": {
            "$ref": "#/components/schemas/AccessExceptionScope"
          },
          "starts_at": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "workflow": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "reason"
        ],
        "type": "object"
      },
      "AccessEmployeeSearch": {
        "additionalProperties": false,
        "properties": {
          "connection_id": {
            "type": "string"
          },
          "data": {
            "items": {
              "$ref": "#/components/schemas/EmployeeCandidate"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "serving": {
            "$ref": "#/components/schemas/BookServingJSON"
          }
        },
        "required": [
          "data",
          "connection_id",
          "serving"
        ],
        "type": "object"
      },
      "AccessExceptionChange": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "description": "The audit action the change recorded.",
            "type": "string"
          },
          "before": {
            "description": "The state the change replaced, as the audit recorded it, when there was one."
          },
          "data": {
            "$ref": "#/components/schemas/ExceptionGrant"
          },
          "principal": {
            "description": "The person the change is about.",
            "type": "string"
          },
          "request_id": {
            "description": "The request's id, as logged.",
            "type": "string"
          }
        },
        "required": [
          "action",
          "data"
        ],
        "type": "object"
      },
      "AccessExceptionRequest": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "ends_at": {
            "type": "string"
          },
          "expected_revision": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "operator": {
            "description": "The operator the calling app names, recorded in the audit snapshot; never trusted as the actor.",
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "revoke": {
            "type": "boolean"
          },
          "scope": {
            "$ref": "#/components/schemas/AccessExceptionScope"
          },
          "starts_at": {
            "type": "string"
          },
          "workflow": {
            "type": "string"
          }
        },
        "required": [
          "email",
          "reason"
        ],
        "type": "object"
      },
      "AccessExceptionScope": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "type": "string"
          },
          "root_ids": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "root_type": {
            "type": "string"
          }
        },
        "required": [
          "kind"
        ],
        "type": "object"
      },
      "AccessPolicy": {
        "additionalProperties": false,
        "properties": {
          "datasets": {
            "additionalProperties": {
              "$ref": "#/components/schemas/DatasetRule"
            },
            "type": "object"
          },
          "denied_fields": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "display_name": {
            "type": "string"
          },
          "documents": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "schema_version": {
            "format": "int64",
            "type": "integer"
          },
          "surfaces": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "workflows": {
            "additionalProperties": {
              "$ref": "#/components/schemas/WorkflowRule"
            },
            "type": "object"
          }
        },
        "required": [
          "schema_version",
          "surfaces",
          "datasets",
          "workflows",
          "denied_fields"
        ],
        "type": "object"
      },
      "AccessPreview": {
        "additionalProperties": false,
        "properties": {
          "after": {
            "$ref": "#/components/schemas/EffectiveAccessReport"
          },
          "allowed": {
            "type": "boolean"
          },
          "before": {
            "$ref": "#/components/schemas/EffectiveAccessReport"
          },
          "blockers": {
            "items": {
              "$ref": "#/components/schemas/DryRunBlocker"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "change": {
            "$ref": "#/components/schemas/AccessChange"
          },
          "principal": {
            "type": "string"
          }
        },
        "required": [
          "principal",
          "change",
          "before",
          "after",
          "allowed",
          "blockers"
        ],
        "type": "object"
      },
      "AccessPreviewRequest": {
        "additionalProperties": false,
        "properties": {
          "change": {
            "$ref": "#/components/schemas/AccessChange"
          },
          "operator": {
            "description": "The operator the calling app names, recorded in the audit snapshot; never trusted as the actor.",
            "type": "string"
          },
          "subject": {
            "type": "string"
          }
        },
        "required": [
          "change"
        ],
        "type": "object"
      },
      "AccessProfile": {
        "additionalProperties": false,
        "properties": {
          "ceiling": {
            "$ref": "#/components/schemas/AccessPolicy"
          },
          "description": {
            "type": "string"
          },
          "display_name": {
            "type": "string"
          },
          "operator": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "role_label": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "version": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "slug",
          "display_name",
          "ceiling",
          "version",
          "updated_by",
          "reason",
          "updated_at"
        ],
        "type": "object"
      },
      "AccessProfileAssignmentChange": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "description": "The audit action the change recorded.",
            "type": "string"
          },
          "before": {
            "description": "The state the change replaced, as the audit recorded it, when there was one."
          },
          "data": {
            "$ref": "#/components/schemas/ProfileAssignment"
          },
          "principal": {
            "description": "The person the change is about.",
            "type": "string"
          },
          "request_id": {
            "description": "The request's id, as logged.",
            "type": "string"
          }
        },
        "required": [
          "action",
          "data"
        ],
        "type": "object"
      },
      "AccessProfileAssignmentRequest": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "type": "string"
          },
          "operator": {
            "description": "The operator the calling app names, recorded in the audit snapshot; never trusted as the actor.",
            "type": "string"
          },
          "profile": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "revoke": {
            "type": "boolean"
          }
        },
        "required": [
          "email",
          "profile",
          "reason"
        ],
        "type": "object"
      },
      "AccessProfileLibrary": {
        "additionalProperties": false,
        "properties": {
          "assignments": {
            "items": {
              "$ref": "#/components/schemas/ProfileAssignment"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "profiles": {
            "items": {
              "$ref": "#/components/schemas/AccessProfile"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "request_id": {
            "type": "string"
          }
        },
        "required": [
          "profiles",
          "assignments",
          "request_id"
        ],
        "type": "object"
      },
      "AccessRole": {
        "additionalProperties": false,
        "properties": {
          "current_policy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AccessPolicy"
              },
              {
                "type": "null"
              }
            ]
          },
          "current_version": {
            "format": "int64",
            "type": "integer"
          },
          "display_name": {
            "type": "string"
          },
          "matches_reference": {
            "type": "boolean"
          },
          "primary": {
            "type": "boolean"
          },
          "reference_diff": {
            "$ref": "#/components/schemas/PolicyDiff"
          },
          "role": {
            "type": "string"
          },
          "system_grant": {
            "type": "boolean"
          },
          "versions": {
            "items": {
              "$ref": "#/components/schemas/PolicyVersionSummary"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "role",
          "display_name",
          "primary",
          "system_grant",
          "current_version",
          "current_policy",
          "matches_reference",
          "versions"
        ],
        "type": "object"
      },
      "AccessRoleLibrary": {
        "additionalProperties": false,
        "properties": {
          "roles": {
            "items": {
              "$ref": "#/components/schemas/AccessRole"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "roles"
        ],
        "type": "object"
      },
      "AccessSeatLink": {
        "additionalProperties": false,
        "properties": {
          "after": {
            "$ref": "#/components/schemas/SeatLink"
          },
          "applied": {
            "type": "boolean"
          },
          "before": {
            "$ref": "#/components/schemas/SeatLink"
          },
          "request_id": {
            "type": "string"
          },
          "seat": {
            "$ref": "#/components/schemas/SeatPreview"
          }
        },
        "required": [
          "applied",
          "after"
        ],
        "type": "object"
      },
      "AccessSeatLinkRequest": {
        "additionalProperties": false,
        "properties": {
          "apply": {
            "type": "boolean"
          },
          "clear": {
            "type": "boolean"
          },
          "datasource": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "employee_code": {
            "type": "string"
          },
          "employee_id": {
            "type": "string"
          },
          "expected_version": {
            "format": "int64",
            "type": "integer"
          },
          "operator": {
            "description": "The operator the calling app names, recorded in the audit snapshot; never trusted as the actor.",
            "type": "string"
          },
          "reason": {
            "type": "string"
          }
        },
        "required": [
          "email",
          "reason"
        ],
        "type": "object"
      },
      "AccessSeatList": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/Seat"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "page": {
            "format": "int64",
            "type": "integer"
          },
          "page_size": {
            "format": "int64",
            "type": "integer"
          },
          "since": {
            "format": "date-time",
            "type": "string"
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "data",
          "total",
          "page",
          "page_size",
          "since"
        ],
        "type": "object"
      },
      "AccessSeatLookupRequest": {
        "additionalProperties": false,
        "properties": {
          "connection_id": {
            "description": "One of the caller org's book connections.",
            "type": "string"
          },
          "keys": {
            "description": "The exact (datasource, code) keys of an already scoped Records result, at most 100 distinct.",
            "items": {
              "$ref": "#/components/schemas/SeatLookupKey"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "connection_id",
          "keys"
        ],
        "type": "object"
      },
      "AccessSeatLookupResult": {
        "additionalProperties": false,
        "properties": {
          "connection_id": {
            "type": "string"
          },
          "keys": {
            "items": {
              "$ref": "#/components/schemas/SeatLookupAnswer"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "connection_id",
          "keys"
        ],
        "type": "object"
      },
      "AccessSystemGrantChange": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "description": "The audit action the change recorded.",
            "type": "string"
          },
          "before": {
            "description": "The state the change replaced, as the audit recorded it, when there was one."
          },
          "data": {
            "$ref": "#/components/schemas/SystemGrant"
          },
          "principal": {
            "description": "The person the change is about.",
            "type": "string"
          },
          "request_id": {
            "description": "The request's id, as logged.",
            "type": "string"
          }
        },
        "required": [
          "action",
          "data"
        ],
        "type": "object"
      },
      "AccessSystemGrantRequest": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "type": "string"
          },
          "grant": {
            "type": "string"
          },
          "operator": {
            "description": "The operator the calling app names, recorded in the audit snapshot; never trusted as the actor.",
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "revoke": {
            "type": "boolean"
          }
        },
        "required": [
          "email",
          "grant",
          "reason"
        ],
        "type": "object"
      },
      "Account": {
        "additionalProperties": false,
        "properties": {
          "account_premium": {
            "description": "Exact decimal text. The premium of every policy on the account the read's scope reaches, across producers, with no producer or client manager subject narrowing it. With no producer or client manager subject and no typed name it equals premium: under own or book:&lt;code&gt; the scope already holds only that book's policies. A typed name under an owner selection serves the selection's own policies in premium and the whole account here.",
            "type": [
              "string",
              "null"
            ]
          },
          "agency_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "class_basis": {
            "description": "With class_id: why the account is in the class. naics: its NAICS falls under the class; sic: it has no NAICS and its AMS 360 SIC is one the class's concordances carry; gl_code:&lt;code&gt;: it has no NAICS and one of its in-force policies carries that general liability class code, which fits the class.",
            "type": "string"
          },
          "client_city": {
            "type": [
              "string",
              "null"
            ]
          },
          "client_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "client_country": {
            "type": [
              "string",
              "null"
            ]
          },
          "client_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "client_manager_display_names": {
            "description": "client_manager_names as a producer reads them, as producer_display_names reads producer_names. Null when client_manager_names is null.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "client_manager_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "client_manager_names": {
            "description": "Every account representative name on the account's register-cohort policies, ordered as producer_names is. Null when the account's policies were not read (status unknown); empty when no policy names one.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "client_naics_code": {
            "description": "In view=full, the policies' NAICS code when the client record has none.",
            "type": [
              "string",
              "null"
            ]
          },
          "client_name": {
            "description": "The client's name. In view=full, the name on the account's policies when the client record has none.",
            "type": [
              "string",
              "null"
            ]
          },
          "client_postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "client_state": {
            "type": [
              "string",
              "null"
            ]
          },
          "commission_ttm": {
            "description": "Trailing twelve months' commission, exact decimal text; null on every page today: the register reads no commission until it is a joinable, indexed source.",
            "type": [
              "string",
              "null"
            ]
          },
          "completeness": {
            "type": "string"
          },
          "customer_type": {
            "description": "AMS 360 customer type: C customer, P prospect, S suspect.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The account's instance key, {instance}:customer:{customer id}.",
            "type": "string"
          },
          "in_selection": {
            "description": "With a typed name under an owner selection (own, book, producer, client_manager): whether the account is inside it. A typed name reads every account the seat can open; false rows are the others. Absent with no name or no selection.",
            "type": "boolean"
          },
          "industry_class": {
            "description": "view=finder. The account's industry class.",
            "type": "string"
          },
          "lifecycle": {
            "$ref": "#/components/schemas/AccountLifecycle",
            "description": "The account's lifecycle frame, stage, health, reasons, next move and cycle path, derived from the row's status and policies at source.snapshot_at. The register reads no placements, tasks, claims or notices, so none of them moves it here."
          },
          "line_count": {
            "format": "int64",
            "type": "integer"
          },
          "match": {
            "description": "With a typed name: the best match tier over the client name, the stored AMS 360 name, the DBA and the named insureds. near means the name matched no account exactly and this one is within one edit. The rows order by in_selection, then this tier, then customers before prospects, then active before inactive accounts (AMS 360 ACTIVE), then the view's own order.",
            "enum": [
              "exact",
              "words",
              "contains",
              "all_but_one",
              "near"
            ],
            "type": "string"
          },
          "naics_industry": {
            "type": [
              "string",
              "null"
            ]
          },
          "naics_industry_group": {
            "type": [
              "string",
              "null"
            ]
          },
          "naics_national_industry": {
            "type": [
              "string",
              "null"
            ]
          },
          "naics_sector": {
            "type": [
              "string",
              "null"
            ]
          },
          "naics_subsector": {
            "type": [
              "string",
              "null"
            ]
          },
          "name_exact": {
            "description": "view=finder with q. Whether q is this account's entity name under name_key: its client name, a DBA or a named insured.",
            "type": "boolean"
          },
          "name_key": {
            "description": "The client name's entity-name key: lower case, letters and digits only, legal-form words (inc, llc, co, and, ...) dropped, each word of 4 or more letters in its singular form (a trailing ies is y, a single trailing s drops), so \"H&S Investments Group, LLC\" and \"H&SInvestment Group\" are both hsinvestmentgroup. Two names are the same entity name when their keys are equal and not empty. Empty when the name has no letter or digit.",
            "type": "string"
          },
          "policy_count": {
            "description": "The account's register-cohort policies; under a producer or client manager subject, those that person holds, as premium counts them.",
            "format": "int64",
            "type": "integer"
          },
          "policy_labels": {
            "description": "Display only: the distinct coverage labels of the policy-level line of business on the account's register-cohort policies, in the policies' order, with policies that record no line left out. Each policy contributes one label, so lines inside a package policy are not listed: this is not the account's coverage lines, and its length is not a line count. Null when the account's policies were not read (status unknown); empty when no cohort policy records a line.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "premium": {
            "description": "Exact decimal text. The premium of the account's policies the read reaches. Under a producer or client manager subject (producer:me, client_manager:&lt;code&gt;) only the policies that person holds, so a shared account counts that person's policies and never another producer's; policy_count and priced_policy_count count the same policies. premium[gte] and sort=-premium read this figure. Under both a producer and a client manager subject, only the policies that carry both; an account where none does serves no premium and zero counts. A typed name reads past the subject: an account outside the subject's selection serves account_premium here.",
            "type": [
              "string",
              "null"
            ]
          },
          "priced_policy_count": {
            "description": "Of policy_count, the policies that carry a premium.",
            "format": "int64",
            "type": "integer"
          },
          "producer_display_names": {
            "description": "producer_names as a producer reads them: AMS 360's Last, First in reading order without the dates, phone numbers, extensions or splits the agency typed into it (bookdisplay.AMSPersonName), in producer_names order with a repeated reading kept once. Null when producer_names is null.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "producer_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "producer_names": {
            "description": "Every account executive name on the account's register-cohort policies, trimmed, most weight first: an in-force term counts 2 and any other term 1, ties in the policies' order. Null when the account's policies were not read (status unknown); empty when no policy names one.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "prospect": {
            "description": "With a typed name: AMS 360 holds the account as a prospect (TYPECUST P). Absent when false.",
            "type": "boolean"
          },
          "seat_role": {
            "description": "On the acting seat's own book only (its selected book, as Accounts My book reads it): the seat's role on the account, read from the seat's own current AMS 360 assignments: producer when the seat holds a current Exec assignment on one of the account's current policies (in force, else its terms ended in the last 90 days), else client_manager (the seat is on the account as a Rep only). Absent on any other read, on the AMS 360 live register, and when the request's assignment reads did not cover the account's policies.",
            "enum": [
              "producer",
              "client_manager"
            ],
            "type": "string"
          },
          "source_system": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "enum": [
              "active",
              "cancelled",
              "ended",
              "unknown"
            ],
            "type": "string"
          },
          "tenant_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "urgency_rank": {
            "format": "int64",
            "type": "integer"
          },
          "world": {
            "description": "commercial, personal, benefits, life, other or mixed.",
            "type": "string"
          },
          "x_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "x_days": {
            "description": "Days from the read date to x_date.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "tenant_id",
          "source_system",
          "client_id",
          "client_code",
          "agency_code",
          "client_name",
          "client_city",
          "client_state",
          "client_postal_code",
          "client_country",
          "client_naics_code",
          "naics_national_industry",
          "naics_industry",
          "naics_industry_group",
          "naics_subsector",
          "naics_sector"
        ],
        "type": "object"
      },
      "AccountClass": {
        "additionalProperties": false,
        "properties": {
          "behind_head": {
            "type": "boolean"
          },
          "behind_head_note": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "code_type": {
            "type": "string"
          },
          "degraded": {
            "type": "boolean"
          },
          "degraded_reason": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "level": {
            "type": "string"
          },
          "resolved": {
            "type": "boolean"
          },
          "source": {
            "type": "string"
          },
          "source_batch_set_id": {
            "type": "string"
          },
          "unresolved_reason": {
            "type": "string"
          }
        },
        "required": [
          "resolved"
        ],
        "type": "object"
      },
      "AccountClassCoverage": {
        "additionalProperties": false,
        "properties": {
          "commercial_accounts": {
            "description": "Accounts with a commercial in-force policy, in the subject's scope and the page's filters without class_id.",
            "format": "int64",
            "type": "integer"
          },
          "outside_binding": {
            "$ref": "#/components/schemas/AccountOutsideBinding",
            "description": "Present when platform=, market= or office= names agencies the connection does not read: their accounts are in none of these counts."
          },
          "with_class_evidence": {
            "description": "Of commercial_accounts, those with any class evidence: a NAICS, an AMS 360 SIC, or a general liability class code on an in-force policy. An account without evidence cannot be placed in any class, so a class count is complete only up to this share.",
            "format": "int64",
            "type": "integer"
          },
          "with_naics": {
            "description": "Of commercial_accounts, those whose client record carries a NAICS code.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "commercial_accounts",
          "with_naics",
          "with_class_evidence"
        ],
        "type": "object"
      },
      "AccountClassKnowledge": {
        "additionalProperties": false,
        "properties": {
          "absence_reason": {
            "type": "string"
          },
          "class": {
            "$ref": "#/components/schemas/AccountClass"
          },
          "intake": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ClassIntakeAccountJSON"
              },
              {
                "type": "null"
              }
            ]
          },
          "presence": {
            "description": "present, or absent with absence_reason when the corpus does not cover the account's class. An account the acting seat cannot read is 404 NOT_VISIBLE_OR_ABSENT, never absent.",
            "type": "string"
          },
          "report": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AccountClassKnowledgeReport"
              },
              {
                "type": "null"
              }
            ]
          },
          "rung": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ClassKnowledgeRung"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "class",
          "rung",
          "report",
          "presence",
          "intake"
        ],
        "type": "object"
      },
      "AccountClassKnowledgeReport": {
        "additionalProperties": false,
        "properties": {
          "am_publish_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "associations": {
            "type": "string"
          },
          "checklist": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "codes": {
            "items": {
              "$ref": "#/components/schemas/ClassKnowledgeCodeJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "hazard_indexes": {
            "items": {
              "$ref": "#/components/schemas/ClassHazard"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "materials_equipment": {
            "type": "string"
          },
          "report_description": {
            "type": "string"
          },
          "resolution": {
            "$ref": "#/components/schemas/ClassKnowledgeResolutionJSON"
          },
          "risk_description": {
            "type": "string"
          },
          "source_report_id": {
            "type": "string"
          },
          "sources": {
            "items": {
              "$ref": "#/components/schemas/ClassKnowledgeSourceJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "report_description",
          "risk_description",
          "materials_equipment",
          "associations",
          "checklist",
          "hazard_indexes",
          "id",
          "source_report_id",
          "title",
          "codes",
          "am_publish_date",
          "sources"
        ],
        "type": "object"
      },
      "AccountClassMix": {
        "additionalProperties": false,
        "properties": {
          "coverage": {
            "$ref": "#/components/schemas/AccountClassCoverage",
            "description": "How far class evidence reaches over the same accounts."
          },
          "sectors": {
            "description": "The sectors with accounts, largest first, then the unclassified row.",
            "items": {
              "$ref": "#/components/schemas/AccountClassMixSector"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "sectors",
          "coverage"
        ],
        "type": "object"
      },
      "AccountClassMixBasis": {
        "additionalProperties": false,
        "properties": {
          "gl_code": {
            "description": "Placed by the fit of its in-force general liability class codes: book evidence, not the client's own NAICS.",
            "format": "int64",
            "type": "integer"
          },
          "naics": {
            "description": "Placed by the account's NAICS.",
            "format": "int64",
            "type": "integer"
          },
          "sic": {
            "description": "Placed by its AMS 360 SIC through the Census concordances.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "naics",
          "sic",
          "gl_code"
        ],
        "type": "object"
      },
      "AccountClassMixSector": {
        "additionalProperties": false,
        "properties": {
          "accounts": {
            "format": "int64",
            "type": "integer"
          },
          "accounts_percent": {
            "description": "Share of the filtered accounts, to one decimal.",
            "format": "double",
            "type": "number"
          },
          "basis": {
            "$ref": "#/components/schemas/AccountClassMixBasis"
          },
          "class_id": {
            "description": "The sector's id of GET /records/classes; null on the unclassified row, the accounts no basis places.",
            "type": [
              "string",
              "null"
            ]
          },
          "no_evidence": {
            "description": "Of accounts, those with no NAICS, AMS 360 SIC or general liability class code on file, so no basis can place them; on the unclassified row the rest carry a SIC or general liability class code that places them in no one sector. The firm's account teams enter NAICS codes in AMS 360.",
            "format": "int64",
            "type": "integer"
          },
          "premium_in_force": {
            "description": "In-force premium as exact decimal text, folded as rollups.register.slice.premium_in_force folds it.",
            "type": "string"
          },
          "premium_percent": {
            "description": "Share of the filtered accounts' in-force premium, to one decimal.",
            "format": "double",
            "type": "number"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "class_id",
          "title",
          "accounts",
          "accounts_percent",
          "premium_in_force",
          "premium_percent",
          "basis",
          "no_evidence"
        ],
        "type": "object"
      },
      "AccountContactsRollup": {
        "additionalProperties": false,
        "properties": {
          "contacts": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/BookAccountContacts",
                "description": "The contact sheet; null when the family did not answer."
              },
              {
                "type": "null"
              }
            ]
          },
          "families": {
            "additionalProperties": {
              "$ref": "#/components/schemas/BookFamilyCoverage"
            },
            "description": "The coverage of contacts, and of contacts.account_record, contacts.carrier_contacts, contacts.policy_contacts, contacts.loss_history or contacts.cash_receipts when the seat may not read them or the read did not answer.",
            "type": "object"
          }
        },
        "required": [
          "contacts",
          "families"
        ],
        "type": "object"
      },
      "AccountCurrentProgram": {
        "additionalProperties": false,
        "properties": {
          "families": {
            "additionalProperties": {
              "$ref": "#/components/schemas/BookFamilyCoverage"
            },
            "description": "The coverage of current_program.",
            "type": "object"
          },
          "lines": {
            "description": "One line per canonical line of business the in-force terms carry.",
            "items": {
              "$ref": "#/components/schemas/InForceLine"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "program_dispositions": {
            "description": "The producer's decisions on this account's program lines (item_kind program_line), confirmed first then flagged then dismissed, then by item key. Omitted when the seat may not read decisions.",
            "items": {
              "$ref": "#/components/schemas/RiskItemDisposition"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "program_lines": {
            "description": "The account's program lines in display order: the union of the latest Commercial Program run's lines, the class opinion, the producer's requested lines, the in-force lines and the producer's decisions, one per line identity, ordered by decided state (confirmed, then proposed and flagged, then dismissed), then claim_rank, then label. Walk it in order and never re-sort it. A source that was not read is named in unreachable as data.program_lines.engine, .class, .requested or .producer; the in-force lines' coverage is families.current_program.",
            "items": {
              "$ref": "#/components/schemas/AccountProgramLine"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "programs": {
            "description": "The programs the lines file under, in display order (program_rank): Commercial, Personal, Benefits & life, then Other coverage.",
            "items": {
              "$ref": "#/components/schemas/AccountProgramGroup"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "lines",
          "programs",
          "program_lines",
          "families"
        ],
        "type": "object"
      },
      "AccountDuplicate": {
        "additionalProperties": false,
        "properties": {
          "matched_on": {
            "description": "The fields the two records share: name (the same entity name, legal-form words, case and punctuation ignored) and address (the same first street line with a number in it, letters and digits only, and the same five-digit ZIP) always; phone and email when they also match.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "other": {
            "$ref": "#/components/schemas/AccountDuplicateRecord"
          },
          "record": {
            "$ref": "#/components/schemas/AccountDuplicateRecord"
          }
        },
        "required": [
          "record",
          "other",
          "matched_on"
        ],
        "type": "object"
      },
      "AccountDuplicateRecord": {
        "additionalProperties": false,
        "properties": {
          "added_on": {
            "description": "The day the record was added to AMS 360.",
            "type": [
              "string",
              "null"
            ]
          },
          "address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "client_name": {
            "description": "The name AMS 360 holds: the firm name, or an individual's first and last name.",
            "type": [
              "string",
              "null"
            ]
          },
          "customer_number": {
            "description": "The AMS 360 customer number.",
            "type": [
              "string",
              "null"
            ]
          },
          "customer_type": {
            "description": "The AMS 360 customer type.",
            "enum": [
              "customer",
              "prospect",
              "suspect"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The record's account id, {instance}:customer:{customer id}.",
            "type": "string"
          },
          "office": {
            "description": "The record's AMS 360 GL division name.",
            "type": [
              "string",
              "null"
            ]
          },
          "postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "customer_number",
          "client_name",
          "address_1",
          "city",
          "state",
          "postal_code",
          "customer_type",
          "office",
          "added_on"
        ],
        "type": "object"
      },
      "AccountEngineRef": {
        "additionalProperties": false,
        "properties": {
          "engine_type": {
            "type": "string"
          },
          "response_type": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          }
        },
        "required": [
          "slug",
          "engine_type",
          "response_type"
        ],
        "type": "object"
      },
      "AccountFactColumn": {
        "additionalProperties": false,
        "properties": {
          "key": {
            "description": "The served field name on the family's rows.",
            "type": "string"
          },
          "kind": {
            "description": "How the value is formatted: text as is, date a calendar date, money an amount in dollars, boolean yes or no, code a source code the reader decodes.",
            "enum": [
              "text",
              "date",
              "money",
              "boolean",
              "code"
            ],
            "type": "string"
          },
          "label": {
            "description": "The column's heading.",
            "type": "string"
          }
        },
        "required": [
          "key",
          "label",
          "kind"
        ],
        "type": "object"
      },
      "AccountFactsRollup": {
        "additionalProperties": false,
        "properties": {
          "applicant": {
            "$ref": "#/components/schemas/BookAccountFactPage"
          },
          "buildings": {
            "$ref": "#/components/schemas/BookAccountFactPage"
          },
          "columns": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/AccountFactColumn"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "The shown columns of each fact family, in display order: the served field, its label and its kind. A reader draws a family's rows from this list.",
            "type": "object"
          },
          "families": {
            "additionalProperties": {
              "$ref": "#/components/schemas/BookFamilyCoverage"
            },
            "description": "The coverage of each fact family and of summary.",
            "type": "object"
          },
          "locations": {
            "$ref": "#/components/schemas/BookAccountFactPage"
          },
          "nature_of_business": {
            "$ref": "#/components/schemas/BookAccountFactPage"
          },
          "payroll": {
            "$ref": "#/components/schemas/BookAccountFactPage"
          },
          "premises": {
            "$ref": "#/components/schemas/BookAccountFactPage"
          },
          "prior_carriers": {
            "$ref": "#/components/schemas/BookAccountFactPage"
          },
          "property_values": {
            "$ref": "#/components/schemas/BookAccountFactPage"
          },
          "summary": {
            "$ref": "#/components/schemas/BookAccountFactsSummary"
          }
        },
        "required": [
          "families",
          "columns",
          "applicant",
          "nature_of_business",
          "locations",
          "buildings",
          "premises",
          "prior_carriers",
          "property_values",
          "payroll",
          "summary"
        ],
        "type": "object"
      },
      "AccountLifecycle": {
        "additionalProperties": false,
        "properties": {
          "frame": {
            "description": "Which workflow frame the account wears.",
            "enum": [
              "prospect_placement",
              "renewal_window",
              "active_service"
            ],
            "type": "string"
          },
          "health": {
            "description": "What the account needs from the producer now.",
            "enum": [
              "steady",
              "attention",
              "at_risk",
              "in_market"
            ],
            "type": "string"
          },
          "health_label": {
            "type": "string"
          },
          "next_move": {
            "description": "The structural next step for the stage, in producer language.",
            "type": "string"
          },
          "on_remarket_loop": {
            "type": "boolean"
          },
          "open_claim_count": {
            "format": "int64",
            "type": "integer"
          },
          "path": {
            "description": "The cycle path in order, each segment complete, current or upcoming.",
            "items": {
              "$ref": "#/components/schemas/LifecyclePathSegment"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "reasons": {
            "description": "The account-specific factors behind the health, one sentence each.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "stage": {
            "description": "The account's position in the annual cycle.",
            "enum": [
              "intake",
              "marketing",
              "quoting",
              "proposal",
              "bind",
              "service",
              "renewal",
              "remarket",
              "churned"
            ],
            "type": "string"
          },
          "stage_label": {
            "description": "The stage as the producer reads it; an account with no term in force and no recorded loss reads Cancelled or Term ended, never Churned.",
            "type": "string"
          }
        },
        "required": [
          "frame",
          "stage",
          "stage_label",
          "health",
          "health_label",
          "reasons",
          "next_move",
          "path",
          "on_remarket_loop",
          "open_claim_count"
        ],
        "type": "object"
      },
      "AccountList": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/Account"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "figures_only": {
            "description": "true when the request sent figures_only: the answer holds the figures alone. data is empty because no row was read, not because the register is empty.",
            "type": "boolean"
          },
          "incomplete": {
            "description": "The page holds part of the answer: either the finder stopped before all candidates were decided (rows have provisional rank and no exact total), or more accounts matched than the page holds (its first rows by rank, with the exact total). Search Accounts for the complete result.",
            "type": "boolean"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "names": {
            "description": "view=basic with client_name[in]: each name sent, in the order sent, with what it resolved to.",
            "items": {
              "$ref": "#/components/schemas/AccountNameResolution"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "own_book": {
            "description": "view=full with figures_only, served from the Data API whole-book fold: the seat's own book as a compact name list, every account the fold admitted for the seat and no other. A browser matches typed text against name_key with no further read. Absent on any other read, on a warehouse-served read, on a read with a world filter or x_days[lte] (its fold keeps only the filtered accounts) and on a seat whose book the fold does not read whole.",
            "items": {
              "$ref": "#/components/schemas/AccountOwnBookEntry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "rollups": {
            "$ref": "#/components/schemas/AccountListRollups",
            "description": "Present only for the rollups the request named in rollups=, each computed by the same read as the page."
          },
          "rows_only": {
            "description": "true when the request sent rows_only: the answer holds the page's rows and page.next, and total and rollups.register's accounts and slice only when the request sent include_total and the rows' own statement counted them; with the named facets, view and all of rollups.register when that read decided the whole book (never own_book). Anything absent was not read, not 0 or empty.",
            "type": "boolean"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "view": {
            "$ref": "#/components/schemas/View",
            "description": "view=full: the register's view filters, hide.status and hide.world, each with its options (every value, its label and the accounts it returns under every other filter), its default and the value this read applied, and how many accounts they hide. Absent on a live read."
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "AccountListRollups": {
        "additionalProperties": false,
        "properties": {
          "class_coverage": {
            "$ref": "#/components/schemas/AccountClassCoverage",
            "description": "How far class evidence reaches over the page's scope and filters without the class (rollups=class_coverage, view=full with class_id)."
          },
          "class_mix": {
            "$ref": "#/components/schemas/AccountClassMix",
            "description": "The industry mix of the page's filtered accounts (rollups=class_mix, view=full with no class_id or with class_id=none)."
          },
          "register": {
            "$ref": "#/components/schemas/AccountRegisterRollup",
            "description": "The register's side figures over the page's filters and subject (rollups=register, view=full)."
          }
        },
        "type": "object"
      },
      "AccountLossClaimLedger": {
        "additionalProperties": false,
        "properties": {
          "claim_count": {
            "format": "int64",
            "type": "integer"
          },
          "closed_count": {
            "format": "int64",
            "type": "integer"
          },
          "first_loss_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "last_closed_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "last_loss_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "last_open_loss_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "last_reported_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "open_count": {
            "format": "int64",
            "type": "integer"
          },
          "relation": {
            "type": "string"
          },
          "status_counts": {
            "additionalProperties": {
              "format": "int64",
              "type": "integer"
            },
            "type": "object"
          }
        },
        "required": [
          "relation",
          "claim_count",
          "open_count",
          "closed_count",
          "status_counts",
          "first_loss_date",
          "last_loss_date",
          "last_reported_date",
          "last_closed_date",
          "last_open_loss_date"
        ],
        "type": "object"
      },
      "AccountLossClaimPayments": {
        "additionalProperties": false,
        "properties": {
          "last_payment_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "paid_amount": {
            "description": "What was paid on the claims, by AMS 360 payment type: payment, claim payment, final payment and supplemental payment rows, less void and stop payment rows. Loss reserves, adjustment expense, recoveries, salvage, subrogation and rows of any other type are not paid. Zero when every amount is of a type that is not paid; null, never zero, when no payment row carried an amount.",
            "type": [
              "string",
              "null"
            ]
          },
          "relation": {
            "type": "string"
          },
          "row_count": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "relation",
          "row_count",
          "paid_amount",
          "last_payment_date"
        ],
        "type": "object"
      },
      "AccountLossCorpus": {
        "additionalProperties": false,
        "properties": {
          "accounts": {
            "format": "int64",
            "type": "integer"
          },
          "book_batch_set_id": {
            "type": "string"
          },
          "book_connection_id": {
            "type": "string"
          },
          "book_pin_at": {
            "format": "date-time",
            "type": "string"
          },
          "claims_batch_set_id": {
            "type": "string"
          },
          "claims_connection_id": {
            "type": "string"
          },
          "claims_pin_at": {
            "format": "date-time",
            "type": "string"
          },
          "derive_version": {
            "type": "string"
          },
          "identity_gap_accounts": {
            "format": "int64",
            "type": "integer"
          },
          "landed_at": {
            "format": "date-time",
            "type": "string"
          },
          "presence": {
            "type": "string"
          }
        },
        "required": [
          "presence"
        ],
        "type": "object"
      },
      "AccountLossCustomerHistory": {
        "additionalProperties": false,
        "properties": {
          "first_loss_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "last_loss_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "paid_amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "relation": {
            "type": "string"
          },
          "row_count": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "relation",
          "row_count",
          "paid_amount",
          "first_loss_date",
          "last_loss_date"
        ],
        "type": "object"
      },
      "AccountLossPolicyHistory": {
        "additionalProperties": false,
        "properties": {
          "first_loss_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "incurred_amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "last_loss_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "paid_amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "relation": {
            "type": "string"
          },
          "reserved_amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "row_count": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "relation",
          "row_count",
          "paid_amount",
          "reserved_amount",
          "incurred_amount",
          "first_loss_date",
          "last_loss_date"
        ],
        "type": "object"
      },
      "AccountLossSummary": {
        "additionalProperties": false,
        "properties": {
          "absence_reason": {
            "type": "string"
          },
          "account_id": {
            "description": "The account's instance key.",
            "type": "string"
          },
          "account_measured": {
            "description": "Always true: every measure describes this account, never its class.",
            "type": "boolean"
          },
          "claim_ledger": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AccountLossClaimLedger",
                "description": "The claim ledger's measures; null when it records no claim for the account."
              },
              {
                "type": "null"
              }
            ]
          },
          "claim_payment_coverage": {
            "$ref": "#/components/schemas/ClaimPaymentCoverage",
            "description": "Completeness of the current loss-summary payment relation under this account's authorized policy cohort. Not the filtered or all-term claims collection; absent when the writer supplied no coverage evidence."
          },
          "claim_payments": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AccountLossClaimPayments",
                "description": "The payments on the account's claims; null when none is recorded."
              },
              {
                "type": "null"
              }
            ]
          },
          "corpus": {
            "$ref": "#/components/schemas/AccountLossCorpus"
          },
          "customer_loss_history": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AccountLossCustomerHistory",
                "description": "The customer's own loss history; null when none is recorded."
              },
              {
                "type": "null"
              }
            ]
          },
          "policy_loss_history": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AccountLossPolicyHistory",
                "description": "The loss history on the account's policies; null when none is recorded."
              },
              {
                "type": "null"
              }
            ]
          },
          "presence": {
            "description": "present when the account was measured; absent with absence_reason otherwise.",
            "type": "string"
          }
        },
        "required": [
          "account_id",
          "account_measured",
          "presence",
          "claim_ledger",
          "claim_payments",
          "customer_loss_history",
          "policy_loss_history",
          "corpus"
        ],
        "type": "object"
      },
      "AccountMemoryFact": {
        "additionalProperties": false,
        "properties": {
          "fact": {
            "description": "The fact, one plain sentence about the client.",
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "kind": {
            "description": "relationship: what the client or its people said. preference: a business preference of the client's people. commitment: an open promise, ours or the client's. renewal: why a term or renewal went the way it did. carrier: a carrier's history with this client.",
            "enum": [
              "relationship",
              "preference",
              "commitment",
              "renewal",
              "carrier"
            ],
            "type": "string"
          },
          "recorded_at": {
            "format": "date-time",
            "type": "string"
          },
          "said_by": {
            "description": "The display name of the colleague who said it, or a colleague when no name is recorded.",
            "type": "string"
          },
          "valid_from": {
            "description": "When it was said.",
            "format": "date-time",
            "type": "string"
          },
          "written_by": {
            "description": "The job that wrote it.",
            "enum": [
              "learn",
              "dream",
              "backfill",
              "route"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "fact",
          "kind",
          "said_by",
          "valid_from",
          "recorded_at",
          "written_by"
        ],
        "type": "object"
      },
      "AccountMemoryForgotten": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "state": {
            "enum": [
              "forgotten"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "state"
        ],
        "type": "object"
      },
      "AccountNameResolution": {
        "additionalProperties": false,
        "properties": {
          "account_ids": {
            "description": "The accounts with this client name, accounts with a policy in force first: one when matched, the candidates when ambiguous, none when unmatched.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "candidates_cut": {
            "description": "The name reached the most accounts one name returns (6); more accounts may share it. Absent when false.",
            "type": "boolean"
          },
          "name": {
            "description": "The name as sent.",
            "type": "string"
          },
          "name_key": {
            "description": "The name's entity-name key; empty when it has no letter or digit, which matches no account.",
            "type": "string"
          },
          "status": {
            "description": "matched: one account the subject can read has this client name; ambiguous: more than one has; unmatched: none has.",
            "enum": [
              "matched",
              "ambiguous",
              "unmatched"
            ],
            "type": "string"
          }
        },
        "required": [
          "name",
          "name_key",
          "status",
          "account_ids"
        ],
        "type": "object"
      },
      "AccountNotesAppendPatch": {
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "supersedes_reason": {
            "type": "string"
          },
          "value": {}
        },
        "required": [
          "path",
          "value"
        ],
        "type": "object"
      },
      "AccountNotesMissingItem": {
        "additionalProperties": false,
        "properties": {
          "blocking": {
            "type": "boolean"
          },
          "item": {
            "type": "string"
          },
          "why_needed": {
            "type": "string"
          }
        },
        "required": [
          "item"
        ],
        "type": "object"
      },
      "AccountNotesProfileField": {
        "additionalProperties": false,
        "properties": {
          "confidence": {
            "format": "double",
            "type": "number"
          },
          "path": {
            "type": "string"
          },
          "source_quote": {
            "type": "string"
          },
          "value": {}
        },
        "required": [
          "path",
          "value"
        ],
        "type": "object"
      },
      "AccountNotesRead": {
        "additionalProperties": false,
        "properties": {
          "append_patch": {
            "items": {
              "$ref": "#/components/schemas/AccountNotesAppendPatch"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "missing_items": {
            "items": {
              "$ref": "#/components/schemas/AccountNotesMissingItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "profile_fields": {
            "items": {
              "$ref": "#/components/schemas/AccountNotesProfileField"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "profile_fields",
          "missing_items",
          "append_patch"
        ],
        "type": "object"
      },
      "AccountNotesReadRequest": {
        "additionalProperties": false,
        "properties": {
          "existing_profile": {
            "additionalProperties": {},
            "description": "The account's current profile fields, so the proposal can name what the notes change.",
            "type": "object"
          },
          "raw_material": {
            "description": "The pasted notes.",
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "raw_material"
        ],
        "type": "object"
      },
      "AccountOutsideBinding": {
        "additionalProperties": false,
        "properties": {
          "accounts": {
            "description": "Accounts in force under those agencies. The page's total and facets count none of them.",
            "format": "int64",
            "type": "integer"
          },
          "agencies": {
            "description": "Agencies of the requested org units outside the connection's data that carry a policy in force.",
            "format": "int64",
            "type": "integer"
          },
          "commercial_accounts": {
            "description": "Of accounts, those with a commercial policy in force; commercial_accounts above counts none of them.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "agencies",
          "accounts",
          "commercial_accounts"
        ],
        "type": "object"
      },
      "AccountOwnBookEntry": {
        "additionalProperties": false,
        "properties": {
          "city": {
            "description": "The client's city; absent when the client record names none.",
            "type": "string"
          },
          "id": {
            "description": "The account id.",
            "type": "string"
          },
          "name": {
            "description": "The client name.",
            "type": "string"
          },
          "name_key": {
            "description": "The name's entity-name key (the same key as an account's name_key); empty when the name has no letter or digit.",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "name_key"
        ],
        "type": "object"
      },
      "AccountPolicyForms": {
        "additionalProperties": false,
        "properties": {
          "capabilities": {
            "description": "The state of each form capability on this term's merged forms schedule, in the closed capability order. Null when the coverage record family did not answer or on view=submission.",
            "items": {
              "$ref": "#/components/schemas/AnswerCapability"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "forms": {
            "$ref": "#/components/schemas/BookPolicyFormsSchedule"
          },
          "policy_id": {
            "description": "The policy term's instance key, {instance}:policy_term:{policy id}.",
            "type": "string"
          }
        },
        "required": [
          "policy_id",
          "forms",
          "capabilities"
        ],
        "type": "object"
      },
      "AccountPolicyNamedInsureds": {
        "additionalProperties": false,
        "properties": {
          "named_insureds": {
            "items": {
              "$ref": "#/components/schemas/BookNamedInsured"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "policy_id": {
            "description": "The policy term's instance key, {instance}:policy_term:{policy id}.",
            "type": "string"
          }
        },
        "required": [
          "policy_id",
          "named_insureds"
        ],
        "type": "object"
      },
      "AccountPolicySchedule": {
        "additionalProperties": false,
        "properties": {
          "coverage_answer": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Answer",
                "description": "The record merged with the AMS 360 rows; null when the record family did not answer."
              },
              {
                "type": "null"
              }
            ]
          },
          "coverage_record": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/BookPolicyCoverageRecord",
                "description": "The platform-owned coverage record; null when none is stored or the record family did not answer."
              },
              {
                "type": "null"
              }
            ]
          },
          "coverages": {
            "items": {
              "$ref": "#/components/schemas/BookPolicyCoverage"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "forms": {
            "$ref": "#/components/schemas/BookPolicyFormsSchedule"
          },
          "policy_id": {
            "description": "The policy term's instance key, {instance}:policy_term:{policy id}.",
            "type": "string"
          }
        },
        "required": [
          "policy_id",
          "coverages",
          "forms",
          "coverage_record",
          "coverage_answer"
        ],
        "type": "object"
      },
      "AccountPolicySchedules": {
        "additionalProperties": false,
        "properties": {
          "families": {
            "additionalProperties": {
              "$ref": "#/components/schemas/BookFamilyCoverage"
            },
            "description": "The coverage of policies, policy_coverages, policy_forms and policy_coverage_record.",
            "type": "object"
          },
          "policy_ids": {
            "description": "The account's admitted policy terms, in policy id order; null when the seat may not read the policies.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "terms": {
            "description": "One entry per policy term, in policy id order.",
            "items": {
              "$ref": "#/components/schemas/AccountPolicySchedule"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "terms",
          "policy_ids",
          "families"
        ],
        "type": "object"
      },
      "AccountProgramEvidence": {
        "additionalProperties": false,
        "properties": {
          "engine": {
            "$ref": "#/components/schemas/AccountEngineRef"
          },
          "report": {
            "$ref": "#/components/schemas/AccountProgramEvidenceReport"
          },
          "submission": {
            "description": "The signed pack v3 submission, posted to the engine unchanged. It carries the account under the key the engine's runs are keyed by.",
            "type": "object"
          }
        },
        "required": [
          "submission",
          "report",
          "engine"
        ],
        "type": "object"
      },
      "AccountProgramEvidenceReport": {
        "additionalProperties": false,
        "properties": {
          "account_facts": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "account_id": {
            "description": "The account's instance key.",
            "type": "string"
          },
          "activity": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "batch_set_id": {
            "type": "string"
          },
          "book_connection_id": {
            "type": "string"
          },
          "claim_payments": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "class_knowledge": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "completeness": {
            "type": "string"
          },
          "contract_requirements": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "coverage_schedule": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "coverage_source": {
            "type": "string"
          },
          "current_program": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "documents": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "evidence_count": {
            "format": "int64",
            "type": "integer"
          },
          "excluded_terms": {
            "$ref": "#/components/schemas/ProgramExcludedTerms"
          },
          "extractions": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "failed_stage": {
            "type": "string"
          },
          "forms": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "inputs": {
            "items": {
              "$ref": "#/components/schemas/AssemblyInput"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "loss_history": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "market_context": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "omitted": {
            "items": {
              "$ref": "#/components/schemas/OmittedBlock"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "org_id": {
            "type": "string"
          },
          "overlay": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "policy_schedules": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "policy_terms": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "prior_lines": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "published_at": {
            "format": "date-time",
            "type": "string"
          },
          "refusals": {
            "items": {
              "$ref": "#/components/schemas/ProgramRefusal"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "risk_assessment": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "risk_run_id": {
            "type": "string"
          },
          "schedule_of_values": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "serving_pin": {
            "format": "date-time",
            "type": "string"
          },
          "stages": {
            "items": {
              "$ref": "#/components/schemas/ProgramAssemblyStage"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "stamped": {
            "type": "boolean"
          },
          "submissions": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          }
        },
        "required": [
          "account_id",
          "stages",
          "org_id",
          "book_connection_id",
          "batch_set_id",
          "serving_pin",
          "published_at",
          "account_facts",
          "current_program",
          "coverage_schedule",
          "policy_terms",
          "policy_schedules",
          "risk_assessment",
          "loss_history",
          "claim_payments",
          "overlay",
          "schedule_of_values",
          "contract_requirements",
          "extractions",
          "documents",
          "class_knowledge",
          "prior_lines",
          "activity",
          "forms",
          "market_context",
          "submissions",
          "coverage_source",
          "excluded_terms",
          "completeness",
          "evidence_count",
          "stamped"
        ],
        "type": "object"
      },
      "AccountProgramGroup": {
        "additionalProperties": false,
        "properties": {
          "lob_codes": {
            "description": "The lob_code of each line filed under the program, in line order.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "program": {
            "description": "Commercial, Personal, Benefits & life or Other coverage.",
            "type": "string"
          },
          "program_rank": {
            "description": "The program's place in the display order; sort by it.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "program",
          "program_rank",
          "lob_codes"
        ],
        "type": "object"
      },
      "AccountProgramLine": {
        "additionalProperties": false,
        "properties": {
          "claim_rank": {
            "description": "The strength of the claim the line carries: 0 Required, 1 Recommended, 2 the class opinion, 3 an engine that could not answer, 4 everything else (assessed not recommended, or carried only because it is in force, requested or decided).",
            "format": "int64",
            "type": "integer"
          },
          "item_key": {
            "description": "The decision store's item key for the line: the decided row's own key, else program:{lob_code}.",
            "type": "string"
          },
          "label": {
            "description": "The line's display label.",
            "type": "string"
          },
          "lob_code": {
            "description": "The line's code: the producer's decided spelling when the line is decided, else the spelling the first source to name the line used.",
            "type": "string"
          },
          "sources": {
            "description": "Why the line is on the list, in the order the sources claimed it: engine, class, requested, in_force, producer.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "state": {
            "description": "The producer's decision on the line; proposed when there is none.",
            "enum": [
              "confirmed",
              "proposed",
              "flagged",
              "dismissed"
            ],
            "type": "string"
          }
        },
        "required": [
          "lob_code",
          "item_key",
          "state",
          "claim_rank",
          "label",
          "sources"
        ],
        "type": "object"
      },
      "AccountRegisterRollup": {
        "additionalProperties": false,
        "properties": {
          "accounts": {
            "description": "The filtered account count.",
            "format": "int64",
            "type": "integer"
          },
          "attention": {
            "description": "Under every filter but x_days[lte], the accounts whose next x-date is within 150 days: what x_days[lte]=150 answers.",
            "format": "int64",
            "type": "integer"
          },
          "book": {
            "$ref": "#/components/schemas/BookTotals",
            "description": "The whole book's totals at the read pin, unmoved by filters."
          },
          "definition": {
            "$ref": "#/components/schemas/BookPodBookAggregate",
            "description": "The book definition the totals count under."
          },
          "slice": {
            "$ref": "#/components/schemas/BookAccountRegisterSlice",
            "description": "The filtered accounts' policies and premium, whole cohort and in force. A typed name reads past an owner selection: the in-force pair still counts only the policies inside the selection, and its premium is 0 when none is priced."
          }
        },
        "type": "object"
      },
      "AccountRenewalScopeResponse": {
        "additionalProperties": false,
        "properties": {
          "scope": {
            "$ref": "#/components/schemas/PlacementRenewalScope"
          }
        },
        "required": [
          "scope"
        ],
        "type": "object"
      },
      "AccountRetentionRollup": {
        "additionalProperties": false,
        "properties": {
          "families": {
            "additionalProperties": {
              "$ref": "#/components/schemas/BookFamilyCoverage"
            },
            "description": "The coverage of retention_outlooks.",
            "type": "object"
          },
          "outlooks": {
            "description": "The latest mark per renewal period, for the read month and later, ascending. Null when the marks were not read; an empty list is an account nobody has marked.",
            "items": {
              "$ref": "#/components/schemas/BookRetentionOutlookMark"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "outlooks",
          "families"
        ],
        "type": "object"
      },
      "AccountRiskEvidence": {
        "additionalProperties": false,
        "properties": {
          "assessment": {
            "$ref": "#/components/schemas/ReadAssessment",
            "description": "Normalized assessment and source freshness, or an in-band comparison refusal that preserves the source facts. When status is failed, freshness carries no verdict on the assessment."
          },
          "engine": {
            "$ref": "#/components/schemas/AccountEngineRef"
          },
          "report": {
            "$ref": "#/components/schemas/AccountRiskEvidenceReport"
          },
          "submission": {
            "description": "The signed submission, posted to the engine unchanged. It carries the account under the key the engine's runs are keyed by.",
            "type": "object"
          }
        },
        "required": [
          "submission",
          "report",
          "engine"
        ],
        "type": "object"
      },
      "AccountRiskEvidenceReport": {
        "additionalProperties": false,
        "properties": {
          "account_facts": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "account_id": {
            "description": "The account's instance key.",
            "type": "string"
          },
          "batch_set_id": {
            "type": "string"
          },
          "book_connection_id": {
            "type": "string"
          },
          "claim_payments": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "class_knowledge": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "completeness": {
            "type": "string"
          },
          "coverage_schedule": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "current_program": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "documents": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "evidence_count": {
            "format": "int64",
            "type": "integer"
          },
          "extractions": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "failed_stage": {
            "type": "string"
          },
          "inputs": {
            "items": {
              "$ref": "#/components/schemas/AssemblyInput"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "loss_corpus": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "loss_history": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "minimum_facts": {
            "$ref": "#/components/schemas/MinimumFacts"
          },
          "omitted": {
            "items": {
              "$ref": "#/components/schemas/OmittedBlock"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "org_id": {
            "type": "string"
          },
          "overlay": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "policy_schedules": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "prior_hazards": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "published_at": {
            "format": "date-time",
            "type": "string"
          },
          "risk_profile": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "schedule_of_values": {
            "$ref": "#/components/schemas/ProgramFeederStatus"
          },
          "serving_pin": {
            "format": "date-time",
            "type": "string"
          },
          "stages": {
            "items": {
              "$ref": "#/components/schemas/ProgramAssemblyStage"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "stamped": {
            "type": "boolean"
          }
        },
        "required": [
          "account_id",
          "stages",
          "org_id",
          "book_connection_id",
          "batch_set_id",
          "serving_pin",
          "published_at",
          "account_facts",
          "current_program",
          "coverage_schedule",
          "policy_schedules",
          "risk_profile",
          "loss_history",
          "claim_payments",
          "loss_corpus",
          "overlay",
          "schedule_of_values",
          "extractions",
          "documents",
          "class_knowledge",
          "prior_hazards",
          "minimum_facts",
          "completeness",
          "evidence_count",
          "stamped"
        ],
        "type": "object"
      },
      "AccountRiskProfile": {
        "additionalProperties": false,
        "properties": {
          "age_days": {
            "description": "Whole days since the assessment completed; null when the account has none.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "assessment": {
            "$ref": "#/components/schemas/ReadAssessment",
            "description": "The latest completed assessment, normalized; null when the account has none."
          },
          "computed_at": {
            "description": "When that Run completed; null when the account has none.",
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "freshness": {
            "enum": [
              "current",
              "stale",
              "unverified"
            ],
            "type": "string"
          },
          "in_flight": {
            "type": "boolean"
          },
          "max_age_days": {
            "description": "The age past which an assessment is stale.",
            "format": "int64",
            "type": "integer"
          },
          "reason": {
            "enum": [
              "current",
              "source_unverified",
              "snapshot_missing",
              "identity_missing",
              "clock_missing",
              "clock_invalid",
              "age_exceeded",
              "input_changed"
            ],
            "type": "string"
          },
          "run_id": {
            "description": "The Run behind the assessment; null when the account has none.",
            "type": [
              "string",
              "null"
            ]
          },
          "stale": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "staleness_floor_days": {
            "description": "The window inside which an unchanged input does not launch a new assessment.",
            "format": "int64",
            "type": "integer"
          },
          "within_floor": {
            "description": "True when the assessment completed inside the staleness floor.",
            "type": "boolean"
          }
        },
        "required": [
          "assessment",
          "run_id",
          "computed_at",
          "age_days",
          "max_age_days",
          "staleness_floor_days",
          "within_floor",
          "stale",
          "freshness",
          "reason",
          "in_flight"
        ],
        "type": "object"
      },
      "AccountSOV": {
        "additionalProperties": false,
        "properties": {
          "document": {
            "$ref": "#/components/schemas/AccountSOVDocument"
          },
          "gaps": {
            "items": {
              "$ref": "#/components/schemas/AccountSOVGap"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "history": {
            "items": {
              "$ref": "#/components/schemas/AccountSOVRevision"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "saved": {
            "type": "boolean"
          },
          "totals": {
            "items": {
              "$ref": "#/components/schemas/AccountSOVTotal"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "version": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "document",
          "version",
          "history",
          "totals",
          "gaps",
          "saved"
        ],
        "type": "object"
      },
      "AccountSOVDocument": {
        "additionalProperties": false,
        "properties": {
          "asOf": {
            "type": [
              "string",
              "null"
            ]
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/AccountSOVRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "schemaVersion": {
            "format": "int64",
            "type": "integer"
          },
          "sourceReads": {
            "items": {
              "$ref": "#/components/schemas/AccountSOVSourceRead"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "schemaVersion",
          "asOf",
          "rows",
          "sourceReads"
        ],
        "type": "object"
      },
      "AccountSOVGap": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "rowId": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "message"
        ],
        "type": "object"
      },
      "AccountSOVRevision": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "document": {
            "$ref": "#/components/schemas/AccountSOVDocument"
          },
          "id": {
            "type": "string"
          },
          "version": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "version",
          "actor",
          "created_at",
          "document"
        ],
        "type": "object"
      },
      "AccountSOVRow": {
        "additionalProperties": false,
        "properties": {
          "address": {
            "type": "string"
          },
          "area": {
            "type": "string"
          },
          "areaUnit": {
            "type": "string"
          },
          "building": {
            "type": "string"
          },
          "construction": {
            "type": "string"
          },
          "entity": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "location": {
            "type": "string"
          },
          "occupancy": {
            "type": "string"
          },
          "scopeStatus": {
            "type": "string"
          },
          "sources": {
            "items": {
              "$ref": "#/components/schemas/AccountSOVSource"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "values": {
            "$ref": "#/components/schemas/AccountSOVValues"
          },
          "yearBuilt": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "entity",
          "location",
          "building",
          "address",
          "occupancy",
          "construction",
          "yearBuilt",
          "area",
          "areaUnit",
          "scopeStatus",
          "values",
          "sources"
        ],
        "type": "object"
      },
      "AccountSOVSource": {
        "additionalProperties": false,
        "properties": {
          "documentId": {
            "type": "string"
          },
          "effectiveAt": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "originalValues": {
            "additionalProperties": {},
            "type": "object"
          },
          "page": {
            "format": "int64",
            "type": "integer"
          },
          "quote": {
            "type": "string"
          },
          "row": {
            "format": "int64",
            "type": "integer"
          },
          "sheet": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "kind",
          "label",
          "quote"
        ],
        "type": "object"
      },
      "AccountSOVSourceRead": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "rows": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "label",
          "status",
          "message",
          "rows"
        ],
        "type": "object"
      },
      "AccountSOVTotal": {
        "additionalProperties": false,
        "properties": {
          "amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "basis": {
            "type": [
              "string",
              "null"
            ]
          },
          "category": {
            "type": "string"
          },
          "currency": {
            "type": [
              "string",
              "null"
            ]
          },
          "eligibleRows": {
            "format": "int64",
            "type": "integer"
          },
          "includedRows": {
            "format": "int64",
            "type": "integer"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "category",
          "currency",
          "basis",
          "amount",
          "status",
          "includedRows",
          "eligibleRows"
        ],
        "type": "object"
      },
      "AccountSOVValue": {
        "additionalProperties": false,
        "properties": {
          "amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "basis": {
            "type": [
              "string",
              "null"
            ]
          },
          "currency": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "amount",
          "currency",
          "basis",
          "status"
        ],
        "type": "object"
      },
      "AccountSOVValues": {
        "additionalProperties": false,
        "properties": {
          "bpp": {
            "$ref": "#/components/schemas/AccountSOVValue"
          },
          "building": {
            "$ref": "#/components/schemas/AccountSOVValue"
          },
          "businessIncome": {
            "$ref": "#/components/schemas/AccountSOVValue"
          }
        },
        "required": [
          "building",
          "bpp",
          "businessIncome"
        ],
        "type": "object"
      },
      "AccountScheduleBinders": {
        "additionalProperties": false,
        "properties": {
          "policies": {
            "description": "One entry per requested policy the account's access decision admits, in request order.",
            "items": {
              "$ref": "#/components/schemas/AccountScheduleBindersPolicy"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "status": {
            "description": "read: every policy answered. partial: some policies are unreachable. unreachable: none could be read.",
            "enum": [
              "read",
              "partial",
              "unreachable"
            ],
            "type": "string"
          },
          "total": {
            "description": "The rows served across every policy (for personnel, the policies read).",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "status",
          "total",
          "source",
          "policies"
        ],
        "type": "object"
      },
      "AccountScheduleBindersPolicy": {
        "additionalProperties": false,
        "properties": {
          "counts": {
            "$ref": "#/components/schemas/CatalogRowCounts",
            "description": "The policy's items from the statement that served the rows, present when read: current, the items served (in effect on as_of and not removed), and removed, the items whose version on as_of is a removal, which a current-rows schedule leaves out unless include_removed is asked. A schedule that does not serve current rows counts the rows it serves."
          },
          "policy_id": {
            "description": "The policy the rows were read for.",
            "type": "string"
          },
          "reason": {
            "description": "Why the policy is unreachable: EXECUTOR_TIMEOUT, BUDGET_EXHAUSTED, RESULT_TOO_LARGE, ...",
            "type": "string"
          },
          "rows": {
            "description": "The policy's rows, as its per-policy route serves them; absent when the policy has none or was not read.",
            "items": {
              "$ref": "#/components/schemas/PolicyBinder"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "description": "read: the policy's rows (possibly none). not_visible_or_absent: the schedule's authority did not admit the policy. unreachable: its rows could not be read (reason).",
            "enum": [
              "read",
              "not_visible_or_absent",
              "unreachable"
            ],
            "type": "string"
          }
        },
        "required": [
          "policy_id",
          "status"
        ],
        "type": "object"
      },
      "AccountScheduleChanges": {
        "additionalProperties": false,
        "properties": {
          "policies": {
            "description": "One entry per requested policy the account's access decision admits, in request order.",
            "items": {
              "$ref": "#/components/schemas/AccountScheduleChangesPolicy"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "status": {
            "description": "read: every policy answered. partial: some policies are unreachable. unreachable: none could be read.",
            "enum": [
              "read",
              "partial",
              "unreachable"
            ],
            "type": "string"
          },
          "total": {
            "description": "The rows served across every policy (for personnel, the policies read).",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "status",
          "total",
          "source",
          "policies"
        ],
        "type": "object"
      },
      "AccountScheduleChangesPolicy": {
        "additionalProperties": false,
        "properties": {
          "counts": {
            "$ref": "#/components/schemas/CatalogRowCounts",
            "description": "The policy's items from the statement that served the rows, present when read: current, the items served (in effect on as_of and not removed), and removed, the items whose version on as_of is a removal, which a current-rows schedule leaves out unless include_removed is asked. A schedule that does not serve current rows counts the rows it serves."
          },
          "policy_id": {
            "description": "The policy the rows were read for.",
            "type": "string"
          },
          "reason": {
            "description": "Why the policy is unreachable: EXECUTOR_TIMEOUT, BUDGET_EXHAUSTED, RESULT_TOO_LARGE, ...",
            "type": "string"
          },
          "rows": {
            "description": "The policy's rows, as its per-policy route serves them; absent when the policy has none or was not read.",
            "items": {
              "$ref": "#/components/schemas/PolicyChange"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "description": "read: the policy's rows (possibly none). not_visible_or_absent: the schedule's authority did not admit the policy. unreachable: its rows could not be read (reason).",
            "enum": [
              "read",
              "not_visible_or_absent",
              "unreachable"
            ],
            "type": "string"
          }
        },
        "required": [
          "policy_id",
          "status"
        ],
        "type": "object"
      },
      "AccountScheduleChecklist": {
        "additionalProperties": false,
        "properties": {
          "policies": {
            "description": "One entry per requested policy the account's access decision admits, in request order.",
            "items": {
              "$ref": "#/components/schemas/AccountScheduleChecklistPolicy"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "status": {
            "description": "read: every policy answered. partial: some policies are unreachable. unreachable: none could be read.",
            "enum": [
              "read",
              "partial",
              "unreachable"
            ],
            "type": "string"
          },
          "total": {
            "description": "The rows served across every policy (for personnel, the policies read).",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "status",
          "total",
          "source",
          "policies"
        ],
        "type": "object"
      },
      "AccountScheduleChecklistPolicy": {
        "additionalProperties": false,
        "properties": {
          "counts": {
            "$ref": "#/components/schemas/CatalogRowCounts",
            "description": "The policy's items from the statement that served the rows, present when read: current, the items served (in effect on as_of and not removed), and removed, the items whose version on as_of is a removal, which a current-rows schedule leaves out unless include_removed is asked. A schedule that does not serve current rows counts the rows it serves."
          },
          "policy_id": {
            "description": "The policy the rows were read for.",
            "type": "string"
          },
          "reason": {
            "description": "Why the policy is unreachable: EXECUTOR_TIMEOUT, BUDGET_EXHAUSTED, RESULT_TOO_LARGE, ...",
            "type": "string"
          },
          "rows": {
            "description": "The policy's rows, as its per-policy route serves them; absent when the policy has none or was not read.",
            "items": {
              "$ref": "#/components/schemas/PolicyChecklist"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "description": "read: the policy's rows (possibly none). not_visible_or_absent: the schedule's authority did not admit the policy. unreachable: its rows could not be read (reason).",
            "enum": [
              "read",
              "not_visible_or_absent",
              "unreachable"
            ],
            "type": "string"
          }
        },
        "required": [
          "policy_id",
          "status"
        ],
        "type": "object"
      },
      "AccountScheduleClasses": {
        "additionalProperties": false,
        "properties": {
          "policies": {
            "description": "One entry per requested policy the account's access decision admits, in request order.",
            "items": {
              "$ref": "#/components/schemas/AccountScheduleClassesPolicy"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "status": {
            "description": "read: every policy answered. partial: some policies are unreachable. unreachable: none could be read.",
            "enum": [
              "read",
              "partial",
              "unreachable"
            ],
            "type": "string"
          },
          "total": {
            "description": "The rows served across every policy (for personnel, the policies read).",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "status",
          "total",
          "source",
          "policies"
        ],
        "type": "object"
      },
      "AccountScheduleClassesPolicy": {
        "additionalProperties": false,
        "properties": {
          "counts": {
            "$ref": "#/components/schemas/CatalogRowCounts",
            "description": "The policy's items from the statement that served the rows, present when read: current, the items served (in effect on as_of and not removed), and removed, the items whose version on as_of is a removal, which a current-rows schedule leaves out unless include_removed is asked. A schedule that does not serve current rows counts the rows it serves."
          },
          "policy_id": {
            "description": "The policy the rows were read for.",
            "type": "string"
          },
          "reason": {
            "description": "Why the policy is unreachable: EXECUTOR_TIMEOUT, BUDGET_EXHAUSTED, RESULT_TOO_LARGE, ...",
            "type": "string"
          },
          "rows": {
            "description": "The policy's rows, as its per-policy route serves them; absent when the policy has none or was not read.",
            "items": {
              "$ref": "#/components/schemas/PolicyClass"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "description": "read: the policy's rows (possibly none). not_visible_or_absent: the schedule's authority did not admit the policy. unreachable: its rows could not be read (reason).",
            "enum": [
              "read",
              "not_visible_or_absent",
              "unreachable"
            ],
            "type": "string"
          }
        },
        "required": [
          "policy_id",
          "status"
        ],
        "type": "object"
      },
      "AccountScheduleDrivers": {
        "additionalProperties": false,
        "properties": {
          "policies": {
            "description": "One entry per requested policy the account's access decision admits, in request order.",
            "items": {
              "$ref": "#/components/schemas/AccountScheduleDriversPolicy"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "status": {
            "description": "read: every policy answered. partial: some policies are unreachable. unreachable: none could be read.",
            "enum": [
              "read",
              "partial",
              "unreachable"
            ],
            "type": "string"
          },
          "total": {
            "description": "The rows served across every policy (for personnel, the policies read).",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "status",
          "total",
          "source",
          "policies"
        ],
        "type": "object"
      },
      "AccountScheduleDriversPolicy": {
        "additionalProperties": false,
        "properties": {
          "counts": {
            "$ref": "#/components/schemas/CatalogRowCounts",
            "description": "The policy's items from the statement that served the rows, present when read: current, the items served (in effect on as_of and not removed), and removed, the items whose version on as_of is a removal, which a current-rows schedule leaves out unless include_removed is asked. A schedule that does not serve current rows counts the rows it serves."
          },
          "policy_id": {
            "description": "The policy the rows were read for.",
            "type": "string"
          },
          "reason": {
            "description": "Why the policy is unreachable: EXECUTOR_TIMEOUT, BUDGET_EXHAUSTED, RESULT_TOO_LARGE, ...",
            "type": "string"
          },
          "rows": {
            "description": "The policy's rows, as its per-policy route serves them; absent when the policy has none or was not read.",
            "items": {
              "$ref": "#/components/schemas/PolicyDriver"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "description": "read: the policy's rows (possibly none). not_visible_or_absent: the schedule's authority did not admit the policy. unreachable: its rows could not be read (reason).",
            "enum": [
              "read",
              "not_visible_or_absent",
              "unreachable"
            ],
            "type": "string"
          }
        },
        "required": [
          "policy_id",
          "status"
        ],
        "type": "object"
      },
      "AccountScheduleEquipment": {
        "additionalProperties": false,
        "properties": {
          "policies": {
            "description": "One entry per requested policy the account's access decision admits, in request order.",
            "items": {
              "$ref": "#/components/schemas/AccountScheduleEquipmentPolicy"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "status": {
            "description": "read: every policy answered. partial: some policies are unreachable. unreachable: none could be read.",
            "enum": [
              "read",
              "partial",
              "unreachable"
            ],
            "type": "string"
          },
          "total": {
            "description": "The rows served across every policy (for personnel, the policies read).",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "status",
          "total",
          "source",
          "policies"
        ],
        "type": "object"
      },
      "AccountScheduleEquipmentPolicy": {
        "additionalProperties": false,
        "properties": {
          "counts": {
            "$ref": "#/components/schemas/CatalogRowCounts",
            "description": "The policy's items from the statement that served the rows, present when read: current, the items served (in effect on as_of and not removed), and removed, the items whose version on as_of is a removal, which a current-rows schedule leaves out unless include_removed is asked. A schedule that does not serve current rows counts the rows it serves."
          },
          "policy_id": {
            "description": "The policy the rows were read for.",
            "type": "string"
          },
          "reason": {
            "description": "Why the policy is unreachable: EXECUTOR_TIMEOUT, BUDGET_EXHAUSTED, RESULT_TOO_LARGE, ...",
            "type": "string"
          },
          "rows": {
            "description": "The policy's rows, as its per-policy route serves them; absent when the policy has none or was not read.",
            "items": {
              "$ref": "#/components/schemas/PolicyEquipment"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "description": "read: the policy's rows (possibly none). not_visible_or_absent: the schedule's authority did not admit the policy. unreachable: its rows could not be read (reason).",
            "enum": [
              "read",
              "not_visible_or_absent",
              "unreachable"
            ],
            "type": "string"
          }
        },
        "required": [
          "policy_id",
          "status"
        ],
        "type": "object"
      },
      "AccountScheduleInterests": {
        "additionalProperties": false,
        "properties": {
          "policies": {
            "description": "One entry per requested policy the account's access decision admits, in request order.",
            "items": {
              "$ref": "#/components/schemas/AccountScheduleInterestsPolicy"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "status": {
            "description": "read: every policy answered. partial: some policies are unreachable. unreachable: none could be read.",
            "enum": [
              "read",
              "partial",
              "unreachable"
            ],
            "type": "string"
          },
          "total": {
            "description": "The rows served across every policy (for personnel, the policies read).",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "status",
          "total",
          "source",
          "policies"
        ],
        "type": "object"
      },
      "AccountScheduleInterestsPolicy": {
        "additionalProperties": false,
        "properties": {
          "counts": {
            "$ref": "#/components/schemas/CatalogRowCounts",
            "description": "The policy's items from the statement that served the rows, present when read: current, the items served (in effect on as_of and not removed), and removed, the items whose version on as_of is a removal, which a current-rows schedule leaves out unless include_removed is asked. A schedule that does not serve current rows counts the rows it serves."
          },
          "policy_id": {
            "description": "The policy the rows were read for.",
            "type": "string"
          },
          "reason": {
            "description": "Why the policy is unreachable: EXECUTOR_TIMEOUT, BUDGET_EXHAUSTED, RESULT_TOO_LARGE, ...",
            "type": "string"
          },
          "rows": {
            "description": "The policy's rows, as its per-policy route serves them; absent when the policy has none or was not read.",
            "items": {
              "$ref": "#/components/schemas/PolicyInterest"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "description": "read: the policy's rows (possibly none). not_visible_or_absent: the schedule's authority did not admit the policy. unreachable: its rows could not be read (reason).",
            "enum": [
              "read",
              "not_visible_or_absent",
              "unreachable"
            ],
            "type": "string"
          }
        },
        "required": [
          "policy_id",
          "status"
        ],
        "type": "object"
      },
      "AccountScheduleLines": {
        "additionalProperties": false,
        "properties": {
          "policies": {
            "description": "One entry per requested policy the account's access decision admits, in request order.",
            "items": {
              "$ref": "#/components/schemas/AccountScheduleLinesPolicy"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "status": {
            "description": "read: every policy answered. partial: some policies are unreachable. unreachable: none could be read.",
            "enum": [
              "read",
              "partial",
              "unreachable"
            ],
            "type": "string"
          },
          "total": {
            "description": "The rows served across every policy (for personnel, the policies read).",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "status",
          "total",
          "source",
          "policies"
        ],
        "type": "object"
      },
      "AccountScheduleLinesPolicy": {
        "additionalProperties": false,
        "properties": {
          "counts": {
            "$ref": "#/components/schemas/CatalogRowCounts",
            "description": "The policy's items from the statement that served the rows, present when read: current, the items served (in effect on as_of and not removed), and removed, the items whose version on as_of is a removal, which a current-rows schedule leaves out unless include_removed is asked. A schedule that does not serve current rows counts the rows it serves."
          },
          "policy_id": {
            "description": "The policy the rows were read for.",
            "type": "string"
          },
          "reason": {
            "description": "Why the policy is unreachable: EXECUTOR_TIMEOUT, BUDGET_EXHAUSTED, RESULT_TOO_LARGE, ...",
            "type": "string"
          },
          "rows": {
            "description": "The policy's rows, as its per-policy route serves them; absent when the policy has none or was not read.",
            "items": {
              "$ref": "#/components/schemas/PolicyLine"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "description": "read: the policy's rows (possibly none). not_visible_or_absent: the schedule's authority did not admit the policy. unreachable: its rows could not be read (reason).",
            "enum": [
              "read",
              "not_visible_or_absent",
              "unreachable"
            ],
            "type": "string"
          }
        },
        "required": [
          "policy_id",
          "status"
        ],
        "type": "object"
      },
      "AccountScheduleLocations": {
        "additionalProperties": false,
        "properties": {
          "policies": {
            "description": "One entry per requested policy the account's access decision admits, in request order.",
            "items": {
              "$ref": "#/components/schemas/AccountScheduleLocationsPolicy"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "status": {
            "description": "read: every policy answered. partial: some policies are unreachable. unreachable: none could be read.",
            "enum": [
              "read",
              "partial",
              "unreachable"
            ],
            "type": "string"
          },
          "total": {
            "description": "The rows served across every policy (for personnel, the policies read).",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "status",
          "total",
          "source",
          "policies"
        ],
        "type": "object"
      },
      "AccountScheduleLocationsPolicy": {
        "additionalProperties": false,
        "properties": {
          "counts": {
            "$ref": "#/components/schemas/CatalogRowCounts",
            "description": "The policy's items from the statement that served the rows, present when read: current, the items served (in effect on as_of and not removed), and removed, the items whose version on as_of is a removal, which a current-rows schedule leaves out unless include_removed is asked. A schedule that does not serve current rows counts the rows it serves."
          },
          "policy_id": {
            "description": "The policy the rows were read for.",
            "type": "string"
          },
          "reason": {
            "description": "Why the policy is unreachable: EXECUTOR_TIMEOUT, BUDGET_EXHAUSTED, RESULT_TOO_LARGE, ...",
            "type": "string"
          },
          "rows": {
            "description": "The policy's rows, as its per-policy route serves them; absent when the policy has none or was not read.",
            "items": {
              "$ref": "#/components/schemas/PolicyLocation"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "description": "read: the policy's rows (possibly none). not_visible_or_absent: the schedule's authority did not admit the policy. unreachable: its rows could not be read (reason).",
            "enum": [
              "read",
              "not_visible_or_absent",
              "unreachable"
            ],
            "type": "string"
          }
        },
        "required": [
          "policy_id",
          "status"
        ],
        "type": "object"
      },
      "AccountScheduleNamedInsureds": {
        "additionalProperties": false,
        "properties": {
          "policies": {
            "description": "One entry per requested policy the account's access decision admits, in request order.",
            "items": {
              "$ref": "#/components/schemas/AccountScheduleNamedInsuredsPolicy"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "status": {
            "description": "read: every policy answered. partial: some policies are unreachable. unreachable: none could be read.",
            "enum": [
              "read",
              "partial",
              "unreachable"
            ],
            "type": "string"
          },
          "total": {
            "description": "The rows served across every policy (for personnel, the policies read).",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "status",
          "total",
          "source",
          "policies"
        ],
        "type": "object"
      },
      "AccountScheduleNamedInsuredsPolicy": {
        "additionalProperties": false,
        "properties": {
          "policy_id": {
            "description": "The policy the rows were read for.",
            "type": "string"
          },
          "reason": {
            "description": "Why the policy is unreachable: EXECUTOR_TIMEOUT, BUDGET_EXHAUSTED, RESULT_TOO_LARGE, ...",
            "type": "string"
          },
          "rows": {
            "description": "The policy's rows, as its per-policy route serves them; absent when the policy has none or was not read.",
            "items": {
              "$ref": "#/components/schemas/BookNamedInsured"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "description": "read: the policy's rows (possibly none). not_visible_or_absent: the schedule's authority did not admit the policy. unreachable: its rows could not be read (reason).",
            "enum": [
              "read",
              "not_visible_or_absent",
              "unreachable"
            ],
            "type": "string"
          }
        },
        "required": [
          "policy_id",
          "status"
        ],
        "type": "object"
      },
      "AccountSchedulePersonnel": {
        "additionalProperties": false,
        "properties": {
          "policies": {
            "description": "One entry per requested policy the account's access decision admits, in request order.",
            "items": {
              "$ref": "#/components/schemas/AccountSchedulePersonnelPolicy"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "status": {
            "description": "read: every policy answered. partial: some policies are unreachable. unreachable: none could be read.",
            "enum": [
              "read",
              "partial",
              "unreachable"
            ],
            "type": "string"
          },
          "total": {
            "description": "The rows served across every policy (for personnel, the policies read).",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "status",
          "total",
          "source",
          "policies"
        ],
        "type": "object"
      },
      "AccountSchedulePersonnelPolicy": {
        "additionalProperties": false,
        "properties": {
          "policy_id": {
            "description": "The policy the rows were read for.",
            "type": "string"
          },
          "reason": {
            "description": "Why the policy is unreachable: EXECUTOR_TIMEOUT, BUDGET_EXHAUSTED, RESULT_TOO_LARGE, ...",
            "type": "string"
          },
          "servicing": {
            "$ref": "#/components/schemas/BookPolicyServicing",
            "description": "The policy's servicing personnel, as its per-policy route serves it."
          },
          "status": {
            "description": "read: the policy's rows (possibly none). not_visible_or_absent: the schedule's authority did not admit the policy. unreachable: its rows could not be read (reason).",
            "enum": [
              "read",
              "not_visible_or_absent",
              "unreachable"
            ],
            "type": "string"
          }
        },
        "required": [
          "policy_id",
          "status"
        ],
        "type": "object"
      },
      "AccountSchedulePolicyStatus": {
        "additionalProperties": false,
        "properties": {
          "policy_id": {
            "description": "The requested policy id.",
            "type": "string"
          },
          "status": {
            "description": "read: the account's policy, read. not_visible_or_absent: not one of the account's policies the seat may open (the policy routes' 404). unreachable: no schedule's statement answered for it.",
            "enum": [
              "read",
              "not_visible_or_absent",
              "unreachable"
            ],
            "type": "string"
          }
        },
        "required": [
          "policy_id",
          "status"
        ],
        "type": "object"
      },
      "AccountSchedulePremiums": {
        "additionalProperties": false,
        "properties": {
          "policies": {
            "description": "One entry per requested policy the account's access decision admits, in request order.",
            "items": {
              "$ref": "#/components/schemas/AccountSchedulePremiumsPolicy"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "status": {
            "description": "read: every policy answered. partial: some policies are unreachable. unreachable: none could be read.",
            "enum": [
              "read",
              "partial",
              "unreachable"
            ],
            "type": "string"
          },
          "total": {
            "description": "The rows served across every policy (for personnel, the policies read).",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "status",
          "total",
          "source",
          "policies"
        ],
        "type": "object"
      },
      "AccountSchedulePremiumsPolicy": {
        "additionalProperties": false,
        "properties": {
          "counts": {
            "$ref": "#/components/schemas/CatalogRowCounts",
            "description": "The policy's items from the statement that served the rows, present when read: current, the items served (in effect on as_of and not removed), and removed, the items whose version on as_of is a removal, which a current-rows schedule leaves out unless include_removed is asked. A schedule that does not serve current rows counts the rows it serves."
          },
          "policy_id": {
            "description": "The policy the rows were read for.",
            "type": "string"
          },
          "reason": {
            "description": "Why the policy is unreachable: EXECUTOR_TIMEOUT, BUDGET_EXHAUSTED, RESULT_TOO_LARGE, ...",
            "type": "string"
          },
          "rows": {
            "description": "The policy's rows, as its per-policy route serves them; absent when the policy has none or was not read.",
            "items": {
              "$ref": "#/components/schemas/PolicyPremium"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "description": "read: the policy's rows (possibly none). not_visible_or_absent: the schedule's authority did not admit the policy. unreachable: its rows could not be read (reason).",
            "enum": [
              "read",
              "not_visible_or_absent",
              "unreachable"
            ],
            "type": "string"
          }
        },
        "required": [
          "policy_id",
          "status"
        ],
        "type": "object"
      },
      "AccountSchedulePriorCarriers": {
        "additionalProperties": false,
        "properties": {
          "policies": {
            "description": "One entry per requested policy the account's access decision admits, in request order.",
            "items": {
              "$ref": "#/components/schemas/AccountSchedulePriorCarriersPolicy"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "status": {
            "description": "read: every policy answered. partial: some policies are unreachable. unreachable: none could be read.",
            "enum": [
              "read",
              "partial",
              "unreachable"
            ],
            "type": "string"
          },
          "total": {
            "description": "The rows served across every policy (for personnel, the policies read).",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "status",
          "total",
          "source",
          "policies"
        ],
        "type": "object"
      },
      "AccountSchedulePriorCarriersPolicy": {
        "additionalProperties": false,
        "properties": {
          "counts": {
            "$ref": "#/components/schemas/CatalogRowCounts",
            "description": "The policy's items from the statement that served the rows, present when read: current, the items served (in effect on as_of and not removed), and removed, the items whose version on as_of is a removal, which a current-rows schedule leaves out unless include_removed is asked. A schedule that does not serve current rows counts the rows it serves."
          },
          "policy_id": {
            "description": "The policy the rows were read for.",
            "type": "string"
          },
          "reason": {
            "description": "Why the policy is unreachable: EXECUTOR_TIMEOUT, BUDGET_EXHAUSTED, RESULT_TOO_LARGE, ...",
            "type": "string"
          },
          "rows": {
            "description": "The policy's rows, as its per-policy route serves them; absent when the policy has none or was not read.",
            "items": {
              "$ref": "#/components/schemas/PolicyPriorCarrier"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "description": "read: the policy's rows (possibly none). not_visible_or_absent: the schedule's authority did not admit the policy. unreachable: its rows could not be read (reason).",
            "enum": [
              "read",
              "not_visible_or_absent",
              "unreachable"
            ],
            "type": "string"
          }
        },
        "required": [
          "policy_id",
          "status"
        ],
        "type": "object"
      },
      "AccountSchedulePropertyItems": {
        "additionalProperties": false,
        "properties": {
          "policies": {
            "description": "One entry per requested policy the account's access decision admits, in request order.",
            "items": {
              "$ref": "#/components/schemas/AccountSchedulePropertyItemsPolicy"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "status": {
            "description": "read: every policy answered. partial: some policies are unreachable. unreachable: none could be read.",
            "enum": [
              "read",
              "partial",
              "unreachable"
            ],
            "type": "string"
          },
          "total": {
            "description": "The rows served across every policy (for personnel, the policies read).",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "status",
          "total",
          "source",
          "policies"
        ],
        "type": "object"
      },
      "AccountSchedulePropertyItemsPolicy": {
        "additionalProperties": false,
        "properties": {
          "counts": {
            "$ref": "#/components/schemas/CatalogRowCounts",
            "description": "The policy's items from the statement that served the rows, present when read: current, the items served (in effect on as_of and not removed), and removed, the items whose version on as_of is a removal, which a current-rows schedule leaves out unless include_removed is asked. A schedule that does not serve current rows counts the rows it serves."
          },
          "policy_id": {
            "description": "The policy the rows were read for.",
            "type": "string"
          },
          "reason": {
            "description": "Why the policy is unreachable: EXECUTOR_TIMEOUT, BUDGET_EXHAUSTED, RESULT_TOO_LARGE, ...",
            "type": "string"
          },
          "rows": {
            "description": "The policy's rows, as its per-policy route serves them; absent when the policy has none or was not read.",
            "items": {
              "$ref": "#/components/schemas/PolicyPropertyItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "description": "read: the policy's rows (possibly none). not_visible_or_absent: the schedule's authority did not admit the policy. unreachable: its rows could not be read (reason).",
            "enum": [
              "read",
              "not_visible_or_absent",
              "unreachable"
            ],
            "type": "string"
          }
        },
        "required": [
          "policy_id",
          "status"
        ],
        "type": "object"
      },
      "AccountScheduleUnderwriting": {
        "additionalProperties": false,
        "properties": {
          "policies": {
            "description": "One entry per requested policy the account's access decision admits, in request order.",
            "items": {
              "$ref": "#/components/schemas/AccountScheduleUnderwritingPolicy"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "status": {
            "description": "read: every policy answered. partial: some policies are unreachable. unreachable: none could be read.",
            "enum": [
              "read",
              "partial",
              "unreachable"
            ],
            "type": "string"
          },
          "total": {
            "description": "The rows served across every policy (for personnel, the policies read).",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "status",
          "total",
          "source",
          "policies"
        ],
        "type": "object"
      },
      "AccountScheduleUnderwritingPolicy": {
        "additionalProperties": false,
        "properties": {
          "counts": {
            "$ref": "#/components/schemas/CatalogRowCounts",
            "description": "The policy's items from the statement that served the rows, present when read: current, the items served (in effect on as_of and not removed), and removed, the items whose version on as_of is a removal, which a current-rows schedule leaves out unless include_removed is asked. A schedule that does not serve current rows counts the rows it serves."
          },
          "policy_id": {
            "description": "The policy the rows were read for.",
            "type": "string"
          },
          "reason": {
            "description": "Why the policy is unreachable: EXECUTOR_TIMEOUT, BUDGET_EXHAUSTED, RESULT_TOO_LARGE, ...",
            "type": "string"
          },
          "rows": {
            "description": "The policy's rows, as its per-policy route serves them; absent when the policy has none or was not read.",
            "items": {
              "$ref": "#/components/schemas/PolicyUnderwriting"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "description": "read: the policy's rows (possibly none). not_visible_or_absent: the schedule's authority did not admit the policy. unreachable: its rows could not be read (reason).",
            "enum": [
              "read",
              "not_visible_or_absent",
              "unreachable"
            ],
            "type": "string"
          }
        },
        "required": [
          "policy_id",
          "status"
        ],
        "type": "object"
      },
      "AccountScheduleVehicles": {
        "additionalProperties": false,
        "properties": {
          "policies": {
            "description": "One entry per requested policy the account's access decision admits, in request order.",
            "items": {
              "$ref": "#/components/schemas/AccountScheduleVehiclesPolicy"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "status": {
            "description": "read: every policy answered. partial: some policies are unreachable. unreachable: none could be read.",
            "enum": [
              "read",
              "partial",
              "unreachable"
            ],
            "type": "string"
          },
          "total": {
            "description": "The rows served across every policy (for personnel, the policies read).",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "status",
          "total",
          "source",
          "policies"
        ],
        "type": "object"
      },
      "AccountScheduleVehiclesPolicy": {
        "additionalProperties": false,
        "properties": {
          "counts": {
            "$ref": "#/components/schemas/CatalogRowCounts",
            "description": "The policy's items from the statement that served the rows, present when read: current, the items served (in effect on as_of and not removed), and removed, the items whose version on as_of is a removal, which a current-rows schedule leaves out unless include_removed is asked. A schedule that does not serve current rows counts the rows it serves."
          },
          "policy_id": {
            "description": "The policy the rows were read for.",
            "type": "string"
          },
          "reason": {
            "description": "Why the policy is unreachable: EXECUTOR_TIMEOUT, BUDGET_EXHAUSTED, RESULT_TOO_LARGE, ...",
            "type": "string"
          },
          "rows": {
            "description": "The policy's rows, as its per-policy route serves them; absent when the policy has none or was not read.",
            "items": {
              "$ref": "#/components/schemas/PolicyVehicle"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "description": "read: the policy's rows (possibly none). not_visible_or_absent: the schedule's authority did not admit the policy. unreachable: its rows could not be read (reason).",
            "enum": [
              "read",
              "not_visible_or_absent",
              "unreachable"
            ],
            "type": "string"
          }
        },
        "required": [
          "policy_id",
          "status"
        ],
        "type": "object"
      },
      "AccountSchedules": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "description": "The account's id.",
            "type": "string"
          },
          "as_of": {
            "description": "The date (YYYY-MM-DD) the current-rows schedules (vehicles, drivers, locations) were read as of; null when include_removed was asked.",
            "format": "date",
            "type": [
              "string",
              "null"
            ]
          },
          "collections": {
            "$ref": "#/components/schemas/AccountSchedulesCollections",
            "description": "Each requested schedule, by its query term."
          },
          "policies": {
            "description": "Each requested policy's status, in request order.",
            "items": {
              "$ref": "#/components/schemas/AccountSchedulePolicyStatus"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "read_at": {
            "description": "When the read began (RFC 3339, UTC).",
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "account_id",
          "as_of",
          "read_at",
          "policies",
          "collections"
        ],
        "type": "object"
      },
      "AccountSchedulesCollections": {
        "additionalProperties": false,
        "properties": {
          "binders": {
            "$ref": "#/components/schemas/AccountScheduleBinders",
            "description": "The binders schedule, when requested."
          },
          "changes": {
            "$ref": "#/components/schemas/AccountScheduleChanges",
            "description": "The changes schedule, when requested."
          },
          "checklist": {
            "$ref": "#/components/schemas/AccountScheduleChecklist",
            "description": "The checklist schedule, when requested."
          },
          "classes": {
            "$ref": "#/components/schemas/AccountScheduleClasses",
            "description": "The classes schedule, when requested."
          },
          "drivers": {
            "$ref": "#/components/schemas/AccountScheduleDrivers",
            "description": "The drivers schedule, when requested."
          },
          "equipment": {
            "$ref": "#/components/schemas/AccountScheduleEquipment",
            "description": "The equipment schedule, when requested."
          },
          "interests": {
            "$ref": "#/components/schemas/AccountScheduleInterests",
            "description": "The interests schedule, when requested."
          },
          "lines": {
            "$ref": "#/components/schemas/AccountScheduleLines",
            "description": "The lines schedule, when requested."
          },
          "locations": {
            "$ref": "#/components/schemas/AccountScheduleLocations",
            "description": "The locations schedule, when requested."
          },
          "named-insureds": {
            "$ref": "#/components/schemas/AccountScheduleNamedInsureds",
            "description": "The named insureds schedule, when requested."
          },
          "personnel": {
            "$ref": "#/components/schemas/AccountSchedulePersonnel",
            "description": "The personnel schedule, when requested."
          },
          "premiums": {
            "$ref": "#/components/schemas/AccountSchedulePremiums",
            "description": "The premiums schedule, when requested."
          },
          "prior-carriers": {
            "$ref": "#/components/schemas/AccountSchedulePriorCarriers",
            "description": "The prior carriers schedule, when requested."
          },
          "property-items": {
            "$ref": "#/components/schemas/AccountSchedulePropertyItems",
            "description": "The property items schedule, when requested."
          },
          "underwriting": {
            "$ref": "#/components/schemas/AccountScheduleUnderwriting",
            "description": "The underwriting schedule, when requested."
          },
          "vehicles": {
            "$ref": "#/components/schemas/AccountScheduleVehicles",
            "description": "The vehicles schedule, when requested."
          }
        },
        "type": "object"
      },
      "AccountXDate": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "description": "The account's id.",
            "type": "string"
          },
          "account_size": {
            "type": [
              "string",
              "null"
            ]
          },
          "agent": {
            "description": "The agency employee who follows the x-date (an employee code).",
            "type": [
              "string",
              "null"
            ]
          },
          "carrier_name": {
            "description": "The carrier the coverage is written with.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "description": "The policy version's effective date: the term's or an endorsement's. A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "expiration_date": {
            "description": "A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The row's id: {instance}:{segment}:{account}:{key}, or the policy version's form when the row carries one.",
            "type": "string"
          },
          "interest_level": {
            "description": "How interested the agency is in writing it.",
            "type": [
              "string",
              "null"
            ]
          },
          "kind": {
            "description": "The row's kind: x_date.",
            "type": "string"
          },
          "line_id": {
            "description": "The policy line the row belongs to, when it belongs to one.",
            "type": [
              "string",
              "null"
            ]
          },
          "line_of_business": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "description": "The policy the row names, when it names one.",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "premium": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "remarks": {
            "description": "The agency's remarks on the x-date.",
            "type": [
              "string",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "account_id",
          "kind",
          "policy_id",
          "line_id",
          "effective_date",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "carrier_name",
          "policy_number",
          "line_of_business",
          "expiration_date",
          "premium",
          "account_size",
          "interest_level",
          "agent",
          "remarks"
        ],
        "type": "object"
      },
      "Action": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "description": "The account a book row addresses, as its instance key.",
            "type": "string"
          },
          "actor_principal": {
            "type": "string"
          },
          "actor_type": {
            "type": "string"
          },
          "app_entity_id": {
            "type": "string"
          },
          "app_entity_type": {
            "type": "string"
          },
          "catalog_entity_type": {
            "type": "string"
          },
          "catalog_id": {
            "type": "string"
          },
          "command": {
            "type": "string"
          },
          "connection_id": {
            "description": "The connection a book row's record belongs to.",
            "type": "string"
          },
          "entity_domain": {
            "enum": [
              "book",
              "app",
              "catalog"
            ],
            "type": "string"
          },
          "id": {
            "description": "The command id.",
            "type": "string"
          },
          "issued_at": {
            "format": "date-time",
            "type": "string"
          },
          "payload": {},
          "policy_id": {
            "description": "The policy term a book row addresses, as its instance key.",
            "type": "string"
          },
          "recorded_at": {
            "format": "date-time",
            "type": "string"
          },
          "schema_rev": {
            "format": "int64",
            "type": "integer"
          },
          "seq": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "seq",
          "id",
          "actor_principal",
          "actor_type",
          "entity_domain",
          "command",
          "schema_rev",
          "payload",
          "recorded_at"
        ],
        "type": "object"
      },
      "ActionApproval": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "type": "string"
          },
          "approver_id": {
            "type": "string"
          },
          "call": {},
          "decided_at": {
            "format": "date-time",
            "type": "string"
          },
          "expires_at": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "idempotency_key": {
            "type": "string"
          },
          "payload_hash": {
            "type": "string"
          },
          "policy_version": {
            "format": "int64",
            "type": "integer"
          },
          "record_ids": {},
          "requester_id": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "workflow": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "requester_id",
          "approver_id",
          "workflow",
          "action",
          "record_ids",
          "payload_hash",
          "policy_version",
          "idempotency_key",
          "status",
          "expires_at"
        ],
        "type": "object"
      },
      "ActionsAppendBody": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ActionsAppendOperation"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          }
        },
        "required": [
          "data",
          "request_id"
        ],
        "type": "object"
      },
      "ActionsAppendOperation": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "result": {
            "$ref": "#/components/schemas/ActionsAppendResult"
          },
          "status": {
            "description": "Always succeeded: the append completes in the request, and a refusal is a problem instead.",
            "enum": [
              "succeeded"
            ],
            "type": "string"
          },
          "target": {
            "$ref": "#/components/schemas/ActionsAppendTarget"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "status",
          "target",
          "result",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "ActionsAppendResult": {
        "additionalProperties": false,
        "properties": {
          "action_seq": {
            "description": "The org ledger's high-water sequence after the append, a prefix token for reads.",
            "format": "int64",
            "type": "integer"
          },
          "results": {
            "items": {
              "$ref": "#/components/schemas/ActionsAppendResultRow"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "results",
          "action_seq"
        ],
        "type": "object"
      },
      "ActionsAppendResultRow": {
        "additionalProperties": false,
        "properties": {
          "command_id": {
            "type": "string"
          },
          "idempotent_replay": {
            "description": "true when the command's idempotency key had already landed: the original result, nothing appended.",
            "type": "boolean"
          },
          "seq": {
            "description": "The command's ledger sequence number.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "command_id",
          "seq"
        ],
        "type": "object"
      },
      "ActionsAppendTarget": {
        "additionalProperties": false,
        "properties": {
          "collection": {
            "enum": [
              "actions"
            ],
            "type": "string"
          }
        },
        "required": [
          "collection"
        ],
        "type": "object"
      },
      "ActionsResult": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/DocumentReservationResult"
          },
          {
            "$ref": "#/components/schemas/RecordsActionResultBody"
          }
        ],
        "description": "A POST /actions answer: a document.reserve reservation or a records action result."
      },
      "Activity": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "description": "The account the row is on, as an instance key.",
            "type": "string"
          },
          "account_name": {
            "description": "The account's name, on the register's rows.",
            "type": "string"
          },
          "action": {
            "description": "A task's action, or a comment's activity action, as the agency's activity actions list it (codes?domain=task_action).",
            "type": "string"
          },
          "activity_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "ams360_datasource": {
            "type": [
              "string",
              "null"
            ]
          },
          "assigned_by_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "assigned_to_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "attached_id": {
            "description": "The id of the record the row is attached to.",
            "type": "string"
          },
          "attached_type": {
            "description": "The kind of record the row is attached to, as the source numbers it (a note's 53 customer, 26 policy, 39 claim).",
            "type": "string"
          },
          "body": {
            "type": [
              "string",
              "null"
            ]
          },
          "carrier_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "changed_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "comment_on_activity_id": {
            "description": "A comment's: the id of the AMS 360 activity it was saved on.",
            "type": "string"
          },
          "comments": {
            "description": "An AMS 360 activity's (a comment row's) added comments, ordered by comment date then id; absent on every other row and on an activity with none. While the answer names activity_comments unreachable, an absent list is not proof the activity has none.",
            "items": {
              "$ref": "#/components/schemas/BookActivityComment"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "completed_by": {
            "description": "A task's: the employee code of who completed it.",
            "type": "string"
          },
          "completed_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "due_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "description": "A task's: the policy version (endorsement date) it is attached to.",
            "format": "date-time",
            "type": "string"
          },
          "email": {
            "$ref": "#/components/schemas/EmailMessage",
            "description": "The row's body read into an email's fields when the body is an email (a comment or note holding a pasted message); absent otherwise."
          },
          "entered_by": {
            "description": "A comment's: the employee code of who saved it.",
            "type": "string"
          },
          "entered_by_name": {
            "description": "A comment's: the full name of who saved it.",
            "type": "string"
          },
          "entered_by_usercode": {
            "description": "A comment's: the AMS 360 usercode (short name) of who saved it.",
            "type": "string"
          },
          "entered_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "entity_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "entity_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "exported_at": {
            "description": "A task's: when it was last exported to the user's calendar.",
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "description": "The row's instance key: {instance}:activities:{id} for an activity, {instance}:suspenses:{id} for a suspense, {instance}:notes_and_remarks:{id} for a note or remark.",
            "type": "string"
          },
          "include_in_export": {
            "description": "A remark's: Y when it is included in the policy's export.",
            "type": "string"
          },
          "is_print": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_sticky": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_of_business_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "occurred_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "description": "The policy term the row hangs on, as an instance key; absent for a row on the account itself.",
            "type": "string"
          },
          "priority": {
            "type": [
              "string",
              "null"
            ]
          },
          "purge_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "reschedule_count": {
            "description": "A task's: how many times its due date was changed.",
            "type": "string"
          },
          "saved_with_download": {
            "description": "A remark's: Y when it is kept with the policy received by download.",
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          },
          "suspense": {
            "$ref": "#/components/schemas/SuspenseFacts",
            "description": "A suspense row's body read into its code and description; absent on activities, notes and remarks."
          },
          "task_state": {
            "$ref": "#/components/schemas/MachineState",
            "description": "A suspense's task status (completed once AMS 360 records a completed date or marks the item completed, pending until then) with its label, settled flag and tone from the org's declared task_status machine, the same state its task register row serves; absent on activities, notes and remarks, and when the org declares no task_status machine."
          }
        },
        "required": [
          "id",
          "source",
          "activity_id",
          "ams360_datasource",
          "occurred_at",
          "body",
          "status",
          "priority",
          "assigned_to_code",
          "assigned_by_code",
          "due_date",
          "completed_date",
          "carrier_code",
          "line_of_business_id",
          "is_sticky",
          "is_print",
          "purge_date",
          "entered_date",
          "changed_date",
          "changed_by",
          "entity_type",
          "entity_id"
        ],
        "type": "object"
      },
      "ActivityFeedEntry": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "activity_kind": {
            "enum": [
              "bor",
              "override",
              "decision",
              "change",
              "note"
            ],
            "type": "string"
          },
          "actor": {
            "$ref": "#/components/schemas/WorkbenchActor"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "created_by": {
            "type": "string"
          },
          "decision_record": {
            "type": "boolean"
          },
          "description": {
            "type": "string"
          },
          "event": {
            "$ref": "#/components/schemas/WorkbenchEvent",
            "description": "The event that recorded the activity, or null when the caller's event feed does not admit it."
          },
          "event_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "metadata": {},
          "policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "submission_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "type",
          "description",
          "created_at",
          "created_by",
          "metadata",
          "account_id",
          "policy_id",
          "submission_id",
          "event_id",
          "activity_kind",
          "decision_record",
          "event"
        ],
        "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"
      },
      "AddresseeBlock": {
        "additionalProperties": false,
        "properties": {
          "date": {
            "type": "string"
          },
          "kind": {
            "enum": [
              "addressee"
            ],
            "type": "string"
          },
          "lines": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "kind",
          "lines"
        ],
        "type": "object"
      },
      "AdmitTurnRequest": {
        "additionalProperties": false,
        "properties": {
          "attachment_ids": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "confirmations": {
            "items": {
              "$ref": "#/components/schemas/ConfirmationDecision"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "edit_of_message_id": {
            "type": "string"
          },
          "end_user": {
            "description": "The end user the conversation belongs to.",
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "message_origin": {
            "description": "app when the app wrote message (a starter prompt the person pressed and sent unchanged); absent when the person typed it. Requires message.",
            "enum": [
              "app"
            ],
            "type": "string"
          },
          "page_context": {},
          "read_only": {
            "description": "Run this message turn offering only the tools that read: every tool that writes, starts a run, files a working copy or asks for a confirmation is withheld, and the turn queues no memory learning. The conversation and its messages are still stored. Requires message.",
            "type": "boolean"
          },
          "retry_of": {
            "type": "string"
          },
          "sealed_through_active": {
            "description": "With an edit that stops the active turn: the N of that turn's seal.",
            "format": "int64",
            "type": "integer"
          },
          "stop_active_turn": {
            "type": "boolean"
          },
          "tool_results": {
            "items": {
              "$ref": "#/components/schemas/ClientToolResult"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "turn_id": {
            "description": "Required. The caller's id for the turn (a UUID): the turn it starts, or the paused turn a confirmations post continues.",
            "type": "string"
          }
        },
        "required": [
          "end_user",
          "turn_id"
        ],
        "type": "object"
      },
      "Alias": {
        "additionalProperties": false,
        "properties": {
          "source_ref": {
            "type": "string"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "text",
          "source_ref"
        ],
        "type": "object"
      },
      "Annotation": {
        "additionalProperties": false,
        "properties": {
          "comment": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "org_id": {
            "type": "string"
          },
          "rating": {
            "type": "string"
          },
          "run_id": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "submitter_id": {
            "type": "string"
          },
          "submitter_user_id": {
            "type": "string"
          },
          "target": {},
          "time_on_task_seconds": {
            "format": "int32",
            "type": "integer"
          },
          "updated_at": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "org_id",
          "run_id",
          "rating",
          "comment",
          "source",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "AnnotationRequest": {
        "additionalProperties": false,
        "properties": {
          "comment": {
            "type": "string"
          },
          "rating": {
            "type": "string"
          },
          "submitter_id": {
            "type": "string"
          },
          "target": {},
          "time_on_task_seconds": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "rating",
          "comment"
        ],
        "type": "object"
      },
      "Answer": {
        "additionalProperties": false,
        "properties": {
          "ams": {
            "$ref": "#/components/schemas/AnswerAMSRead"
          },
          "attributes": {
            "items": {
              "$ref": "#/components/schemas/AnswerAttribute"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "capabilities": {
            "items": {
              "$ref": "#/components/schemas/AnswerCapability"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "conflicts": {
            "format": "int64",
            "type": "integer"
          },
          "entries": {
            "items": {
              "$ref": "#/components/schemas/AnswerEntry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "forms": {
            "items": {
              "$ref": "#/components/schemas/AnswerForm"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "forms_schedule": {
            "$ref": "#/components/schemas/AnswerFormsSchedule"
          },
          "held": {
            "items": {
              "$ref": "#/components/schemas/AnswerHeld"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "unverified": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "ams",
          "entries",
          "attributes",
          "forms",
          "forms_schedule",
          "capabilities",
          "held",
          "conflicts",
          "unverified"
        ],
        "type": "object"
      },
      "AnswerAMSRead": {
        "additionalProperties": false,
        "properties": {
          "coverages_read": {
            "type": "boolean"
          },
          "forms_read": {
            "type": "boolean"
          },
          "writing_company_naic": {
            "type": "string"
          }
        },
        "required": [
          "coverages_read",
          "forms_read"
        ],
        "type": "object"
      },
      "AnswerAMSValue": {
        "additionalProperties": false,
        "properties": {
          "amount": {
            "type": "string"
          },
          "coverage_id": {
            "type": "string"
          },
          "phrase": {
            "type": "string"
          }
        },
        "required": [
          "amount",
          "phrase"
        ],
        "type": "object"
      },
      "AnswerAttribute": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "controlling": {
            "type": "string"
          },
          "part": {
            "type": "string"
          },
          "provenance": {
            "$ref": "#/components/schemas/Provenance"
          },
          "rule": {
            "format": "int64",
            "type": "integer"
          },
          "value": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "code",
          "part",
          "value",
          "controlling",
          "rule",
          "provenance"
        ],
        "type": "object"
      },
      "AnswerCapability": {
        "additionalProperties": false,
        "properties": {
          "as_of": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "basis": {
            "$ref": "#/components/schemas/AnswerCapabilityBasis"
          },
          "capability": {
            "enum": [
              "blanket_additional_insured",
              "scheduled_additional_insured",
              "primary_noncontributory",
              "waiver_of_subrogation",
              "per_project_aggregate",
              "completed_operations",
              "notice_of_cancellation"
            ],
            "type": "string"
          },
          "edition": {
            "type": "string"
          },
          "form_number": {
            "type": "string"
          },
          "provenance": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Provenance"
              },
              {
                "type": "null"
              }
            ]
          },
          "reasons": {
            "items": {
              "$ref": "#/components/schemas/AnswerCapabilityReason"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "state": {
            "enum": [
              "granted",
              "not_granted",
              "unknown"
            ],
            "type": "string"
          }
        },
        "required": [
          "capability",
          "state",
          "reasons",
          "basis",
          "as_of",
          "provenance"
        ],
        "type": "object"
      },
      "AnswerCapabilityBasis": {
        "additionalProperties": false,
        "properties": {
          "family": {
            "enum": [
              "policy_coverage_record"
            ],
            "type": "string"
          },
          "grants_basis": {
            "enum": [
              "reviewer",
              "form_table"
            ],
            "type": "string"
          }
        },
        "required": [
          "family"
        ],
        "type": "object"
      },
      "AnswerCapabilityReason": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "enum": [
              "granted_by_form",
              "schedule_complete",
              "forms_unread",
              "forms_empty",
              "form_unnumbered",
              "form_unclassified"
            ],
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/AnswerCapabilitySource"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "text",
          "source"
        ],
        "type": "object"
      },
      "AnswerCapabilitySource": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "enum": [
              "form",
              "forms_schedule"
            ],
            "type": "string"
          },
          "ref": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "ref"
        ],
        "type": "object"
      },
      "AnswerConflict": {
        "additionalProperties": false,
        "properties": {
          "ams_at_confirm": {
            "type": [
              "string",
              "null"
            ]
          },
          "ams_value": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "record_text": {
            "type": "string"
          },
          "record_value": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "kind",
          "record_value",
          "ams_value",
          "ams_at_confirm"
        ],
        "type": "object"
      },
      "AnswerEntry": {
        "additionalProperties": false,
        "properties": {
          "ams": {
            "$ref": "#/components/schemas/AnswerAMSValue"
          },
          "conflict": {
            "$ref": "#/components/schemas/AnswerConflict"
          },
          "controlling": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "matches_ams": {
            "type": "boolean"
          },
          "part": {
            "type": "string"
          },
          "part_label": {
            "type": "string"
          },
          "prints": {
            "type": "boolean"
          },
          "prints_as": {
            "enum": [
              "limit",
              "sublimit",
              "other_row",
              "deductible",
              null
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "record": {
            "$ref": "#/components/schemas/AnswerRecord"
          },
          "rule": {
            "format": "int64",
            "type": "integer"
          },
          "slot": {
            "type": [
              "string",
              "null"
            ]
          },
          "value": {
            "type": [
              "string",
              "null"
            ]
          },
          "value_text": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "slot",
          "part",
          "kind",
          "label",
          "value",
          "value_text",
          "controlling",
          "rule",
          "prints",
          "prints_as",
          "matches_ams",
          "record",
          "ams",
          "conflict"
        ],
        "type": "object"
      },
      "AnswerForm": {
        "additionalProperties": false,
        "properties": {
          "classified": {
            "type": "boolean"
          },
          "edition": {
            "type": "string"
          },
          "form_number": {
            "type": "string"
          },
          "grants": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "grants_basis": {
            "type": "string"
          },
          "in_ams": {
            "type": "boolean"
          },
          "in_record": {
            "type": "boolean"
          },
          "is_endorsement": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "normalized": {
            "type": "string"
          },
          "provenance": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Provenance"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "form_number",
          "normalized",
          "title",
          "is_endorsement",
          "grants",
          "grants_basis",
          "classified",
          "in_ams",
          "in_record",
          "provenance"
        ],
        "type": "object"
      },
      "AnswerFormsSchedule": {
        "additionalProperties": false,
        "properties": {
          "all_classified": {
            "type": "boolean"
          },
          "attested": {
            "$ref": "#/components/schemas/Attested"
          },
          "complete": {
            "type": "boolean"
          }
        },
        "required": [
          "complete",
          "attested",
          "all_classified"
        ],
        "type": "object"
      },
      "AnswerHeld": {
        "additionalProperties": false,
        "properties": {
          "ams_value": {
            "type": [
              "string",
              "null"
            ]
          },
          "label": {
            "type": "string"
          },
          "reason": {
            "enum": [
              "ams_changed",
              "unverified"
            ],
            "type": "string"
          },
          "record_value": {
            "type": [
              "string",
              "null"
            ]
          },
          "slot": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "slot",
          "label",
          "reason",
          "record_value",
          "ams_value"
        ],
        "type": "object"
      },
      "AnswerRecord": {
        "additionalProperties": false,
        "properties": {
          "amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "amount_text": {
            "type": "string"
          },
          "basis": {
            "type": "string"
          },
          "entry_id": {
            "type": "string"
          },
          "part_id": {
            "type": "string"
          },
          "provenance": {
            "$ref": "#/components/schemas/Provenance"
          },
          "sublimit_of": {
            "type": "string"
          }
        },
        "required": [
          "entry_id",
          "part_id",
          "amount",
          "basis",
          "provenance"
        ],
        "type": "object"
      },
      "AppStoreBatchJSON": {
        "additionalProperties": false,
        "properties": {
          "rows": {
            "items": {
              "$ref": "#/components/schemas/AppStoreBatchRowJSON"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "rows"
        ],
        "type": "object"
      },
      "AppStoreBatchRowJSON": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "payload": {},
          "recreate": {
            "type": "boolean"
          },
          "subjectKeys": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "version": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "version",
          "subjectKeys",
          "payload"
        ],
        "type": "object"
      },
      "AppStoreBlob": {
        "additionalProperties": false,
        "properties": {
          "contentType": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "deletedAt": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "finalizedAt": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "ownerPrincipal": {
            "type": "string"
          },
          "sha256": {
            "type": [
              "string",
              "null"
            ]
          },
          "sizeBytes": {
            "format": "int64",
            "type": "integer"
          },
          "status": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "ownerPrincipal",
          "name",
          "contentType",
          "sizeBytes",
          "sha256",
          "status",
          "createdAt",
          "updatedAt",
          "finalizedAt",
          "deletedAt"
        ],
        "type": "object"
      },
      "AppStoreBlobBody": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AppStoreBlob"
          },
          "meta": {
            "$ref": "#/components/schemas/AppStoreMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "AppStoreBlobContentBody": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ContentGrant"
          },
          "meta": {
            "$ref": "#/components/schemas/AppStoreMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "AppStoreBlobReservationBody": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/Reservation"
          },
          "meta": {
            "$ref": "#/components/schemas/AppStoreMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "AppStoreBlobReserveJSON": {
        "additionalProperties": false,
        "properties": {
          "contentType": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "sizeBytes": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "name",
          "contentType",
          "sizeBytes"
        ],
        "type": "object"
      },
      "AppStoreMeta": {
        "additionalProperties": false,
        "properties": {
          "nextCursor": {
            "description": "The cursor of the next page; null on the last page.",
            "type": [
              "string",
              "null"
            ]
          },
          "requestId": {
            "description": "The request id.",
            "type": "string"
          }
        },
        "required": [
          "requestId",
          "nextCursor"
        ],
        "type": "object"
      },
      "AppStorePutJSON": {
        "additionalProperties": false,
        "properties": {
          "payload": {},
          "recreate": {
            "type": "boolean"
          },
          "subjectKeys": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "version": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "version",
          "subjectKeys",
          "payload"
        ],
        "type": "object"
      },
      "AppStoreRow": {
        "additionalProperties": false,
        "properties": {
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "deletedAt": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "ownerPrincipal": {
            "type": [
              "string",
              "null"
            ]
          },
          "payload": {},
          "subjectKeys": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "version": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "ownerPrincipal",
          "subjectKeys",
          "payload",
          "version",
          "createdAt",
          "updatedAt",
          "deletedAt"
        ],
        "type": "object"
      },
      "AppStoreRowBody": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AppStoreRow"
          },
          "meta": {
            "$ref": "#/components/schemas/AppStoreMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "AppStoreRowsBody": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/AppStoreRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "meta": {
            "$ref": "#/components/schemas/AppStoreMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "AppVisibilityDecision": {
        "additionalProperties": false,
        "properties": {
          "can_launch": {
            "description": "The caller may open the app.",
            "type": "boolean"
          },
          "can_see": {
            "description": "The app is listed for this caller.",
            "type": "boolean"
          },
          "reason": {
            "description": "Why the decision is what it is.",
            "enum": [
              "public",
              "authenticated",
              "granted",
              "internal",
              "hidden",
              "not-authorized",
              "suspended",
              "requested",
              "request-available",
              "revoked-at-source"
            ],
            "type": "string"
          }
        },
        "required": [
          "can_see",
          "can_launch",
          "reason"
        ],
        "type": "object"
      },
      "AppetiteConstraints": {
        "additionalProperties": false,
        "properties": {
          "conditions": {
            "items": {
              "$ref": "#/components/schemas/MarketAppetiteCondition"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "construction": {
            "type": "string"
          },
          "factor_order": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "max_building_tiv": {
            "format": "int64",
            "type": "integer"
          },
          "max_frame_tiv": {
            "format": "int64",
            "type": "integer"
          },
          "max_location_tiv": {
            "format": "int64",
            "type": "integer"
          },
          "min_year_built": {
            "format": "int64",
            "type": "integer"
          },
          "rehab_exception_note": {
            "type": "string"
          },
          "tenant_classes": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "AppetiteSample": {
        "additionalProperties": false,
        "properties": {
          "client_count_is_upper_bound": {
            "type": "boolean"
          },
          "distinct_clients": {
            "format": "int64",
            "type": "integer"
          },
          "distinct_policies": {
            "format": "int64",
            "type": "integer"
          },
          "floor_met": {
            "type": "boolean"
          },
          "n": {
            "format": "int64",
            "type": "integer"
          },
          "rank_distinct_clients": {
            "format": "int64",
            "type": "integer"
          },
          "rank_n": {
            "format": "int64",
            "type": "integer"
          },
          "unit": {
            "type": "string"
          }
        },
        "required": [
          "unit",
          "n",
          "rank_n",
          "floor_met"
        ],
        "type": "object"
      },
      "AppetiteSourceRef": {
        "additionalProperties": false,
        "properties": {
          "actor_email": {
            "type": "string"
          },
          "actor_id": {
            "type": "string"
          },
          "actor_name": {
            "type": "string"
          },
          "as_of": {
            "type": "string"
          },
          "batch_set_id": {
            "type": "string"
          },
          "connection_id": {
            "type": "string"
          },
          "entity_key": {
            "type": "string"
          },
          "extraction_run_id": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "ref": {
            "type": "string"
          },
          "source_intake_id": {
            "type": "string"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "kind"
        ],
        "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"
      },
      "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"
      },
      "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"
      },
      "AppointmentRequestAnswer": {
        "additionalProperties": false,
        "properties": {
          "created": {
            "description": "False when the Idempotency-Key already named this write: data is the first row.",
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/AppointmentRequestRecord"
          },
          "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",
          "created",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "AppointmentRequestBody": {
        "additionalProperties": false,
        "properties": {
          "agency_code": {
            "description": "For an on_file appointment: the agency code the carrier issued. Never sent for a broker agreement.",
            "maxLength": 40,
            "type": "string"
          },
          "agreement": {
            "description": "appointment with a carrier, or broker_agreement with a wholesaler or MGA. Required for request and on_file.",
            "enum": [
              "appointment",
              "broker_agreement"
            ],
            "type": "string"
          },
          "document_id": {
            "description": "An uploaded letter or signed agreement: a document id of the org's uploaded documents.",
            "maxLength": 200,
            "type": "string"
          },
          "kind": {
            "description": "request (ask for it), on_file (the office already holds it) or withdrawn (take back your own earlier row named by withdraws).",
            "enum": [
              "request",
              "on_file",
              "withdrawn"
            ],
            "type": "string"
          },
          "market": {
            "description": "The market, as GET /records/carrier-contacts takes it (a Markets directory market_ref, or an identity that resolves to one). Required for request and on_file.",
            "maxLength": 600,
            "type": "string"
          },
          "note": {
            "description": "For request: what the person wants the carrier team to know.",
            "maxLength": 1000,
            "type": "string"
          },
          "office_agency_code": {
            "description": "The office the row is for: one of the seat's offices (required when it has several), or for a seat with Markets edit (the carrier team, an administrator) any office of the org.",
            "maxLength": 40,
            "type": "string"
          },
          "scope": {
            "description": "For an on_file appointment: the office, or every office of the agency (a seat with Markets edit only). Never sent for a request or a broker agreement; a broker agreement on file from a seat with Markets edit is the agency's, from any other seat its office's.",
            "enum": [
              "office",
              "agency"
            ],
            "type": "string"
          },
          "withdraws": {
            "description": "For withdrawn: the id of an earlier request or on_file row, your own or, for a seat with Markets edit, anyone's.",
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "kind"
        ],
        "type": "object"
      },
      "AppointmentRequestRecord": {
        "additionalProperties": false,
        "properties": {
          "agency_code": {
            "type": "string"
          },
          "agreement": {
            "enum": [
              "appointment",
              "broker_agreement"
            ],
            "type": "string"
          },
          "carrier_label": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "document_id": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "kind": {
            "enum": [
              "request",
              "on_file",
              "withdrawn"
            ],
            "type": "string"
          },
          "market_ref": {
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "office_agency_code": {
            "type": "string"
          },
          "requested_by": {
            "description": "The e-mail of the person who wrote the row.",
            "type": "string"
          },
          "scope": {
            "enum": [
              "office",
              "agency"
            ],
            "type": "string"
          },
          "withdraws": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "id",
          "kind",
          "market_ref",
          "carrier_label",
          "office_agency_code",
          "agreement",
          "scope",
          "note",
          "requested_by",
          "created_at"
        ],
        "type": "object"
      },
      "AssemblyBlock": {
        "additionalProperties": false,
        "properties": {
          "author": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "deletable": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "revision": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "revision",
          "id",
          "author",
          "created_at",
          "deletable"
        ],
        "type": "object"
      },
      "AssemblyInput": {
        "additionalProperties": false,
        "properties": {
          "derived": {
            "format": "int64",
            "type": "integer"
          },
          "elapsed_ms": {
            "format": "int64",
            "type": "integer"
          },
          "family": {
            "type": "string"
          },
          "filled": {
            "format": "int64",
            "type": "integer"
          },
          "freshness": {
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "snapshot_at": {
            "format": "date-time",
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "system": {
            "type": "string"
          },
          "unfilled": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "family",
          "source"
        ],
        "type": "object"
      },
      "AssemblyListResponse": {
        "additionalProperties": false,
        "properties": {
          "account_ref": {
            "type": "string"
          },
          "assemblies": {
            "items": {
              "$ref": "#/components/schemas/AssemblyResponse"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "run_id": {
            "type": "string"
          }
        },
        "required": [
          "assemblies"
        ],
        "type": "object"
      },
      "AssemblyOverlapResponse": {
        "additionalProperties": false,
        "properties": {
          "line": {
            "type": "string"
          },
          "paper": {
            "type": "string"
          },
          "scope_id": {
            "type": "string"
          },
          "seats": {
            "items": {
              "format": "int64",
              "type": "integer"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "target_id": {
            "type": "string"
          }
        },
        "required": [
          "line",
          "paper",
          "seats"
        ],
        "type": "object"
      },
      "AssemblyResponse": {
        "additionalProperties": false,
        "properties": {
          "account_ref": {
            "type": "string"
          },
          "author": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "deletable": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "overlaps": {
            "items": {
              "$ref": "#/components/schemas/AssemblyOverlapResponse"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "placement": {
            "$ref": "#/components/schemas/ComposedPlacementResponse"
          },
          "placement_ref": {
            "type": "string"
          },
          "revision": {
            "format": "int64",
            "type": "integer"
          },
          "run_id": {
            "type": "string"
          },
          "seats": {
            "items": {
              "$ref": "#/components/schemas/AssemblySeat"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "revision",
          "id",
          "run_id",
          "account_ref",
          "placement_ref",
          "author",
          "seats",
          "created_at",
          "deletable",
          "overlaps"
        ],
        "type": "object"
      },
      "AssemblySeat": {
        "additionalProperties": false,
        "properties": {
          "added_by": {
            "type": "string"
          },
          "counterparty_id": {
            "type": "string"
          },
          "line": {
            "type": "string"
          },
          "market_entity_key": {
            "type": "string"
          },
          "offering_id": {
            "type": "string"
          },
          "requirement_id": {
            "type": "string"
          },
          "scope_id": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "target_id": {
            "type": "string"
          },
          "writing_carrier_id": {
            "type": "string"
          },
          "writing_paper_ids": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "requirement_id",
          "offering_id"
        ],
        "type": "object"
      },
      "AssistantFeedbackRequest": {
        "additionalProperties": false,
        "properties": {
          "conversation_id": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "turn_id": {
            "type": "string"
          },
          "user_words": {
            "type": "string"
          }
        },
        "required": [
          "conversation_id",
          "turn_id",
          "kind",
          "summary"
        ],
        "type": "object"
      },
      "AssistantFeedbackRow": {
        "additionalProperties": false,
        "properties": {
          "conversation_id": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "turn_id": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "conversation_id",
          "turn_id",
          "kind",
          "source",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "AssistantHome": {
        "additionalProperties": false,
        "properties": {
          "basis": {
            "$ref": "#/components/schemas/AssistantHomeBasis",
            "description": "What the level was read from: the last 10 homes shown and the asks since the oldest of them (30 days when none)."
          },
          "first_session": {
            "description": "True when this person has never been shown a home and has no conversation with a turn on this instance.",
            "type": "boolean"
          },
          "last_start": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AssistantHomeLastStart",
                "description": "The most recent start this person took, or null."
              },
              {
                "type": "null"
              }
            ]
          },
          "level": {
            "description": "How proactive the Assistant is with this person: lead offers one next step, offer mentions at most one fitting start, quiet makes no unsolicited suggestion.",
            "enum": [
              "lead",
              "offer",
              "quiet"
            ],
            "type": "string"
          },
          "reply_opener": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AssistantHomeReplyOpener",
                "description": "The newest reply the team sent on this person's own feedback that no conversation of theirs has opened with, or null. A new conversation's first Assistant message is this reply, and its first turn names it as page_context.reply_opener {source, id, replied_at}. The person's own first turn marks that version seen and gives the model its text; a turn under View as, a later turn or a changed reply marks nothing."
              },
              {
                "type": "null"
              }
            ]
          },
          "sessions": {
            "description": "How many homes this person has been shown.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "level",
          "first_session",
          "sessions",
          "basis",
          "last_start",
          "reply_opener"
        ],
        "type": "object"
      },
      "AssistantHomeBasis": {
        "additionalProperties": false,
        "properties": {
          "active_hours_utc": {
            "items": {
              "format": "int64",
              "type": "integer"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "homes_shown": {
            "format": "int64",
            "type": "integer"
          },
          "homes_with_take": {
            "format": "int64",
            "type": "integer"
          },
          "started_asks": {
            "format": "int64",
            "type": "integer"
          },
          "starts_offered": {
            "format": "int64",
            "type": "integer"
          },
          "starts_taken": {
            "format": "int64",
            "type": "integer"
          },
          "typed_asks": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "homes_shown",
          "homes_with_take",
          "starts_offered",
          "starts_taken",
          "typed_asks",
          "started_asks",
          "active_hours_utc"
        ],
        "type": "object"
      },
      "AssistantHomeEventRecorded": {
        "additionalProperties": false,
        "properties": {
          "recorded": {
            "description": "False when the same home, event and start (kind and account) was already recorded.",
            "type": "boolean"
          }
        },
        "required": [
          "recorded"
        ],
        "type": "object"
      },
      "AssistantHomeLastStart": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "at": {
            "format": "date-time",
            "type": "string"
          },
          "conversation_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "kind": {
            "type": "string"
          },
          "recipe_id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "kind",
          "recipe_id",
          "account_id",
          "conversation_id",
          "at"
        ],
        "type": "object"
      },
      "AssistantHomeReplyOpener": {
        "additionalProperties": false,
        "properties": {
          "asked_at": {
            "description": "When the person gave the feedback.",
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "description": "The rated item's id in that store.",
            "type": "string"
          },
          "more": {
            "description": "How many other sent replies this person has not yet been opened with.",
            "format": "int64",
            "type": "integer"
          },
          "replied_at": {
            "description": "When the team sent the reply.",
            "format": "date-time",
            "type": "string"
          },
          "reply": {
            "description": "The reply as the team sent it.",
            "type": "string"
          },
          "source": {
            "description": "The store the rated item lives in: assistant, placement, opportunity or request.",
            "type": "string"
          }
        },
        "required": [
          "source",
          "id",
          "asked_at",
          "reply",
          "replied_at",
          "more"
        ],
        "type": "object"
      },
      "AssistantHomeStart": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "recipe_id": {
            "type": "string"
          }
        },
        "required": [
          "kind"
        ],
        "type": "object"
      },
      "AttachmentFolderSkip": {
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          }
        },
        "required": [
          "path",
          "reason"
        ],
        "type": "object"
      },
      "AttachmentPolicy": {
        "additionalProperties": false,
        "properties": {
          "accepted_extensions": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "enabled": {
            "type": "boolean"
          },
          "max_attachments_per_conversation": {
            "format": "int64",
            "type": "integer"
          },
          "max_bytes_per_file": {
            "format": "int64",
            "type": "integer"
          },
          "max_bytes_per_message": {
            "format": "int64",
            "type": "integer"
          },
          "max_files_per_folder": {
            "format": "int64",
            "type": "integer"
          },
          "max_files_per_message": {
            "format": "int64",
            "type": "integer"
          },
          "retention_days": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "unwrap_archives": {
            "type": "boolean"
          }
        },
        "required": [
          "enabled",
          "max_files_per_message",
          "max_bytes_per_file",
          "max_bytes_per_message",
          "max_attachments_per_conversation",
          "max_files_per_folder",
          "unwrap_archives",
          "accepted_extensions",
          "retention_days"
        ],
        "type": "object"
      },
      "AttachmentReservation": {
        "additionalProperties": false,
        "properties": {
          "attachment": {
            "$ref": "#/components/schemas/ConversationAttachment"
          },
          "source_path": {
            "type": "string"
          },
          "upload_url": {
            "type": "string"
          },
          "upload_url_expires_at": {
            "type": "string"
          }
        },
        "required": [
          "attachment",
          "upload_url",
          "upload_url_expires_at"
        ],
        "type": "object"
      },
      "Attested": {
        "additionalProperties": false,
        "properties": {
          "provenance": {
            "$ref": "#/components/schemas/Provenance"
          },
          "value": {
            "type": "boolean"
          }
        },
        "required": [
          "value",
          "provenance"
        ],
        "type": "object"
      },
      "AuditActivity": {
        "additionalProperties": false,
        "properties": {
          "actor_id": {
            "type": "string"
          },
          "actor_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "created_at": {
            "type": "string"
          },
          "description": {
            "type": "string"
          }
        },
        "required": [
          "description",
          "created_at",
          "actor_id",
          "actor_name"
        ],
        "type": "object"
      },
      "AuditCommission": {
        "additionalProperties": false,
        "properties": {
          "basis": {
            "description": "The agreement rate applied: renewal for an incumbent's own renewal quote, else new.",
            "enum": [
              "new",
              "renewal"
            ],
            "type": "string"
          },
          "contracted_floor_pct": {
            "description": "The lowest contracted rate across the quoted lines, in whole percent; null when none applies.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "contracted_lines": {
            "description": "The agreement lines the floor was read from.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "delta_pct": {
            "description": "quoted_pct minus contracted_floor_pct; null when either is null.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "detail": {
            "description": "The verdict sentence; the row's summary.",
            "type": "string"
          },
          "market_entity_key": {
            "description": "The contracted agreement's market key; null when no agreement was resolved.",
            "type": [
              "string",
              "null"
            ]
          },
          "quote_id": {
            "type": "string"
          },
          "quote_number": {
            "type": "string"
          },
          "quoted_pct": {
            "description": "The quote's commission in whole percent; null when it states none.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "status": {
            "description": "pass, flagged (below the contracted floor), not_stated (the quote states no rate), rate_not_found (no single contracted rate applies) or terms_unavailable (the catalog could not be read; not checked is not passed).",
            "enum": [
              "pass",
              "flagged",
              "not_stated",
              "rate_not_found",
              "terms_unavailable"
            ],
            "type": "string"
          }
        },
        "required": [
          "quote_id",
          "quote_number",
          "status",
          "quoted_pct",
          "contracted_floor_pct",
          "delta_pct",
          "basis",
          "contracted_lines",
          "market_entity_key",
          "detail"
        ],
        "type": "object"
      },
      "AuditFact": {
        "additionalProperties": false,
        "properties": {
          "label": {
            "type": "string"
          },
          "mono": {
            "type": "boolean"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "label",
          "value"
        ],
        "type": "object"
      },
      "AuditLedgerTarget": {
        "additionalProperties": false,
        "properties": {
          "account_key": {
            "type": "string"
          },
          "account_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "client_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_number": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "account_name",
          "policy_number",
          "client_name"
        ],
        "type": "object"
      },
      "AuditList": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/AuditTrailRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "view": {
            "$ref": "#/components/schemas/View",
            "description": "The hide filters this read applied, with each option's count and how many rows they hide. Present on a first page (offset 0, no snapshot), also with every filter off."
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "AuditPolicyTerm": {
        "additionalProperties": false,
        "properties": {
          "bound_carrier_rank": {
            "description": "Where the bound carrier sat in the run's ranking; null when it was not ranked.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "carrier_changed": {
            "description": "Whether the carrier differs from the prior term's; null when either is unrecorded.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "carrier_name": {
            "description": "Null when the term was recorded premium-only.",
            "type": [
              "string",
              "null"
            ]
          },
          "followed_recommendation": {
            "description": "Whether the bound carrier is the rank-1 carrier; null when the term has no run.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "line_label": {
            "type": "string"
          },
          "override_interest": {
            "description": "The interest the override reason chiefly serves.",
            "enum": [
              "client",
              "firm",
              "producer"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_status": {
            "type": [
              "string",
              "null"
            ]
          },
          "premium": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "premium_delta_pct": {
            "description": "Signed percent change against the prior term's premium; null unless both are priced and the prior is positive.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "prior_carrier_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "prior_premium": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "prior_year": {
            "type": [
              "string",
              "null"
            ]
          },
          "recommended_carrier_name": {
            "description": "The run's rank-1 carrier for the term's submission; current terms only.",
            "type": [
              "string",
              "null"
            ]
          },
          "source": {
            "description": "policy for the policy's current term, prior_term for an entry of its recorded prior terms.",
            "enum": [
              "policy",
              "prior_term"
            ],
            "type": "string"
          },
          "year": {
            "description": "The term year as recorded.",
            "type": "string"
          }
        },
        "required": [
          "source",
          "line_label",
          "year",
          "carrier_name",
          "premium",
          "premium_delta_pct",
          "prior_year",
          "prior_carrier_name",
          "prior_premium",
          "recommended_carrier_name",
          "followed_recommendation",
          "bound_carrier_rank",
          "carrier_changed",
          "override_interest",
          "policy_id",
          "policy_status"
        ],
        "type": "object"
      },
      "AuditRecord": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "type": "string"
          },
          "actor": {
            "type": "string"
          },
          "actor_snapshot": {
            "additionalProperties": {},
            "type": "object"
          },
          "actor_type": {
            "type": "string"
          },
          "after": {},
          "before": {},
          "changes": {
            "additionalProperties": {},
            "type": "object"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "denial_reason": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "metadata": {
            "additionalProperties": {},
            "type": "object"
          },
          "occurred_at": {
            "format": "date-time",
            "type": "string"
          },
          "origin": {
            "additionalProperties": {},
            "type": "object"
          },
          "outcome": {
            "type": "string"
          },
          "policy_version": {
            "format": "int64",
            "type": "integer"
          },
          "reason": {
            "type": "string"
          },
          "request_id": {
            "type": "string"
          },
          "subject": {
            "type": "string"
          },
          "target_id": {
            "type": "string"
          },
          "target_label": {
            "type": "string"
          },
          "target_type": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "actor",
          "actor_type",
          "actor_snapshot",
          "action",
          "outcome",
          "metadata",
          "origin",
          "occurred_at",
          "created_at"
        ],
        "type": "object"
      },
      "AuditTrailRow": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": "string"
          },
          "account_name": {
            "description": "The account's name as a person reads it; Account unavailable when neither the row nor the book names it.",
            "type": "string"
          },
          "action": {
            "$ref": "#/components/schemas/BookActionRow",
            "description": "A producer_action row's ledger command, whole."
          },
          "activities": {
            "description": "Submission activities linked to the row, with display names.",
            "items": {
              "$ref": "#/components/schemas/AuditActivity"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "actor_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "actor_kind": {
            "description": "user, system or principal.",
            "type": "string"
          },
          "actor_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "actor_type": {
            "description": "A ledger command's actor_type as recorded.",
            "type": "string"
          },
          "at": {
            "description": "recorded as an instant, null when it is not one; such rows order last.",
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "carriers": {
            "description": "Carrier names the record states, in its order.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "commission": {
            "$ref": "#/components/schemas/AuditCommission",
            "description": "A commission_check row's verdict: the quoted and contracted rates and the agreement read."
          },
          "entity_domain": {
            "description": "A ledger command's entity_domain as recorded.",
            "type": "string"
          },
          "facts": {
            "description": "The detail drawer's label and value lines, in record order.",
            "items": {
              "$ref": "#/components/schemas/AuditFact"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "kind": {
            "description": "recommendation, override, manual_package, dismissal, submission_activity, producer_action, commission_check or placement_history.",
            "type": "string"
          },
          "origin": {
            "description": "submission, action_ledger, commission_assessment or placement_history.",
            "type": "string"
          },
          "placement": {
            "$ref": "#/components/schemas/BookPlacementHistoryRow",
            "description": "A placement_history row's warehouse term; a term on a Workbench account's own policy carries policy_term instead."
          },
          "policy_term": {
            "$ref": "#/components/schemas/AuditPolicyTerm",
            "description": "A placement_history row recorded on a Workbench account's own policy: the term, the term before it and the run's recommendation."
          },
          "reason_code": {
            "description": "The override reason taxonomy code, null when the stored reason names none.",
            "type": [
              "string",
              "null"
            ]
          },
          "reason_comment": {
            "description": "The override reason's free text.",
            "type": "string"
          },
          "reason_interest": {
            "description": "The interest the override reason chiefly serves; null for an absent or unknown code.",
            "enum": [
              "client",
              "firm",
              "producer",
              null
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "reason_label": {
            "description": "The override reason's taxonomy label; null for an absent or unknown code.",
            "type": [
              "string",
              "null"
            ]
          },
          "record": {
            "description": "A submission row's source record: the activity, or the run or package with its linked activities in order. Absent on commission checks and policy terms, whose detail is commission and policy_term."
          },
          "recorded": {
            "description": "The stamp as the source recorded it: an ISO instant, a date, or text that is not an instant.",
            "type": "string"
          },
          "run_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "run_state": {
            "$ref": "#/components/schemas/RunState",
            "description": "What a reader does with run_status, on a row with one."
          },
          "run_status": {
            "type": [
              "string",
              "null"
            ]
          },
          "submission_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "summary": {
            "description": "One sentence stating the recorded move.",
            "type": "string"
          },
          "target": {
            "$ref": "#/components/schemas/AuditLedgerTarget",
            "description": "The book record a ledger command names, labelled at the source instant. Absent labels never remove the command."
          },
          "timestamp_basis": {
            "description": "Which recorded stamp recorded is (run_completed, run_started, acceptance_recorded, submission_updated, package_updated, activity_recorded, ledger_recorded, assessment_derived, policy_effective, term_year). assessment_derived marks a commission check, recomputed on every read rather than recorded.",
            "type": "string"
          }
        },
        "required": [
          "account_name",
          "summary",
          "facts",
          "carriers",
          "reason_code",
          "reason_interest",
          "reason_label",
          "reason_comment",
          "activities",
          "id",
          "kind",
          "origin",
          "recorded",
          "at",
          "timestamp_basis",
          "account_id",
          "submission_id",
          "actor_id",
          "actor_kind",
          "actor_name",
          "run_id",
          "run_status"
        ],
        "type": "object"
      },
      "AuthorizedToolkit": {
        "additionalProperties": false,
        "properties": {
          "config_hash": {
            "type": "string"
          },
          "config_version": {
            "format": "int64",
            "type": "integer"
          },
          "definition_hash": {
            "type": "string"
          },
          "definition_schema": {
            "enum": [
              "legacy",
              "owned"
            ],
            "type": "string"
          },
          "instance_id": {
            "type": "string"
          },
          "org_id": {
            "type": "string"
          },
          "principal_id": {
            "type": "string"
          },
          "registry_build": {
            "type": "string"
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/AuthorizedToolkitTool"
            },
            "type": "array"
          }
        },
        "required": [
          "org_id",
          "principal_id",
          "instance_id",
          "config_version",
          "config_hash",
          "definition_schema",
          "registry_build"
        ],
        "type": "object"
      },
      "AuthorizedToolkitRequirement": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "type": "string"
          },
          "execution": {
            "enum": [
              "direct",
              "automated",
              "confirm",
              "approval_required"
            ],
            "type": "string"
          },
          "reference": {
            "type": "string"
          },
          "workflow": {
            "type": "string"
          }
        },
        "required": [
          "reference",
          "workflow",
          "action",
          "execution"
        ],
        "type": "object"
      },
      "AuthorizedToolkitTool": {
        "additionalProperties": false,
        "properties": {
          "description": {
            "type": "string"
          },
          "effect": {
            "enum": [
              "read",
              "write",
              "outbound",
              "destructive",
              "browser"
            ],
            "type": "string"
          },
          "execution_owner": {
            "enum": [
              "api",
              "client"
            ],
            "type": "string"
          },
          "input_schema": {},
          "name": {
            "type": "string"
          },
          "requirements": {
            "items": {
              "$ref": "#/components/schemas/AuthorizedToolkitRequirement"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "name",
          "description",
          "input_schema",
          "effect",
          "execution_owner",
          "requirements"
        ],
        "type": "object"
      },
      "AxisAggregation": {
        "additionalProperties": false,
        "properties": {
          "coverage_status": {
            "type": "string"
          },
          "deciding_markets": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "evidence_backed_seats": {
            "format": "int64",
            "type": "integer"
          },
          "mixed_seats": {
            "format": "int64",
            "type": "integer"
          },
          "modeled_seats": {
            "format": "int64",
            "type": "integer"
          },
          "required_scored_seat_fraction": {
            "format": "double",
            "type": "number"
          },
          "rule": {
            "type": "string"
          },
          "scored_seats": {
            "format": "int64",
            "type": "integer"
          },
          "total_seats": {
            "format": "int64",
            "type": "integer"
          },
          "value": {
            "format": "double",
            "type": "number"
          },
          "weight_basis": {
            "type": "string"
          },
          "worst_market": {
            "type": "string"
          }
        },
        "required": [
          "rule",
          "scored_seats",
          "total_seats"
        ],
        "type": "object"
      },
      "BenefitPlanInsurance": {
        "additionalProperties": false,
        "properties": {
          "benefit_types": {
            "description": "The welfare benefits the contract provides (health, dental, life, ...).",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "broker_commissions": {
            "description": "Commissions paid to agents and brokers, in dollars.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "broker_fees": {
            "description": "Fees paid to agents and brokers, in dollars.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "carrier_naic": {
            "type": [
              "string",
              "null"
            ]
          },
          "carrier_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "contract_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "pension_premium": {
            "description": "Total premiums paid on a pension contract, in dollars.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "persons_covered": {
            "description": "Persons covered at the end of the policy year.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "policy_from": {
            "description": "YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_to": {
            "description": "YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "welfare_premium": {
            "description": "Total earned premium of a welfare contract, in dollars.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "carrier_name",
          "carrier_naic",
          "contract_number",
          "persons_covered",
          "policy_from",
          "policy_to",
          "benefit_types",
          "welfare_premium",
          "pension_premium",
          "broker_commissions",
          "broker_fees"
        ],
        "type": "object"
      },
      "BenefitPlanProvider": {
        "additionalProperties": false,
        "properties": {
          "direct_compensation": {
            "description": "Direct compensation from the plan, in dollars.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "ein": {
            "type": [
              "string",
              "null"
            ]
          },
          "indirect_compensation": {
            "description": "Indirect compensation, in dollars.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "relation": {
            "description": "The provider's relation to the employer or another party in interest.",
            "type": [
              "string",
              "null"
            ]
          },
          "service_codes": {
            "description": "DOL service codes, concatenated.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "name",
          "ein",
          "service_codes",
          "relation",
          "direct_compensation",
          "indirect_compensation"
        ],
        "type": "object"
      },
      "BenefitPlanRecord": {
        "additionalProperties": false,
        "properties": {
          "ack_id": {
            "description": "The latest filing's DOL acknowledgement ID; cite it with the plan year.",
            "type": "string"
          },
          "business_code": {
            "description": "The sponsor's six digit business code (NAICS based).",
            "type": [
              "string",
              "null"
            ]
          },
          "dataset_url": {
            "description": "DOL's page for the Form 5500 datasets.",
            "type": "string"
          },
          "date_received": {
            "description": "The day DOL received the filing, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "fidelity_bond_amount": {
            "description": "The fidelity bond's amount, in dollars, as the filing states it.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "fidelity_bond_covered": {
            "description": "Whether the filing says the plan was covered by a fidelity bond; null when it does not answer.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "form": {
            "description": "The form filed: 5500 (assets and bond from Schedule H or I) or 5500-SF.",
            "enum": [
              "5500",
              "5500-SF"
            ],
            "type": "string"
          },
          "id": {
            "description": "&lt;sponsor_ein&gt;:&lt;plan_number&gt;.",
            "type": "string"
          },
          "insurance_contracts": {
            "description": "The filing's Schedule A insurance contracts.",
            "items": {
              "$ref": "#/components/schemas/BenefitPlanInsurance"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "loaded_at": {
            "description": "When the platform last wrote the row.",
            "format": "date-time",
            "type": "string"
          },
          "net_assets_eoy": {
            "description": "Net plan assets at the end of the plan year, in dollars.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "participants_boy": {
            "description": "Participants at the beginning of the plan year.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "participants_eoy": {
            "description": "Active, retired, separated and beneficiary participants at the end of the plan year.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "pension_codes": {
            "description": "DOL pension benefit feature codes, concatenated (2E profit sharing, 2J 401(k), 1A defined benefit).",
            "type": [
              "string",
              "null"
            ]
          },
          "plan_name": {
            "description": "The plan's name.",
            "type": [
              "string",
              "null"
            ]
          },
          "plan_number": {
            "description": "The three digit plan number: 001 to 499 a pension plan, 501 to 999 a welfare plan.",
            "type": "string"
          },
          "plan_year": {
            "description": "The year the filing's plan year begins.",
            "format": "int64",
            "type": "integer"
          },
          "plan_year_begin": {
            "description": "The first day of the filing's plan year, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "service_providers": {
            "description": "The filing's Schedule C service providers.",
            "items": {
              "$ref": "#/components/schemas/BenefitPlanProvider"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source_file": {
            "description": "The DOL dataset file the filing was loaded from.",
            "type": "string"
          },
          "sponsor_city": {
            "description": "The sponsor's mailing city.",
            "type": [
              "string",
              "null"
            ]
          },
          "sponsor_dba": {
            "description": "The sponsor's DBA name.",
            "type": [
              "string",
              "null"
            ]
          },
          "sponsor_ein": {
            "description": "The plan sponsor's nine digit EIN.",
            "type": "string"
          },
          "sponsor_name": {
            "description": "The plan sponsor as the filing names it.",
            "type": "string"
          },
          "sponsor_state": {
            "description": "The sponsor's mailing state.",
            "type": [
              "string",
              "null"
            ]
          },
          "total_assets_eoy": {
            "description": "Total plan assets at the end of the plan year, in dollars; null when the filing reports none.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "welfare_codes": {
            "description": "DOL welfare benefit codes, concatenated (4A health, 4B life, 4D dental, 4H long-term disability).",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "sponsor_ein",
          "plan_number",
          "ack_id",
          "form",
          "plan_year",
          "plan_year_begin",
          "date_received",
          "sponsor_name",
          "sponsor_dba",
          "sponsor_city",
          "sponsor_state",
          "plan_name",
          "business_code",
          "pension_codes",
          "welfare_codes",
          "participants_boy",
          "participants_eoy",
          "total_assets_eoy",
          "net_assets_eoy",
          "fidelity_bond_covered",
          "fidelity_bond_amount",
          "insurance_contracts",
          "service_providers",
          "source_file",
          "dataset_url",
          "loaded_at"
        ],
        "type": "object"
      },
      "BookAMSEmployeeRecord": {
        "additionalProperties": false,
        "properties": {
          "Code": {
            "type": "string"
          },
          "Datasource": {
            "type": "string"
          },
          "EmployeeID": {
            "type": "string"
          },
          "Name": {
            "type": "string"
          },
          "Status": {
            "type": "string"
          }
        },
        "required": [
          "Datasource",
          "EmployeeID",
          "Code",
          "Name",
          "Status"
        ],
        "type": "object"
      },
      "BookAccountContacts": {
        "additionalProperties": false,
        "properties": {
          "absence": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "account_personnel": {
            "items": {
              "$ref": "#/components/schemas/BookAccountPersonnelAssignment"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "account_record": {
            "$ref": "#/components/schemas/BookAccountRecordMetadata"
          },
          "agency_team": {
            "items": {
              "$ref": "#/components/schemas/BookAgencyTeamMember"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "carrier_contacts": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/BookCarrierContact"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "type": "object"
          },
          "cash_receipts": {
            "items": {
              "$ref": "#/components/schemas/BookCashReceiptRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "client": {
            "$ref": "#/components/schemas/BookClientContactRecord"
          },
          "contacts": {
            "items": {
              "$ref": "#/components/schemas/BookNamedContact"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "coverage": {
            "additionalProperties": {
              "$ref": "#/components/schemas/BookFamilyCoverage"
            },
            "type": "object"
          },
          "loss_history": {
            "items": {
              "$ref": "#/components/schemas/BookClaimLossHistoryRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "policy_contacts": {
            "items": {
              "$ref": "#/components/schemas/BookPolicyContact"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "related_accounts": {
            "items": {
              "$ref": "#/components/schemas/BookRelatedAccount"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "carrier_contacts",
          "client",
          "contacts",
          "policy_contacts",
          "account_personnel"
        ],
        "type": "object"
      },
      "BookAccountFactPage": {
        "additionalProperties": false,
        "properties": {
          "absence": {
            "type": "string"
          },
          "data": {
            "items": {},
            "type": [
              "array",
              "null"
            ]
          },
          "family": {
            "type": "string"
          },
          "field_types": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "The type of each key a row of this family carries: text, date, money, yes_no, number, year or area.",
            "type": "object"
          }
        },
        "required": [
          "family",
          "data"
        ],
        "type": "object"
      },
      "BookAccountFactValue": {
        "additionalProperties": false,
        "properties": {
          "absence": {
            "type": "string"
          },
          "changed_at": {
            "type": "string"
          },
          "changed_by": {
            "type": "string"
          },
          "coverage": {
            "type": "string"
          },
          "effective": {
            "type": "string"
          },
          "line_of_business": {
            "type": "string"
          },
          "policy_number": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "sources": {
            "items": {
              "$ref": "#/components/schemas/BookAccountFactValue"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "value": {}
        },
        "required": [
          "value",
          "policy_number",
          "line_of_business",
          "effective",
          "changed_at",
          "changed_by"
        ],
        "type": "object"
      },
      "BookAccountFactsSummary": {
        "additionalProperties": false,
        "properties": {
          "annual_revenue": {
            "$ref": "#/components/schemas/BookAccountFactValue"
          },
          "business_since": {
            "$ref": "#/components/schemas/BookAccountFactValue"
          },
          "business_started_date": {
            "$ref": "#/components/schemas/BookAccountFactValue"
          },
          "counties": {
            "$ref": "#/components/schemas/BookAccountFactValue"
          },
          "dba": {
            "$ref": "#/components/schemas/BookAccountFactValue"
          },
          "description_of_operations": {
            "$ref": "#/components/schemas/BookAccountFactValue"
          },
          "disagreements": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/BookAccountFactValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "type": "object"
          },
          "duns_number": {
            "$ref": "#/components/schemas/BookAccountFactValue"
          },
          "employee_count": {
            "$ref": "#/components/schemas/BookAccountFactValue"
          },
          "entity_type": {
            "$ref": "#/components/schemas/BookAccountFactValue"
          },
          "fein": {
            "$ref": "#/components/schemas/BookAccountFactValue"
          },
          "fein_absence": {
            "$ref": "#/components/schemas/BookAccountFactValue"
          },
          "full_time_employee_count": {
            "$ref": "#/components/schemas/BookAccountFactValue"
          },
          "naics": {
            "$ref": "#/components/schemas/BookAccountFactValue"
          },
          "ncci_number": {
            "$ref": "#/components/schemas/BookAccountFactValue"
          },
          "part_time_employee_count": {
            "$ref": "#/components/schemas/BookAccountFactValue"
          },
          "payroll_by_rating_state": {
            "$ref": "#/components/schemas/BookAccountFactValue"
          },
          "prior_carriers": {
            "$ref": "#/components/schemas/BookAccountFactValue"
          },
          "sic": {
            "$ref": "#/components/schemas/BookAccountFactValue"
          },
          "states_of_operation": {
            "$ref": "#/components/schemas/BookAccountFactValue"
          },
          "website": {
            "$ref": "#/components/schemas/BookAccountFactValue"
          },
          "years_in_business": {
            "$ref": "#/components/schemas/BookAccountFactValue"
          }
        },
        "required": [
          "entity_type",
          "dba",
          "annual_revenue",
          "employee_count",
          "full_time_employee_count",
          "part_time_employee_count",
          "fein",
          "fein_absence",
          "business_since",
          "business_started_date",
          "years_in_business",
          "duns_number",
          "ncci_number",
          "website",
          "naics",
          "sic",
          "description_of_operations",
          "states_of_operation",
          "counties",
          "payroll_by_rating_state",
          "prior_carriers",
          "disagreements"
        ],
        "type": "object"
      },
      "BookAccountPersonnelAssignment": {
        "additionalProperties": false,
        "properties": {
          "ams360_datasource": {
            "type": [
              "string",
              "null"
            ]
          },
          "assignment_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "changed_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "employee_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "entered_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_primary": {
            "type": [
              "string",
              "null"
            ]
          },
          "personnel_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "type_of_business": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "assignment_id",
          "ams360_datasource",
          "employee_code",
          "personnel_type",
          "type_of_business",
          "is_primary",
          "entered_date",
          "changed_date"
        ],
        "type": "object"
      },
      "BookAccountRecordMetadata": {
        "additionalProperties": false,
        "properties": {
          "changed_by_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "gl_branch_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "gl_department_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "gl_division_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "gl_group_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "provenance_changed_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "provenance_table": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "changed_by_name",
          "gl_division_name",
          "gl_branch_name",
          "gl_department_name",
          "gl_group_name",
          "provenance_table",
          "provenance_changed_date"
        ],
        "type": "object"
      },
      "BookAccountRegisterSlice": {
        "additionalProperties": false,
        "properties": {
          "accounts": {
            "format": "int64",
            "type": "integer"
          },
          "policies": {
            "format": "int64",
            "type": "integer"
          },
          "policies_in_force": {
            "format": "int64",
            "type": "integer"
          },
          "premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "premium_in_force": {
            "type": [
              "string",
              "null"
            ]
          },
          "priced": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "accounts",
          "policies",
          "priced",
          "premium",
          "policies_in_force",
          "premium_in_force"
        ],
        "type": "object"
      },
      "BookAccountRollup": {
        "additionalProperties": false,
        "properties": {
          "active_full_term_premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "active_policy_count": {
            "format": "int64",
            "type": "integer"
          },
          "billed_commission_total": {
            "type": [
              "string",
              "null"
            ]
          },
          "claim_count": {
            "format": "int64",
            "type": "integer"
          },
          "cohort_policy_count": {
            "format": "int64",
            "type": "integer"
          },
          "distinct_line_count": {
            "format": "int64",
            "type": "integer"
          },
          "maturity_lag_days": {
            "format": "int64",
            "type": "integer"
          },
          "next_expiration_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_count": {
            "format": "int64",
            "type": "integer"
          },
          "recently_ended_count": {
            "format": "int64",
            "type": "integer"
          },
          "recently_ended_days": {
            "format": "int64",
            "type": "integer"
          },
          "renews_on": {
            "format": "date-time",
            "type": "string"
          },
          "renews_past": {
            "type": "boolean"
          },
          "renews_policy_key": {
            "type": "string"
          },
          "x_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "cohort_policy_count",
          "recently_ended_count",
          "recently_ended_days",
          "maturity_lag_days",
          "claim_count",
          "distinct_line_count",
          "x_date",
          "policy_count",
          "active_policy_count",
          "active_full_term_premium",
          "next_expiration_date",
          "billed_commission_total"
        ],
        "type": "object"
      },
      "BookAccountTeamMember": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": [
              "string",
              "null"
            ]
          },
          "datasource": {
            "type": "string"
          },
          "display_name": {
            "description": "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.",
            "type": "string"
          },
          "employee_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "employment_status": {
            "type": "string"
          },
          "is_house_code": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "role": {
            "type": "string"
          }
        },
        "required": [
          "datasource",
          "code",
          "employee_id",
          "name",
          "role",
          "employment_status",
          "is_house_code"
        ],
        "type": "object"
      },
      "BookActionBasis": {
        "additionalProperties": false,
        "properties": {
          "batch_set_id": {
            "type": "string"
          },
          "overlay_rev": {
            "format": "int64",
            "type": "integer"
          },
          "seq": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "overlay_rev",
          "seq"
        ],
        "type": "object"
      },
      "BookActionRow": {
        "additionalProperties": false,
        "properties": {
          "ActedByEmail": {
            "type": "string"
          },
          "ActedByPrincipal": {
            "type": "string"
          },
          "ActorPrincipal": {
            "type": "string"
          },
          "ActorType": {
            "type": "string"
          },
          "Basis": {
            "$ref": "#/components/schemas/BookActionBasis"
          },
          "Command": {
            "type": "string"
          },
          "ConnectionID": {
            "type": [
              "string",
              "null"
            ]
          },
          "EntityDomain": {
            "type": "string"
          },
          "EntityRef": {
            "$ref": "#/components/schemas/BookEntityRef"
          },
          "ID": {
            "type": "string"
          },
          "IdempotencyKey": {
            "type": "string"
          },
          "IssuedAt": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "OrgID": {
            "type": "string"
          },
          "Payload": {},
          "RecordedAt": {
            "format": "date-time",
            "type": "string"
          },
          "SchemaRev": {
            "format": "int64",
            "type": "integer"
          },
          "Seq": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "OrgID",
          "Seq",
          "ID",
          "ActorPrincipal",
          "ActorType",
          "ActedByPrincipal",
          "ActedByEmail",
          "EntityDomain",
          "EntityRef",
          "ConnectionID",
          "Command",
          "SchemaRev",
          "Payload",
          "Basis",
          "IdempotencyKey",
          "IssuedAt",
          "RecordedAt"
        ],
        "type": "object"
      },
      "BookActivityComment": {
        "additionalProperties": false,
        "properties": {
          "body": {
            "description": "What the comment says.",
            "type": [
              "string",
              "null"
            ]
          },
          "comment_date": {
            "description": "When the comment was made.",
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_by": {
            "description": "The employee code of who saved it.",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_by_name": {
            "description": "The full name of who saved it; null when the seat may not read it or no name resolves.",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_date": {
            "description": "When the comment was saved.",
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The comment's id in AMS 360.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "body",
          "comment_date",
          "entered_date",
          "entered_by",
          "entered_by_name"
        ],
        "type": "object"
      },
      "BookAdditionalInterest": {
        "additionalProperties": false,
        "properties": {
          "address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "aoiid": {
            "type": [
              "string",
              "null"
            ]
          },
          "area_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "attachments": {
            "items": {
              "$ref": "#/components/schemas/BookPartyInterestAttachment"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "contact": {
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "type": [
              "string",
              "null"
            ]
          },
          "extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "interest_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_master_certificate_holder": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "name2": {
            "type": [
              "string",
              "null"
            ]
          },
          "phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "aoiid",
          "name",
          "name2",
          "interest_type",
          "address_1",
          "address_2",
          "city",
          "state",
          "postal_code",
          "contact",
          "phone",
          "area_code",
          "extension",
          "email",
          "is_master_certificate_holder",
          "attachments"
        ],
        "type": "object"
      },
      "BookAgencyTeamMember": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_primary": {
            "type": "string"
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "provenance_changed_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "provenance_table": {
            "type": [
              "string",
              "null"
            ]
          },
          "role": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "role",
          "name",
          "email",
          "title",
          "provenance_table",
          "provenance_changed_date"
        ],
        "type": "object"
      },
      "BookAgingBucket": {
        "additionalProperties": false,
        "properties": {
          "amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "bucket": {
            "type": "string"
          },
          "invoice_count": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "bucket",
          "invoice_count",
          "amount"
        ],
        "type": "object"
      },
      "BookApplicantBlock": {
        "additionalProperties": false,
        "properties": {
          "business_since": {
            "type": [
              "string",
              "null"
            ]
          },
          "business_started_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "description_of_operations": {
            "type": [
              "string",
              "null"
            ]
          },
          "duns_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "entity_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "gl_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "has_losses": {
            "type": [
              "string",
              "null"
            ]
          },
          "install_or_service_percent": {
            "type": [
              "string",
              "null"
            ]
          },
          "known_since": {
            "type": [
              "string",
              "null"
            ]
          },
          "member_count": {
            "type": [
              "string",
              "null"
            ]
          },
          "naics": {
            "type": [
              "string",
              "null"
            ]
          },
          "ncci_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "off_premises_install_or_service_percent": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_program": {
            "type": [
              "string",
              "null"
            ]
          },
          "program_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "sic": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          },
          "tax_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "type_of_business": {
            "type": [
              "string",
              "null"
            ]
          },
          "years_in_business": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "effective_date",
          "status",
          "naics",
          "sic",
          "type_of_business",
          "entity_type",
          "description_of_operations",
          "business_started_date",
          "business_since",
          "known_since",
          "duns_number",
          "tax_code",
          "has_losses",
          "gl_code",
          "ncci_number",
          "program_code",
          "policy_program",
          "years_in_business",
          "member_count",
          "install_or_service_percent",
          "off_premises_install_or_service_percent"
        ],
        "type": "object"
      },
      "BookBasisJSON": {
        "additionalProperties": false,
        "properties": {
          "batch_set_id": {
            "type": "string"
          },
          "overlay_rev": {
            "format": "int64",
            "type": "integer"
          },
          "seq": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "overlay_rev",
          "seq"
        ],
        "type": "object"
      },
      "BookBillingHeaderRow": {
        "additionalProperties": false,
        "properties": {
          "ams360_datasource": {
            "type": [
              "string",
              "null"
            ]
          },
          "billing_header_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "client_key": {
            "type": [
              "string",
              "null"
            ]
          },
          "company_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "current_bill_method": {
            "type": [
              "string",
              "null"
            ]
          },
          "current_binder_status": {
            "type": [
              "string",
              "null"
            ]
          },
          "current_installment_day": {
            "type": [
              "string",
              "null"
            ]
          },
          "current_payment_plan_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "original_bill_method": {
            "type": [
              "string",
              "null"
            ]
          },
          "original_binder_status": {
            "type": [
              "string",
              "null"
            ]
          },
          "original_installment_day": {
            "type": [
              "string",
              "null"
            ]
          },
          "original_payment_plan_id": {
            "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_key": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "billing_header_id",
          "policy_key",
          "client_key",
          "ams360_datasource",
          "policy_id",
          "policy_effective_date",
          "policy_expiration_date",
          "original_bill_method",
          "current_bill_method",
          "original_binder_status",
          "current_binder_status",
          "original_payment_plan_id",
          "current_payment_plan_id",
          "original_installment_day",
          "current_installment_day",
          "company_code"
        ],
        "type": "object"
      },
      "BookBinderInterestRow": {
        "additionalProperties": false,
        "properties": {
          "address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "binder_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "contact_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "type": [
              "string",
              "null"
            ]
          },
          "fax_area_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "fax_extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "fax_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "interest": {
            "type": [
              "string",
              "null"
            ]
          },
          "interest_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "name_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "name_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "note_text": {
            "type": [
              "string",
              "null"
            ]
          },
          "postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "print_note": {
            "type": [
              "string",
              "null"
            ]
          },
          "reference_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "interest_id",
          "binder_id",
          "name_1",
          "name_2",
          "address_1",
          "address_2",
          "city",
          "state",
          "postal_code",
          "contact_name",
          "email",
          "fax_area_code",
          "fax_phone",
          "fax_extension",
          "interest",
          "reference_number",
          "note_text",
          "print_note"
        ],
        "type": "object"
      },
      "BookBinderRow": {
        "additionalProperties": false,
        "properties": {
          "additional_interests": {
            "items": {
              "$ref": "#/components/schemas/BookBinderInterestRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "ams360_datasource": {
            "type": [
              "string",
              "null"
            ]
          },
          "authorized_rep": {
            "type": [
              "string",
              "null"
            ]
          },
          "binder_effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "binder_expiration_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "binder_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "binder_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "image_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "image_short_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_editable": {
            "type": [
              "string",
              "null"
            ]
          },
          "note_text": {
            "type": [
              "string",
              "null"
            ]
          },
          "original_binder_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_key": {
            "type": [
              "string",
              "null"
            ]
          },
          "print_note": {
            "type": [
              "string",
              "null"
            ]
          },
          "reference_binder_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "signer_employee_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "binder_id",
          "binder_number",
          "policy_key",
          "ams360_datasource",
          "policy_id",
          "status",
          "binder_effective_date",
          "binder_expiration_date",
          "policy_effective_date",
          "description",
          "note_text",
          "print_note",
          "authorized_rep",
          "signer_employee_code",
          "original_binder_id",
          "reference_binder_number",
          "image_id",
          "image_short_name",
          "is_editable",
          "additional_interests"
        ],
        "type": "object"
      },
      "BookBindingJSON": {
        "additionalProperties": false,
        "properties": {
          "engines_absent": {
            "items": {
              "$ref": "#/components/schemas/BookEngineAbsenceJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "instance": {
            "type": "string"
          },
          "system": {
            "type": "string"
          },
          "writes": {
            "description": "The AMS 360 writes this seat's connection accepts; absent for every connection that accepts none.",
            "items": {
              "enum": [
                "attachment",
                "activity",
                "follow_up",
                "follow_up_update",
                "customer_create",
                "contact_update",
                "renewal_close",
                "policy_activity"
              ],
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "system",
          "instance"
        ],
        "type": "object"
      },
      "BookCRMStageCount": {
        "additionalProperties": false,
        "properties": {
          "closed_lost": {
            "format": "int64",
            "type": "integer"
          },
          "closed_won": {
            "format": "int64",
            "type": "integer"
          },
          "converted": {
            "format": "int64",
            "type": "integer"
          },
          "linked_accounts": {
            "format": "int64",
            "type": "integer"
          },
          "qualified": {
            "format": "int64",
            "type": "integer"
          },
          "revenue": {
            "type": [
              "string",
              "null"
            ]
          },
          "stage_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          },
          "weighted_revenue": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "stage_name",
          "total",
          "converted",
          "qualified",
          "closed_won",
          "closed_lost",
          "revenue",
          "weighted_revenue",
          "linked_accounts"
        ],
        "type": "object"
      },
      "BookCarrierConcentration": {
        "additionalProperties": false,
        "properties": {
          "active_full_term_premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "active_policy_count": {
            "format": "int64",
            "type": "integer"
          },
          "insurance_company": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "insurance_company",
          "active_policy_count",
          "active_full_term_premium"
        ],
        "type": "object"
      },
      "BookCarrierContact": {
        "additionalProperties": false,
        "properties": {
          "absence": {
            "type": [
              "string",
              "null"
            ]
          },
          "address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "changed_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "company": {
            "type": [
              "string",
              "null"
            ]
          },
          "company_role": {
            "type": [
              "string",
              "null"
            ]
          },
          "department": {
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_primary": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "phone_extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_expiration_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "relationship": {
            "type": [
              "string",
              "null"
            ]
          },
          "role": {
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "policy_number",
          "policy_effective_date",
          "policy_expiration_date",
          "company",
          "company_role",
          "name",
          "role",
          "title",
          "department",
          "phone",
          "phone_extension",
          "email",
          "relationship",
          "absence",
          "address_1",
          "address_2",
          "city",
          "state",
          "postal_code",
          "is_primary",
          "changed_date"
        ],
        "type": "object"
      },
      "BookCashReceiptRow": {
        "additionalProperties": false,
        "properties": {
          "amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "cash_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "check_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "client_key": {
            "type": [
              "string",
              "null"
            ]
          },
          "deposit_batch_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "nsf_journal_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "original_receipt_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "payer_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "posted_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "receipt_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "receipt_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "receipt_row_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "received_from": {
            "type": [
              "string",
              "null"
            ]
          },
          "received_from_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "reverse_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "reversed_by_receipt_id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "receipt_row_id",
          "deposit_batch_id",
          "client_key",
          "received_from_code",
          "received_from",
          "payer_name",
          "check_number",
          "description",
          "reverse_reason",
          "amount",
          "receipt_date",
          "receipt_number",
          "cash_type",
          "reversed_by_receipt_id",
          "original_receipt_id",
          "nsf_journal_id",
          "posted_at"
        ],
        "type": "object"
      },
      "BookCertificateHolderRow": {
        "additionalProperties": false,
        "properties": {
          "address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "attach_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "attach_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "certificate_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "certificate_issue_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "changed_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "contact_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "elf_form_detail_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "type": [
              "string",
              "null"
            ]
          },
          "entered_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "fax_area_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "fax_extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "fax_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "holder_detail_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "holder_flag": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_flags": {
            "$ref": "#/components/schemas/BookCertificateLineFlags"
          },
          "name_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "name_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "name_key": {
            "description": "Entity-name key of the combined holder name. Empty keys retain row identity.",
            "type": "string"
          },
          "name_selection": {
            "type": [
              "string",
              "null"
            ]
          },
          "note": {
            "type": [
              "string",
              "null"
            ]
          },
          "notice_days": {
            "type": [
              "string",
              "null"
            ]
          },
          "postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "print_note": {
            "type": [
              "string",
              "null"
            ]
          },
          "project_end_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "same_as_master": {
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          },
          "terms": {
            "$ref": "#/components/schemas/BookCertificateHolderTerms"
          },
          "write_to_master": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "name_key",
          "holder_detail_id",
          "certificate_id",
          "attach_type",
          "attach_id",
          "name_1",
          "name_2",
          "address_1",
          "address_2",
          "city",
          "state",
          "postal_code",
          "print_note",
          "certificate_issue_date",
          "holder_flag",
          "name_selection",
          "notice_days",
          "same_as_master",
          "write_to_master",
          "elf_form_detail_id",
          "terms",
          "project_end_date",
          "line_flags",
          "entered_date",
          "changed_date",
          "changed_by",
          "contact_name",
          "email",
          "fax_area_code",
          "fax_phone",
          "fax_extension",
          "description",
          "note"
        ],
        "type": "object"
      },
      "BookCertificateHolderTerms": {
        "additionalProperties": false,
        "properties": {
          "cross_out_endeavor": {
            "type": [
              "string",
              "null"
            ]
          },
          "cross_out_failure": {
            "type": [
              "string",
              "null"
            ]
          },
          "cross_out_workers_comp": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_bonded": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_licensed": {
            "type": [
              "string",
              "null"
            ]
          },
          "job_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "job_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "method_of_delivery": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "is_bonded",
          "is_licensed",
          "cross_out_endeavor",
          "cross_out_failure",
          "cross_out_workers_comp",
          "job_number",
          "job_type",
          "method_of_delivery"
        ],
        "type": "object"
      },
      "BookCertificateLineFlags": {
        "additionalProperties": false,
        "properties": {
          "additional_insured_auto": {
            "type": [
              "string",
              "null"
            ]
          },
          "additional_insured_garage_keepers": {
            "type": [
              "string",
              "null"
            ]
          },
          "additional_insured_garage_liability": {
            "type": [
              "string",
              "null"
            ]
          },
          "additional_insured_general_liability": {
            "type": [
              "string",
              "null"
            ]
          },
          "additional_insured_other": {
            "type": [
              "string",
              "null"
            ]
          },
          "additional_insured_umbrella": {
            "type": [
              "string",
              "null"
            ]
          },
          "waive_subrogation_auto": {
            "type": [
              "string",
              "null"
            ]
          },
          "waive_subrogation_excess": {
            "type": [
              "string",
              "null"
            ]
          },
          "waive_subrogation_garage_keepers": {
            "type": [
              "string",
              "null"
            ]
          },
          "waive_subrogation_garage_liability": {
            "type": [
              "string",
              "null"
            ]
          },
          "waive_subrogation_general_liability": {
            "type": [
              "string",
              "null"
            ]
          },
          "waive_subrogation_other": {
            "type": [
              "string",
              "null"
            ]
          },
          "waive_subrogation_workers_comp": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "additional_insured_general_liability",
          "waive_subrogation_general_liability",
          "additional_insured_auto",
          "waive_subrogation_auto",
          "additional_insured_garage_liability",
          "waive_subrogation_garage_liability",
          "additional_insured_garage_keepers",
          "waive_subrogation_garage_keepers",
          "additional_insured_umbrella",
          "waive_subrogation_excess",
          "waive_subrogation_workers_comp",
          "additional_insured_other",
          "waive_subrogation_other"
        ],
        "type": "object"
      },
      "BookClaimFileContact": {
        "additionalProperties": false,
        "properties": {
          "best_time": {
            "type": [
              "string",
              "null"
            ]
          },
          "contact_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "contact_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "contact_type_label": {
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "phone": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "contact_id",
          "contact_type",
          "contact_type_label",
          "name",
          "phone",
          "email",
          "best_time"
        ],
        "type": "object"
      },
      "BookClaimFileDriver": {
        "additionalProperties": false,
        "properties": {
          "citation": {
            "type": [
              "string",
              "null"
            ]
          },
          "driver_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "relation": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "driver_id",
          "name",
          "relation",
          "citation"
        ],
        "type": "object"
      },
      "BookClaimFileInjured": {
        "additionalProperties": false,
        "properties": {
          "injured_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "injury_description": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_fatality": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "injured_id",
          "name",
          "injury_description",
          "is_fatality"
        ],
        "type": "object"
      },
      "BookClaimFileLossHistory": {
        "additionalProperties": false,
        "properties": {
          "amount_paid": {
            "type": [
              "string",
              "null"
            ]
          },
          "company": {
            "type": [
              "string",
              "null"
            ]
          },
          "loss_history_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_number": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "loss_history_id",
          "company",
          "policy_number",
          "amount_paid"
        ],
        "type": "object"
      },
      "BookClaimFilePayment": {
        "additionalProperties": false,
        "properties": {
          "amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "check_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "claimant": {
            "type": [
              "string",
              "null"
            ]
          },
          "coverage_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "payment_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "payment_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "payment_type_label": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "payment_id",
          "check_date",
          "claimant",
          "payment_type",
          "payment_type_label",
          "coverage_code",
          "amount"
        ],
        "type": "object"
      },
      "BookClaimFilePropertyDamage": {
        "additionalProperties": false,
        "properties": {
          "damage_description": {
            "type": [
              "string",
              "null"
            ]
          },
          "estimated_amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "owner_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "property_damage_id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "property_damage_id",
          "owner_name",
          "damage_description",
          "estimated_amount"
        ],
        "type": "object"
      },
      "BookClaimFileRemark": {
        "additionalProperties": false,
        "properties": {
          "entered_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "remark": {
            "type": [
              "string",
              "null"
            ]
          },
          "remark_id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "remark_id",
          "entered_date",
          "remark"
        ],
        "type": "object"
      },
      "BookClaimFileRiskItem": {
        "additionalProperties": false,
        "properties": {
          "damage_description": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "estimated_amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "risk_item_id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "risk_item_id",
          "description",
          "damage_description",
          "estimated_amount"
        ],
        "type": "object"
      },
      "BookClaimInjuredRow": {
        "additionalProperties": false,
        "properties": {
          "address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "age": {
            "type": [
              "string",
              "null"
            ]
          },
          "business_area_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "business_extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "business_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "changed_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "doing_what": {
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "type": [
              "string",
              "null"
            ]
          },
          "employer_address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "employer_address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "employer_business_area_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "employer_business_extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "employer_business_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "employer_city": {
            "type": [
              "string",
              "null"
            ]
          },
          "employer_email": {
            "type": [
              "string",
              "null"
            ]
          },
          "employer_fax_area_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "employer_fax_extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "employer_fax_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "employer_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "employer_state": {
            "type": [
              "string",
              "null"
            ]
          },
          "employer_zip": {
            "type": [
              "string",
              "null"
            ]
          },
          "entered_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "gender": {
            "type": [
              "string",
              "null"
            ]
          },
          "injured_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "injury_description": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_fatality": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_insured_vehicle": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_other_vehicle": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_pedestrian": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "occupation": {
            "type": [
              "string",
              "null"
            ]
          },
          "residence_area_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "residence_extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "residence_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          },
          "where_taken": {
            "type": [
              "string",
              "null"
            ]
          },
          "zip": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "injured_id",
          "is_fatality",
          "is_insured_vehicle",
          "is_other_vehicle",
          "is_pedestrian",
          "changed_date",
          "entered_date",
          "age",
          "name",
          "address_1",
          "address_2",
          "city",
          "state",
          "zip",
          "email",
          "gender",
          "occupation",
          "injury_description",
          "doing_what",
          "where_taken",
          "business_area_code",
          "business_extension",
          "business_phone",
          "residence_area_code",
          "residence_extension",
          "residence_phone",
          "employer_name",
          "employer_address_1",
          "employer_address_2",
          "employer_city",
          "employer_state",
          "employer_zip",
          "employer_email",
          "employer_business_area_code",
          "employer_business_extension",
          "employer_business_phone",
          "employer_fax_area_code",
          "employer_fax_extension",
          "employer_fax_phone",
          "changed_by"
        ],
        "type": "object"
      },
      "BookClaimLossHistoryRow": {
        "additionalProperties": false,
        "properties": {
          "amount_paid": {
            "type": [
              "string",
              "null"
            ]
          },
          "claim_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "claim_status": {
            "type": [
              "string",
              "null"
            ]
          },
          "client_key": {
            "type": [
              "string",
              "null"
            ]
          },
          "closed_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "company": {
            "type": [
              "string",
              "null"
            ]
          },
          "date_of_loss": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "employee_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "entered_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "kind_of_loss": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_of_business": {
            "type": [
              "string",
              "null"
            ]
          },
          "loss_description": {
            "type": [
              "string",
              "null"
            ]
          },
          "loss_history_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "mod_factor": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_expiration_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_year": {
            "type": [
              "string",
              "null"
            ]
          },
          "report_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "loss_history_id",
          "client_key",
          "claim_number",
          "claim_status",
          "company",
          "kind_of_loss",
          "line_of_business",
          "policy_number",
          "policy_year",
          "date_of_loss",
          "report_date",
          "closed_date",
          "entered_date",
          "policy_effective_date",
          "policy_expiration_date",
          "amount_paid",
          "mod_factor",
          "employee_name",
          "loss_description"
        ],
        "type": "object"
      },
      "BookClaimPaymentRow": {
        "additionalProperties": false,
        "properties": {
          "amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "changed_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "check_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "claimant": {
            "type": [
              "string",
              "null"
            ]
          },
          "coverage_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "draft_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "entered_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "note": {
            "type": [
              "string",
              "null"
            ]
          },
          "paid_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "payment_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "payment_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "phone_area_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "phone_extension": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "payment_id",
          "coverage_code",
          "payment_type",
          "amount",
          "draft_number",
          "check_date",
          "entered_date",
          "changed_date",
          "claimant",
          "paid_by",
          "phone_area_code",
          "phone",
          "phone_extension",
          "note"
        ],
        "type": "object"
      },
      "BookClaimPropertyDamageRow": {
        "additionalProperties": false,
        "properties": {
          "changed_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "changed_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "company_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "damage_description": {
            "type": [
              "string",
              "null"
            ]
          },
          "driver_address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "driver_address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "driver_business_area_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "driver_business_extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "driver_business_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "driver_city": {
            "type": [
              "string",
              "null"
            ]
          },
          "driver_email": {
            "type": [
              "string",
              "null"
            ]
          },
          "driver_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "driver_residence_area_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "driver_residence_extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "driver_residence_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "driver_state": {
            "type": [
              "string",
              "null"
            ]
          },
          "driver_zip": {
            "type": [
              "string",
              "null"
            ]
          },
          "entered_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "estimated_amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_driver_same_as_owner": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_other_property_insured": {
            "type": [
              "string",
              "null"
            ]
          },
          "other_property_description": {
            "type": [
              "string",
              "null"
            ]
          },
          "owner_address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "owner_address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "owner_business_area_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "owner_business_extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "owner_business_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "owner_city": {
            "type": [
              "string",
              "null"
            ]
          },
          "owner_email": {
            "type": [
              "string",
              "null"
            ]
          },
          "owner_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "owner_residence_area_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "owner_residence_extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "owner_residence_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "owner_state": {
            "type": [
              "string",
              "null"
            ]
          },
          "owner_zip": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "property_damage_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "when_damage_seen": {
            "type": [
              "string",
              "null"
            ]
          },
          "where_damage_seen": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "property_damage_id",
          "policy_number",
          "estimated_amount",
          "is_driver_same_as_owner",
          "is_other_property_insured",
          "when_damage_seen",
          "changed_date",
          "entered_date",
          "company_name",
          "damage_description",
          "other_property_description",
          "where_damage_seen",
          "driver_name",
          "driver_address_1",
          "driver_address_2",
          "driver_city",
          "driver_state",
          "driver_zip",
          "driver_email",
          "driver_business_area_code",
          "driver_business_extension",
          "driver_business_phone",
          "driver_residence_area_code",
          "driver_residence_extension",
          "driver_residence_phone",
          "owner_name",
          "owner_address_1",
          "owner_address_2",
          "owner_city",
          "owner_state",
          "owner_zip",
          "owner_email",
          "owner_business_area_code",
          "owner_business_extension",
          "owner_business_phone",
          "owner_residence_area_code",
          "owner_residence_extension",
          "owner_residence_phone",
          "changed_by"
        ],
        "type": "object"
      },
      "BookClaimRemarkRow": {
        "additionalProperties": false,
        "properties": {
          "changed_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "changed_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "remark": {
            "type": [
              "string",
              "null"
            ]
          },
          "remark_id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "remark_id",
          "changed_date",
          "entered_date",
          "remark",
          "changed_by"
        ],
        "type": "object"
      },
      "BookClassCarrier": {
        "additionalProperties": false,
        "properties": {
          "customers": {
            "format": "int64",
            "type": "integer"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "customers"
        ],
        "type": "object"
      },
      "BookClassCode": {
        "additionalProperties": false,
        "properties": {
          "all_customers": {
            "format": "int64",
            "type": "integer"
          },
          "all_policies": {
            "description": "Policies in the whole book that carry the code.",
            "format": "int64",
            "type": "integer"
          },
          "book_carriers": {
            "description": "The code's carriers over the whole book, present only when a state is asked and the whole book names one. Absent when carriers_withheld.",
            "items": {
              "$ref": "#/components/schemas/BookClassCarrier"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "book_rate": {
            "$ref": "#/components/schemas/BookClassRate",
            "description": "The code's rate over the whole book, present only when a state is asked and the whole book clears the floor. Absent when carriers_withheld."
          },
          "carriers": {
            "description": "Absent when carriers_withheld. Narrowed to the asked state.",
            "items": {
              "$ref": "#/components/schemas/BookClassCarrier"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "class_share": {
            "description": "The share of the code's customers in the whole book that are in the class (cohort_customers over all_customers), to three places.",
            "format": "double",
            "type": "number"
          },
          "code": {
            "type": "string"
          },
          "cohort_customers": {
            "format": "int64",
            "type": "integer"
          },
          "cohort_policies": {
            "description": "Policies of the class's customers that carry the code, in the whole book.",
            "format": "int64",
            "type": "integer"
          },
          "description": {
            "description": "The most common description the agency entered for the code in AMS 360, over the whole book; null when all_customers is under 3.",
            "type": [
              "string",
              "null"
            ]
          },
          "description_basis": {
            "enum": [
              "agency_entered"
            ],
            "type": "string"
          },
          "fit": {
            "description": "class: the class holds a clearly larger share of the code's customers than of the line's, so the code describes the class's own work. companion: a code the class carries alongside its own, used across the book.",
            "enum": [
              "class",
              "companion"
            ],
            "type": "string"
          },
          "in_state": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/BookClassInState",
                "description": "The code's counts in the asked state; null when no state was asked."
              },
              {
                "type": "null"
              }
            ]
          },
          "premium_basis": {
            "enum": [
              "gross_sales",
              "payroll",
              "total_cost",
              "area",
              "units",
              "unknown"
            ],
            "type": "string"
          },
          "rate": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/BookClassRate",
                "description": "Absent when carriers_withheld; null below the floor. Narrowed to the asked state."
              },
              {
                "type": "null"
              }
            ]
          },
          "scheme": {
            "enum": [
              "iso_gl",
              "ncci",
              "state_bureau",
              "carrier"
            ],
            "type": "string"
          },
          "states": {
            "description": "Where the whole book wrote the code, most policies first.",
            "items": {
              "$ref": "#/components/schemas/BookClassState"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "code",
          "scheme",
          "description",
          "description_basis",
          "fit",
          "class_share",
          "cohort_policies",
          "cohort_customers",
          "all_policies",
          "all_customers",
          "in_state",
          "premium_basis",
          "states"
        ],
        "type": "object"
      },
      "BookClassInState": {
        "additionalProperties": false,
        "properties": {
          "all_customers": {
            "format": "int64",
            "type": "integer"
          },
          "all_policies": {
            "description": "Policies in the whole book that carry the code in the state.",
            "format": "int64",
            "type": "integer"
          },
          "cohort_customers": {
            "format": "int64",
            "type": "integer"
          },
          "cohort_policies": {
            "description": "Policies of the class's customers that carry the code in the state.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "cohort_policies",
          "cohort_customers",
          "all_policies",
          "all_customers"
        ],
        "type": "object"
      },
      "BookClassLine": {
        "additionalProperties": false,
        "properties": {
          "base_share": {
            "description": "The share of the line's customers in the whole book that are in the class, to four places: the base a code's class_share is read against.",
            "format": "double",
            "type": "number"
          },
          "codes": {
            "items": {
              "$ref": "#/components/schemas/BookClassCode"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "in_state": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/BookClassLineInState",
                "description": "The class's policies and customers on the line in the asked state, over every code the book wrote, not only the codes listed; null when no state was asked."
              },
              {
                "type": "null"
              }
            ]
          },
          "line": {
            "enum": [
              "general_liability",
              "workers_comp"
            ],
            "type": "string"
          }
        },
        "required": [
          "line",
          "base_share",
          "in_state",
          "codes"
        ],
        "type": "object"
      },
      "BookClassLineInState": {
        "additionalProperties": false,
        "properties": {
          "cohort_customers": {
            "format": "int64",
            "type": "integer"
          },
          "cohort_policies": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "cohort_policies",
          "cohort_customers"
        ],
        "type": "object"
      },
      "BookClassRate": {
        "additionalProperties": false,
        "properties": {
          "median": {
            "format": "double",
            "type": "number"
          },
          "policies": {
            "format": "int64",
            "type": "integer"
          },
          "unit": {
            "type": "string"
          }
        },
        "required": [
          "median",
          "unit",
          "policies"
        ],
        "type": "object"
      },
      "BookClassState": {
        "additionalProperties": false,
        "properties": {
          "policies": {
            "format": "int64",
            "type": "integer"
          },
          "state": {
            "type": "string"
          }
        },
        "required": [
          "state",
          "policies"
        ],
        "type": "object"
      },
      "BookClasses": {
        "additionalProperties": false,
        "properties": {
          "carriers_withheld": {
            "description": "True for a seat that does not read the estate evidence: each code's carriers (at least 3 customers each) and median rate per exposure unit (at least 5 single-class policies) are then absent.",
            "type": "boolean"
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/BookClassLine"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "naics": {
            "type": "string"
          },
          "sic": {
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/BookClassesSource"
          },
          "state": {
            "type": "string"
          },
          "status": {
            "description": "no_rows_for_state: the book wrote the codes, but no policy in the asked state carries any of them. A warehouse outage is a 503 refusal, never an empty answer.",
            "enum": [
              "ok",
              "no_book_rows",
              "no_rows_for_state"
            ],
            "type": "string"
          }
        },
        "required": [
          "naics",
          "sic",
          "state",
          "status",
          "source",
          "carriers_withheld",
          "lines"
        ],
        "type": "object"
      },
      "BookClassesSource": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "read_at": {
            "format": "date-time",
            "type": "string"
          },
          "window": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "label",
          "read_at",
          "window"
        ],
        "type": "object"
      },
      "BookClientContactRecord": {
        "additionalProperties": false,
        "properties": {
          "active": {
            "type": [
              "string",
              "null"
            ]
          },
          "added_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "ams360_datasource": {
            "type": [
              "string",
              "null"
            ]
          },
          "bill_to_address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "bill_to_address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "bill_to_city": {
            "type": [
              "string",
              "null"
            ]
          },
          "bill_to_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "bill_to_postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "bill_to_state": {
            "type": [
              "string",
              "null"
            ]
          },
          "business_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "business_phone_extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "business_since": {
            "type": [
              "string",
              "null"
            ]
          },
          "changed_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "client_key": {
            "type": "string"
          },
          "contact_method": {
            "type": [
              "string",
              "null"
            ]
          },
          "country": {
            "type": [
              "string",
              "null"
            ]
          },
          "county": {
            "type": [
              "string",
              "null"
            ]
          },
          "csr_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "custid": {
            "type": [
              "string",
              "null"
            ]
          },
          "customer_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "customer_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "dba": {
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "type": [
              "string",
              "null"
            ]
          },
          "email_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "entity_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "fax_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "firm_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "first_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "formal_salutation": {
            "type": [
              "string",
              "null"
            ]
          },
          "informal_salutation": {
            "type": [
              "string",
              "null"
            ]
          },
          "last_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "latitude": {
            "type": [
              "string",
              "null"
            ]
          },
          "longitude": {
            "type": [
              "string",
              "null"
            ]
          },
          "middle_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "naics": {
            "type": [
              "string",
              "null"
            ]
          },
          "notes": {
            "type": [
              "string",
              "null"
            ]
          },
          "other_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "producer_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "residence_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "sic": {
            "type": [
              "string",
              "null"
            ]
          },
          "sort_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          },
          "type_of_business": {
            "type": [
              "string",
              "null"
            ]
          },
          "version": {
            "type": "string"
          },
          "web_address": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "client_key",
          "ams360_datasource",
          "custid",
          "customer_number",
          "active",
          "customer_type",
          "entity_type",
          "firm_name",
          "dba",
          "sort_name",
          "first_name",
          "middle_name",
          "last_name",
          "formal_salutation",
          "informal_salutation",
          "address_1",
          "address_2",
          "city",
          "county",
          "state",
          "postal_code",
          "country",
          "email",
          "email_2",
          "web_address",
          "business_phone",
          "business_phone_extension",
          "residence_phone",
          "other_phone",
          "fax_phone",
          "contact_method",
          "bill_to_name",
          "bill_to_address_1",
          "bill_to_address_2",
          "bill_to_city",
          "bill_to_state",
          "bill_to_postal_code",
          "notes",
          "producer_code",
          "csr_code",
          "naics",
          "sic",
          "type_of_business",
          "business_since",
          "latitude",
          "longitude",
          "added_date",
          "changed_date"
        ],
        "type": "object"
      },
      "BookCoInsured": {
        "additionalProperties": false,
        "properties": {
          "coinid": {
            "type": [
              "string",
              "null"
            ]
          },
          "country_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "type": [
              "string",
              "null"
            ]
          },
          "first_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "last_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "middle_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "phones": {
            "items": {
              "$ref": "#/components/schemas/BookPartyPhone"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "coinid",
          "name",
          "first_name",
          "middle_name",
          "last_name",
          "email",
          "country_code",
          "status",
          "effective_date",
          "phones"
        ],
        "type": "object"
      },
      "BookCodeDomain": {
        "additionalProperties": false,
        "properties": {
          "codes": {
            "items": {
              "$ref": "#/components/schemas/BookCodeEntry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "domain": {
            "type": "string"
          }
        },
        "required": [
          "domain",
          "codes"
        ],
        "type": "object"
      },
      "BookCodeEntry": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "datasources": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "hidden": {
            "type": [
              "string",
              "null"
            ]
          },
          "label": {
            "type": [
              "string",
              "null"
            ]
          },
          "sort_no": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "code",
          "label",
          "sort_no",
          "hidden",
          "datasources"
        ],
        "type": "object"
      },
      "BookCodeVocabulary": {
        "additionalProperties": false,
        "properties": {
          "domains": {
            "items": {
              "$ref": "#/components/schemas/BookCodeDomain"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "domains"
        ],
        "type": "object"
      },
      "BookCollectionLetterRow": {
        "additionalProperties": false,
        "properties": {
          "account_balance_at_letter": {
            "type": [
              "string",
              "null"
            ]
          },
          "advance_amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "aging_bucket_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "aging_bucket_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "aging_bucket_3": {
            "type": [
              "string",
              "null"
            ]
          },
          "aging_bucket_4": {
            "type": [
              "string",
              "null"
            ]
          },
          "client_key": {
            "type": [
              "string",
              "null"
            ]
          },
          "last_payment_amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "last_payment_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "late_charge_total": {
            "type": [
              "string",
              "null"
            ]
          },
          "letter_run_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "letter_type": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "letter_run_id",
          "client_key",
          "account_balance_at_letter",
          "aging_bucket_1",
          "aging_bucket_2",
          "aging_bucket_3",
          "aging_bucket_4",
          "advance_amount",
          "late_charge_total",
          "last_payment_amount",
          "last_payment_date",
          "letter_type"
        ],
        "type": "object"
      },
      "BookCommissionScope": {
        "additionalProperties": false,
        "properties": {
          "selection": {
            "type": "string"
          },
          "selection_source": {
            "type": "string"
          }
        },
        "required": [
          "selection",
          "selection_source"
        ],
        "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"
      },
      "BookCoverageCheck": {
        "additionalProperties": false,
        "properties": {
          "missing_agencies": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "reason": {
            "type": "string"
          },
          "result": {
            "type": "string"
          }
        },
        "required": [
          "result"
        ],
        "type": "object"
      },
      "BookElectronicForm": {
        "additionalProperties": false,
        "properties": {
          "archived_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "category": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "edition_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "evidence_kind": {
            "type": "string"
          },
          "folder_id": {
            "type": "string"
          },
          "form_id": {
            "type": "string"
          },
          "form_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "form_type_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "form_version_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_of_business_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_datasource": {
            "type": "string"
          },
          "source_object": {
            "type": "string"
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "source_datasource",
          "source_object",
          "evidence_kind",
          "form_id",
          "folder_id",
          "form_version_id",
          "form_type_id",
          "form_number",
          "description",
          "edition_date",
          "state",
          "category",
          "line_of_business_id",
          "archived_at"
        ],
        "type": "object"
      },
      "BookEmployeeDetail": {
        "additionalProperties": false,
        "properties": {
          "employee_first_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "employee_key": {
            "type": "string"
          },
          "employee_last_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "employee_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "employment_status": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_producer": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "job_title": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "employee_key",
          "employee_name",
          "employee_first_name",
          "employee_last_name",
          "job_title",
          "employment_status",
          "is_producer"
        ],
        "type": "object"
      },
      "BookEmployeeLicensure": {
        "additionalProperties": false,
        "properties": {
          "book_pin_at": {
            "format": "date-time",
            "type": "string"
          },
          "landed_at": {
            "format": "date-time",
            "type": "string"
          },
          "personnel_pin_at": {
            "format": "date-time",
            "type": "string"
          },
          "present": {
            "type": "boolean"
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/BookEmployeeLicensureRow"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "present",
          "rows"
        ],
        "type": "object"
      },
      "BookEmployeeLicensureRow": {
        "additionalProperties": false,
        "properties": {
          "active_window": {
            "type": "string"
          },
          "business_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "crosscheck": {
            "type": "string"
          },
          "eff_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "employee_key": {
            "type": "string"
          },
          "exp_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "license_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "source": {
            "type": "string"
          },
          "state": {
            "type": "string"
          }
        },
        "required": [
          "employee_key",
          "source",
          "state",
          "business_type",
          "license_number",
          "eff_date",
          "exp_date",
          "active_window",
          "crosscheck"
        ],
        "type": "object"
      },
      "BookEmployeeMatch": {
        "additionalProperties": false,
        "properties": {
          "ams360_datasource": {
            "type": "string"
          },
          "ams360_employee_id": {
            "type": "string"
          },
          "confidence_scale": {
            "description": "The scale confidence_score is on.",
            "enum": [
              "fraction"
            ],
            "type": "string"
          },
          "confidence_score": {
            "format": "double",
            "type": "number"
          },
          "employee_name": {
            "type": "string"
          },
          "employee_status": {
            "type": "string"
          },
          "employee_verified_batch_set_id": {
            "type": "string"
          },
          "match_type": {
            "type": "string"
          },
          "served_ams360_datasource": {
            "type": "string"
          }
        },
        "required": [
          "ams360_datasource",
          "ams360_employee_id",
          "confidence_score",
          "match_type",
          "confidence_scale"
        ],
        "type": "object"
      },
      "BookEngineAbsenceJSON": {
        "additionalProperties": false,
        "properties": {
          "engine": {
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "unread": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "engine",
          "reason",
          "note",
          "unread"
        ],
        "type": "object"
      },
      "BookEntityRef": {
        "additionalProperties": false,
        "properties": {
          "ams360_datasource": {
            "type": "string"
          },
          "catalog_id": {
            "type": "string"
          },
          "client_id": {
            "type": "string"
          },
          "connection_id": {
            "type": "string"
          },
          "entity_id": {
            "type": "string"
          },
          "entity_type": {
            "type": "string"
          },
          "policy_id": {
            "type": "string"
          },
          "tenant_id": {
            "type": "string"
          }
        },
        "required": [
          "entity_type"
        ],
        "type": "object"
      },
      "BookExpiringBuckets": {
        "additionalProperties": false,
        "properties": {
          "days_30": {
            "format": "int64",
            "type": "integer"
          },
          "days_60": {
            "format": "int64",
            "type": "integer"
          },
          "days_90": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "days_30",
          "days_60",
          "days_90"
        ],
        "type": "object"
      },
      "BookExposureAutoCoverage": {
        "additionalProperties": false,
        "properties": {
          "auto_coverage_row_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "line_of_business_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_columns": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          }
        },
        "required": [
          "auto_coverage_row_id",
          "policy_id",
          "line_of_business_id",
          "effective_date"
        ],
        "type": "object"
      },
      "BookExposureBuilding": {
        "additionalProperties": false,
        "properties": {
          "address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "annual_revenues": {
            "type": [
              "string",
              "null"
            ]
          },
          "area_open_to_public": {
            "type": [
              "string",
              "null"
            ]
          },
          "building_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "building_row_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "city_limits": {
            "type": [
              "string",
              "null"
            ]
          },
          "county": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "description_of_operations": {
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "employees_full_time": {
            "type": [
              "string",
              "null"
            ]
          },
          "employees_part_time": {
            "type": [
              "string",
              "null"
            ]
          },
          "interest": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_leased_to_other": {
            "type": [
              "string",
              "null"
            ]
          },
          "location_row_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "number_of_employees": {
            "type": [
              "string",
              "null"
            ]
          },
          "occupied_area": {
            "type": [
              "string",
              "null"
            ]
          },
          "part_occupied": {
            "type": [
              "string",
              "null"
            ]
          },
          "percent_occupied": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "same_as_location": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_columns": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          },
          "total_building_area": {
            "type": [
              "string",
              "null"
            ]
          },
          "year_built": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "building_row_id",
          "policy_id",
          "location_row_id",
          "building_number",
          "address_1",
          "address_2",
          "city",
          "county",
          "state",
          "postal_code",
          "city_limits",
          "same_as_location",
          "description",
          "description_of_operations",
          "interest",
          "is_leased_to_other",
          "part_occupied",
          "year_built",
          "status",
          "effective_date",
          "percent_occupied",
          "occupied_area",
          "total_building_area",
          "area_open_to_public",
          "number_of_employees",
          "employees_full_time",
          "employees_part_time",
          "annual_revenues"
        ],
        "type": "object"
      },
      "BookExposureDriver": {
        "additionalProperties": false,
        "properties": {
          "address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "date_of_birth": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "deferred_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "driver_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "driver_row_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "employer": {
            "type": [
              "string",
              "null"
            ]
          },
          "first_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_deferred": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_driver_training": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_good_driver": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_good_student": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_mature_driver": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_student_over": {
            "type": [
              "string",
              "null"
            ]
          },
          "last_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "license_class": {
            "type": [
              "string",
              "null"
            ]
          },
          "license_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "license_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "license_state": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_of_business_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "marital_status": {
            "type": [
              "string",
              "null"
            ]
          },
          "middle_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "occupation": {
            "type": [
              "string",
              "null"
            ]
          },
          "other_license_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "relation": {
            "type": [
              "string",
              "null"
            ]
          },
          "sex": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_columns": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          },
          "unlicensed_exclude": {
            "type": [
              "string",
              "null"
            ]
          },
          "year_employed": {
            "type": [
              "string",
              "null"
            ]
          },
          "year_licensed": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "driver_row_id",
          "policy_id",
          "line_of_business_id",
          "driver_number",
          "first_name",
          "middle_name",
          "last_name",
          "date_of_birth",
          "address_1",
          "address_2",
          "city",
          "state",
          "postal_code",
          "occupation",
          "employer",
          "relation",
          "sex",
          "marital_status",
          "license_number",
          "license_class",
          "license_state",
          "license_date",
          "other_license_date",
          "year_licensed",
          "year_employed",
          "is_driver_training",
          "is_good_driver",
          "is_good_student",
          "is_mature_driver",
          "is_student_over",
          "is_deferred",
          "deferred_date",
          "unlicensed_exclude",
          "status",
          "effective_date"
        ],
        "type": "object"
      },
      "BookExposureGarage": {
        "additionalProperties": false,
        "properties": {
          "effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "garage_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "garage_row_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_of_business_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "location_row_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_columns": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          }
        },
        "required": [
          "garage_row_id",
          "policy_id",
          "line_of_business_id",
          "garage_number",
          "location_row_id",
          "effective_date"
        ],
        "type": "object"
      },
      "BookExposureHazard": {
        "additionalProperties": false,
        "properties": {
          "class_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "classification": {
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "exposure": {
            "type": [
              "string",
              "null"
            ]
          },
          "hazard_row_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_of_business_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "location_row_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "premium_basis": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_columns": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          },
          "territory": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "hazard_row_id",
          "policy_id",
          "line_of_business_id",
          "location_row_id",
          "exposure",
          "premium_basis",
          "class_code",
          "classification",
          "territory",
          "status",
          "effective_date"
        ],
        "type": "object"
      },
      "BookExposureLocation": {
        "additionalProperties": false,
        "properties": {
          "address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "annual_revenues": {
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "country_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "county": {
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "is_foreign": {
            "type": [
              "string",
              "null"
            ]
          },
          "location_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "location_row_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_columns": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "location_row_id",
          "policy_id",
          "location_number",
          "address_1",
          "address_2",
          "city",
          "county",
          "state",
          "postal_code",
          "country_code",
          "is_foreign",
          "status",
          "effective_date",
          "annual_revenues"
        ],
        "type": "object"
      },
      "BookExposureMarketingAutoCoverage": {
        "additionalProperties": false,
        "properties": {
          "auto_coverage_row_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "line_of_business_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_columns": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "source_policy_effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "source_policy_number": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "source_policy_number",
          "source_policy_effective_date",
          "auto_coverage_row_id",
          "policy_id",
          "line_of_business_id",
          "effective_date"
        ],
        "type": "object"
      },
      "BookExposureMarketingDriver": {
        "additionalProperties": false,
        "properties": {
          "address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "date_of_birth": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "deferred_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "driver_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "driver_row_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "employer": {
            "type": [
              "string",
              "null"
            ]
          },
          "first_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_deferred": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_driver_training": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_good_driver": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_good_student": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_mature_driver": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_student_over": {
            "type": [
              "string",
              "null"
            ]
          },
          "last_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "license_class": {
            "type": [
              "string",
              "null"
            ]
          },
          "license_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "license_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "license_state": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_of_business_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "marital_status": {
            "type": [
              "string",
              "null"
            ]
          },
          "middle_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "occupation": {
            "type": [
              "string",
              "null"
            ]
          },
          "other_license_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "relation": {
            "type": [
              "string",
              "null"
            ]
          },
          "sex": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_columns": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "source_policy_effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "source_policy_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          },
          "unlicensed_exclude": {
            "type": [
              "string",
              "null"
            ]
          },
          "year_employed": {
            "type": [
              "string",
              "null"
            ]
          },
          "year_licensed": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "source_policy_number",
          "source_policy_effective_date",
          "driver_row_id",
          "policy_id",
          "line_of_business_id",
          "driver_number",
          "first_name",
          "middle_name",
          "last_name",
          "date_of_birth",
          "address_1",
          "address_2",
          "city",
          "state",
          "postal_code",
          "occupation",
          "employer",
          "relation",
          "sex",
          "marital_status",
          "license_number",
          "license_class",
          "license_state",
          "license_date",
          "other_license_date",
          "year_licensed",
          "year_employed",
          "is_driver_training",
          "is_good_driver",
          "is_good_student",
          "is_mature_driver",
          "is_student_over",
          "is_deferred",
          "deferred_date",
          "unlicensed_exclude",
          "status",
          "effective_date"
        ],
        "type": "object"
      },
      "BookExposureMarketingGarage": {
        "additionalProperties": false,
        "properties": {
          "effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "garage_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "garage_row_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_of_business_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "location_row_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_columns": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "source_policy_effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "source_policy_number": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "source_policy_number",
          "source_policy_effective_date",
          "garage_row_id",
          "policy_id",
          "line_of_business_id",
          "garage_number",
          "location_row_id",
          "effective_date"
        ],
        "type": "object"
      },
      "BookExposureMarketingLocation": {
        "additionalProperties": false,
        "properties": {
          "address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "annual_revenues": {
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "country_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "county": {
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "is_foreign": {
            "type": [
              "string",
              "null"
            ]
          },
          "location_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "location_row_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_columns": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "source_policy_effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "source_policy_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "source_policy_number",
          "source_policy_effective_date",
          "location_row_id",
          "policy_id",
          "location_number",
          "address_1",
          "address_2",
          "city",
          "county",
          "state",
          "postal_code",
          "country_code",
          "is_foreign",
          "status",
          "effective_date",
          "annual_revenues"
        ],
        "type": "object"
      },
      "BookExposureMarketingVehicle": {
        "additionalProperties": false,
        "properties": {
          "age_group": {
            "type": [
              "string",
              "null"
            ]
          },
          "airbag_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "antilock_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "antitheft_credit": {
            "type": [
              "string",
              "null"
            ]
          },
          "antitheft_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "body_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "class": {
            "type": [
              "string",
              "null"
            ]
          },
          "co_vehicle_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "collision_symbol": {
            "type": [
              "string",
              "null"
            ]
          },
          "comprehensive_symbol": {
            "type": [
              "string",
              "null"
            ]
          },
          "cost_new": {
            "type": [
              "string",
              "null"
            ]
          },
          "days_per_week": {
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "engine_cc": {
            "type": [
              "string",
              "null"
            ]
          },
          "garaged": {
            "type": [
              "string",
              "null"
            ]
          },
          "horsepower": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_bumper": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_carpool": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_damaged": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_leased": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_multicar": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_new": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_non_owned": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_salvaged": {
            "type": [
              "string",
              "null"
            ]
          },
          "leased_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "license_plate": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_of_business_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "make": {
            "type": [
              "string",
              "null"
            ]
          },
          "miles_annual": {
            "type": [
              "string",
              "null"
            ]
          },
          "miles_one_way": {
            "type": [
              "string",
              "null"
            ]
          },
          "misc_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "misc_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "misc_3": {
            "type": [
              "string",
              "null"
            ]
          },
          "model": {
            "type": [
              "string",
              "null"
            ]
          },
          "odometer": {
            "type": [
              "string",
              "null"
            ]
          },
          "passenger_restraint": {
            "type": [
              "string",
              "null"
            ]
          },
          "performance": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "purchase_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "recovery": {
            "type": [
              "string",
              "null"
            ]
          },
          "register_state": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_columns": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "source_policy_effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "source_policy_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          },
          "symbol": {
            "type": [
              "string",
              "null"
            ]
          },
          "territory": {
            "type": [
              "string",
              "null"
            ]
          },
          "total_premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "usage": {
            "type": [
              "string",
              "null"
            ]
          },
          "vehicle_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "vehicle_row_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "vehicle_year": {
            "type": [
              "string",
              "null"
            ]
          },
          "vin": {
            "type": [
              "string",
              "null"
            ]
          },
          "weeks_per_year": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "source_policy_number",
          "source_policy_effective_date",
          "vehicle_row_id",
          "policy_id",
          "line_of_business_id",
          "vehicle_number",
          "co_vehicle_number",
          "vin",
          "license_plate",
          "register_state",
          "make",
          "model",
          "body_type",
          "vehicle_year",
          "class",
          "performance",
          "usage",
          "garaged",
          "territory",
          "symbol",
          "collision_symbol",
          "comprehensive_symbol",
          "age_group",
          "airbag_type",
          "antilock_type",
          "antitheft_type",
          "antitheft_credit",
          "passenger_restraint",
          "recovery",
          "is_bumper",
          "is_carpool",
          "is_damaged",
          "is_leased",
          "is_multicar",
          "is_new",
          "is_non_owned",
          "is_salvaged",
          "leased_date",
          "purchase_date",
          "misc_1",
          "misc_2",
          "misc_3",
          "status",
          "effective_date",
          "engine_cc",
          "horsepower",
          "cost_new",
          "odometer",
          "miles_annual",
          "miles_one_way",
          "days_per_week",
          "weeks_per_year",
          "total_premium"
        ],
        "type": "object"
      },
      "BookExposureRating": {
        "additionalProperties": false,
        "properties": {
          "attach_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "attach_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "categories": {
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "employee_count": {
            "type": [
              "string",
              "null"
            ]
          },
          "employees_full_time": {
            "type": [
              "string",
              "null"
            ]
          },
          "employees_part_time": {
            "type": [
              "string",
              "null"
            ]
          },
          "estimated_annual_remuneration": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_of_business_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "location_row_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "rating_basis": {
            "type": [
              "string",
              "null"
            ]
          },
          "rating_class_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "rating_row_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "rating_state": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_columns": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          },
          "verified_annual_remuneration": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "rating_row_id",
          "policy_id",
          "line_of_business_id",
          "location_row_id",
          "attach_id",
          "rating_class_code",
          "rating_basis",
          "rating_state",
          "categories",
          "verified_annual_remuneration",
          "employees_full_time",
          "employees_part_time",
          "status",
          "effective_date",
          "attach_type",
          "estimated_annual_remuneration",
          "employee_count"
        ],
        "type": "object"
      },
      "BookExposureVehicle": {
        "additionalProperties": false,
        "properties": {
          "age_group": {
            "type": [
              "string",
              "null"
            ]
          },
          "airbag_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "antilock_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "antitheft_credit": {
            "type": [
              "string",
              "null"
            ]
          },
          "antitheft_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "body_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "class": {
            "type": [
              "string",
              "null"
            ]
          },
          "co_vehicle_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "collision_symbol": {
            "type": [
              "string",
              "null"
            ]
          },
          "comprehensive_symbol": {
            "type": [
              "string",
              "null"
            ]
          },
          "cost_new": {
            "type": [
              "string",
              "null"
            ]
          },
          "days_per_week": {
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "engine_cc": {
            "type": [
              "string",
              "null"
            ]
          },
          "garaged": {
            "type": [
              "string",
              "null"
            ]
          },
          "horsepower": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_bumper": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_carpool": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_damaged": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_leased": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_multicar": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_new": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_non_owned": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_salvaged": {
            "type": [
              "string",
              "null"
            ]
          },
          "leased_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "license_plate": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_of_business_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "make": {
            "type": [
              "string",
              "null"
            ]
          },
          "miles_annual": {
            "type": [
              "string",
              "null"
            ]
          },
          "miles_one_way": {
            "type": [
              "string",
              "null"
            ]
          },
          "misc_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "misc_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "misc_3": {
            "type": [
              "string",
              "null"
            ]
          },
          "model": {
            "type": [
              "string",
              "null"
            ]
          },
          "odometer": {
            "type": [
              "string",
              "null"
            ]
          },
          "passenger_restraint": {
            "type": [
              "string",
              "null"
            ]
          },
          "performance": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "purchase_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "recovery": {
            "type": [
              "string",
              "null"
            ]
          },
          "register_state": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_columns": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          },
          "symbol": {
            "type": [
              "string",
              "null"
            ]
          },
          "territory": {
            "type": [
              "string",
              "null"
            ]
          },
          "total_premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "usage": {
            "type": [
              "string",
              "null"
            ]
          },
          "vehicle_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "vehicle_row_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "vehicle_year": {
            "type": [
              "string",
              "null"
            ]
          },
          "vin": {
            "type": [
              "string",
              "null"
            ]
          },
          "weeks_per_year": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "vehicle_row_id",
          "policy_id",
          "line_of_business_id",
          "vehicle_number",
          "co_vehicle_number",
          "vin",
          "license_plate",
          "register_state",
          "make",
          "model",
          "body_type",
          "vehicle_year",
          "class",
          "performance",
          "usage",
          "garaged",
          "territory",
          "symbol",
          "collision_symbol",
          "comprehensive_symbol",
          "age_group",
          "airbag_type",
          "antilock_type",
          "antitheft_type",
          "antitheft_credit",
          "passenger_restraint",
          "recovery",
          "is_bumper",
          "is_carpool",
          "is_damaged",
          "is_leased",
          "is_multicar",
          "is_new",
          "is_non_owned",
          "is_salvaged",
          "leased_date",
          "purchase_date",
          "misc_1",
          "misc_2",
          "misc_3",
          "status",
          "effective_date",
          "engine_cc",
          "horsepower",
          "cost_new",
          "odometer",
          "miles_annual",
          "miles_one_way",
          "days_per_week",
          "weeks_per_year",
          "total_premium"
        ],
        "type": "object"
      },
      "BookFacetCount": {
        "additionalProperties": false,
        "properties": {
          "count": {
            "format": "int64",
            "type": "integer"
          },
          "value": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "value",
          "count"
        ],
        "type": "object"
      },
      "BookFacets": {
        "additionalProperties": false,
        "properties": {
          "accounts_by_state": {
            "items": {
              "$ref": "#/components/schemas/BookFacetCount"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "accounts_by_tenant": {
            "items": {
              "$ref": "#/components/schemas/BookFacetCount"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "policies_by_datasource": {
            "items": {
              "$ref": "#/components/schemas/BookFacetCount"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "policies_by_line": {
            "items": {
              "$ref": "#/components/schemas/BookFacetCount"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "policies_expiring": {
            "$ref": "#/components/schemas/BookExpiringBuckets"
          },
          "renewal_window": {
            "$ref": "#/components/schemas/BookRenewalWindow"
          },
          "totals": {
            "$ref": "#/components/schemas/BookTotals"
          }
        },
        "required": [
          "totals",
          "accounts_by_state",
          "accounts_by_tenant",
          "policies_by_line",
          "policies_by_datasource",
          "policies_expiring",
          "renewal_window"
        ],
        "type": "object"
      },
      "BookFamilyCoverage": {
        "additionalProperties": false,
        "properties": {
          "coverage": {
            "type": "string"
          },
          "duration_ms": {
            "format": "int64",
            "type": "integer"
          },
          "presence": {
            "type": "string"
          },
          "projection": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "row_count": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "presence",
          "coverage",
          "duration_ms"
        ],
        "type": "object"
      },
      "BookFamilyNotice": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "message"
        ],
        "type": "object"
      },
      "BookFamilyServing": {
        "additionalProperties": false,
        "properties": {
          "batch_set_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "family": {
            "type": "string"
          },
          "gap": {
            "type": "string"
          },
          "notice": {
            "$ref": "#/components/schemas/BookFamilyNotice"
          },
          "plane": {
            "type": "string"
          },
          "presence": {
            "type": "string"
          },
          "published_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "family",
          "plane",
          "presence",
          "batch_set_id",
          "published_at"
        ],
        "type": "object"
      },
      "BookFamilySourceJSON": {
        "additionalProperties": false,
        "properties": {
          "elapsed_ms": {
            "format": "int64",
            "type": "integer"
          },
          "family": {
            "type": "string"
          },
          "freshness": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "origin": {
            "type": "string"
          },
          "pin": {
            "format": "date-time",
            "type": "string"
          },
          "reason": {
            "$ref": "#/components/schemas/BookFamilySourceReasonJSON"
          },
          "snapshot": {
            "type": "string"
          },
          "system": {
            "type": "string"
          }
        },
        "required": [
          "family",
          "system",
          "id",
          "origin"
        ],
        "type": "object"
      },
      "BookFamilySourceReasonJSON": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "ref": {
            "type": "string"
          }
        },
        "required": [
          "kind"
        ],
        "type": "object"
      },
      "BookFamilyStatus": {
        "additionalProperties": false,
        "properties": {
          "family": {
            "type": "string"
          },
          "rows_landed": {
            "format": "int64",
            "type": "integer"
          },
          "scope_version": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "source_object": {
            "type": "string"
          },
          "source_row_count": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "family",
          "source_object",
          "status",
          "rows_landed",
          "source_row_count",
          "scope_version"
        ],
        "type": "object"
      },
      "BookGoalRow": {
        "additionalProperties": false,
        "properties": {
          "actual_total": {
            "type": [
              "string",
              "null"
            ]
          },
          "agency_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "day_count": {
            "format": "int64",
            "type": "integer"
          },
          "dim_agency_sk": {
            "type": [
              "string",
              "null"
            ]
          },
          "dim_employee_sk": {
            "type": [
              "string",
              "null"
            ]
          },
          "first_date_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "job_title": {
            "type": [
              "string",
              "null"
            ]
          },
          "kpi_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "kpi_group": {
            "type": [
              "string",
              "null"
            ]
          },
          "kpi_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "last_date_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "measure_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "office_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "producer_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "target_total": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "kpi_code",
          "kpi_name",
          "kpi_group",
          "measure_type",
          "dim_employee_sk",
          "producer_name",
          "job_title",
          "dim_agency_sk",
          "agency_code",
          "office_name",
          "target_total",
          "actual_total",
          "day_count",
          "first_date_id",
          "last_date_id"
        ],
        "type": "object"
      },
      "BookGoalsRollup": {
        "additionalProperties": false,
        "properties": {
          "offices": {
            "items": {
              "$ref": "#/components/schemas/BookGoalRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "producers": {
            "items": {
              "$ref": "#/components/schemas/BookGoalRow"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "producers",
          "offices"
        ],
        "type": "object"
      },
      "BookIdentityPin": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "format": "date-time",
            "type": "string"
          },
          "objects": {
            "items": {
              "$ref": "#/components/schemas/ObjectMetadata"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "at",
          "objects"
        ],
        "type": "object"
      },
      "BookInvoiceApplicationRow": {
        "additionalProperties": false,
        "properties": {
          "credit_amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "debit_amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "invoice_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "journal_entry_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "kind": {
            "type": [
              "string",
              "null"
            ]
          },
          "posted_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "posting_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "receipt_row_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_reference": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "posting_id",
          "invoice_id",
          "kind",
          "posted_date",
          "debit_amount",
          "credit_amount",
          "receipt_row_id",
          "journal_entry_id",
          "source_reference"
        ],
        "type": "object"
      },
      "BookInvoiceBillToRow": {
        "additionalProperties": false,
        "properties": {
          "ar_client_key": {
            "type": [
              "string",
              "null"
            ]
          },
          "bill_address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "bill_address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "bill_city": {
            "type": [
              "string",
              "null"
            ]
          },
          "bill_loan_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "bill_name_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "bill_name_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "bill_postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "bill_source": {
            "type": [
              "string",
              "null"
            ]
          },
          "bill_state": {
            "type": [
              "string",
              "null"
            ]
          },
          "bill_to_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "bill_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "down_payment_amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "financed_amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "invoice_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_posted": {
            "type": [
              "string",
              "null"
            ]
          },
          "non_premium_amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "premium_amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "print_invoice": {
            "type": [
              "string",
              "null"
            ]
          },
          "printed_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "bill_to_id",
          "invoice_id",
          "ar_client_key",
          "premium_amount",
          "non_premium_amount",
          "down_payment_amount",
          "financed_amount",
          "bill_type",
          "bill_source",
          "bill_name_1",
          "bill_name_2",
          "bill_address_1",
          "bill_address_2",
          "bill_loan_number",
          "bill_city",
          "bill_state",
          "bill_postal_code",
          "is_posted",
          "print_invoice",
          "printed_at"
        ],
        "type": "object"
      },
      "BookInvoiceLineRow": {
        "additionalProperties": false,
        "properties": {
          "bill_method": {
            "type": [
              "string",
              "null"
            ]
          },
          "billing_header_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "broker_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "charge_category": {
            "type": [
              "string",
              "null"
            ]
          },
          "charge_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "company_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "full_term_premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "gl_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "gross_amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "invoice_effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "invoice_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_cancelled": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_installment": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_posted": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_of_business": {
            "type": [
              "string",
              "null"
            ]
          },
          "plan_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_transaction_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "replaced_by_line_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "replaces_line_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "transaction_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "writing_company_code": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "line_id",
          "invoice_id",
          "billing_header_id",
          "policy_transaction_id",
          "gross_amount",
          "full_term_premium",
          "charge_code",
          "charge_category",
          "transaction_type",
          "line_of_business",
          "plan_type",
          "description",
          "company_code",
          "writing_company_code",
          "broker_code",
          "bill_method",
          "invoice_effective_date",
          "gl_date",
          "is_cancelled",
          "is_installment",
          "is_posted",
          "replaced_by_line_id",
          "replaces_line_id"
        ],
        "type": "object"
      },
      "BookInvoiceSettlementRow": {
        "additionalProperties": false,
        "properties": {
          "applications": {
            "items": {
              "$ref": "#/components/schemas/BookInvoiceApplicationRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "applied_amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "billed_amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "invoice_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "open_balance": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "invoice_id",
          "billed_amount",
          "applied_amount",
          "open_balance",
          "applications"
        ],
        "type": "object"
      },
      "BookLensJSON": {
        "additionalProperties": false,
        "properties": {
          "display_name": {
            "type": "string"
          },
          "scope_kind": {
            "type": "string"
          },
          "target": {
            "type": "string"
          }
        },
        "required": [
          "target",
          "display_name",
          "scope_kind"
        ],
        "type": "object"
      },
      "BookLineTotal": {
        "additionalProperties": false,
        "properties": {
          "active_full_term_premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "active_policy_count": {
            "format": "int64",
            "type": "integer"
          },
          "policy_line_of_business": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "policy_line_of_business",
          "active_policy_count",
          "active_full_term_premium"
        ],
        "type": "object"
      },
      "BookMonthProduction": {
        "additionalProperties": false,
        "properties": {
          "commission_total": {
            "type": [
              "string",
              "null"
            ]
          },
          "month": {
            "format": "date-time",
            "type": "string"
          },
          "premium_total": {
            "type": [
              "string",
              "null"
            ]
          },
          "transaction_count": {
            "format": "int64",
            "type": "integer"
          },
          "written_premium_total": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "month",
          "premium_total",
          "written_premium_total",
          "commission_total",
          "transaction_count"
        ],
        "type": "object"
      },
      "BookNamedContact": {
        "additionalProperties": false,
        "properties": {
          "address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "ams360_datasource": {
            "type": [
              "string",
              "null"
            ]
          },
          "business_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "business_phone_extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "changed_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "contact_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "contact_method": {
            "type": [
              "string",
              "null"
            ]
          },
          "contact_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "country": {
            "type": [
              "string",
              "null"
            ]
          },
          "county": {
            "type": [
              "string",
              "null"
            ]
          },
          "display_in_customer_center": {
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "type": [
              "string",
              "null"
            ]
          },
          "entered_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "fax_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "formal_salutation": {
            "type": [
              "string",
              "null"
            ]
          },
          "informal_salutation": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_director": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_officer": {
            "type": [
              "string",
              "null"
            ]
          },
          "mobile_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "notes": {
            "type": [
              "string",
              "null"
            ]
          },
          "postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "residence_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "responsibilities": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "sort_order": {
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "contact_id",
          "ams360_datasource",
          "contact_name",
          "title",
          "is_officer",
          "is_director",
          "display_in_customer_center",
          "sort_order",
          "email",
          "business_phone",
          "business_phone_extension",
          "mobile_phone",
          "residence_phone",
          "fax_phone",
          "contact_method",
          "address_1",
          "address_2",
          "city",
          "county",
          "state",
          "postal_code",
          "country",
          "formal_salutation",
          "informal_salutation",
          "notes",
          "entered_date",
          "changed_date"
        ],
        "type": "object"
      },
      "BookNamedInsured": {
        "additionalProperties": false,
        "properties": {
          "alternate_area_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "alternate_extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "alternate_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "business_area_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "business_extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "business_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "country_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "type": [
              "string",
              "null"
            ]
          },
          "entity_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "fax_area_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "fax_extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "fax_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "gl_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "insured_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_foreign": {
            "type": [
              "string",
              "null"
            ]
          },
          "mail_address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "mail_address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "mail_city": {
            "type": [
              "string",
              "null"
            ]
          },
          "mail_county": {
            "type": [
              "string",
              "null"
            ]
          },
          "mail_state": {
            "type": [
              "string",
              "null"
            ]
          },
          "mail_zip": {
            "type": [
              "string",
              "null"
            ]
          },
          "member_count": {
            "type": [
              "string",
              "null"
            ]
          },
          "mobile_area_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "mobile_extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "mobile_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "naics": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "named_insured_row_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "note": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_sub_customer_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "sic": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          },
          "web_address": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "named_insured_row_id",
          "policy_id",
          "policy_sub_customer_id",
          "name",
          "entity_type",
          "insured_type",
          "naics",
          "sic",
          "gl_code",
          "status",
          "effective_date",
          "mail_address_1",
          "mail_address_2",
          "mail_city",
          "mail_county",
          "mail_state",
          "mail_zip",
          "country_code",
          "is_foreign",
          "business_area_code",
          "business_phone",
          "business_extension",
          "mobile_area_code",
          "mobile_phone",
          "mobile_extension",
          "alternate_area_code",
          "alternate_phone",
          "alternate_extension",
          "fax_area_code",
          "fax_phone",
          "fax_extension",
          "email",
          "web_address",
          "note",
          "member_count"
        ],
        "type": "object"
      },
      "BookOfficeAddress": {
        "additionalProperties": false,
        "properties": {
          "city": {
            "type": "string"
          },
          "name": {
            "description": "The office's name as DIM_AGENCY spells it, title-cased.",
            "type": "string"
          },
          "state": {
            "description": "The two-letter state code.",
            "type": "string"
          },
          "street": {
            "description": "The street line, suite included (DIM_AGENCY PRIMARY_ADDRESS).",
            "type": "string"
          },
          "zip": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "street",
          "city",
          "state",
          "zip"
        ],
        "type": "object"
      },
      "BookOpenReceivable": {
        "additionalProperties": false,
        "properties": {
          "aging": {
            "items": {
              "$ref": "#/components/schemas/BookAgingBucket"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "derivation": {
            "type": "string"
          },
          "open_amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "open_invoice_count": {
            "format": "int64",
            "type": "integer"
          },
          "past_due_amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "past_due_invoice_count": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "open_invoice_count",
          "open_amount",
          "past_due_invoice_count",
          "past_due_amount",
          "aging",
          "derivation"
        ],
        "type": "object"
      },
      "BookOrgFacet": {
        "additionalProperties": false,
        "properties": {
          "count": {
            "format": "int64",
            "type": "integer"
          },
          "market": {
            "type": [
              "string",
              "null"
            ]
          },
          "office_code": {
            "type": "string"
          },
          "office_label": {
            "type": "string"
          }
        },
        "required": [
          "market",
          "office_code",
          "office_label",
          "count"
        ],
        "type": "object"
      },
      "BookOrgMarketFacet": {
        "additionalProperties": false,
        "properties": {
          "count": {
            "format": "int64",
            "type": "integer"
          },
          "market": {
            "type": "string"
          }
        },
        "required": [
          "market",
          "count"
        ],
        "type": "object"
      },
      "BookOwner": {
        "additionalProperties": false,
        "properties": {
          "ams_linked": {
            "description": "false for an owner the rows name only by a name key that belongs to no AMS 360 employee.",
            "type": "boolean"
          },
          "business_phone": {
            "description": "The business phone, in full. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "business_phone_area_code": {
            "description": "Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "business_phone_extension": {
            "description": "Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "business_phone_number": {
            "description": "Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "code": {
            "description": "The person's busiest AMS 360 code.",
            "type": "string"
          },
          "codes": {
            "description": "Every value the producer: or client_manager: subject takes for this person; send them all to select the person.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "count": {
            "description": "The in-force policy rows naming this person inside the seat's scope.",
            "format": "int64",
            "type": "integer"
          },
          "default_business_unit_for_accounts": {
            "description": "The employee's default business unit applies to new accounts. Served on a row the warehouse serves.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "default_business_unit_for_policies": {
            "description": "The employee's default business unit applies to new policies. Served on a row the warehouse serves.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "display_name": {
            "description": "The name in reading order with AMS 360 date and note tokens dropped; absent when the row carries no name.",
            "type": "string"
          },
          "email": {
            "description": "The employee's business email. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "employee_code": {
            "description": "The employee's code, the one policies, accounts and activities name them by. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "first_name": {
            "description": "Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "in_extent": {
            "description": "Whether any of the person's codes has a row inside the requested market or office.",
            "type": "boolean"
          },
          "is_licensed": {
            "description": "The employee is marked licensed. Served on a row the warehouse serves.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "is_other": {
            "description": "The employee is neither producer nor representative. Served on a row the warehouse serves.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "is_producer": {
            "description": "The employee is a producer. Served on a row the warehouse serves.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "is_representative": {
            "description": "The employee is a customer service representative. Served on a row the warehouse serves.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "is_telemarketer": {
            "description": "Served on a row the warehouse serves.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "key": {
            "description": "Names the person stably across reads.",
            "type": "string"
          },
          "last_name": {
            "description": "Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "market": {
            "description": "The dominant office's market.",
            "type": [
              "string",
              "null"
            ]
          },
          "middle_name": {
            "description": "Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "national_producer_number": {
            "description": "The employee's national producer number. An exact number, as decimal text. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "office_address": {
            "$ref": "#/components/schemas/BookOfficeAddress",
            "description": "The dominant office's postal address from DIM_AGENCY; absent when the dimension holds no street for it."
          },
          "office_code": {
            "description": "The dominant office; null when the rows carry no labelled agency.",
            "type": [
              "string",
              "null"
            ]
          },
          "office_label": {
            "type": [
              "string",
              "null"
            ]
          },
          "short_name": {
            "description": "The employee's short name. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "source_fields": {
            "additionalProperties": {},
            "description": "The system of record's own fields, on a directory row read live (view=); named fields replace them as the catalog names them.",
            "type": "object"
          },
          "source_key": {
            "description": "The source's opaque record reference, on a directory row read live (view=).",
            "type": "string"
          },
          "status": {
            "description": "The employee's state as the source codes it (A active, I inactive). Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "description": "The employee's job title. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "key",
          "code",
          "codes",
          "ams_linked",
          "name",
          "office_code",
          "office_label",
          "market",
          "count",
          "in_extent"
        ],
        "type": "object"
      },
      "BookOwnerFacet": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "count": {
            "format": "int64",
            "type": "integer"
          },
          "display_name": {
            "description": "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. Filters take code; sorts read name.",
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "name",
          "count"
        ],
        "type": "object"
      },
      "BookPageJSON": {
        "additionalProperties": false,
        "properties": {
          "limit": {
            "format": "int64",
            "type": "integer"
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "offset": {
            "format": "int64",
            "type": "integer"
          },
          "page_size": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "limit",
          "next_cursor"
        ],
        "type": "object"
      },
      "BookPartyInterestAttachment": {
        "additionalProperties": false,
        "properties": {
          "attach_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "attach_type": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "building_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "lobid": {
            "type": [
              "string",
              "null"
            ]
          },
          "location_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_table": {
            "type": "string"
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "source_table",
          "source_id",
          "lobid",
          "location_id",
          "building_id",
          "attach_id",
          "attach_type",
          "effective_date",
          "status"
        ],
        "type": "object"
      },
      "BookPartyPhone": {
        "additionalProperties": false,
        "properties": {
          "area_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "country_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "number": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "type",
          "number",
          "area_code",
          "country_code",
          "extension"
        ],
        "type": "object"
      },
      "BookPaymentPlanInstallment": {
        "additionalProperties": false,
        "properties": {
          "installment_month": {
            "type": [
              "string",
              "null"
            ]
          },
          "installment_percent": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "installment_month",
          "installment_percent"
        ],
        "type": "object"
      },
      "BookPaymentPlanRow": {
        "additionalProperties": false,
        "properties": {
          "acord_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "ams360_datasource": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "installments": {
            "items": {
              "$ref": "#/components/schemas/BookPaymentPlanInstallment"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "is_hidden": {
            "type": [
              "string",
              "null"
            ]
          },
          "payment_plan_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "plan_type": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "payment_plan_id",
          "ams360_datasource",
          "acord_code",
          "plan_type",
          "description",
          "is_hidden",
          "installments"
        ],
        "type": "object"
      },
      "BookPeopleMeasure": {
        "additionalProperties": false,
        "properties": {
          "accounts": {
            "format": "int64",
            "type": "integer"
          },
          "policies": {
            "format": "int64",
            "type": "integer"
          },
          "premium": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "accounts",
          "policies",
          "premium"
        ],
        "type": "object"
      },
      "BookPeopleMonth": {
        "additionalProperties": false,
        "properties": {
          "end": {
            "type": "string"
          },
          "start": {
            "type": "string"
          }
        },
        "required": [
          "start",
          "end"
        ],
        "type": "object"
      },
      "BookPeopleMovement": {
        "additionalProperties": false,
        "properties": {
          "as_of": {
            "type": "string"
          },
          "definitions": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "months": {
            "items": {
              "$ref": "#/components/schemas/BookPeopleMovementMonth"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "as_of",
          "months",
          "definitions"
        ],
        "type": "object"
      },
      "BookPeopleMovementMonth": {
        "additionalProperties": false,
        "properties": {
          "lost": {
            "$ref": "#/components/schemas/BookPeopleMeasure"
          },
          "month": {
            "type": "string"
          },
          "new": {
            "$ref": "#/components/schemas/BookPeopleMeasure"
          },
          "world": {
            "type": "string"
          }
        },
        "required": [
          "month",
          "world",
          "new",
          "lost"
        ],
        "type": "object"
      },
      "BookPeopleRenewalWindow": {
        "additionalProperties": false,
        "properties": {
          "due": {
            "format": "int64",
            "type": "integer"
          },
          "not_renewed": {
            "format": "int64",
            "type": "integer"
          },
          "renewed": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "due",
          "renewed",
          "not_renewed"
        ],
        "type": "object"
      },
      "BookPeopleRenewalWindows": {
        "additionalProperties": false,
        "properties": {
          "days_120": {
            "$ref": "#/components/schemas/BookPeopleRenewalWindow"
          },
          "days_30": {
            "$ref": "#/components/schemas/BookPeopleRenewalWindow"
          },
          "days_60": {
            "$ref": "#/components/schemas/BookPeopleRenewalWindow"
          },
          "days_90": {
            "$ref": "#/components/schemas/BookPeopleRenewalWindow"
          }
        },
        "required": [
          "days_30",
          "days_60",
          "days_90",
          "days_120"
        ],
        "type": "object"
      },
      "BookPeopleRenewing": {
        "additionalProperties": false,
        "properties": {
          "not_renewed": {
            "format": "int64",
            "type": "integer"
          },
          "not_renewed_premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "policies": {
            "format": "int64",
            "type": "integer"
          },
          "premium": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "policies",
          "premium",
          "not_renewed",
          "not_renewed_premium"
        ],
        "type": "object"
      },
      "BookPeopleReportView": {
        "additionalProperties": false,
        "properties": {
          "chart_limit": {
            "format": "int64",
            "type": "integer"
          },
          "flag_limit": {
            "format": "int64",
            "type": "integer"
          },
          "table_limit": {
            "format": "int64",
            "type": "integer"
          },
          "table_whole_up_to": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "chart_limit",
          "table_limit",
          "table_whole_up_to",
          "flag_limit"
        ],
        "type": "object"
      },
      "BookPeopleRetention": {
        "additionalProperties": false,
        "properties": {
          "completed_no_successor": {
            "format": "int64",
            "type": "integer"
          },
          "due": {
            "format": "int64",
            "type": "integer"
          },
          "lost": {
            "format": "int64",
            "type": "integer"
          },
          "open": {
            "format": "int64",
            "type": "integer"
          },
          "premium_due": {
            "type": [
              "string",
              "null"
            ]
          },
          "premium_lost": {
            "type": [
              "string",
              "null"
            ]
          },
          "premium_open": {
            "type": [
              "string",
              "null"
            ]
          },
          "premium_rate": {
            "type": [
              "string",
              "null"
            ]
          },
          "premium_renewed": {
            "type": [
              "string",
              "null"
            ]
          },
          "rate": {
            "type": [
              "string",
              "null"
            ]
          },
          "renewal_cancelled_flat": {
            "format": "int64",
            "type": "integer"
          },
          "renewed": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "due",
          "renewed",
          "lost",
          "open",
          "completed_no_successor",
          "renewal_cancelled_flat",
          "premium_due",
          "premium_renewed",
          "premium_lost",
          "premium_open",
          "rate",
          "premium_rate"
        ],
        "type": "object"
      },
      "BookPeopleRetentionInProgress": {
        "additionalProperties": false,
        "properties": {
          "all": {
            "$ref": "#/components/schemas/BookPeopleRetention"
          },
          "commercial": {
            "$ref": "#/components/schemas/BookPeopleRetention"
          },
          "month": {
            "type": "string"
          },
          "personal": {
            "$ref": "#/components/schemas/BookPeopleRetention"
          }
        },
        "required": [
          "month",
          "all",
          "commercial",
          "personal"
        ],
        "type": "object"
      },
      "BookPeopleRetentionMonth": {
        "additionalProperties": false,
        "properties": {
          "completed_no_successor": {
            "format": "int64",
            "type": "integer"
          },
          "due": {
            "format": "int64",
            "type": "integer"
          },
          "in_progress": {
            "type": "boolean"
          },
          "lost": {
            "format": "int64",
            "type": "integer"
          },
          "month": {
            "type": "string"
          },
          "open": {
            "format": "int64",
            "type": "integer"
          },
          "premium_due": {
            "type": [
              "string",
              "null"
            ]
          },
          "premium_lost": {
            "type": [
              "string",
              "null"
            ]
          },
          "premium_open": {
            "type": [
              "string",
              "null"
            ]
          },
          "premium_rate": {
            "type": [
              "string",
              "null"
            ]
          },
          "premium_renewed": {
            "type": [
              "string",
              "null"
            ]
          },
          "rate": {
            "type": [
              "string",
              "null"
            ]
          },
          "renewal_cancelled_flat": {
            "format": "int64",
            "type": "integer"
          },
          "renewed": {
            "format": "int64",
            "type": "integer"
          },
          "world": {
            "type": "string"
          }
        },
        "required": [
          "month",
          "world",
          "in_progress",
          "due",
          "renewed",
          "lost",
          "open",
          "completed_no_successor",
          "renewal_cancelled_flat",
          "premium_due",
          "premium_renewed",
          "premium_lost",
          "premium_open",
          "rate",
          "premium_rate"
        ],
        "type": "object"
      },
      "BookPeopleRetentionRanking": {
        "additionalProperties": false,
        "properties": {
          "base": {
            "format": "int64",
            "type": "integer"
          },
          "min_decided": {
            "format": "int64",
            "type": "integer"
          },
          "ranked": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "base",
          "min_decided",
          "ranked"
        ],
        "type": "object"
      },
      "BookPeopleRetentionWindow": {
        "additionalProperties": false,
        "properties": {
          "all": {
            "$ref": "#/components/schemas/BookPeopleRetention"
          },
          "commercial": {
            "$ref": "#/components/schemas/BookPeopleRetention"
          },
          "end": {
            "type": "string"
          },
          "personal": {
            "$ref": "#/components/schemas/BookPeopleRetention"
          },
          "settled": {
            "type": "boolean"
          },
          "start": {
            "type": "string"
          }
        },
        "required": [
          "start",
          "end",
          "settled",
          "all",
          "commercial",
          "personal"
        ],
        "type": "object"
      },
      "BookPeopleRollup": {
        "additionalProperties": false,
        "properties": {
          "as_of": {
            "type": "string"
          },
          "definitions": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "group": {
            "type": "string"
          },
          "month": {
            "$ref": "#/components/schemas/BookPeopleMonth"
          },
          "notices": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "renewing_days": {
            "format": "int64",
            "type": "integer"
          },
          "report_view": {
            "$ref": "#/components/schemas/BookPeopleReportView"
          },
          "retention_12m": {
            "$ref": "#/components/schemas/BookPeopleRetentionWindow"
          },
          "retention_by_month": {
            "items": {
              "$ref": "#/components/schemas/BookPeopleRetentionMonth"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "retention_in_progress": {
            "$ref": "#/components/schemas/BookPeopleRetentionInProgress"
          },
          "retention_ranking": {
            "$ref": "#/components/schemas/BookPeopleRetentionRanking"
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/BookPeopleRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "totals": {
            "$ref": "#/components/schemas/BookPeopleRow"
          },
          "unassigned": {
            "$ref": "#/components/schemas/BookPeopleRow"
          }
        },
        "required": [
          "report_view",
          "group",
          "as_of",
          "month",
          "renewing_days",
          "rows",
          "unassigned",
          "totals",
          "retention_by_month",
          "retention_12m",
          "retention_in_progress",
          "retention_ranking",
          "definitions",
          "notices"
        ],
        "type": "object"
      },
      "BookPeopleRow": {
        "additionalProperties": false,
        "properties": {
          "accounts": {
            "format": "int64",
            "type": "integer"
          },
          "accounts_rank": {
            "format": "int64",
            "type": "integer"
          },
          "commercial": {
            "$ref": "#/components/schemas/BookPeopleMeasure"
          },
          "key": {
            "type": [
              "string",
              "null"
            ]
          },
          "lost": {
            "$ref": "#/components/schemas/BookPeopleMeasure"
          },
          "market": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "new": {
            "$ref": "#/components/schemas/BookPeopleMeasure"
          },
          "not_renewed_rank": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "office": {
            "type": [
              "string",
              "null"
            ]
          },
          "office_label": {
            "type": [
              "string",
              "null"
            ]
          },
          "other": {
            "$ref": "#/components/schemas/BookPeopleMeasure"
          },
          "personal": {
            "$ref": "#/components/schemas/BookPeopleMeasure"
          },
          "policies": {
            "format": "int64",
            "type": "integer"
          },
          "premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "premium_rank": {
            "format": "int64",
            "type": "integer"
          },
          "renewal_windows": {
            "$ref": "#/components/schemas/BookPeopleRenewalWindows"
          },
          "renewing_14d": {
            "$ref": "#/components/schemas/BookPeopleRenewing"
          },
          "retention_12m": {
            "$ref": "#/components/schemas/BookPeopleRetention"
          },
          "retention_month": {
            "$ref": "#/components/schemas/BookPeopleRetention"
          },
          "retention_rank": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "retention_rankable": {
            "type": "boolean"
          },
          "unpriced_policies": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "premium_rank",
          "accounts_rank",
          "not_renewed_rank",
          "key",
          "name",
          "office",
          "office_label",
          "market",
          "accounts",
          "policies",
          "premium",
          "unpriced_policies",
          "commercial",
          "personal",
          "other",
          "new",
          "lost",
          "renewing_14d",
          "renewal_windows",
          "retention_month",
          "retention_12m",
          "retention_rankable",
          "retention_rank"
        ],
        "type": "object"
      },
      "BookPersonnelEmployee": {
        "additionalProperties": false,
        "properties": {
          "business_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "default_branch_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "default_department_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "default_division_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "default_group_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "type": [
              "string",
              "null"
            ]
          },
          "employee_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "first_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_producer": {
            "type": [
              "string",
              "null"
            ]
          },
          "last_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "middle_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "national_producer_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "short_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "employee_code",
          "first_name",
          "middle_name",
          "last_name",
          "short_name",
          "title",
          "status",
          "email",
          "business_phone",
          "is_producer",
          "default_branch_code",
          "default_division_code",
          "default_department_code",
          "default_group_code",
          "national_producer_code"
        ],
        "type": "object"
      },
      "BookPickerValue": {
        "additionalProperties": false,
        "properties": {
          "count": {
            "format": "int64",
            "type": "integer"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "value",
          "count"
        ],
        "type": "object"
      },
      "BookPlacementHistoryFacets": {
        "additionalProperties": false,
        "properties": {
          "carrier_changed": {
            "format": "int64",
            "type": "integer"
          },
          "new_business": {
            "format": "int64",
            "type": "integer"
          },
          "renewal": {
            "format": "int64",
            "type": "integer"
          },
          "rewrite": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "carrier_changed",
          "new_business",
          "renewal",
          "rewrite"
        ],
        "type": "object"
      },
      "BookPlacementHistoryRow": {
        "additionalProperties": false,
        "properties": {
          "ams360_datasource": {
            "type": "string"
          },
          "carrier_changed": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "carrier_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "client_key": {
            "type": [
              "string",
              "null"
            ]
          },
          "client_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "full_term_premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "line": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_key": {
            "type": "string"
          },
          "policy_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "prior_carrier_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "prior_premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "term_effective_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "term_expiration_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "term_index": {
            "format": "int64",
            "type": "integer"
          },
          "term_key": {
            "type": "string"
          },
          "term_kind": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "term_key",
          "policy_key",
          "client_key",
          "ams360_datasource",
          "client_name",
          "policy_number",
          "carrier_name",
          "line",
          "term_effective_date",
          "term_expiration_date",
          "full_term_premium",
          "prior_carrier_name",
          "prior_premium",
          "carrier_changed",
          "term_kind",
          "term_index"
        ],
        "type": "object"
      },
      "BookPlacementHistorySlice": {
        "additionalProperties": false,
        "properties": {
          "premium_sum": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "premium_sum"
        ],
        "type": "object"
      },
      "BookPodBookAggregate": {
        "additionalProperties": false,
        "properties": {
          "account_count": {
            "format": "int64",
            "type": "integer"
          },
          "definition_version": {
            "type": "string"
          },
          "policy_count": {
            "format": "int64",
            "type": "integer"
          },
          "premium": {
            "type": "string"
          },
          "premium_basis": {
            "type": "string"
          },
          "recently_ended_account_count": {
            "format": "int64",
            "type": "integer"
          },
          "renewals_90_days": {
            "format": "int64",
            "type": "integer"
          },
          "snapshot_pin": {
            "type": "string"
          },
          "unpriced_term_count": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "account_count",
          "policy_count",
          "premium",
          "premium_basis",
          "unpriced_term_count",
          "recently_ended_account_count",
          "definition_version",
          "snapshot_pin",
          "renewals_90_days"
        ],
        "type": "object"
      },
      "BookPolicyApplicant": {
        "additionalProperties": false,
        "properties": {
          "blocks": {
            "items": {
              "$ref": "#/components/schemas/BookApplicantBlock"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "current_effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "generation_count": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "blocks",
          "current_effective_date",
          "generation_count"
        ],
        "type": "object"
      },
      "BookPolicyCommission": {
        "additionalProperties": false,
        "properties": {
          "rollup": {
            "$ref": "#/components/schemas/BookPolicyCommissionRollup"
          },
          "transactions": {
            "items": {
              "$ref": "#/components/schemas/BookPolicyCommissionRow"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "transactions",
          "rollup"
        ],
        "type": "object"
      },
      "BookPolicyCommissionLine": {
        "additionalProperties": false,
        "properties": {
          "billed_commission": {
            "description": "The commission billed on the line, exact decimal text; withheld where carrier compensation is.",
            "type": [
              "string",
              "null"
            ]
          },
          "billed_premium": {
            "description": "The premium billed on the row, exact decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "invoice_transaction_id": {
            "description": "The invoice transaction's source id; null on a premium line.",
            "type": [
              "string",
              "null"
            ]
          },
          "premium_line_id": {
            "description": "The premium line's source id, the id a transactions line carries; null on an invoice row.",
            "type": [
              "string",
              "null"
            ]
          },
          "transaction_type_code": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "premium_line_id",
          "invoice_transaction_id",
          "billed_premium",
          "effective_date",
          "transaction_type_code",
          "billed_commission"
        ],
        "type": "object"
      },
      "BookPolicyCommissionRollup": {
        "additionalProperties": false,
        "properties": {
          "agency_commission_non_premium_total": {
            "type": [
              "string",
              "null"
            ]
          },
          "agency_commission_premium_total": {
            "type": [
              "string",
              "null"
            ]
          },
          "first_transaction_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "gross_profit_total": {
            "type": [
              "string",
              "null"
            ]
          },
          "last_transaction_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "non_premium_total": {
            "type": [
              "string",
              "null"
            ]
          },
          "premium_total": {
            "type": [
              "string",
              "null"
            ]
          },
          "revenue_total": {
            "type": [
              "string",
              "null"
            ]
          },
          "total_agency_commission_total": {
            "type": [
              "string",
              "null"
            ]
          },
          "transaction_count": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "transaction_count",
          "premium_total",
          "non_premium_total",
          "revenue_total",
          "gross_profit_total",
          "agency_commission_premium_total",
          "agency_commission_non_premium_total",
          "total_agency_commission_total",
          "first_transaction_date",
          "last_transaction_date"
        ],
        "type": "object"
      },
      "BookPolicyCommissionRow": {
        "additionalProperties": false,
        "properties": {
          "agency_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "agency_commission_non_premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "agency_commission_premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "ams360_datasource": {
            "type": [
              "string",
              "null"
            ]
          },
          "branch_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "broker_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "company_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "division_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "gl_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "gross_profit": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_of_business_non_premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "non_premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "original_ams360_datasource": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "production_gl_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "raw_product_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "revenue": {
            "type": [
              "string",
              "null"
            ]
          },
          "standard_policy_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "standard_product_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "total_agency_commission": {
            "type": [
              "string",
              "null"
            ]
          },
          "transaction_category": {
            "type": [
              "string",
              "null"
            ]
          },
          "transaction_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "transaction_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "transaction_sort_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "transaction_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "type_of_business": {
            "type": [
              "string",
              "null"
            ]
          },
          "writing_company_code": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "transaction_date",
          "gl_date",
          "production_gl_date",
          "transaction_code",
          "transaction_type",
          "transaction_category",
          "transaction_sort_number",
          "type_of_business",
          "line_of_business_non_premium",
          "premium",
          "non_premium",
          "revenue",
          "gross_profit",
          "agency_commission_premium",
          "agency_commission_non_premium",
          "total_agency_commission",
          "policy_number",
          "standard_policy_number",
          "agency_code",
          "division_code",
          "branch_code",
          "writing_company_code",
          "company_code",
          "broker_code",
          "raw_product_id",
          "standard_product_id",
          "ams360_datasource",
          "original_ams360_datasource"
        ],
        "type": "object"
      },
      "BookPolicyCompanyContext": {
        "additionalProperties": false,
        "properties": {
          "company_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "company_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "company_source_object": {
            "type": "string"
          },
          "company_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "evidence_kind": {
            "type": "string"
          },
          "naic": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_changed_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "source_datasource": {
            "type": "string"
          },
          "source_object": {
            "type": "string"
          }
        },
        "required": [
          "source_datasource",
          "source_object",
          "company_source_object",
          "evidence_kind",
          "company_code",
          "company_name",
          "company_type",
          "naic",
          "policy_changed_at"
        ],
        "type": "object"
      },
      "BookPolicyContact": {
        "additionalProperties": false,
        "properties": {
          "address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "ams360_datasource": {
            "type": [
              "string",
              "null"
            ]
          },
          "changed_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "contact_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "contact_method": {
            "type": [
              "string",
              "null"
            ]
          },
          "contact_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "country": {
            "type": [
              "string",
              "null"
            ]
          },
          "county": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "type": [
              "string",
              "null"
            ]
          },
          "entered_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "fax_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_of_business": {
            "type": "string"
          },
          "line_of_business_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "mobile_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "notes": {
            "type": [
              "string",
              "null"
            ]
          },
          "on_current_policy": {
            "type": "boolean"
          },
          "phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "phone_extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_effective_date": {
            "format": "date-time",
            "type": "string"
          },
          "policy_expiration_date": {
            "format": "date-time",
            "type": "string"
          },
          "policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_key": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_number": {
            "type": "string"
          },
          "postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "provenance_source": {
            "type": "string"
          },
          "provenance_table": {
            "type": "string"
          },
          "residence_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "responsibility": {
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "contact_id",
          "ams360_datasource",
          "policy_key",
          "policy_id",
          "line_of_business_id",
          "contact_name",
          "title",
          "description",
          "responsibility",
          "status",
          "email",
          "phone",
          "phone_extension",
          "mobile_phone",
          "residence_phone",
          "fax_phone",
          "contact_method",
          "address_1",
          "address_2",
          "city",
          "county",
          "state",
          "postal_code",
          "country",
          "notes",
          "effective_date",
          "entered_date",
          "changed_date"
        ],
        "type": "object"
      },
      "BookPolicyCoverage": {
        "additionalProperties": false,
        "properties": {
          "aggregate_applies_to": {
            "type": "string"
          },
          "applies_to": {
            "type": [
              "string",
              "null"
            ]
          },
          "claims_made": {
            "type": "string"
          },
          "coinsurance_percent": {
            "type": [
              "string",
              "null"
            ]
          },
          "coverage_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "coverage_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "deductible_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "deductible_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "deductible_3": {
            "type": [
              "string",
              "null"
            ]
          },
          "deductible_type_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "deductible_type_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "deductible_type_3": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "expiration_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "form_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "form_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "full_term_premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_blanket": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_statutory": {
            "type": [
              "string",
              "null"
            ]
          },
          "limit_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "limit_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "limit_3": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_of_business": {
            "type": "string"
          },
          "line_of_business_code": {
            "type": "string"
          },
          "line_of_business_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "parent_coverage_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_table": {
            "type": "string"
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          },
          "writing_company_naic": {
            "type": "string"
          }
        },
        "required": [
          "coverage_id",
          "parent_coverage_id",
          "line_of_business_id",
          "coverage_code",
          "description",
          "applies_to",
          "limit_1",
          "limit_2",
          "limit_3",
          "deductible_1",
          "deductible_2",
          "deductible_3",
          "deductible_type_1",
          "deductible_type_2",
          "deductible_type_3",
          "coinsurance_percent",
          "full_term_premium",
          "form_number",
          "form_date",
          "is_blanket",
          "is_statutory",
          "status",
          "effective_date",
          "expiration_date"
        ],
        "type": "object"
      },
      "BookPolicyCoverageRecord": {
        "additionalProperties": false,
        "properties": {
          "acted_by": {
            "type": "string"
          },
          "actor_id": {
            "type": "string"
          },
          "operation": {
            "type": "string"
          },
          "record": {
            "$ref": "#/components/schemas/Record"
          },
          "removed": {
            "type": "boolean"
          },
          "revision": {
            "format": "int64",
            "type": "integer"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "revision",
          "operation",
          "actor_id",
          "updated_at",
          "removed",
          "record"
        ],
        "type": "object"
      },
      "BookPolicyExposureSchedule": {
        "additionalProperties": false,
        "properties": {
          "auto_coverages": {
            "items": {
              "$ref": "#/components/schemas/BookExposureAutoCoverage"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "buildings": {
            "items": {
              "$ref": "#/components/schemas/BookExposureBuilding"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "drivers": {
            "items": {
              "$ref": "#/components/schemas/BookExposureDriver"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "garages": {
            "items": {
              "$ref": "#/components/schemas/BookExposureGarage"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "hazards": {
            "items": {
              "$ref": "#/components/schemas/BookExposureHazard"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "line_codes": {
            "description": "The AMS 360 line codes the policy writes, present when the schedule holds no hazards, vehicles or ratings.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "locations": {
            "items": {
              "$ref": "#/components/schemas/BookExposureLocation"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "marketing_auto_coverages": {
            "items": {
              "$ref": "#/components/schemas/BookExposureMarketingAutoCoverage"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "marketing_drivers": {
            "items": {
              "$ref": "#/components/schemas/BookExposureMarketingDriver"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "marketing_garages": {
            "items": {
              "$ref": "#/components/schemas/BookExposureMarketingGarage"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "marketing_locations": {
            "items": {
              "$ref": "#/components/schemas/BookExposureMarketingLocation"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "marketing_vehicles": {
            "items": {
              "$ref": "#/components/schemas/BookExposureMarketingVehicle"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "ratings": {
            "items": {
              "$ref": "#/components/schemas/BookExposureRating"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "vehicles": {
            "items": {
              "$ref": "#/components/schemas/BookExposureVehicle"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "vehicles",
          "drivers",
          "locations",
          "buildings",
          "hazards",
          "ratings"
        ],
        "type": "object"
      },
      "BookPolicyForm": {
        "additionalProperties": false,
        "properties": {
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "description2": {
            "type": [
              "string",
              "null"
            ]
          },
          "edition_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "expiration_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "form_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "grain": {
            "type": "string"
          },
          "line_of_business": {
            "type": "string"
          },
          "line_of_business_code": {
            "type": "string"
          },
          "line_of_business_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          },
          "vocabulary_description": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "grain",
          "form_number",
          "vocabulary_description",
          "description",
          "description2",
          "edition_date",
          "effective_date",
          "expiration_date",
          "status",
          "line_of_business_id"
        ],
        "type": "object"
      },
      "BookPolicyFormType": {
        "additionalProperties": false,
        "properties": {
          "effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "form_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_of_business": {
            "type": "string"
          },
          "line_of_business_code": {
            "type": "string"
          },
          "line_of_business_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "location_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "form_type",
          "line_of_business_id",
          "location_id",
          "effective_date",
          "status"
        ],
        "type": "object"
      },
      "BookPolicyFormsSchedule": {
        "additionalProperties": false,
        "properties": {
          "company_context": {
            "items": {
              "$ref": "#/components/schemas/BookPolicyCompanyContext"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "coverage_forms": {
            "items": {
              "$ref": "#/components/schemas/BookPolicyForm"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "electronic_forms": {
            "items": {
              "$ref": "#/components/schemas/BookElectronicForm"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "form_types": {
            "items": {
              "$ref": "#/components/schemas/BookPolicyFormType"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "policy_forms": {
            "items": {
              "$ref": "#/components/schemas/BookPolicyForm"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "question_answers": {
            "items": {
              "$ref": "#/components/schemas/BookPolicyQuestionAnswer"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "policy_forms",
          "coverage_forms",
          "form_types",
          "electronic_forms",
          "question_answers",
          "company_context"
        ],
        "type": "object"
      },
      "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"
      },
      "BookPolicyParties": {
        "additionalProperties": false,
        "properties": {
          "additional_interests": {
            "$ref": "#/components/schemas/BookPolicyPartyFamilyBookAdditionalInterest"
          },
          "co_insureds": {
            "$ref": "#/components/schemas/BookPolicyPartyFamilyBookCoInsured"
          },
          "named_insureds": {
            "$ref": "#/components/schemas/BookPolicyPartyFamilyBookNamedInsured"
          },
          "policy_contacts": {
            "$ref": "#/components/schemas/BookPolicyPartyFamilyBookPolicyPartyContact"
          }
        },
        "required": [
          "named_insureds",
          "co_insureds",
          "additional_interests",
          "policy_contacts"
        ],
        "type": "object"
      },
      "BookPolicyPartyContact": {
        "additionalProperties": false,
        "properties": {
          "address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "contact_method": {
            "type": [
              "string",
              "null"
            ]
          },
          "country_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "county": {
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "type": [
              "string",
              "null"
            ]
          },
          "lobid": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "phones": {
            "items": {
              "$ref": "#/components/schemas/BookPartyPhone"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "polcid": {
            "type": [
              "string",
              "null"
            ]
          },
          "postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "responsibility": {
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "polcid",
          "lobid",
          "name",
          "title",
          "responsibility",
          "contact_method",
          "email",
          "address_1",
          "address_2",
          "city",
          "state",
          "postal_code",
          "country_code",
          "county",
          "status",
          "effective_date",
          "phones"
        ],
        "type": "object"
      },
      "BookPolicyPartyFamilyBookAdditionalInterest": {
        "additionalProperties": false,
        "properties": {
          "notice": {
            "type": "string"
          },
          "presence": {
            "type": "string"
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/BookAdditionalInterest"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "rows",
          "presence"
        ],
        "type": "object"
      },
      "BookPolicyPartyFamilyBookCoInsured": {
        "additionalProperties": false,
        "properties": {
          "notice": {
            "type": "string"
          },
          "presence": {
            "type": "string"
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/BookCoInsured"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "rows",
          "presence"
        ],
        "type": "object"
      },
      "BookPolicyPartyFamilyBookNamedInsured": {
        "additionalProperties": false,
        "properties": {
          "notice": {
            "type": "string"
          },
          "presence": {
            "type": "string"
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/BookNamedInsured"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "rows",
          "presence"
        ],
        "type": "object"
      },
      "BookPolicyPartyFamilyBookPolicyPartyContact": {
        "additionalProperties": false,
        "properties": {
          "notice": {
            "type": "string"
          },
          "presence": {
            "type": "string"
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/BookPolicyPartyContact"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "rows",
          "presence"
        ],
        "type": "object"
      },
      "BookPolicyPersonnelAssignment": {
        "additionalProperties": false,
        "properties": {
          "assignment_row_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "commission_flat_amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "commission_method": {
            "type": [
              "string",
              "null"
            ]
          },
          "commission_percentage": {
            "type": [
              "string",
              "null"
            ]
          },
          "employee": {
            "$ref": "#/components/schemas/BookPersonnelEmployee"
          },
          "employee_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "fee_flat_amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "fee_method": {
            "type": [
              "string",
              "null"
            ]
          },
          "fee_percentage": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_primary": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_suspended": {
            "type": [
              "string",
              "null"
            ]
          },
          "negative_commission_scope": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "production_credit_split_percentage": {
            "type": [
              "string",
              "null"
            ]
          },
          "role": {
            "type": [
              "string",
              "null"
            ]
          },
          "seat_position": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "assignment_row_id",
          "policy_id",
          "employee_code",
          "role",
          "is_primary",
          "is_suspended",
          "commission_method",
          "fee_method",
          "negative_commission_scope",
          "seat_position",
          "commission_percentage",
          "commission_flat_amount",
          "fee_percentage",
          "fee_flat_amount",
          "production_credit_split_percentage",
          "employee"
        ],
        "type": "object"
      },
      "BookPolicyPersonnelPeriod": {
        "additionalProperties": false,
        "properties": {
          "employee": {
            "$ref": "#/components/schemas/BookPersonnelEmployee"
          },
          "employee_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "end_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "is_active": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_suspended": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "role": {
            "type": [
              "string",
              "null"
            ]
          },
          "start_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "policy_id",
          "employee_code",
          "role",
          "start_date",
          "end_date",
          "is_active",
          "is_suspended",
          "employee"
        ],
        "type": "object"
      },
      "BookPolicyProducerLink": {
        "additionalProperties": false,
        "properties": {
          "authorizing_employee": {
            "$ref": "#/components/schemas/BookPersonnelEmployee"
          },
          "authorizing_employee_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "mail_other_description": {
            "type": [
              "string",
              "null"
            ]
          },
          "mail_policy_to": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "producer_link_row_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "signing_employee": {
            "$ref": "#/components/schemas/BookPersonnelEmployee"
          },
          "signing_employee_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "producer_link_row_id",
          "policy_id",
          "signing_employee_code",
          "authorizing_employee_code",
          "effective_date",
          "status",
          "mail_policy_to",
          "mail_other_description",
          "signing_employee",
          "authorizing_employee"
        ],
        "type": "object"
      },
      "BookPolicyQuestionAnswer": {
        "additionalProperties": false,
        "properties": {
          "answer": {
            "type": [
              "string",
              "null"
            ]
          },
          "answer_set_id": {
            "type": "string"
          },
          "effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "evidence_kind": {
            "type": "string"
          },
          "question": {
            "type": [
              "string",
              "null"
            ]
          },
          "question_code": {
            "type": "string"
          },
          "question_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_datasource": {
            "type": "string"
          },
          "source_object": {
            "type": "string"
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "source_datasource",
          "source_object",
          "evidence_kind",
          "question_code",
          "question_id",
          "question",
          "answer_set_id",
          "answer",
          "effective_date",
          "status"
        ],
        "type": "object"
      },
      "BookPolicyRegisterSlice": {
        "additionalProperties": false,
        "properties": {
          "clients": {
            "format": "int64",
            "type": "integer"
          },
          "premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "priced": {
            "format": "int64",
            "type": "integer"
          },
          "unpriced": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "premium",
          "priced",
          "unpriced",
          "clients"
        ],
        "type": "object"
      },
      "BookPolicyServicing": {
        "additionalProperties": false,
        "properties": {
          "assignments": {
            "items": {
              "$ref": "#/components/schemas/BookPolicyPersonnelAssignment"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "periods": {
            "items": {
              "$ref": "#/components/schemas/BookPolicyPersonnelPeriod"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "producer_links": {
            "items": {
              "$ref": "#/components/schemas/BookPolicyProducerLink"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "assignments",
          "periods",
          "producer_links"
        ],
        "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"
      },
      "BookPolicyTermLink": {
        "additionalProperties": false,
        "properties": {
          "asserted_by": {
            "description": "The source column that asserts the link, kept as is (DIM_POLICY.PRIOR_POLICY_ID, AFW_RENEWALLISTPOLICY.RENEWALPOLID and so on).",
            "type": "string"
          },
          "policy_id": {
            "description": "The term's policy id (its instance key).",
            "type": "string"
          },
          "policy_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "relation": {
            "description": "prior: a term before this one; next: a term after it.",
            "enum": [
              "prior",
              "next"
            ],
            "type": "string"
          },
          "term_end": {
            "description": "The term's expiration date.",
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "term_start": {
            "description": "The term's effective date.",
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "relation",
          "policy_id",
          "policy_number",
          "term_start",
          "term_end",
          "asserted_by"
        ],
        "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"
      },
      "BookProducerCodeOwner": {
        "additionalProperties": false,
        "properties": {
          "owner_ams360_datasource": {
            "type": "string"
          },
          "owner_employee_id": {
            "type": "string"
          },
          "owner_name": {
            "type": "string"
          },
          "owner_status": {
            "type": "string"
          },
          "owner_verified_batch_set_id": {
            "type": "string"
          },
          "owner_verified_pin": {
            "type": "string"
          }
        },
        "required": [
          "owner_employee_id",
          "owner_status",
          "owner_verified_batch_set_id"
        ],
        "type": "object"
      },
      "BookProducerCodes": {
        "additionalProperties": false,
        "properties": {
          "ams360_datasource": {
            "type": "string"
          },
          "codes": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "observed_names": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "original_ams360_datasource": {
            "type": "string"
          },
          "owners": {
            "additionalProperties": {
              "$ref": "#/components/schemas/BookProducerCodeOwner"
            },
            "type": "object"
          }
        },
        "required": [
          "ams360_datasource",
          "codes"
        ],
        "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"
      },
      "BookProductionRollup": {
        "additionalProperties": false,
        "properties": {
          "carriers": {
            "items": {
              "$ref": "#/components/schemas/BookCarrierConcentration"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "commission_scope": {
            "$ref": "#/components/schemas/BookCommissionScope"
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/BookLineTotal"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "months": {
            "items": {
              "$ref": "#/components/schemas/BookMonthProduction"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "months",
          "carriers",
          "lines",
          "commission_scope"
        ],
        "type": "object"
      },
      "BookQuoteRow": {
        "additionalProperties": false,
        "properties": {
          "ams360_datasource": {
            "type": [
              "string",
              "null"
            ]
          },
          "carrier_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "client_key": {
            "type": [
              "string",
              "null"
            ]
          },
          "comment": {
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "executive_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "expiration_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "line_of_business": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_key": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "premium_basis": {
            "type": "string"
          },
          "producer_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "quote_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "quote_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "quoted_premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "servicer_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "transaction_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "quote_id",
          "ams360_datasource",
          "quote_type",
          "client_key",
          "policy_key",
          "policy_number",
          "line_of_business",
          "carrier_code",
          "quoted_premium",
          "premium_basis",
          "effective_date",
          "expiration_date",
          "transaction_date",
          "entered_date",
          "producer_code",
          "servicer_code",
          "executive_code",
          "comment"
        ],
        "type": "object"
      },
      "BookReadSourceJSON": {
        "additionalProperties": false,
        "properties": {
          "current": {
            "type": "boolean"
          },
          "fetched_at": {
            "format": "date-time",
            "type": "string"
          },
          "freshness": {
            "type": "string"
          },
          "mode": {
            "type": "string"
          },
          "stale_since": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "mode",
          "fetched_at"
        ],
        "type": "object"
      },
      "BookRelatedAccount": {
        "additionalProperties": false,
        "properties": {
          "display_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "provenance_changed_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "provenance_table": {
            "type": [
              "string",
              "null"
            ]
          },
          "related_customer_id": {
            "type": "string"
          },
          "related_customer_key": {
            "type": "string"
          },
          "relationship_role": {
            "type": "string"
          },
          "relationship_type": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "relationship_type",
          "display_name",
          "provenance_table",
          "provenance_changed_date"
        ],
        "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"
      },
      "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"
      },
      "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"
      },
      "BookRenewalOpenCounts": {
        "additionalProperties": false,
        "properties": {
          "finished": {
            "description": "Renewals that are finished under the derivation that served the read (renewal_open false), counted with every filter but renewal_open.",
            "format": "int64",
            "type": "integer"
          },
          "open": {
            "description": "Renewals that are open work under the derivation that served the read (renewal_open true), counted with every filter but renewal_open.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "open",
          "finished"
        ],
        "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"
      },
      "BookRenewalRegisterBand": {
        "additionalProperties": false,
        "properties": {
          "accounts": {
            "format": "int64",
            "type": "integer"
          },
          "days_from": {
            "format": "int64",
            "type": "integer"
          },
          "days_to": {
            "format": "int64",
            "type": "integer"
          },
          "open_accounts": {
            "format": "int64",
            "type": "integer"
          },
          "policies": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "days_from",
          "days_to",
          "policies",
          "accounts",
          "open_accounts"
        ],
        "type": "object"
      },
      "BookRenewalRegisterDeskCoverage": {
        "additionalProperties": false,
        "properties": {
          "complete": {
            "format": "int64",
            "type": "integer"
          },
          "horizon_rows": {
            "format": "int64",
            "type": "integer"
          },
          "listed": {
            "format": "int64",
            "type": "integer"
          },
          "not_renewable": {
            "format": "int64",
            "type": "integer"
          },
          "serving": {
            "$ref": "#/components/schemas/BookFamilyServing"
          }
        },
        "required": [
          "horizon_rows",
          "listed",
          "complete",
          "not_renewable",
          "serving"
        ],
        "type": "object"
      },
      "BookRenewalRegisterFacets": {
        "additionalProperties": false,
        "properties": {
          "bands": {
            "items": {
              "$ref": "#/components/schemas/BookRenewalRegisterBand"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "carrier": {
            "items": {
              "$ref": "#/components/schemas/BookFacetCount"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "client_manager": {
            "items": {
              "$ref": "#/components/schemas/BookOwnerFacet"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "client_manager_truncated": {
            "type": "boolean"
          },
          "line": {
            "items": {
              "$ref": "#/components/schemas/BookFacetCount"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "nature": {
            "additionalProperties": {
              "format": "int64",
              "type": "integer"
            },
            "description": "Counted only with nature= or include=nature_facets; otherwise an empty object.",
            "type": "object"
          },
          "org": {
            "items": {
              "$ref": "#/components/schemas/BookOrgFacet"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "producer": {
            "items": {
              "$ref": "#/components/schemas/BookOwnerFacet"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "producer_truncated": {
            "type": "boolean"
          },
          "product": {
            "items": {
              "$ref": "#/components/schemas/BookFacetCount"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "risk": {
            "additionalProperties": {
              "format": "int64",
              "type": "integer"
            },
            "type": "object"
          },
          "stage": {
            "additionalProperties": {
              "format": "int64",
              "type": "integer"
            },
            "type": "object"
          },
          "state": {
            "additionalProperties": {
              "format": "int64",
              "type": "integer"
            },
            "type": "object"
          },
          "status": {
            "additionalProperties": {
              "format": "int64",
              "type": "integer"
            },
            "type": "object"
          },
          "world": {
            "additionalProperties": {
              "format": "int64",
              "type": "integer"
            },
            "type": "object"
          }
        },
        "required": [
          "nature",
          "risk",
          "stage",
          "world",
          "bands",
          "producer",
          "producer_truncated",
          "client_manager",
          "client_manager_truncated",
          "org",
          "line",
          "carrier",
          "product",
          "status",
          "state"
        ],
        "type": "object"
      },
      "BookRenewalRegisterSlice": {
        "additionalProperties": false,
        "properties": {
          "accounts": {
            "format": "int64",
            "type": "integer"
          },
          "premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "priced": {
            "format": "int64",
            "type": "integer"
          },
          "renewals": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "renewals",
          "accounts",
          "priced",
          "premium"
        ],
        "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"
      },
      "BookRenewalWindow": {
        "additionalProperties": false,
        "properties": {
          "buckets_days": {
            "items": {
              "format": "int64",
              "type": "integer"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "lower_bound": {
            "type": "string"
          },
          "measured_from": {
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "predicate": {
            "type": "string"
          },
          "rows_query": {
            "type": "string"
          },
          "upper_bound": {
            "type": "string"
          }
        },
        "required": [
          "buckets_days",
          "measured_from",
          "lower_bound",
          "upper_bound",
          "predicate",
          "rows_query",
          "note"
        ],
        "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"
      },
      "BookRetentionFlag": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "sentence": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "sentence"
        ],
        "type": "object"
      },
      "BookRetentionLastAction": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "description": "When the action happened; the renewals register's last_action_at for the same client and period.",
            "format": "date-time",
            "type": "string"
          },
          "by": {
            "description": "Who acted, as a display name: the marker, the note's author or the task's assignee. Null when no name resolves, when the seat may not read the event's source (the notes dataset for a note, the tasks dataset for a task) or when the note's author is an internal Nexio seat.",
            "type": [
              "string",
              "null"
            ]
          },
          "kind": {
            "description": "marked: the outlook was marked with no note; note: the mark carries a note, or a note was written on the client; task_done: a task on the client was completed.",
            "enum": [
              "marked",
              "note",
              "task_done"
            ],
            "type": "string"
          },
          "text": {
            "description": "The note's body or the task's title. Null on a mark, whose note is the mark's own note, and null under the same grant and internal-author rules as by.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "at",
          "kind",
          "by",
          "text"
        ],
        "type": "object"
      },
      "BookRetentionMarkPolicy": {
        "additionalProperties": false,
        "properties": {
          "expiration_date": {
            "format": "date",
            "type": [
              "string",
              "null"
            ]
          },
          "line": {
            "description": "The term's AMS 360 line of business.",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_number": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "policy_number",
          "line",
          "expiration_date"
        ],
        "type": "object"
      },
      "BookRetentionMarkTouch": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "description": "When the ledger recorded the command.",
            "format": "date-time",
            "type": "string"
          },
          "by": {
            "description": "Who marked or cleared it, as a display name; empty when no name resolves.",
            "type": "string"
          },
          "note": {
            "description": "The note written with the mark; empty when none.",
            "type": "string"
          },
          "outlook": {
            "description": "The outlook marked: good, at_risk or lost. Empty when the mark was cleared.",
            "type": "string"
          },
          "reason": {
            "description": "A Lost mark's reason code; empty when none.",
            "type": "string"
          },
          "reason_label": {
            "description": "The reason's words as the org declares them; empty when the mark carries no reason.",
            "type": "string"
          }
        },
        "required": [
          "at",
          "outlook",
          "reason",
          "reason_label",
          "note",
          "by"
        ],
        "type": "object"
      },
      "BookRetentionOutlookMark": {
        "additionalProperties": false,
        "properties": {
          "expected_revenue": {
            "type": [
              "string",
              "null"
            ]
          },
          "last_action": {
            "$ref": "#/components/schemas/BookRetentionLastAction",
            "description": "The last action on this renewal: the latest of this mark, a note on the client, or a task on the client completed, by the rule the renewals register's last_action_at uses, so its at equals that value for the same client and period. Served on the account's retention read and the account picture."
          },
          "marked_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "marked_by": {
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "outlook": {
            "type": "string"
          },
          "period": {
            "type": "string"
          },
          "reason": {
            "description": "A Lost mark's reason code, one of the org's lost reasons (GET /records/machines/renewal_outcome, the lost value's reasons), as AMS 360 codes it. Empty on every other mark and on a Lost mark recorded with a note only.",
            "type": "string"
          },
          "reason_label": {
            "description": "The reason's words as the org declares them; empty when the mark carries no reason.",
            "type": "string"
          },
          "revision": {
            "format": "int64",
            "type": "integer"
          },
          "touches": {
            "description": "Every mark and take-back on this renewal, newest first, as the action ledger recorded them: the current mark is the first. Served on the account's retention read and the account picture.",
            "items": {
              "$ref": "#/components/schemas/BookRetentionMarkTouch"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "period",
          "outlook",
          "note",
          "reason",
          "reason_label",
          "expected_revenue",
          "marked_by",
          "marked_at",
          "revision"
        ],
        "type": "object"
      },
      "BookRetentionRenewalRow": {
        "additionalProperties": false,
        "properties": {
          "account_name": {
            "type": "string"
          },
          "client_manager": {
            "type": "string"
          },
          "client_manager_code": {
            "type": "string"
          },
          "customer_id": {
            "type": "string"
          },
          "datasource": {
            "type": "string"
          },
          "division": {
            "type": "string"
          },
          "excluded_reason": {
            "type": "string"
          },
          "expected_revenue": {
            "type": [
              "string",
              "null"
            ]
          },
          "expiration_month": {
            "type": "string"
          },
          "flags": {
            "items": {
              "$ref": "#/components/schemas/BookRetentionFlag"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "key": {
            "type": "string"
          },
          "last_action_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "lost_reason": {
            "type": "string"
          },
          "lost_reason_label": {
            "type": "string"
          },
          "marked_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "marked_by": {
            "type": "string"
          },
          "market": {
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "outlook": {
            "type": "string"
          },
          "platform": {
            "type": "string"
          },
          "policies": {
            "format": "int64",
            "type": "integer"
          },
          "policy_status": {
            "type": "string"
          },
          "producer": {
            "type": "string"
          },
          "producer_code": {
            "type": "string"
          },
          "revenue": {
            "type": "string"
          }
        },
        "required": [
          "key",
          "platform",
          "market",
          "expiration_month",
          "producer",
          "producer_code",
          "client_manager",
          "client_manager_code",
          "division",
          "account_name",
          "customer_id",
          "datasource",
          "policy_status",
          "policies",
          "revenue",
          "outlook",
          "lost_reason",
          "lost_reason_label",
          "note",
          "expected_revenue",
          "marked_by",
          "marked_at",
          "last_action_at",
          "excluded_reason",
          "flags"
        ],
        "type": "object"
      },
      "BookRetentionReview": {
        "additionalProperties": false,
        "properties": {
          "focus_total": {
            "format": "int64",
            "type": "integer"
          },
          "marked_this_cycle": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "focus_total",
          "marked_this_cycle"
        ],
        "type": "object"
      },
      "BookRetentionRollupClientManager": {
        "additionalProperties": false,
        "properties": {
          "accounts": {
            "format": "int64",
            "type": "integer"
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "name",
          "accounts"
        ],
        "type": "object"
      },
      "BookRetentionRollupRow": {
        "additionalProperties": false,
        "properties": {
          "accounts": {
            "format": "int64",
            "type": "integer"
          },
          "ams_lost_revenue": {
            "type": "string"
          },
          "at_risk_accounts": {
            "format": "int64",
            "type": "integer"
          },
          "at_risk_revenue": {
            "type": "string"
          },
          "client_managers": {
            "items": {
              "$ref": "#/components/schemas/BookRetentionRollupClientManager"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "expected_loss": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "last_marked_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "leader": {
            "type": "string"
          },
          "lost_accounts": {
            "format": "int64",
            "type": "integer"
          },
          "lost_revenue": {
            "type": "string"
          },
          "marked_14d": {
            "format": "int64",
            "type": "integer"
          },
          "marked_accounts": {
            "format": "int64",
            "type": "integer"
          },
          "platform": {
            "type": "string"
          },
          "renewing_accounts": {
            "format": "int64",
            "type": "integer"
          },
          "renewing_revenue": {
            "type": "string"
          },
          "revenue_fees": {
            "type": "string"
          },
          "stale_at_risk": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "key",
          "label",
          "platform",
          "leader",
          "client_managers",
          "accounts",
          "revenue_fees",
          "at_risk_accounts",
          "at_risk_revenue",
          "lost_accounts",
          "lost_revenue",
          "expected_loss",
          "ams_lost_revenue",
          "marked_accounts",
          "marked_14d",
          "last_marked_at",
          "stale_at_risk",
          "renewing_accounts",
          "renewing_revenue"
        ],
        "type": "object"
      },
      "BookRetentionRollupTotals": {
        "additionalProperties": false,
        "properties": {
          "accounts": {
            "format": "int64",
            "type": "integer"
          },
          "ams_lost_revenue": {
            "type": "string"
          },
          "at_risk_accounts": {
            "format": "int64",
            "type": "integer"
          },
          "at_risk_revenue": {
            "type": "string"
          },
          "expected_loss": {
            "type": "string"
          },
          "last_marked_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "lost_accounts": {
            "format": "int64",
            "type": "integer"
          },
          "lost_revenue": {
            "type": "string"
          },
          "marked_14d": {
            "format": "int64",
            "type": "integer"
          },
          "marked_accounts": {
            "format": "int64",
            "type": "integer"
          },
          "renewing_accounts": {
            "format": "int64",
            "type": "integer"
          },
          "renewing_revenue": {
            "type": "string"
          },
          "revenue_fees": {
            "type": "string"
          },
          "stale_at_risk": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "accounts",
          "revenue_fees",
          "at_risk_accounts",
          "at_risk_revenue",
          "lost_accounts",
          "lost_revenue",
          "expected_loss",
          "ams_lost_revenue",
          "marked_accounts",
          "marked_14d",
          "last_marked_at",
          "stale_at_risk",
          "renewing_accounts",
          "renewing_revenue"
        ],
        "type": "object"
      },
      "BookScopeAMSGroup": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "long": {
            "type": "string"
          },
          "short": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "short",
          "long"
        ],
        "type": "object"
      },
      "BookScopeBoundary": {
        "additionalProperties": false,
        "properties": {
          "access_keys": {
            "format": "int64",
            "type": "integer"
          },
          "kind": {
            "type": "string"
          },
          "linked": {
            "$ref": "#/components/schemas/BookScopeLinkedBoundary"
          },
          "read_at": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "unit_name": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "source",
          "read_at"
        ],
        "type": "object"
      },
      "BookScopeJSON": {
        "additionalProperties": false,
        "properties": {
          "default_selection": {
            "type": "string"
          },
          "home_letterhead": {
            "$ref": "#/components/schemas/BookOfficeAddress"
          },
          "home_market": {
            "type": [
              "string",
              "null"
            ]
          },
          "home_office": {
            "type": [
              "string",
              "null"
            ]
          },
          "home_office_address": {
            "$ref": "#/components/schemas/BookOfficeAddress"
          },
          "home_office_label": {
            "type": [
              "string",
              "null"
            ]
          },
          "home_status": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "principal": {
            "type": "string"
          },
          "producer_code_count": {
            "format": "int64",
            "type": "integer"
          },
          "refused": {
            "type": "string"
          },
          "selection": {
            "type": "string"
          },
          "selection_source": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "home_market",
          "home_office",
          "home_office_label",
          "home_status"
        ],
        "type": "object"
      },
      "BookScopeLinkedBoundary": {
        "additionalProperties": false,
        "properties": {
          "access_keys": {
            "format": "int64",
            "type": "integer"
          },
          "datasource": {
            "type": "string"
          },
          "employee_code": {
            "type": "string"
          },
          "employee_id": {
            "type": "string"
          },
          "groups": {
            "format": "int64",
            "type": "integer"
          },
          "served_datasource": {
            "type": "string"
          },
          "unit_name": {
            "type": "string"
          }
        },
        "required": [
          "datasource",
          "served_datasource",
          "employee_id",
          "employee_code",
          "access_keys",
          "groups"
        ],
        "type": "object"
      },
      "BookScopeView": {
        "additionalProperties": false,
        "properties": {
          "ams_groups": {
            "items": {
              "$ref": "#/components/schemas/BookScopeAMSGroup"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "book_coverage": {
            "$ref": "#/components/schemas/BookCoverageCheck"
          },
          "boundary": {
            "$ref": "#/components/schemas/BookScopeBoundary"
          },
          "granting_members": {
            "format": "int64",
            "type": "integer"
          },
          "kind": {
            "type": "string"
          },
          "partial": {
            "items": {
              "$ref": "#/components/schemas/Partial"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "producer_code_count": {
            "format": "int64",
            "type": "integer"
          },
          "service_members": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "kind",
          "producer_code_count",
          "partial",
          "granting_members",
          "service_members"
        ],
        "type": "object"
      },
      "BookServingJSON": {
        "additionalProperties": false,
        "properties": {
          "as_of": {
            "format": "date-time",
            "type": "string"
          },
          "batch_set_id": {
            "type": "string"
          },
          "binding_id": {
            "type": "string"
          },
          "lens": {
            "$ref": "#/components/schemas/BookLensJSON"
          },
          "overlay_rev": {
            "format": "int64",
            "type": "integer"
          },
          "read_pin": {
            "format": "date-time",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/BookReadSourceJSON"
          }
        },
        "required": [
          "overlay_rev",
          "as_of"
        ],
        "type": "object"
      },
      "BookSourcesFamilyJSON": {
        "additionalProperties": false,
        "properties": {
          "bound": {
            "$ref": "#/components/schemas/BookFamilySourceJSON"
          },
          "family": {
            "type": "string"
          },
          "group": {
            "type": "string"
          },
          "live": {
            "type": "boolean"
          },
          "tier": {
            "type": "string"
          },
          "today": {
            "$ref": "#/components/schemas/BookFamilySourceJSON"
          }
        },
        "required": [
          "family",
          "group",
          "tier",
          "today",
          "bound",
          "live"
        ],
        "type": "object"
      },
      "BookStaffClientManager": {
        "additionalProperties": false,
        "properties": {
          "key": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "offices": {
            "items": {
              "$ref": "#/components/schemas/BookStaffOffice"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "short_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "totals": {
            "$ref": "#/components/schemas/BookStaffMeasure"
          }
        },
        "required": [
          "key",
          "name",
          "short_name",
          "totals",
          "offices"
        ],
        "type": "object"
      },
      "BookStaffCoverage": {
        "additionalProperties": false,
        "properties": {
          "market": {
            "type": [
              "string",
              "null"
            ]
          },
          "market_offices": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "offices": {
            "items": {
              "$ref": "#/components/schemas/BookStaffCoverageOffice"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "market",
          "offices",
          "market_offices"
        ],
        "type": "object"
      },
      "BookStaffCoverageOffice": {
        "additionalProperties": false,
        "properties": {
          "market": {
            "type": [
              "string",
              "null"
            ]
          },
          "office": {
            "type": "string"
          },
          "office_label": {
            "type": "string"
          }
        },
        "required": [
          "office",
          "office_label",
          "market"
        ],
        "type": "object"
      },
      "BookStaffDepartment": {
        "additionalProperties": false,
        "properties": {
          "accounts": {
            "format": "int64",
            "type": "integer"
          },
          "department": {
            "type": [
              "string",
              "null"
            ]
          },
          "policies": {
            "format": "int64",
            "type": "integer"
          },
          "premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "revenue": {
            "type": [
              "string",
              "null"
            ]
          },
          "unpriced_policies": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "department",
          "accounts",
          "policies",
          "premium",
          "unpriced_policies",
          "revenue"
        ],
        "type": "object"
      },
      "BookStaffMeasure": {
        "additionalProperties": false,
        "properties": {
          "accounts": {
            "format": "int64",
            "type": "integer"
          },
          "policies": {
            "format": "int64",
            "type": "integer"
          },
          "premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "revenue": {
            "type": [
              "string",
              "null"
            ]
          },
          "unpriced_policies": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "accounts",
          "policies",
          "premium",
          "unpriced_policies",
          "revenue"
        ],
        "type": "object"
      },
      "BookStaffOffice": {
        "additionalProperties": false,
        "properties": {
          "departments": {
            "items": {
              "$ref": "#/components/schemas/BookStaffDepartment"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "market": {
            "type": [
              "string",
              "null"
            ]
          },
          "office": {
            "type": [
              "string",
              "null"
            ]
          },
          "office_label": {
            "type": [
              "string",
              "null"
            ]
          },
          "totals": {
            "$ref": "#/components/schemas/BookStaffMeasure"
          }
        },
        "required": [
          "office",
          "office_label",
          "market",
          "totals",
          "departments"
        ],
        "type": "object"
      },
      "BookStaffRollup": {
        "additionalProperties": false,
        "properties": {
          "as_of": {
            "type": "string"
          },
          "client_managers": {
            "items": {
              "$ref": "#/components/schemas/BookStaffClientManager"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "coverage": {
            "$ref": "#/components/schemas/BookStaffCoverage"
          },
          "definitions": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "notices": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "offices": {
            "items": {
              "$ref": "#/components/schemas/BookStaffOffice"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "revenue_scope": {
            "$ref": "#/components/schemas/BookCommissionScope"
          },
          "totals": {
            "$ref": "#/components/schemas/BookStaffMeasure"
          }
        },
        "required": [
          "as_of",
          "client_managers",
          "offices",
          "totals",
          "revenue_scope",
          "coverage",
          "definitions",
          "notices"
        ],
        "type": "object"
      },
      "BookStatus": {
        "additionalProperties": false,
        "properties": {
          "as_of": {
            "format": "date-time",
            "type": "string"
          },
          "batch_set_id": {
            "type": "string"
          },
          "families": {
            "items": {
              "$ref": "#/components/schemas/BookFamilyStatus"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "published_at": {
            "format": "date-time",
            "type": "string"
          },
          "served_projection_ready": {
            "type": "boolean"
          },
          "stale": {
            "type": "boolean"
          }
        },
        "required": [
          "batch_set_id",
          "published_at",
          "as_of",
          "stale",
          "families",
          "served_projection_ready"
        ],
        "type": "object"
      },
      "BookStatusServingJSON": {
        "additionalProperties": false,
        "properties": {
          "as_of": {
            "format": "date-time",
            "type": "string"
          },
          "batch_set_id": {
            "type": "string"
          },
          "binding_id": {
            "type": "string"
          },
          "lens": {
            "$ref": "#/components/schemas/BookLensJSON"
          },
          "overlay_rev": {
            "format": "int64",
            "type": "integer"
          },
          "read_pin": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "source": {
            "$ref": "#/components/schemas/BookReadSourceJSON"
          }
        },
        "required": [
          "overlay_rev",
          "as_of",
          "read_pin"
        ],
        "type": "object"
      },
      "BookSubmissionGroupRow": {
        "additionalProperties": false,
        "properties": {
          "ams360_datasource": {
            "type": [
              "string",
              "null"
            ]
          },
          "changed_date": {
            "format": "date-time",
            "type": "string"
          },
          "client_key": {
            "type": [
              "string",
              "null"
            ]
          },
          "entered_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "group_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "group_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "submission_group_id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "submission_group_id",
          "client_key",
          "ams360_datasource",
          "group_number",
          "group_date",
          "entered_date"
        ],
        "type": "object"
      },
      "BookSubmissionRow": {
        "additionalProperties": false,
        "properties": {
          "ams360_datasource": {
            "type": "string"
          },
          "carrier_code": {
            "type": "string"
          },
          "carrier_name": {
            "type": "string"
          },
          "changed_date": {
            "format": "date-time",
            "type": "string"
          },
          "client_key": {
            "type": [
              "string",
              "null"
            ]
          },
          "client_name": {
            "type": "string"
          },
          "declined_at": {
            "format": "date-time",
            "type": "string"
          },
          "entered_date": {
            "format": "date-time",
            "type": "string"
          },
          "group_date": {
            "format": "date-time",
            "type": "string"
          },
          "group_number": {
            "type": "string"
          },
          "quoted_at": {
            "format": "date-time",
            "type": "string"
          },
          "shell_policy_id": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "status_label": {
            "type": "string"
          },
          "status_provenance": {
            "type": "string"
          },
          "submission_group_id": {
            "type": "string"
          },
          "submission_id": {
            "type": "string"
          }
        },
        "required": [
          "client_key"
        ],
        "type": "object"
      },
      "BookSubmissionsGaps": {
        "additionalProperties": false,
        "properties": {
          "quotes": {
            "$ref": "#/components/schemas/BookFamilyServing"
          }
        },
        "required": [
          "quotes"
        ],
        "type": "object"
      },
      "BookSummaryCarriers": {
        "additionalProperties": false,
        "properties": {
          "distinct": {
            "format": "int64",
            "type": "integer"
          },
          "policies_with_no_carrier_landed": {
            "format": "int64",
            "type": "integer"
          },
          "returned": {
            "format": "int64",
            "type": "integer"
          },
          "top": {
            "items": {
              "$ref": "#/components/schemas/BookSummaryGroup"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "policies_with_no_carrier_landed",
          "top",
          "distinct",
          "returned"
        ],
        "type": "object"
      },
      "BookSummaryClientCounts": {
        "additionalProperties": false,
        "properties": {
          "with_in_force_policy": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "with_in_force_policy"
        ],
        "type": "object"
      },
      "BookSummaryExpiring": {
        "additionalProperties": false,
        "properties": {
          "days_120": {
            "$ref": "#/components/schemas/BookSummaryExpiringBand"
          },
          "days_30": {
            "$ref": "#/components/schemas/BookSummaryExpiringBand"
          },
          "days_60": {
            "$ref": "#/components/schemas/BookSummaryExpiringBand"
          },
          "days_90": {
            "$ref": "#/components/schemas/BookSummaryExpiringBand"
          }
        },
        "required": [
          "days_30",
          "days_60",
          "days_90",
          "days_120"
        ],
        "type": "object"
      },
      "BookSummaryExpiringBand": {
        "additionalProperties": false,
        "properties": {
          "clients": {
            "format": "int64",
            "type": "integer"
          },
          "policies": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "policies",
          "clients"
        ],
        "type": "object"
      },
      "BookSummaryGroup": {
        "additionalProperties": false,
        "properties": {
          "clients": {
            "format": "int64",
            "type": "integer"
          },
          "policies": {
            "format": "int64",
            "type": "integer"
          },
          "premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "unpriced_policies": {
            "format": "int64",
            "type": "integer"
          },
          "value": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "value",
          "policies",
          "clients",
          "premium",
          "unpriced_policies"
        ],
        "type": "object"
      },
      "BookSummaryNameCount": {
        "additionalProperties": false,
        "properties": {
          "in_force_policies": {
            "format": "int64",
            "type": "integer"
          },
          "value": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "value",
          "in_force_policies"
        ],
        "type": "object"
      },
      "BookSummaryNameRanking": {
        "additionalProperties": false,
        "properties": {
          "distinct": {
            "format": "int64",
            "type": "integer"
          },
          "returned": {
            "format": "int64",
            "type": "integer"
          },
          "top": {
            "items": {
              "$ref": "#/components/schemas/BookSummaryNameCount"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "top",
          "distinct",
          "returned"
        ],
        "type": "object"
      },
      "BookSummaryPolicyCounts": {
        "additionalProperties": false,
        "properties": {
          "cancelled_at_pin": {
            "format": "int64",
            "type": "integer"
          },
          "in_force": {
            "format": "int64",
            "type": "integer"
          },
          "prior_or_ended_terms": {
            "format": "int64",
            "type": "integer"
          },
          "terms_on_file": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "terms_on_file",
          "in_force",
          "prior_or_ended_terms",
          "cancelled_at_pin"
        ],
        "type": "object"
      },
      "BookSummaryPremium": {
        "additionalProperties": false,
        "properties": {
          "every_landed_term_full_term": {
            "type": [
              "string",
              "null"
            ]
          },
          "every_landed_term_priced": {
            "format": "int64",
            "type": "integer"
          },
          "every_landed_term_unpriced": {
            "format": "int64",
            "type": "integer"
          },
          "in_force_full_term": {
            "type": [
              "string",
              "null"
            ]
          },
          "in_force_priced_terms": {
            "format": "int64",
            "type": "integer"
          },
          "in_force_unpriced_terms": {
            "format": "int64",
            "type": "integer"
          },
          "recovered_from_transactions": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "in_force_full_term",
          "in_force_priced_terms",
          "in_force_unpriced_terms",
          "every_landed_term_full_term",
          "every_landed_term_priced",
          "every_landed_term_unpriced",
          "recovered_from_transactions"
        ],
        "type": "object"
      },
      "BookSummaryRanking": {
        "additionalProperties": false,
        "properties": {
          "distinct": {
            "format": "int64",
            "type": "integer"
          },
          "returned": {
            "format": "int64",
            "type": "integer"
          },
          "top": {
            "items": {
              "$ref": "#/components/schemas/BookSummaryGroup"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "top",
          "distinct",
          "returned"
        ],
        "type": "object"
      },
      "BookSummaryUnpricedRow": {
        "additionalProperties": false,
        "properties": {
          "carrier": {
            "type": [
              "string",
              "null"
            ]
          },
          "client_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "client_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_expiration_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_line_of_business": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "client_id",
          "client_name",
          "policy_line_of_business",
          "carrier",
          "policy_expiration_date"
        ],
        "type": "object"
      },
      "BookTableRow": {
        "additionalProperties": false,
        "properties": {
          "row_key": {
            "description": "The row's identity in its table, opaque and stable: the order pages follow.",
            "type": "string"
          },
          "source_columns": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "Every registered column of the row verbatim as text, keyed &lt;OBJECT&gt;.&lt;COLUMN&gt; (AFW_146SCHEDEQUIP.EQUIPNO); a NULL value is absent. A direct identifier serves only on a read narrowed to one owner.",
            "type": "object"
          }
        },
        "required": [
          "row_key",
          "source_columns"
        ],
        "type": "object"
      },
      "BookTotals": {
        "additionalProperties": false,
        "properties": {
          "active_clients": {
            "format": "int64",
            "type": "integer"
          },
          "active_full_term_premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "active_policies": {
            "format": "int64",
            "type": "integer"
          },
          "policies": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "policies",
          "active_policies",
          "active_clients",
          "active_full_term_premium"
        ],
        "type": "object"
      },
      "BrandPageBlock": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "enum": [
              "brandPage"
            ],
            "type": "string"
          },
          "page": {
            "enum": [
              1,
              2
            ],
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "kind",
          "page"
        ],
        "type": "object"
      },
      "Brief": {
        "additionalProperties": false,
        "properties": {
          "colleague": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WhoToCall"
              },
              {
                "type": "null"
              }
            ]
          },
          "contact_note": {
            "type": [
              "string",
              "null"
            ]
          },
          "say": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "who_to_call": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WhoToCall"
              },
              {
                "type": "null"
              }
            ]
          },
          "why_now": {
            "type": "string"
          }
        },
        "required": [
          "why_now",
          "who_to_call",
          "colleague",
          "contact_note",
          "say"
        ],
        "type": "object"
      },
      "BundlePricing": {
        "additionalProperties": false,
        "properties": {
          "bundles_with": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "joined_premium_annual": {
            "format": "int64",
            "type": "integer"
          },
          "required": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "CRMStages": {
        "additionalProperties": false,
        "properties": {
          "stages": {
            "items": {
              "$ref": "#/components/schemas/BookCRMStageCount"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "stages"
        ],
        "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"
      },
      "CarriedFrom": {
        "additionalProperties": false,
        "properties": {
          "effective_date": {
            "type": "string"
          },
          "policy_id": {
            "type": "string"
          }
        },
        "required": [
          "policy_id",
          "effective_date"
        ],
        "type": "object"
      },
      "CarrierAppointmentRecord": {
        "additionalProperties": false,
        "properties": {
          "agency_codes": {
            "description": "The office's agency codes with the carrier, operating code first; empty for written_here.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "carrier_label": {
            "description": "The carrier name as its source wrote it.",
            "type": "string"
          },
          "carrier_market": {
            "description": "The office's current carrier market.",
            "type": "string"
          },
          "id": {
            "description": "The office and Markets directory reference, office_agency_code:market_ref.",
            "type": "string"
          },
          "level": {
            "description": "market: a Market Level code, so every office in the carrier market is appointed. office: an office code (Branch Level, Legacy Office Level or unleveled) or the 2026-09-21 appointment tracker. Meaningful only when status is appointed; a written_here row is office.",
            "enum": [
              "market",
              "office"
            ],
            "type": "string"
          },
          "market_ref": {
            "description": "The Markets directory row this carrier is.",
            "type": "string"
          },
          "office_agency_code": {
            "description": "The seat's office code.",
            "type": "string"
          },
          "office_name": {
            "description": "The office name.",
            "type": "string"
          },
          "source": {
            "description": "carrier_platform_codes: the Company Manager code table. appointment_tracker: the 2026-09-21 appointment tracker, for a carrier the code table does not list for the office. workbench_on_file: an appointment or broker agreement someone added from a market card, for a carrier neither lists. sold_business: trailing-12-month policies.",
            "enum": [
              "carrier_platform_codes",
              "appointment_tracker",
              "workbench_on_file",
              "sold_business"
            ],
            "type": "string"
          },
          "status": {
            "description": "appointed: the office holds an appointment. written_here: no appointment is listed, but the office's carrier market sold policies with the carrier in the trailing 12 months.",
            "enum": [
              "appointed",
              "written_here"
            ],
            "type": "string"
          },
          "written_here": {
            "description": "True when the office's carrier market sold with this carrier in the trailing 12 months, whichever source gave the status. False when it did not, or when sold business could not be read (it is then named in unreachable).",
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "office_agency_code",
          "office_name",
          "carrier_market",
          "market_ref",
          "carrier_label",
          "status",
          "level",
          "agency_codes",
          "source"
        ],
        "type": "object"
      },
      "CarrierContactAddResult": {
        "additionalProperties": false,
        "properties": {
          "carrier": {
            "description": "The carrier as the contact named it.",
            "type": "string"
          },
          "carrier_label": {
            "description": "The resolved carrier's name as its contacts carry it, else its market.",
            "type": "string"
          },
          "contact_id": {
            "description": "For added: the contact's id, the same on a preview and the write under one Idempotency-Key.",
            "type": "string"
          },
          "duplicate_of": {
            "description": "For skipped: the id of the contact it duplicates, a current one or an earlier contact of this request.",
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "market_ref": {
            "description": "The market the carrier resolved to.",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "reason": {
            "enum": [
              "duplicate",
              "carrier_unknown",
              "carrier_ambiguous"
            ],
            "type": "string"
          },
          "row": {
            "description": "The contact's position in contacts, from 0.",
            "format": "int64",
            "type": "integer"
          },
          "status": {
            "description": "added (written, or on a preview would be), skipped (it duplicates a current contact) or unmatched (its carrier names no single market).",
            "enum": [
              "added",
              "skipped",
              "unmatched"
            ],
            "type": "string"
          }
        },
        "required": [
          "row",
          "status",
          "carrier"
        ],
        "type": "object"
      },
      "CarrierContactAddTotals": {
        "additionalProperties": false,
        "properties": {
          "added": {
            "format": "int64",
            "type": "integer"
          },
          "skipped": {
            "format": "int64",
            "type": "integer"
          },
          "unmatched": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "added",
          "skipped",
          "unmatched"
        ],
        "type": "object"
      },
      "CarrierContactAddedFields": {
        "additionalProperties": false,
        "properties": {
          "carrier": {
            "description": "The contact's carrier as a contact list writes it (\"Natl General\", \"Travelers Insurance\"), resolved as the firm's list loads resolve it. Used when market is empty.",
            "maxLength": 300,
            "type": "string"
          },
          "contact_type": {
            "maxLength": 300,
            "type": "string"
          },
          "email": {
            "maxLength": 300,
            "type": "string"
          },
          "every_office": {
            "description": "The contact serves every office; otherwise it serves the acting seat's office.",
            "type": "boolean"
          },
          "ext": {
            "maxLength": 300,
            "type": "string"
          },
          "kind": {
            "enum": [
              "person",
              "desk"
            ],
            "type": "string"
          },
          "market": {
            "description": "The contact's carrier: a market as GET /records/carrier-contacts takes it.",
            "maxLength": 600,
            "type": "string"
          },
          "name": {
            "maxLength": 300,
            "type": "string"
          },
          "phone": {
            "maxLength": 300,
            "type": "string"
          },
          "product_id": {
            "description": "The line the contact handles: a product id of /records/products.",
            "maxLength": 300,
            "type": "string"
          },
          "region": {
            "maxLength": 300,
            "type": "string"
          },
          "title": {
            "maxLength": 300,
            "type": "string"
          }
        },
        "required": [
          "kind"
        ],
        "type": "object"
      },
      "CarrierContactEditAnswer": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CarrierContactRecord",
            "description": "The contact as GET /records/carrier-contacts serves it: the one edited, or for an add of one contact the contact added, or the current one it duplicates. Absent for a preview and for an add of several contacts."
          },
          "preview": {
            "description": "True when nothing was written.",
            "type": "boolean"
          },
          "request_id": {
            "type": "string"
          },
          "rows": {
            "description": "For added: each contact's outcome, in request order.",
            "items": {
              "$ref": "#/components/schemas/CarrierContactAddResult"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "totals": {
            "$ref": "#/components/schemas/CarrierContactAddTotals",
            "description": "For added: the contacts per outcome."
          },
          "unreachable": {
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "preview",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "CarrierContactEditRequest": {
        "additionalProperties": false,
        "properties": {
          "contact": {
            "$ref": "#/components/schemas/CarrierContactAddedFields",
            "deprecated": true,
            "description": "deprecated: send contacts, a list of one. For added: one new contact."
          },
          "contact_id": {
            "description": "The contact edited; empty for added.",
            "maxLength": 300,
            "type": "string"
          },
          "contacts": {
            "description": "For added: the new contacts, 1 to 200 (one add is a list of one). Each names its carrier by market or carrier, else the request's market. A contact that duplicates a current contact at its carrier (the same e-mail in any case, or the same name when neither has an e-mail) is skipped; a carrier that resolves to no single market leaves the contact unmatched.",
            "items": {
              "$ref": "#/components/schemas/CarrierContactAddedFields"
            },
            "maxItems": 200,
            "type": [
              "array",
              "null"
            ]
          },
          "field": {
            "description": "The value a correction changes; product_id sets the contact's line.",
            "enum": [
              "name",
              "title",
              "contact_type",
              "product_id",
              "region",
              "email",
              "phone",
              "ext"
            ],
            "type": "string"
          },
          "kind": {
            "description": "archived takes a contact off the market's current list and keeps it, its values and its history; restored makes an archived or left contact current again.",
            "enum": [
              "added",
              "corrected",
              "confirmed",
              "left",
              "reported",
              "archived",
              "restored"
            ],
            "type": "string"
          },
          "market": {
            "description": "The market the edit is on, as GET /records/carrier-contacts takes it. Required for every kind but added; for added, the carrier of every contact that names none itself.",
            "maxLength": 600,
            "type": "string"
          },
          "note": {
            "description": "For reported: what is wrong, in the reporter's words. Required for other.",
            "maxLength": 300,
            "type": "string"
          },
          "preview": {
            "description": "For added: answer what each contact would be (added, skipped or unmatched) and write nothing.",
            "type": "boolean"
          },
          "reason": {
            "description": "For reported: why the contact needs a look. It left the carrier, its details are wrong, or another reason the note gives.",
            "enum": [
              "left_carrier",
              "details_wrong",
              "other"
            ],
            "type": "string"
          },
          "replaced_by": {
            "description": "For left: the id of the contact who replaced them, already on this market. A replacement on no list is added first, then the contact is marked left: two edits.",
            "maxLength": 300,
            "type": "string"
          },
          "value": {
            "description": "The corrected value; for product_id, a product id of /records/products.",
            "maxLength": 300,
            "type": "string"
          }
        },
        "required": [
          "kind"
        ],
        "type": "object"
      },
      "CarrierContactHistoryEntry": {
        "additionalProperties": false,
        "properties": {
          "after": {
            "type": "string"
          },
          "at": {
            "type": "string"
          },
          "before": {
            "type": "string"
          },
          "by": {
            "description": "The e-mail of who made the edit.",
            "type": "string"
          },
          "by_name": {
            "description": "Their name, or their e-mail when no name resolves.",
            "type": "string"
          },
          "field": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "kind": {
            "enum": [
              "loaded",
              "ams360",
              "added",
              "corrected",
              "confirmed",
              "left",
              "reported",
              "archived",
              "restored"
            ],
            "type": "string"
          },
          "note": {
            "description": "For reported: what is wrong, in the reporter's words.",
            "type": "string"
          },
          "reason": {
            "description": "For reported: why the contact needs a look.",
            "enum": [
              "left_carrier",
              "details_wrong",
              "other"
            ],
            "type": "string"
          },
          "replaced_by_name": {
            "description": "For left: the replacement's name as served, or its e-mail when it has none.",
            "type": "string"
          }
        },
        "required": [
          "id",
          "kind",
          "at"
        ],
        "type": "object"
      },
      "CarrierContactLeft": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "type": "string"
          },
          "replaced_by_name": {
            "description": "The replacement's name as served, or its e-mail when it has none.",
            "type": "string"
          }
        },
        "required": [
          "at"
        ],
        "type": "object"
      },
      "CarrierContactLineage": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "description": "When the list row was loaded or the edit made, RFC 3339.",
            "type": "string"
          },
          "changed_at": {
            "description": "The AMS 360 row's change date, YYYY-MM-DD.",
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "kind": {
            "enum": [
              "office_list",
              "claims_sheet",
              "ams360",
              "user_edit"
            ],
            "type": "string"
          },
          "label": {
            "description": "The list's file name, AMS 360, or the edit.",
            "type": "string"
          },
          "office": {
            "description": "Whose list it is, in the sender's words; empty for a list every office uses.",
            "type": "string"
          },
          "person": {
            "description": "Who made the edit: their e-mail.",
            "type": "string"
          },
          "person_name": {
            "description": "Who made the edit: their name, or their e-mail when no name resolves.",
            "type": "string"
          },
          "row": {
            "description": "The row in the list's sheet.",
            "format": "int64",
            "type": "integer"
          },
          "sender": {
            "description": "Who sent the list.",
            "type": "string"
          },
          "sent": {
            "description": "The day the list was sent or filed, YYYY-MM-DD.",
            "type": "string"
          },
          "sheet": {
            "type": "string"
          }
        },
        "required": [
          "key",
          "kind",
          "label"
        ],
        "type": "object"
      },
      "CarrierContactList": {
        "additionalProperties": false,
        "properties": {
          "can_edit": {
            "description": "The acting seat may add contacts to this market and correct, confirm, mark as left, report, archive and restore its contacts (POST /records/carrier-contacts/edits): every seat that reads them may.",
            "type": "boolean"
          },
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/CarrierContactRecord"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "can_edit",
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "CarrierContactMark": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "type": "string"
          },
          "by": {
            "description": "The e-mail of who marked it.",
            "type": "string"
          },
          "by_name": {
            "description": "Their name, or their e-mail when no name resolves.",
            "type": "string"
          }
        },
        "required": [
          "by",
          "by_name",
          "at"
        ],
        "type": "object"
      },
      "CarrierContactOfficeRecord": {
        "additionalProperties": false,
        "properties": {
          "every_office": {
            "type": "boolean"
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "label",
          "every_office"
        ],
        "type": "object"
      },
      "CarrierContactRecord": {
        "additionalProperties": false,
        "properties": {
          "archived": {
            "$ref": "#/components/schemas/CarrierContactMark",
            "description": "Who archived the contact and when, until someone restores it."
          },
          "fields": {
            "$ref": "#/components/schemas/CarrierContactRecordFields"
          },
          "group": {
            "description": "Where the acting seat sees the contact: its own office's, every office's, another office's, a claims reporting mailbox (a row of the claims reporting sheet, named by its Carrier cell), left the carrier, or archived.",
            "enum": [
              "seat_office",
              "every_office",
              "other_offices",
              "claims_reporting",
              "left",
              "archived"
            ],
            "type": "string"
          },
          "history": {
            "description": "What happened to the contact, newest first: loaded from a list, read from AMS 360, added, corrected, confirmed, marked as left, reported, archived, restored; each edit with who made it and when, served to every seat that reads the contact.",
            "items": {
              "$ref": "#/components/schemas/CarrierContactHistoryEntry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "id": {
            "description": "The contact's id: list:&lt;key&gt; for a list row, ams360:&lt;datasource&gt;:&lt;UWRTID&gt; for an AMS 360 underwriter row, user:&lt;key&gt; for a contact a person added. Edits name it.",
            "type": "string"
          },
          "kind": {
            "description": "person, desk (a shared mailbox or line) or not_stated (the source names no one).",
            "enum": [
              "person",
              "desk",
              "not_stated"
            ],
            "type": "string"
          },
          "left": {
            "$ref": "#/components/schemas/CarrierContactLeft",
            "description": "Who marked the contact as left, when, and who replaced them."
          },
          "lineage": {
            "description": "Every source a value of this contact comes from; each value's from names its keys.",
            "items": {
              "$ref": "#/components/schemas/CarrierContactLineage"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "offices": {
            "description": "The offices the contact serves, as its sources state them.",
            "items": {
              "$ref": "#/components/schemas/CarrierContactOfficeRecord"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "read_only": {
            "description": "True for an AMS 360 row: AMS 360 is never changed, so a correction is a value beside it.",
            "type": "boolean"
          },
          "region": {
            "description": "The region the contact serves: the source's region when it states one, else the states of the offices it serves.",
            "type": "string"
          },
          "reported": {
            "$ref": "#/components/schemas/CarrierContactReport",
            "description": "The newest report that the contact needs a look, until someone corrects or confirms it."
          },
          "status": {
            "description": "archived when someone archived the contact and no one has restored it since, else left when it is marked as left, else current.",
            "enum": [
              "current",
              "left",
              "archived"
            ],
            "type": "string"
          },
          "works_with": {
            "description": "The offices the contact serves, and for an AMS 360 row the producers whose policies name it.",
            "items": {
              "$ref": "#/components/schemas/CarrierContactRelationship"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "kind",
          "fields",
          "lineage",
          "offices",
          "region",
          "group",
          "status",
          "read_only",
          "works_with",
          "history"
        ],
        "type": "object"
      },
      "CarrierContactRecordFields": {
        "additionalProperties": false,
        "properties": {
          "contact_type": {
            "$ref": "#/components/schemas/CarrierContactValue",
            "description": "The contact's function as the source words it (a department, a claims desk)."
          },
          "email": {
            "$ref": "#/components/schemas/CarrierContactValue"
          },
          "ext": {
            "$ref": "#/components/schemas/CarrierContactValue"
          },
          "lob": {
            "$ref": "#/components/schemas/CarrierContactValue",
            "description": "The lines the source says the contact handles, as written; never corrected (product is the line as a product_id)."
          },
          "name": {
            "$ref": "#/components/schemas/CarrierContactValue"
          },
          "phone": {
            "$ref": "#/components/schemas/CarrierContactValue"
          },
          "product": {
            "$ref": "#/components/schemas/CarrierContactValue",
            "description": "The line: a product_id of /records/products, label its name. A list row's line text names it exactly at load, or a person sets it."
          },
          "region": {
            "$ref": "#/components/schemas/CarrierContactValue",
            "description": "The region the source says the contact covers, as written."
          },
          "title": {
            "$ref": "#/components/schemas/CarrierContactValue"
          },
          "website": {
            "$ref": "#/components/schemas/CarrierContactValue"
          }
        },
        "type": "object"
      },
      "CarrierContactRelationship": {
        "additionalProperties": false,
        "properties": {
          "last_placed_at": {
            "description": "The newest of those policies' effective date, YYYY-MM-DD.",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "party": {
            "enum": [
              "office",
              "producer"
            ],
            "type": "string"
          },
          "policies": {
            "description": "Policies in the last 36 months that name the contact as underwriter.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "party",
          "name"
        ],
        "type": "object"
      },
      "CarrierContactReplaced": {
        "additionalProperties": false,
        "properties": {
          "value": {
            "type": "string"
          },
          "values": {
            "description": "For email and phone: each replaced value on its own, in order.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "value"
        ],
        "type": "object"
      },
      "CarrierContactReport": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "type": "string"
          },
          "by": {
            "description": "The e-mail of who reported it.",
            "type": "string"
          },
          "by_name": {
            "description": "Their name, or their e-mail when no name resolves.",
            "type": "string"
          },
          "note": {
            "description": "What is wrong, in the reporter's words.",
            "type": "string"
          },
          "reason": {
            "enum": [
              "left_carrier",
              "details_wrong",
              "other"
            ],
            "type": "string"
          }
        },
        "required": [
          "by",
          "by_name",
          "at",
          "reason"
        ],
        "type": "object"
      },
      "CarrierContactValue": {
        "additionalProperties": false,
        "properties": {
          "from": {
            "description": "The lineage keys the value comes from.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "label": {
            "description": "For product: the product's name; empty when the products collection could not be read.",
            "type": "string"
          },
          "replaces": {
            "$ref": "#/components/schemas/CarrierContactReplaced",
            "description": "The source value a correction replaced, kept visible."
          },
          "value": {
            "type": "string"
          },
          "values": {
            "description": "For email and phone: each value on its own, in the source's order; value is the first.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "value",
          "from"
        ],
        "type": "object"
      },
      "CatalogAppetiteAssertionsResponse": {
        "additionalProperties": false,
        "properties": {
          "can_publish": {
            "type": "boolean"
          },
          "has_more": {
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/MarketAppetiteRevision"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "limit": {
            "format": "int64",
            "type": "integer"
          },
          "max_changes": {
            "format": "int64",
            "type": "integer"
          },
          "offset": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "limit",
          "offset",
          "has_more",
          "max_changes",
          "can_publish"
        ],
        "type": "object"
      },
      "CatalogAppetiteEligibilityCountsJSON": {
        "additionalProperties": false,
        "properties": {
          "acceptable": {
            "format": "int64",
            "type": "integer"
          },
          "not_a_market": {
            "format": "int64",
            "type": "integer"
          },
          "will_consider": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "acceptable",
          "will_consider",
          "not_a_market"
        ],
        "type": "object"
      },
      "CatalogAppetiteJSON": {
        "additionalProperties": false,
        "properties": {
          "business_class": {
            "type": "string"
          },
          "confidence": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "eligibility": {
            "type": "string"
          },
          "line": {
            "type": "string"
          },
          "line_code": {
            "type": "string"
          },
          "market_entity_key": {
            "type": "string"
          },
          "product_grain": {
            "enum": [
              "product",
              "type"
            ],
            "type": "string"
          },
          "product_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "product_source_text": {
            "type": "string"
          },
          "product_unmatched_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "provenance": {
            "$ref": "#/components/schemas/CatalogProvenanceJSON"
          },
          "segment": {
            "type": "string"
          },
          "signals": {
            "$ref": "#/components/schemas/CatalogSignalsJSON"
          },
          "verdict": {
            "description": "What the eligibility tells a producer: writes (send it), considers (ask first), wont_write (do not send), or unstated when the token is outside the eligibility vocabulary. Read from eligibility, whose provenance is the cell's source.",
            "enum": [
              "writes",
              "considers",
              "wont_write",
              "unstated"
            ],
            "type": "string"
          }
        },
        "required": [
          "market_entity_key",
          "segment",
          "business_class",
          "line",
          "line_code",
          "eligibility",
          "verdict",
          "confidence",
          "provenance",
          "product_id",
          "product_grain",
          "product_source_text",
          "product_unmatched_reason"
        ],
        "type": "object"
      },
      "CatalogAppetiteSynthesisActor": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "CatalogAppetiteSynthesisCellJSON": {
        "additionalProperties": false,
        "properties": {
          "cell_state": {
            "type": "string"
          },
          "class_key": {
            "type": "string"
          },
          "class_label": {
            "type": "string"
          },
          "class_level": {
            "type": "string"
          },
          "fast_path_rule": {
            "type": "string"
          },
          "lob_code": {
            "type": "string"
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/CatalogAppetiteSynthesisRowJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "state_code": {
            "type": "string"
          },
          "state_note": {
            "type": "string"
          },
          "state_scope": {
            "type": "string"
          }
        },
        "required": [
          "class_key",
          "class_level",
          "class_label",
          "lob_code",
          "cell_state",
          "rows"
        ],
        "type": "object"
      },
      "CatalogAppetiteSynthesisHeadJSON": {
        "additionalProperties": false,
        "properties": {
          "derived_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "landed": {
            "type": "boolean"
          },
          "stale": {
            "type": "boolean"
          }
        },
        "required": [
          "landed",
          "derived_at",
          "stale"
        ],
        "type": "object"
      },
      "CatalogAppetiteSynthesisRowJSON": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogAppetiteSynthesisActor"
              },
              {
                "type": "null"
              }
            ]
          },
          "added_by": {
            "type": "string"
          },
          "added_by_email": {
            "type": "string"
          },
          "added_by_note": {
            "type": "string"
          },
          "added_on": {
            "type": "string"
          },
          "channel": {
            "type": "string"
          },
          "confidence_band": {
            "type": "string"
          },
          "constraints": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AppetiteConstraints"
              },
              {
                "type": "null"
              }
            ]
          },
          "eligibility": {
            "type": "string"
          },
          "exclusion_withheld_by": {
            "type": "string"
          },
          "fidelity_class": {
            "format": "int64",
            "type": "integer"
          },
          "gate_effect": {
            "type": "string"
          },
          "had_quote": {
            "description": "The declined channel's closed outcome only: the market returned terms before the submission closed.",
            "type": "boolean"
          },
          "may_exclude": {
            "type": "boolean"
          },
          "notes": {
            "type": "string"
          },
          "observed_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "outweighed_by": {
            "type": "string"
          },
          "rationale": {
            "type": "string"
          },
          "sample": {
            "$ref": "#/components/schemas/AppetiteSample"
          },
          "source_refs": {
            "items": {
              "$ref": "#/components/schemas/AppetiteSourceRef"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "stored_eligibility": {
            "type": "string"
          },
          "tier": {
            "type": "string"
          },
          "weight_state": {
            "type": "string"
          }
        },
        "required": [
          "channel",
          "had_quote",
          "eligibility",
          "confidence_band",
          "fidelity_class",
          "may_exclude",
          "sample",
          "source_refs",
          "observed_at",
          "weight_state",
          "rationale",
          "gate_effect",
          "actor",
          "constraints"
        ],
        "type": "object"
      },
      "CatalogAppointmentBasis": {
        "additionalProperties": false,
        "properties": {
          "derived": {
            "enum": [
              "market_appointment"
            ],
            "type": "string"
          }
        },
        "required": [
          "derived"
        ],
        "type": "object"
      },
      "CatalogAppointmentIdentityJSON": {
        "additionalProperties": false,
        "properties": {
          "entity_key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "entity_key",
          "name"
        ],
        "type": "object"
      },
      "CatalogAppointmentJSON": {
        "additionalProperties": false,
        "properties": {
          "agreement": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogStandingAgreementJSON",
                "description": "The agreement the standing rests on: the one in force when current, the last to end when terminated; null otherwise."
              },
              {
                "type": "null"
              }
            ]
          },
          "as_of": {
            "format": "date-time",
            "type": "string"
          },
          "badge": {
            "type": "boolean"
          },
          "basis": {
            "$ref": "#/components/schemas/CatalogAppointmentBasis"
          },
          "execution_backed": {
            "type": "boolean"
          },
          "reasons": {
            "items": {
              "$ref": "#/components/schemas/CatalogAppointmentReason"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "standing": {
            "enum": [
              "current",
              "terminated",
              "undetermined",
              "none_on_file",
              "unverified"
            ],
            "type": "string"
          },
          "statement": {
            "description": "One sentence: whether we can place with the carrier today, and under which agreement.",
            "type": "string"
          },
          "via_prior_names_only": {
            "type": "boolean"
          }
        },
        "required": [
          "standing",
          "badge",
          "execution_backed",
          "via_prior_names_only",
          "statement",
          "agreement",
          "reasons",
          "basis",
          "as_of"
        ],
        "type": "object"
      },
      "CatalogAppointmentReason": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "enum": [
              "live_agreement",
              "terminated_agreement",
              "unknown_paper",
              "no_paper",
              "not_read"
            ],
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/CatalogAppointmentSource"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "text",
          "source"
        ],
        "type": "object"
      },
      "CatalogAppointmentSource": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "enum": [
              "market_relationships"
            ],
            "type": "string"
          },
          "ref": {
            "type": "string"
          },
          "source_blob_ref": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "kind",
          "ref",
          "source_blob_ref"
        ],
        "type": "object"
      },
      "CatalogAppointmentSummaryJSON": {
        "additionalProperties": false,
        "properties": {
          "agreement": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogStandingAgreementJSON",
                "description": "The agreement the standing rests on: the one in force when current, the last to end when terminated; null otherwise."
              },
              {
                "type": "null"
              }
            ]
          },
          "execution_backed": {
            "type": "boolean"
          },
          "statement": {
            "description": "One sentence: whether we can place with the carrier today, and under which agreement.",
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "via_prior_names_only": {
            "type": "boolean"
          }
        },
        "required": [
          "status",
          "execution_backed",
          "via_prior_names_only",
          "statement",
          "agreement"
        ],
        "type": "object"
      },
      "CatalogAskedAppetiteJSON": {
        "additionalProperties": false,
        "properties": {
          "business_class": {
            "type": "string"
          },
          "cell_count": {
            "format": "int64",
            "type": "integer"
          },
          "confidence": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "eligibility": {
            "type": "string"
          },
          "line": {
            "type": "string"
          },
          "line_code": {
            "type": "string"
          },
          "market_entity_key": {
            "type": "string"
          },
          "product_grain": {
            "enum": [
              "product",
              "type"
            ],
            "type": "string"
          },
          "product_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "product_source_text": {
            "type": "string"
          },
          "product_unmatched_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "provenance": {
            "$ref": "#/components/schemas/CatalogProvenanceJSON"
          },
          "segment": {
            "type": "string"
          },
          "signals": {
            "$ref": "#/components/schemas/CatalogSignalsJSON"
          },
          "verdict": {
            "description": "What the eligibility tells a producer: writes (send it), considers (ask first), wont_write (do not send), or unstated when the token is outside the eligibility vocabulary. Read from eligibility, whose provenance is the cell's source.",
            "enum": [
              "writes",
              "considers",
              "wont_write",
              "unstated"
            ],
            "type": "string"
          }
        },
        "required": [
          "cell_count",
          "market_entity_key",
          "segment",
          "business_class",
          "line",
          "line_code",
          "eligibility",
          "verdict",
          "confidence",
          "provenance",
          "product_id",
          "product_grain",
          "product_source_text",
          "product_unmatched_reason"
        ],
        "type": "object"
      },
      "CatalogBookClassJSON": {
        "additionalProperties": false,
        "properties": {
          "blank": {
            "description": "Why a cell with no policies is empty, from the market's own records, the first that holds. not_in_contract: the market's current commission schedule names lines and not this one. not_in_guide: its appetite guide names nothing on this line, or only declines there. none_placed: the book holds no policy here (every policy in the subsector sits on a landed line, and every policy of the line there in a landed group). too_few_or_none: policies in the group's subsector sit below the disclosure floor, so the cell holds none or too few to show; never how many. Absent on a cell with policies.",
            "enum": [
              "not_in_contract",
              "not_in_guide",
              "none_placed",
              "too_few_or_none"
            ],
            "type": "string"
          },
          "naics": {
            "description": "The four-digit NAICS industry group code.",
            "type": "string"
          },
          "policies": {
            "format": "int64",
            "type": "integer"
          },
          "title": {
            "description": "The NAICS 2022 industry group title; absent when Census publishes none for the code.",
            "type": "string"
          }
        },
        "required": [
          "naics",
          "policies"
        ],
        "type": "object"
      },
      "CatalogBookLineJSON": {
        "additionalProperties": false,
        "properties": {
          "classes": {
            "description": "The policies on this line in each of the market's largest four-digit NAICS industry groups by policies over every line, at most five. Every line carries the same groups in the same order; a group the line has no policies in reads 0 and names why in blank.",
            "items": {
              "$ref": "#/components/schemas/CatalogBookClassJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "clients": {
            "format": "int64",
            "type": "integer"
          },
          "line_code": {
            "type": "string"
          },
          "policies": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "line_code",
          "policies",
          "clients",
          "classes"
        ],
        "type": "object"
      },
      "CatalogBookPlacedJSON": {
        "additionalProperties": false,
        "properties": {
          "clients": {
            "format": "int64",
            "type": "integer"
          },
          "policies": {
            "format": "int64",
            "type": "integer"
          },
          "sectors": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sectors",
          "policies",
          "clients"
        ],
        "type": "object"
      },
      "CatalogCitationJSON": {
        "additionalProperties": false,
        "properties": {
          "field_path": {
            "type": [
              "string",
              "null"
            ]
          },
          "grain": {
            "type": "string"
          },
          "page": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "quote": {
            "type": [
              "string",
              "null"
            ]
          },
          "region": {
            "$ref": "#/components/schemas/CatalogCitationRegionJSON"
          },
          "source_blob_ref": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "source_blob_ref",
          "field_path",
          "quote",
          "page",
          "region",
          "grain"
        ],
        "type": "object"
      },
      "CatalogCitationRegionJSON": {
        "additionalProperties": false,
        "properties": {
          "h": {
            "format": "double",
            "type": "number"
          },
          "w": {
            "format": "double",
            "type": "number"
          },
          "x": {
            "format": "double",
            "type": "number"
          },
          "y": {
            "format": "double",
            "type": "number"
          }
        },
        "required": [
          "x",
          "y",
          "w",
          "h"
        ],
        "type": "object"
      },
      "CatalogClassBookJSON": {
        "additionalProperties": false,
        "properties": {
          "class_key": {
            "type": "string"
          },
          "class_level": {
            "type": "string"
          },
          "clients": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "policies": {
            "format": "int64",
            "type": "integer"
          },
          "unit": {
            "type": "string"
          }
        },
        "required": [
          "policies",
          "clients",
          "unit",
          "class_key",
          "class_level"
        ],
        "type": "object"
      },
      "CatalogClassJSON": {
        "additionalProperties": false,
        "properties": {
          "head": {
            "$ref": "#/components/schemas/CatalogAppetiteSynthesisHeadJSON"
          },
          "markets": {
            "items": {
              "$ref": "#/components/schemas/CatalogClassMarketJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "meta": {
            "$ref": "#/components/schemas/CatalogClassMetaJSON"
          },
          "query": {
            "$ref": "#/components/schemas/ClassQuery"
          },
          "total_markets": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "query",
          "head",
          "total_markets",
          "markets",
          "meta"
        ],
        "type": "object"
      },
      "CatalogClassMarketJSON": {
        "additionalProperties": false,
        "properties": {
          "all_declined": {
            "type": "boolean"
          },
          "am_best_rating": {
            "type": "string"
          },
          "best_eligibility": {
            "type": "string"
          },
          "book": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogClassBookJSON"
              },
              {
                "type": "null"
              }
            ]
          },
          "cells": {
            "items": {
              "$ref": "#/components/schemas/CatalogAppetiteSynthesisCellJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "counterparty_type": {
            "type": "string"
          },
          "entity_key": {
            "type": "string"
          },
          "has_agreement": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "route_class": {
            "format": "int64",
            "type": "integer"
          },
          "route_note": {
            "type": "string"
          }
        },
        "required": [
          "entity_key",
          "name",
          "am_best_rating",
          "counterparty_type",
          "route_class",
          "route_note",
          "has_agreement",
          "best_eligibility",
          "book",
          "all_declined",
          "cells"
        ],
        "type": "object"
      },
      "CatalogClassMetaJSON": {
        "additionalProperties": false,
        "properties": {
          "read_at": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "state_note": {
            "type": "string"
          }
        },
        "required": [
          "read_at",
          "state",
          "state_note"
        ],
        "type": "object"
      },
      "CatalogCodeValue": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "description": "The code as the system of record holds it.",
            "type": "string"
          },
          "label": {
            "description": "The code's label in the connection's codes; null when the codes carry none.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "code",
          "label"
        ],
        "type": "object"
      },
      "CatalogDirectoryEnvelope": {
        "additionalProperties": false,
        "properties": {
          "answering_count": {
            "description": "Under a NAICS question only: how many of the listed markets answer it, their stated appetite for the class acceptable or will consider. Markets with no class answer on file and markets the question excludes stay listed (total_matched, which sizes the pages) and are not counted here.",
            "format": "int64",
            "type": "integer"
          },
          "appetite_markets_on_file": {
            "format": "int64",
            "type": "integer"
          },
          "confirmed_count": {
            "format": "int64",
            "type": "integer"
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "type": "object"
          },
          "firm_appointments_unavailable": {
            "type": "boolean"
          },
          "firm_appointments_unplaced": {
            "$ref": "#/components/schemas/FirmAppointmentsUnplacedJSON",
            "description": "When the firm's appointments were read: the code table's carrier labels placed on no row, ambiguous or unmatched. A row without firm_appointments offices is then not proof that no office holds one."
          },
          "has_prohibited_class_data": {
            "type": "boolean"
          },
          "hidden_empty_count": {
            "format": "int64",
            "type": "integer"
          },
          "inputs": {
            "items": {
              "$ref": "#/components/schemas/CatalogDirectoryInputJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/CatalogDirectoryRowJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "office_appointments": {
            "$ref": "#/components/schemas/CatalogDirectoryOfficeAppointmentsJSON"
          },
          "office_appointments_unavailable": {
            "$ref": "#/components/schemas/OfficeAppointmentsUnavailableJSON"
          },
          "page": {
            "format": "int64",
            "type": "integer"
          },
          "page_size": {
            "format": "int64",
            "type": "integer"
          },
          "premium_withheld": {
            "description": "True when this read withholds placed premium, whatever its sort: no row carries premium_placed and no order uses it. Premium shows only with scope=book, or scope=office for the seat's own offices. It is withheld for the whole firm, for another office a Markets editor names, and for the platform offices a platform leader places through. Withheld is never 0.",
            "type": "boolean"
          },
          "product_filter_active": {
            "type": "boolean"
          },
          "product_less_markets": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "question": {
            "$ref": "#/components/schemas/CatalogQuestionJSON"
          },
          "rated_markets_on_file": {
            "format": "int64",
            "type": "integer"
          },
          "scope": {
            "$ref": "#/components/schemas/CatalogDirectoryScopeJSON"
          },
          "serving": {
            "$ref": "#/components/schemas/BookServingJSON"
          },
          "sort": {
            "description": "The order the read applied: the asked sort, or with none asked the default, verdict when a naics is asked, else premium_placed (most business first) for a seat with an office list and most_complete otherwise. When premium_withheld is true, policies_placed replaces premium_placed, asked or default.",
            "enum": [
              "most_complete",
              "name",
              "office",
              "premium_placed",
              "policies_placed",
              "policies_in_force",
              "rating",
              "verdict"
            ],
            "type": "string"
          },
          "state_counts": {
            "additionalProperties": {
              "format": "int64",
              "type": "integer"
            },
            "type": "object"
          },
          "terminated_count": {
            "format": "int64",
            "type": "integer"
          },
          "total_corpus": {
            "format": "int64",
            "type": "integer"
          },
          "total_directory": {
            "format": "int64",
            "type": "integer"
          },
          "total_matched": {
            "format": "int64",
            "type": "integer"
          },
          "total_matched_before_appetite": {
            "format": "int64",
            "type": "integer"
          },
          "unknown_count": {
            "format": "int64",
            "type": "integer"
          },
          "view": {
            "$ref": "#/components/schemas/View"
          },
          "written_papers_total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "total_directory",
          "written_papers_total",
          "hidden_empty_count",
          "confirmed_count",
          "unknown_count",
          "terminated_count",
          "appetite_markets_on_file",
          "total_matched_before_appetite",
          "rated_markets_on_file",
          "state_counts",
          "serving",
          "scope",
          "sort",
          "premium_withheld",
          "inputs",
          "items",
          "page",
          "page_size",
          "total_matched",
          "total_corpus",
          "has_prohibited_class_data",
          "product_less_markets",
          "product_filter_active"
        ],
        "type": "object"
      },
      "CatalogDirectoryFirmAppointmentJSON": {
        "additionalProperties": false,
        "properties": {
          "agency_code": {
            "type": "string"
          },
          "asking_seat": {
            "description": "True when the office is one of the asking seat's own offices, or the office a read names in its office parameter. False for another office: its appointment is that office's, to place through that office, and is no appointment of the seat's office and no access to that office's accounts. False too when the seat's office could not be resolved.",
            "type": "boolean"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "agency_code",
          "name",
          "asking_seat"
        ],
        "type": "object"
      },
      "CatalogDirectoryFirmAppointmentsJSON": {
        "additionalProperties": false,
        "properties": {
          "office_count": {
            "description": "How many offices of the firm hold an appointment with the carrier: an appointment code row, or the asking seat's own office appointed by any source.",
            "format": "int64",
            "type": "integer"
          },
          "offices": {
            "description": "Those offices: the asking seat's own offices first, then the others, each group by name.",
            "items": {
              "$ref": "#/components/schemas/CatalogDirectoryFirmAppointmentJSON"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "office_count",
          "offices"
        ],
        "type": "object"
      },
      "CatalogDirectoryGroupCompanyJSON": {
        "additionalProperties": false,
        "properties": {
          "book_placed": {
            "$ref": "#/components/schemas/CatalogBookPlacedJSON",
            "description": "The business the read's scope placed under the company's own names, as its own card's book_placed. Absent when none."
          },
          "company_code": {
            "type": "string"
          },
          "firm_appointments": {
            "$ref": "#/components/schemas/CatalogDirectoryFirmAppointmentsJSON",
            "description": "With scope=firm or appointment=any_office: the offices of the firm appointed with the company, as the company's own card shows them. Absent otherwise."
          },
          "market_ref": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "papers": {
            "description": "The writing companies filed under the company in AMS 360, by name.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "market_ref",
          "name",
          "company_code",
          "papers"
        ],
        "type": "object"
      },
      "CatalogDirectoryIdentityJSON": {
        "additionalProperties": false,
        "properties": {
          "code_conflict": {
            "type": "boolean"
          },
          "company_code": {
            "type": "string"
          },
          "company_id": {
            "type": "string"
          },
          "connection_id": {
            "type": "string"
          },
          "datasource_id": {
            "type": "string"
          },
          "identity_conflict": {
            "type": "boolean"
          },
          "orphan_paper": {
            "type": "boolean"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "identity_conflict",
          "code_conflict",
          "orphan_paper",
          "connection_id",
          "datasource_id",
          "company_id",
          "company_code",
          "status"
        ],
        "type": "object"
      },
      "CatalogDirectoryInputJSON": {
        "additionalProperties": false,
        "properties": {
          "family": {
            "type": "string"
          },
          "role": {
            "enum": [
              "items",
              "office_appointments",
              "relationship_holders"
            ],
            "type": "string"
          },
          "rows": {
            "format": "int64",
            "type": "integer"
          },
          "source_coverage": {
            "$ref": "#/components/schemas/SourceCoverage"
          },
          "status": {
            "description": "absent when this part of the answer holds no rows",
            "enum": [
              "present",
              "absent"
            ],
            "type": "string"
          }
        },
        "required": [
          "role",
          "family",
          "status",
          "rows",
          "source_coverage"
        ],
        "type": "object"
      },
      "CatalogDirectoryOfficeAppointmentJSON": {
        "additionalProperties": false,
        "properties": {
          "agency_codes": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "carrier_market": {
            "type": "string"
          },
          "level": {
            "description": "The appointment's grant: market (a Market Level code: every office in the carrier market is appointed) or office (an office code or the 2026-09-21 appointment tracker). Meaningful only when status is appointed; a written_here row is office.",
            "enum": [
              "market",
              "office"
            ],
            "type": "string"
          },
          "office_agency_code": {
            "type": "string"
          },
          "office_name": {
            "type": "string"
          },
          "office_of": {
            "description": "Whose office this is: asking_seat, the office of the seat the read runs as (the signed-in user, or the seat viewed as). The seat decides the office; an asked state never does.",
            "enum": [
              "asking_seat"
            ],
            "type": "string"
          },
          "request": {
            "$ref": "#/components/schemas/OfficeAppointmentRequestJSON",
            "description": "The newest open request from the seat's office (or one for every office) for an appointment or broker agreement with this market. Served only while the status is not appointed."
          },
          "sources": {
            "description": "Where the status comes from: carrier_platform_codes (the Company Manager code table), appointment_tracker (the 2026-09-21 appointment tracker, for a carrier the code table does not list for the office), workbench_on_file (an appointment or broker agreement someone added from a market card, for a carrier neither lists), sold_business, or workbench_request for a requested status.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "description": "appointed, written_here, or requested: no source places the office with the market and someone at the office asked for an appointment or a broker agreement (request).",
            "enum": [
              "appointed",
              "written_here",
              "requested"
            ],
            "type": "string"
          }
        },
        "required": [
          "office_of",
          "status",
          "level",
          "office_agency_code",
          "office_name",
          "carrier_market",
          "agency_codes",
          "sources"
        ],
        "type": "object"
      },
      "CatalogDirectoryOfficeAppointmentsJSON": {
        "additionalProperties": false,
        "properties": {
          "appointed_count": {
            "format": "int64",
            "type": "integer"
          },
          "carrier_market": {
            "type": "string"
          },
          "office_agency_code": {
            "type": "string"
          },
          "office_name": {
            "type": "string"
          },
          "written_count": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "office_agency_code",
          "office_name",
          "carrier_market",
          "appointed_count",
          "written_count"
        ],
        "type": "object"
      },
      "CatalogDirectoryPeopleJSON": {
        "additionalProperties": false,
        "properties": {
          "book_pending": {
            "description": "The seat's book scope is narrower than the whole book and is not read yet at the warehouse's current data: the summary counts every policy until it is, as kind=summary names it in unreachable.",
            "type": "boolean"
          },
          "kept_at": {
            "description": "Set when the summary is the answer kept at an earlier warehouse version or read day, served while the current one builds (at most 36 h old): the instant it was kept. Absent when the answer is current.",
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "description": "read: summary is the answer (absent when no one wrote the market). reading: no answer is kept yet for this question. unavailable: the seat's people could not be read.",
            "enum": [
              "read",
              "reading",
              "unavailable"
            ],
            "type": "string"
          },
          "summary": {
            "$ref": "#/components/schemas/MarketPersonRecord",
            "description": "The market's summary row, as kind=summary serves it."
          }
        },
        "required": [
          "status"
        ],
        "type": "object"
      },
      "CatalogDirectoryRoutesEnvelope": {
        "additionalProperties": false,
        "properties": {
          "routes": {
            "additionalProperties": {
              "$ref": "#/components/schemas/MarketsReachableRoutes"
            },
            "type": "object"
          }
        },
        "required": [
          "routes"
        ],
        "type": "object"
      },
      "CatalogDirectoryRowJSON": {
        "additionalProperties": false,
        "properties": {
          "agreement_ended_on": {
            "type": "string"
          },
          "agreement_year": {
            "format": "int64",
            "type": "integer"
          },
          "aliases": {
            "items": {
              "$ref": "#/components/schemas/MarketsAlias"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "am_best_rating": {
            "type": [
              "string",
              "null"
            ]
          },
          "ams_identity": {
            "$ref": "#/components/schemas/CatalogDirectoryIdentityJSON"
          },
          "any_all_licensed": {
            "type": "boolean"
          },
          "appetite_class_count": {
            "format": "int64",
            "type": "integer"
          },
          "appetite_context": {
            "$ref": "#/components/schemas/MarketsAppetiteContext"
          },
          "appetite_eligibility_counts": {
            "$ref": "#/components/schemas/CatalogAppetiteEligibilityCountsJSON"
          },
          "appetite_grade": {
            "$ref": "#/components/schemas/MarketsAppetiteGrade",
            "description": "With a NAICS class asked and the carrier appetite model on: the market's grade for the class on the agency's own placements (the market's best company and asked state, never a sum), with one sentence of counts and the line graded. The verdict sort orders by it. Absent when the model is off or no placements are published."
          },
          "appetite_reference": {
            "$ref": "#/components/schemas/MarketAppetiteReference"
          },
          "appointment": {
            "$ref": "#/components/schemas/CatalogAppointmentSummaryJSON"
          },
          "asked_appetite": {
            "$ref": "#/components/schemas/CatalogAskedAppetiteJSON"
          },
          "asked_product_count": {
            "format": "int64",
            "type": "integer"
          },
          "asked_products": {
            "items": {
              "$ref": "#/components/schemas/CatalogProductJSON"
            },
            "type": "array"
          },
          "backing": {
            "type": [
              "string",
              "null"
            ]
          },
          "book_lines": {
            "items": {
              "$ref": "#/components/schemas/CatalogBookLineJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "book_placed": {
            "$ref": "#/components/schemas/CatalogBookPlacedJSON"
          },
          "class_appetite": {
            "$ref": "#/components/schemas/MarketsClassAppetite"
          },
          "class_detail": {
            "description": "With a class asked and closing_hour or annual_sales stated: each stated detail of the risk, with the limits on file for the class that admit it (admits) or none stated (silent). A row whose stated limit refuses the value is not listed.",
            "items": {
              "$ref": "#/components/schemas/MarketsClassDetail"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "contract_link_status": {
            "type": "string"
          },
          "effective_year": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "entity_key": {
            "type": [
              "string",
              "null"
            ]
          },
          "firm_appointments": {
            "$ref": "#/components/schemas/CatalogDirectoryFirmAppointmentsJSON",
            "description": "With scope=firm or appointment=any_office: every office of the firm holding an appointment with the market's carrier (an appointment code row, or the asking seat's own office appointed by any source), the seat's own offices first; an empty list when none does. Absent otherwise, or when the firm's appointments could not be read (firm_appointments_unavailable)."
          },
          "group_companies": {
            "description": "With entity_key, on that head's row: the companies of its group that keep their own card (an AMS company whose book business the head's own figure counts, through the book's reviewed name links or the head's own key and aliases), by name, each with its own placed figure, its writing companies and, when the firm's appointments are read, the offices appointed with it. The group's own figure already counts their business. Empty on every other read.",
            "items": {
              "$ref": "#/components/schemas/CatalogDirectoryGroupCompanyJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "legal_name": {
            "type": "string"
          },
          "line_codes": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "logo": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/MarketLogoJSON",
                "description": "The carrier's stored logo; null when none is on file, and the screen draws the initials tile."
              },
              {
                "type": "null"
              }
            ]
          },
          "market_id": {
            "type": "string"
          },
          "market_ref": {
            "type": "string"
          },
          "market_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "match_status": {
            "type": "string"
          },
          "match_unknown_reasons": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "native_member_count": {
            "format": "int64",
            "type": "integer"
          },
          "office_appointment": {
            "$ref": "#/components/schemas/CatalogDirectoryOfficeAppointmentJSON"
          },
          "parties": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "people": {
            "$ref": "#/components/schemas/CatalogDirectoryPeopleJSON",
            "description": "View full only: who in the firm wrote the market, as GET /records/market-people?kind=summary answers it for this seat and the page's state and line, from kept answers only. status read carries the summary (absent when no one wrote the market); book_pending says the seat's own book is not read yet at the warehouse's current data, so the summary counts every policy; reading means no answer is kept yet for this question; unavailable means the seat's people could not be read. Absent when the page asks more than one state. Read the summary route for a row that is not read; it keeps what it reads."
          },
          "premium_placed": {
            "description": "With sort=premium_placed and premium_withheld false: the published premium of the business the read's scope placed with the market. When premium_placed_partial is true, this is a partial sum, not the complete premium. 0 when it placed none; absent when withheld.",
            "format": "double",
            "type": "number"
          },
          "premium_placed_partial": {
            "description": "Never set when premium_withheld is true. True when premium_placed omits withheld money or its source completeness is unknown. Describe the amount as at least, never as the complete premium. Withheld money is not zero.",
            "type": "boolean"
          },
          "product_count": {
            "format": "int64",
            "type": "integer"
          },
          "product_matches": {
            "items": {
              "$ref": "#/components/schemas/Reference"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "provenance": {
            "$ref": "#/components/schemas/CatalogProvenanceJSON"
          },
          "raw_lines": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "short_name": {
            "type": "string"
          },
          "source_parent": {
            "$ref": "#/components/schemas/CatalogDirectorySourceParentJSON"
          },
          "source_presence": {
            "type": "string"
          },
          "state_evidence": {
            "items": {
              "$ref": "#/components/schemas/MarketsStateEvidence"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "symbol": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/MarketLogoJSON",
                "description": "The carrier's square symbol, for a tile too small to read its logo; null when none is on file. The bytes are at the logo read with mark=symbol."
              },
              {
                "type": "null"
              }
            ]
          },
          "website": {
            "description": "The carrier's website from its verified domain; null when none is on file.",
            "type": [
              "string",
              "null"
            ]
          },
          "written_paper_count": {
            "format": "int64",
            "type": "integer"
          },
          "written_papers": {
            "items": {
              "$ref": "#/components/schemas/CatalogDirectoryWrittenPaperJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "written_states": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "written_papers",
          "written_paper_count",
          "aliases",
          "group_companies",
          "contract_link_status",
          "entity_key",
          "market_ref",
          "native_member_count",
          "source_presence",
          "match_status",
          "match_unknown_reasons",
          "website",
          "logo",
          "symbol",
          "id",
          "market_id",
          "name",
          "short_name",
          "market_type",
          "am_best_rating",
          "effective_year",
          "provenance",
          "backing",
          "product_count",
          "line_codes",
          "raw_lines",
          "written_states",
          "any_all_licensed",
          "appointment",
          "appetite_class_count"
        ],
        "type": "object"
      },
      "CatalogDirectoryScopeJSON": {
        "additionalProperties": false,
        "properties": {
          "options": {
            "description": "The scopes this seat can ask for, firm first.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "value": {
            "description": "The scope the figures count.",
            "enum": [
              "firm",
              "office",
              "book"
            ],
            "type": "string"
          }
        },
        "required": [
          "value",
          "options"
        ],
        "type": "object"
      },
      "CatalogDirectorySourceParentJSON": {
        "additionalProperties": false,
        "properties": {
          "company_code": {
            "type": "string"
          },
          "company_id": {
            "type": "string"
          },
          "company_type": {
            "type": "string"
          },
          "connection_id": {
            "type": "string"
          },
          "datasource_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "connection_id",
          "datasource_id",
          "company_id",
          "company_code",
          "name",
          "company_type"
        ],
        "type": "object"
      },
      "CatalogDirectoryWrittenPaperJSON": {
        "additionalProperties": false,
        "properties": {
          "ams_status": {
            "type": "string"
          },
          "company_code": {
            "type": "string"
          },
          "company_id": {
            "type": "string"
          },
          "connection_id": {
            "type": "string"
          },
          "datasource_id": {
            "type": "string"
          },
          "entity_key": {
            "type": "string"
          },
          "has_appetite": {
            "type": "boolean"
          },
          "kind": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "connection_id",
          "kind",
          "entity_key",
          "datasource_id",
          "company_id",
          "company_code",
          "name",
          "ams_status",
          "has_appetite"
        ],
        "type": "object"
      },
      "CatalogDocumentListItem": {
        "additionalProperties": false,
        "properties": {
          "document_class": {
            "type": "string"
          },
          "document_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "families": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "market_entity_key": {
            "type": [
              "string",
              "null"
            ]
          },
          "market_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "media_type": {
            "type": "string"
          },
          "page_count": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "replicated_at": {
            "format": "date-time",
            "type": "string"
          },
          "size_bytes": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "source_blob_ref": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "source_blob_ref",
          "document_class",
          "market_entity_key",
          "market_name",
          "title",
          "media_type",
          "page_count",
          "size_bytes",
          "document_date",
          "replicated_at",
          "families"
        ],
        "type": "object"
      },
      "CatalogEvidenceReceipt": {
        "additionalProperties": false,
        "properties": {
          "content_type": {
            "type": "string"
          },
          "evidence_ref": {
            "$ref": "#/components/schemas/MarketAppetiteEvidenceRef"
          },
          "name": {
            "type": "string"
          },
          "size_bytes": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "evidence_ref",
          "name",
          "content_type",
          "size_bytes"
        ],
        "type": "object"
      },
      "CatalogGridCell": {
        "additionalProperties": false,
        "properties": {
          "coverage": {
            "description": "The coverage the symbol applies to.",
            "type": "string"
          },
          "symbol": {
            "description": "The covered auto symbol.",
            "type": "string"
          }
        },
        "required": [
          "coverage",
          "symbol"
        ],
        "type": "object"
      },
      "CatalogMarketDetailJSON": {
        "additionalProperties": false,
        "properties": {
          "appetite": {
            "items": {
              "$ref": "#/components/schemas/CatalogAppetiteJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "canonical_entity_key": {
            "type": "string"
          },
          "logo": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/MarketLogoJSON",
                "description": "The carrier's stored logo; null when none is on file."
              },
              {
                "type": "null"
              }
            ]
          },
          "market": {
            "$ref": "#/components/schemas/CatalogMarketJSON"
          },
          "retired": {
            "type": "boolean"
          },
          "seat": {
            "$ref": "#/components/schemas/SeatTerms"
          },
          "symbol": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/MarketLogoJSON",
                "description": "The carrier's square symbol, for a tile too small to read its logo; null when none is on file. The bytes are at the logo read with mark=symbol."
              },
              {
                "type": "null"
              }
            ]
          },
          "website": {
            "description": "The carrier's website from its verified domain; null when none is on file.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "website",
          "logo",
          "symbol",
          "appetite"
        ],
        "type": "object"
      },
      "CatalogMarketDocumentJSON": {
        "additionalProperties": false,
        "properties": {
          "file_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_blob_ref": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_label": {
            "type": [
              "string",
              "null"
            ]
          },
          "states": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "terms_governing": {
            "format": "int64",
            "type": "integer"
          },
          "terms_total": {
            "format": "int64",
            "type": "integer"
          },
          "year": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "source_blob_ref",
          "source_label",
          "file_name",
          "year",
          "states",
          "terms_total",
          "terms_governing"
        ],
        "type": "object"
      },
      "CatalogMarketJSON": {
        "additionalProperties": false,
        "properties": {
          "agreement_ended_on": {
            "type": "string"
          },
          "agreement_year": {
            "format": "int64",
            "type": "integer"
          },
          "am_best_rating": {
            "type": [
              "string",
              "null"
            ]
          },
          "appetite_reference": {
            "$ref": "#/components/schemas/MarketAppetiteReference"
          },
          "appointment": {
            "$ref": "#/components/schemas/CatalogAppointmentJSON"
          },
          "backing": {
            "type": [
              "string",
              "null"
            ]
          },
          "documents": {
            "items": {
              "$ref": "#/components/schemas/CatalogMarketDocumentJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "effective_year": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "entity_key": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "legal_name": {
            "type": "string"
          },
          "market_id": {
            "type": "string"
          },
          "market_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "parties": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "products": {
            "items": {
              "$ref": "#/components/schemas/CatalogProductJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "provenance": {
            "$ref": "#/components/schemas/CatalogProvenanceJSON"
          },
          "relationships": {
            "items": {
              "$ref": "#/components/schemas/CatalogRelationshipJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "short_name": {
            "type": "string"
          },
          "signals": {
            "$ref": "#/components/schemas/CatalogSignalsJSON"
          }
        },
        "required": [
          "appointment",
          "id",
          "entity_key",
          "market_id",
          "name",
          "short_name",
          "market_type",
          "am_best_rating",
          "effective_year",
          "provenance",
          "products",
          "relationships",
          "backing"
        ],
        "type": "object"
      },
      "CatalogMarketingRecord": {
        "additionalProperties": false,
        "properties": {
          "effective_date": {
            "description": "The marketing record's effective date.",
            "type": [
              "string",
              "null"
            ]
          },
          "number": {
            "description": "The marketing record's policy number.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "number",
          "effective_date"
        ],
        "type": "object"
      },
      "CatalogProductJSON": {
        "additionalProperties": false,
        "properties": {
          "appetite_strength": {
            "type": [
              "string",
              "null"
            ]
          },
          "avoided": {
            "type": "boolean"
          },
          "band_max_cents": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "band_min_cents": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "citations": {
            "additionalProperties": {
              "$ref": "#/components/schemas/CatalogCitationJSON"
            },
            "type": "object"
          },
          "commission_is_percent": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "commission_new": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "commission_new_fraction": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "commission_renewal": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "commission_renewal_fraction": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "commission_tier_kind": {
            "type": "string"
          },
          "effective_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "eligible_states": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "excluded_states": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "governing": {
            "type": "boolean"
          },
          "governing_exclusions": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "held_for_review": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "issuing_company": {
            "type": [
              "string",
              "null"
            ]
          },
          "line": {
            "type": "string"
          },
          "line_class": {
            "type": "string"
          },
          "line_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_group": {
            "type": [
              "string",
              "null"
            ]
          },
          "market_entity_key": {
            "type": "string"
          },
          "placement_group_rank": {
            "format": "int64",
            "type": "integer"
          },
          "policy_condition": {
            "type": [
              "string",
              "null"
            ]
          },
          "product_grain": {
            "enum": [
              "product",
              "type"
            ],
            "type": "string"
          },
          "product_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "product_key": {
            "type": "string"
          },
          "product_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "product_source_text": {
            "type": "string"
          },
          "product_unmatched_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "program_parent": {
            "type": [
              "string",
              "null"
            ]
          },
          "prohibited_naics": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "provenance": {
            "$ref": "#/components/schemas/CatalogProvenanceJSON"
          },
          "raw_label": {
            "type": "string"
          },
          "register_group_rank": {
            "format": "int64",
            "type": "integer"
          },
          "signals": {
            "$ref": "#/components/schemas/CatalogSignalsJSON"
          },
          "source_line_label": {
            "type": [
              "string",
              "null"
            ]
          },
          "state_scope": {
            "type": [
              "string",
              "null"
            ]
          },
          "tier_basis": {
            "type": "string"
          },
          "variant_rank": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "commission_new_fraction",
          "commission_renewal_fraction",
          "id",
          "product_key",
          "market_entity_key",
          "line",
          "line_code",
          "line_class",
          "product_name",
          "commission_new",
          "commission_renewal",
          "commission_is_percent",
          "source_line_label",
          "policy_condition",
          "appetite_strength",
          "excluded_states",
          "prohibited_naics",
          "state_scope",
          "avoided",
          "provenance",
          "citations",
          "eligible_states",
          "effective_date",
          "issuing_company",
          "program_parent",
          "line_group",
          "raw_label",
          "commission_tier_kind",
          "tier_basis",
          "band_min_cents",
          "band_max_cents",
          "placement_group_rank",
          "register_group_rank",
          "product_id",
          "product_grain",
          "product_source_text",
          "product_unmatched_reason"
        ],
        "type": "object"
      },
      "CatalogProductRowJSON": {
        "additionalProperties": false,
        "properties": {
          "appetite_strength": {
            "type": [
              "string",
              "null"
            ]
          },
          "avoided": {
            "type": "boolean"
          },
          "band_max_cents": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "band_min_cents": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "citations": {
            "additionalProperties": {
              "$ref": "#/components/schemas/CatalogCitationJSON"
            },
            "type": "object"
          },
          "commission_is_percent": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "commission_new": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "commission_new_fraction": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "commission_renewal": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "commission_renewal_fraction": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "commission_tier_kind": {
            "type": "string"
          },
          "effective_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "eligible_states": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "excluded_states": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "governing": {
            "type": "boolean"
          },
          "governing_exclusions": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "held_for_review": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "issuing_company": {
            "type": [
              "string",
              "null"
            ]
          },
          "line": {
            "type": "string"
          },
          "line_class": {
            "type": "string"
          },
          "line_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_group": {
            "type": [
              "string",
              "null"
            ]
          },
          "market_effective_year": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "market_entity_key": {
            "type": "string"
          },
          "market_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "market_short_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "placement_group_rank": {
            "format": "int64",
            "type": "integer"
          },
          "policy_condition": {
            "type": [
              "string",
              "null"
            ]
          },
          "product_grain": {
            "enum": [
              "product",
              "type"
            ],
            "type": "string"
          },
          "product_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "product_key": {
            "type": "string"
          },
          "product_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "product_source_text": {
            "type": "string"
          },
          "product_unmatched_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "program_parent": {
            "type": [
              "string",
              "null"
            ]
          },
          "prohibited_naics": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "provenance": {
            "$ref": "#/components/schemas/CatalogProvenanceJSON"
          },
          "raw_label": {
            "type": "string"
          },
          "register_group_rank": {
            "format": "int64",
            "type": "integer"
          },
          "signals": {
            "$ref": "#/components/schemas/CatalogSignalsJSON"
          },
          "source_line_label": {
            "type": [
              "string",
              "null"
            ]
          },
          "state_scope": {
            "type": [
              "string",
              "null"
            ]
          },
          "tier_basis": {
            "type": "string"
          },
          "variant_rank": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "market_name",
          "market_short_name",
          "market_effective_year",
          "commission_new_fraction",
          "commission_renewal_fraction",
          "id",
          "product_key",
          "market_entity_key",
          "line",
          "line_code",
          "line_class",
          "product_name",
          "commission_new",
          "commission_renewal",
          "commission_is_percent",
          "source_line_label",
          "policy_condition",
          "appetite_strength",
          "excluded_states",
          "prohibited_naics",
          "state_scope",
          "avoided",
          "provenance",
          "citations",
          "eligible_states",
          "effective_date",
          "issuing_company",
          "program_parent",
          "line_group",
          "raw_label",
          "commission_tier_kind",
          "tier_basis",
          "band_min_cents",
          "band_max_cents",
          "placement_group_rank",
          "register_group_rank",
          "product_id",
          "product_grain",
          "product_source_text",
          "product_unmatched_reason"
        ],
        "type": "object"
      },
      "CatalogProvenanceJSON": {
        "additionalProperties": false,
        "properties": {
          "effective_from": {
            "format": "date-time",
            "type": "string"
          },
          "extraction_run_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_blob_ref": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_label": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_removed_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "source_blob_ref",
          "source_label",
          "extraction_run_id",
          "effective_from"
        ],
        "type": "object"
      },
      "CatalogQuestionJSON": {
        "additionalProperties": false,
        "properties": {
          "class_keyword": {
            "type": [
              "string",
              "null"
            ]
          },
          "line": {
            "type": [
              "string",
              "null"
            ]
          },
          "naics": {
            "type": [
              "string",
              "null"
            ]
          },
          "product_types": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "products": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          },
          "states": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "naics",
          "class_keyword",
          "state",
          "line"
        ],
        "type": "object"
      },
      "CatalogRelationshipJSON": {
        "additionalProperties": false,
        "properties": {
          "carrier_issued_codes": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "effective_from_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "effective_to_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "execution_backed": {
            "type": "boolean"
          },
          "family_entity": {
            "type": "string"
          },
          "paper_status": {
            "type": "string"
          },
          "source_blob_ref": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_label": {
            "type": [
              "string",
              "null"
            ]
          },
          "succession_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "term_ended": {
            "type": "boolean"
          },
          "termination_source_blob_ref": {
            "type": "string"
          }
        },
        "required": [
          "family_entity",
          "paper_status",
          "execution_backed",
          "effective_from_date",
          "effective_to_date",
          "succession_date",
          "carrier_issued_codes",
          "source_blob_ref",
          "source_label",
          "term_ended"
        ],
        "type": "object"
      },
      "CatalogRowCounts": {
        "additionalProperties": false,
        "properties": {
          "current": {
            "format": "int64",
            "type": "integer"
          },
          "removed": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "current",
          "removed"
        ],
        "type": "object"
      },
      "CatalogSignalsJSON": {
        "additionalProperties": false,
        "type": "object"
      },
      "CatalogStandingAgreementJSON": {
        "additionalProperties": false,
        "properties": {
          "effective_from_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "effective_to_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "party": {
            "description": "The agency family the agreement is attributed to (the paper's party, resolved through the profile's agency codes); empty when the paper states none.",
            "type": "string"
          },
          "prior_name": {
            "description": "The agreement is held under a prior agency name.",
            "type": "boolean"
          },
          "source_blob_ref": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "party",
          "prior_name",
          "effective_from_date",
          "effective_to_date",
          "source_blob_ref"
        ],
        "type": "object"
      },
      "CatalogTermBandJSON": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "type": "string"
          },
          "max": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "min": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "raw_label": {
            "type": "string"
          },
          "unit": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "min",
          "max",
          "unit",
          "raw_label"
        ],
        "type": "object"
      },
      "CatalogTermJSON": {
        "additionalProperties": false,
        "properties": {
          "band_1": {
            "$ref": "#/components/schemas/CatalogTermBandJSON"
          },
          "band_2": {
            "$ref": "#/components/schemas/CatalogTermBandJSON"
          },
          "business_basis": {
            "type": "string"
          },
          "citations": {
            "additionalProperties": {
              "$ref": "#/components/schemas/CatalogCitationJSON"
            },
            "type": "object"
          },
          "conditions": {
            "type": "string"
          },
          "confidence": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "corrected": {
            "type": "boolean"
          },
          "effective_year": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "entity_key": {
            "type": "string"
          },
          "held_for_review": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "line": {
            "type": "string"
          },
          "line_class": {
            "type": "string"
          },
          "line_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "market_entity_key": {
            "type": "string"
          },
          "modifier_delta": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "policy_condition": {
            "type": "string"
          },
          "product_grain": {
            "enum": [
              "product",
              "type"
            ],
            "type": "string"
          },
          "product_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "product_source_text": {
            "type": "string"
          },
          "product_unmatched_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "program_parent": {
            "type": "string"
          },
          "provenance": {
            "$ref": "#/components/schemas/CatalogProvenanceJSON"
          },
          "rate": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "rate_is_percent": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "rate_non_numeric": {
            "type": [
              "string",
              "null"
            ]
          },
          "raw_label": {
            "type": "string"
          },
          "states": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "term_family": {
            "type": "string"
          },
          "term_kind": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "entity_key",
          "market_entity_key",
          "term_family",
          "term_kind",
          "business_basis",
          "line",
          "line_code",
          "line_class",
          "raw_label",
          "states",
          "program_parent",
          "policy_condition",
          "band_1",
          "band_2",
          "rate",
          "rate_is_percent",
          "held_for_review",
          "rate_non_numeric",
          "modifier_delta",
          "conditions",
          "effective_year",
          "corrected",
          "confidence",
          "provenance",
          "citations",
          "product_id",
          "product_grain",
          "product_source_text",
          "product_unmatched_reason"
        ],
        "type": "object"
      },
      "Certificate": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "ams360_datasource": {
            "type": [
              "string",
              "null"
            ]
          },
          "attach_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "attach_policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "attach_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "authorized_representative": {
            "type": [
              "string",
              "null"
            ]
          },
          "certificate_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "certificate_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "changed_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "customer_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "description_of_operations": {
            "type": [
              "string",
              "null"
            ]
          },
          "elf_form_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "entered_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "form_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "holders": {
            "items": {
              "$ref": "#/components/schemas/BookCertificateHolderRow"
            },
            "type": "array"
          },
          "id": {
            "type": "string"
          },
          "image_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "image_short_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_on_internet": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_flags": {
            "$ref": "#/components/schemas/BookCertificateLineFlags"
          },
          "note": {
            "type": [
              "string",
              "null"
            ]
          },
          "policies": {
            "items": {
              "$ref": "#/components/schemas/CertificatePolicyLink"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "print_note": {
            "type": [
              "string",
              "null"
            ]
          },
          "signature_employee_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_attach_policy_id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "account_id",
          "attach_policy_id",
          "source_attach_policy_id",
          "policies",
          "ams360_datasource",
          "certificate_id",
          "certificate_number",
          "customer_id",
          "form_type",
          "attach_type",
          "attach_id",
          "signature_employee_code",
          "elf_form_id",
          "image_id",
          "image_short_name",
          "is_on_internet",
          "print_note",
          "line_flags",
          "entered_date",
          "changed_date",
          "changed_by",
          "description_of_operations",
          "description",
          "note",
          "authorized_representative"
        ],
        "type": "object"
      },
      "CertificateBasis": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "type": "string"
          },
          "prepared_copies": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "action",
          "prepared_copies"
        ],
        "type": "object"
      },
      "CertificateDiscard": {
        "additionalProperties": false,
        "properties": {
          "allowed": {
            "type": "boolean"
          },
          "as_of": {
            "format": "date-time",
            "type": "string"
          },
          "basis": {
            "$ref": "#/components/schemas/CertificateBasis"
          },
          "reasons": {
            "items": {
              "$ref": "#/components/schemas/CertificateReason"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "allowed",
          "reasons",
          "basis",
          "as_of"
        ],
        "type": "object"
      },
      "CertificateDraftJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DocumentCertificateDraftAnswer"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "CertificateFileJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DocumentCertificateFile"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "CertificateHolder": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "ams360_datasource": {
            "type": [
              "string",
              "null"
            ]
          },
          "attach_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "attach_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "business_area_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "business_extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "business_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "changed_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "contact_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "customer_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "description_of_operations": {
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "type": [
              "string",
              "null"
            ]
          },
          "entered_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "fax_area_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "fax_extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "fax_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "holder_group_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "holder_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "line_flags": {
            "$ref": "#/components/schemas/BookCertificateLineFlags"
          },
          "name_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "name_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "name_key": {
            "description": "Entity-name key of the combined holder name. Empty keys retain row identity.",
            "type": "string"
          },
          "notice_days": {
            "type": [
              "string",
              "null"
            ]
          },
          "postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "project_end_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "sort_order": {
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          },
          "terms": {
            "$ref": "#/components/schemas/BookCertificateHolderTerms"
          }
        },
        "required": [
          "name_key",
          "id",
          "account_id",
          "holder_id",
          "holder_group_id",
          "customer_id",
          "ams360_datasource",
          "attach_type",
          "attach_id",
          "name_1",
          "name_2",
          "address_1",
          "address_2",
          "city",
          "state",
          "postal_code",
          "notice_days",
          "sort_order",
          "terms",
          "project_end_date",
          "line_flags",
          "entered_date",
          "changed_date",
          "changed_by",
          "contact_name",
          "email",
          "business_area_code",
          "business_phone",
          "business_extension",
          "fax_area_code",
          "fax_phone",
          "fax_extension",
          "description_of_operations"
        ],
        "type": "object"
      },
      "CertificateHolderGroup": {
        "additionalProperties": false,
        "properties": {
          "address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "certificate_count": {
            "format": "int64",
            "type": "integer"
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "issued_count": {
            "format": "int64",
            "type": "integer"
          },
          "key": {
            "type": "string"
          },
          "latest_issue_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "name_key": {
            "type": "string"
          },
          "postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "standing_count": {
            "format": "int64",
            "type": "integer"
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "key",
          "name",
          "name_key",
          "issued_count",
          "certificate_count",
          "standing_count",
          "latest_issue_date",
          "address_1",
          "address_2",
          "city",
          "state",
          "postal_code"
        ],
        "type": "object"
      },
      "CertificateList": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/Certificate"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "holder_count": {
            "$ref": "#/components/schemas/Total",
            "description": "Distinct printed holder rows on every certificate the filters admit. Present with include_total. Standing and workspace holders are separate relations."
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "CertificatePolicyLink": {
        "additionalProperties": false,
        "properties": {
          "ams360_datasource": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "type": "string"
          },
          "slot": {
            "format": "int64",
            "type": "integer"
          },
          "source_policy_id": {
            "type": "string"
          }
        },
        "required": [
          "slot",
          "policy_id",
          "source_policy_id",
          "ams360_datasource"
        ],
        "type": "object"
      },
      "CertificateReason": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "text"
        ],
        "type": "object"
      },
      "ChangeFrame": {
        "description": "One frame of the stream, discriminated by kind.",
        "discriminator": {
          "mapping": {
            "notice": "#/components/schemas/ChangeFrameNotice",
            "resync": "#/components/schemas/ChangeFrameResync"
          },
          "propertyName": "kind"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/ChangeFrameNotice"
          },
          {
            "$ref": "#/components/schemas/ChangeFrameResync"
          }
        ]
      },
      "ChangeFrameNotice": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "description": "The book account the notice is about, or null.",
            "type": [
              "string",
              "null"
            ]
          },
          "event": {
            "description": "The notice's event name, also the event line (record.changed, pipeline.complete).",
            "type": "string"
          },
          "kind": {
            "description": "notice.",
            "enum": [
              "notice"
            ],
            "type": "string"
          },
          "outbox_id": {
            "description": "The notice's source row, or null. A retried publish can repeat a notice under a new event id; the reader drops a repeat by outbox_id.",
            "type": [
              "string",
              "null"
            ]
          },
          "payload": {
            "description": "The notice: ids, status, counts and times only, never record content. Read the content again through the scoped API read."
          },
          "run_id": {
            "description": "The run the notice is about, or null.",
            "type": [
              "string",
              "null"
            ]
          },
          "topic": {
            "description": "The token topic the notice matched: org, run:&lt;id&gt; or record:&lt;family&gt;:&lt;id&gt;.",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "topic",
          "event",
          "account_id",
          "run_id",
          "outbox_id",
          "payload"
        ],
        "type": "object"
      },
      "ChangeFrameResync": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "description": "resync.",
            "enum": [
              "resync"
            ],
            "type": "string"
          }
        },
        "required": [
          "kind"
        ],
        "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"
      },
      "Claim": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "additional_risk": {
            "type": [
              "string",
              "null"
            ]
          },
          "ams360_datasource": {
            "type": [
              "string",
              "null"
            ]
          },
          "catastrophe_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "cause_of_loss": {
            "type": [
              "string",
              "null"
            ]
          },
          "claim_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "claim_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "claim_status": {
            "type": [
              "string",
              "null"
            ]
          },
          "closed_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "line_of_business": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_of_business_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "loss_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "loss_description": {
            "type": [
              "string",
              "null"
            ]
          },
          "loss_history": {
            "items": {
              "$ref": "#/components/schemas/BookClaimLossHistoryRow"
            },
            "type": "array"
          },
          "loss_location_address": {
            "type": [
              "string",
              "null"
            ]
          },
          "loss_location_city": {
            "type": [
              "string",
              "null"
            ]
          },
          "loss_location_state": {
            "type": [
              "string",
              "null"
            ]
          },
          "loss_location_zip": {
            "type": [
              "string",
              "null"
            ]
          },
          "occurrence_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "paid": {
            "$ref": "#/components/schemas/ClaimPaid",
            "description": "Present only with account_id and include=payments, on a claim whose payments were read: what was paid on this claim, summed from its payments. The list's paid figure sums the same rows."
          },
          "payments": {
            "items": {
              "$ref": "#/components/schemas/BookClaimPaymentRow"
            },
            "type": "array"
          },
          "policy_effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_end_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_expiration_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_in_served_rows": {
            "type": "boolean"
          },
          "report_authority": {
            "type": [
              "string",
              "null"
            ]
          },
          "report_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "report_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "reported_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "reported_to": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "standing": {
            "description": "Closed when closed_date is set, or when the status word (claim_status, else status) is closed and closed_date is null; open otherwise. Raw claim_status, status and closed_date are served unchanged beside it, including reopened conflicts.",
            "enum": [
              "open",
              "closed"
            ],
            "type": "string"
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "account_id",
          "policy_id",
          "source_policy_id",
          "standing",
          "ams360_datasource",
          "claim_id",
          "claim_number",
          "line_of_business_id",
          "line_of_business",
          "claim_status",
          "status",
          "catastrophe_code",
          "cause_of_loss",
          "additional_risk",
          "loss_date",
          "occurrence_date",
          "report_date",
          "entered_date",
          "closed_date",
          "policy_effective_date",
          "policy_expiration_date",
          "policy_end_date",
          "policy_in_served_rows",
          "loss_location_city",
          "loss_location_state",
          "loss_location_zip",
          "report_number",
          "loss_description",
          "loss_location_address",
          "reported_by",
          "reported_to",
          "report_authority"
        ],
        "type": "object"
      },
      "ClaimClaimParty": {
        "additionalProperties": false,
        "properties": {
          "address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "age": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "assigned_at": {
            "description": "When the contact was assigned to the claim. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "business_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "business_phone_area_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "business_phone_extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "citation": {
            "description": "The citation the driver received.",
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "claim_id": {
            "description": "The claim's id.",
            "type": "string"
          },
          "contact_type": {
            "description": "A contact's type as the source codes it (claimant, witness, adjuster and others).",
            "type": [
              "string",
              "null"
            ]
          },
          "date_hired": {
            "description": "A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "date_of_birth": {
            "description": "A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "dependents": {
            "description": "The number of dependents. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "doing_what": {
            "description": "What the injured person was doing.",
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "description": "The policy version's effective date: the term's or an endorsement's. A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "type": [
              "string",
              "null"
            ]
          },
          "employer_address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "employer_address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "employer_city": {
            "type": [
              "string",
              "null"
            ]
          },
          "employer_email": {
            "type": [
              "string",
              "null"
            ]
          },
          "employer_fax": {
            "type": [
              "string",
              "null"
            ]
          },
          "employer_fax_area_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "employer_fax_extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "employer_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "employer_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "employer_phone_area_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "employer_phone_extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "employer_postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "employer_state": {
            "type": [
              "string",
              "null"
            ]
          },
          "employment_status": {
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "fatality": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "fax": {
            "type": [
              "string",
              "null"
            ]
          },
          "fax_area_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "fax_extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "first_name": {
            "description": "Derived: the given name in a one-column name: after the comma in 'Last, First', otherwise every word but the last.",
            "type": [
              "string",
              "null"
            ]
          },
          "gender": {
            "type": [
              "string",
              "null"
            ]
          },
          "hired_state": {
            "description": "The state the person was hired in.",
            "type": [
              "string",
              "null"
            ]
          },
          "home_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "home_phone_area_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "home_phone_extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The row's id: {instance}:{segment}:{claim}:{key}, or the policy version's form when the row carries one.",
            "type": "string"
          },
          "in_insured_vehicle": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "in_other_vehicle": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "injury": {
            "description": "The injury, as described.",
            "type": [
              "string",
              "null"
            ]
          },
          "is_driver": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "is_owner": {
            "description": "The driver also owns the vehicle.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "kind": {
            "description": "The row's kind: contact, injured, driver.",
            "type": "string"
          },
          "last_name": {
            "description": "Derived: the family name in a one-column name: before the comma in 'Last, First', otherwise the last word.",
            "type": [
              "string",
              "null"
            ]
          },
          "license_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "license_state": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_id": {
            "description": "The policy line the row belongs to, when it belongs to one.",
            "type": [
              "string",
              "null"
            ]
          },
          "marital_status": {
            "type": [
              "string",
              "null"
            ]
          },
          "mobile_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "mobile_phone_area_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "mobile_phone_extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "description": "The person's name.",
            "type": [
              "string",
              "null"
            ]
          },
          "number": {
            "description": "The driver's number on the loss.",
            "type": [
              "string",
              "null"
            ]
          },
          "occupation": {
            "type": [
              "string",
              "null"
            ]
          },
          "other_description": {
            "type": [
              "string",
              "null"
            ]
          },
          "pedestrian": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "policy_id": {
            "description": "The policy the row names, when it names one.",
            "type": [
              "string",
              "null"
            ]
          },
          "postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "primary_number": {
            "description": "Which of the contact's numbers is primary, as the source codes it.",
            "type": [
              "string",
              "null"
            ]
          },
          "relationship": {
            "description": "The driver's relationship to the insured.",
            "type": [
              "string",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "source_driver_id": {
            "description": "The source's driver id a contact names.",
            "type": [
              "string",
              "null"
            ]
          },
          "source_vehicle_id": {
            "description": "The source's vehicle id a contact names.",
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          },
          "when_to_contact": {
            "type": [
              "string",
              "null"
            ]
          },
          "where_taken": {
            "description": "Where the injured person was taken.",
            "type": [
              "string",
              "null"
            ]
          },
          "where_to_contact": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "claim_id",
          "kind",
          "policy_id",
          "line_id",
          "effective_date",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "name",
          "first_name",
          "last_name",
          "contact_type",
          "address_1",
          "address_2",
          "city",
          "state",
          "postal_code",
          "email",
          "business_phone_area_code",
          "business_phone",
          "business_phone_extension",
          "home_phone_area_code",
          "home_phone",
          "home_phone_extension",
          "mobile_phone_area_code",
          "mobile_phone",
          "mobile_phone_extension",
          "fax_area_code",
          "fax",
          "fax_extension",
          "primary_number",
          "when_to_contact",
          "where_to_contact",
          "date_of_birth",
          "age",
          "gender",
          "marital_status",
          "dependents",
          "occupation",
          "employment_status",
          "date_hired",
          "hired_state",
          "assigned_at",
          "other_description",
          "in_insured_vehicle",
          "in_other_vehicle",
          "pedestrian",
          "fatality",
          "injury",
          "doing_what",
          "where_taken",
          "employer_name",
          "employer_address_1",
          "employer_address_2",
          "employer_city",
          "employer_state",
          "employer_postal_code",
          "employer_email",
          "employer_phone_area_code",
          "employer_phone",
          "employer_phone_extension",
          "employer_fax_area_code",
          "employer_fax",
          "employer_fax_extension",
          "number",
          "is_driver",
          "is_owner",
          "license_number",
          "license_state",
          "citation",
          "relationship",
          "source_vehicle_id",
          "source_driver_id"
        ],
        "type": "object"
      },
      "ClaimDetail": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "additional_risk": {
            "type": [
              "string",
              "null"
            ]
          },
          "ams360_datasource": {
            "type": [
              "string",
              "null"
            ]
          },
          "catastrophe_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "cause_of_loss": {
            "type": [
              "string",
              "null"
            ]
          },
          "claim_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "claim_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "claim_status": {
            "type": [
              "string",
              "null"
            ]
          },
          "closed_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "line_of_business": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_of_business_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "loss_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "loss_description": {
            "type": [
              "string",
              "null"
            ]
          },
          "loss_history": {
            "items": {
              "$ref": "#/components/schemas/BookClaimLossHistoryRow"
            },
            "type": "array"
          },
          "loss_location_address": {
            "type": [
              "string",
              "null"
            ]
          },
          "loss_location_city": {
            "type": [
              "string",
              "null"
            ]
          },
          "loss_location_state": {
            "type": [
              "string",
              "null"
            ]
          },
          "loss_location_zip": {
            "type": [
              "string",
              "null"
            ]
          },
          "notes": {
            "$ref": "#/components/schemas/ClaimNotes",
            "description": "The claim's activity notes, newest first. No rows with an unreachable notes part means they could not be read, not that there are none."
          },
          "occurrence_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "paid": {
            "$ref": "#/components/schemas/ClaimPaid",
            "description": "Present only with account_id and include=payments, on a claim whose payments were read: what was paid on this claim, summed from its payments. The list's paid figure sums the same rows."
          },
          "payments": {
            "items": {
              "$ref": "#/components/schemas/BookClaimPaymentRow"
            },
            "type": "array"
          },
          "policy_effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_end_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_expiration_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_in_served_rows": {
            "type": "boolean"
          },
          "report_authority": {
            "type": [
              "string",
              "null"
            ]
          },
          "report_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "report_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "reported_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "reported_to": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "standing": {
            "description": "Closed when closed_date is set, or when the status word (claim_status, else status) is closed and closed_date is null; open otherwise. Raw claim_status, status and closed_date are served unchanged beside it, including reopened conflicts.",
            "enum": [
              "open",
              "closed"
            ],
            "type": "string"
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "notes",
          "id",
          "account_id",
          "policy_id",
          "source_policy_id",
          "standing",
          "ams360_datasource",
          "claim_id",
          "claim_number",
          "line_of_business_id",
          "line_of_business",
          "claim_status",
          "status",
          "catastrophe_code",
          "cause_of_loss",
          "additional_risk",
          "loss_date",
          "occurrence_date",
          "report_date",
          "entered_date",
          "closed_date",
          "policy_effective_date",
          "policy_expiration_date",
          "policy_end_date",
          "policy_in_served_rows",
          "loss_location_city",
          "loss_location_state",
          "loss_location_zip",
          "report_number",
          "loss_description",
          "loss_location_address",
          "reported_by",
          "reported_to",
          "report_authority"
        ],
        "type": "object"
      },
      "ClaimFile": {
        "additionalProperties": false,
        "properties": {
          "contacts": {
            "items": {
              "$ref": "#/components/schemas/BookClaimFileContact"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "drivers": {
            "items": {
              "$ref": "#/components/schemas/BookClaimFileDriver"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "injured": {
            "items": {
              "$ref": "#/components/schemas/BookClaimFileInjured"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "loss_history": {
            "items": {
              "$ref": "#/components/schemas/BookClaimFileLossHistory"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "paid": {
            "$ref": "#/components/schemas/ClaimPaid",
            "description": "What was paid on this claim, summed from the payments in this file by the claims list's own rule, so the file and the claim's row on its account's list agree."
          },
          "payments": {
            "items": {
              "$ref": "#/components/schemas/BookClaimFilePayment"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "property_damage": {
            "items": {
              "$ref": "#/components/schemas/BookClaimFilePropertyDamage"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "remarks": {
            "items": {
              "$ref": "#/components/schemas/BookClaimFileRemark"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "risk_items": {
            "items": {
              "$ref": "#/components/schemas/BookClaimFileRiskItem"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "paid",
          "payments",
          "remarks",
          "contacts",
          "injured",
          "property_damage",
          "risk_items",
          "drivers",
          "loss_history"
        ],
        "type": "object"
      },
      "ClaimList": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/Claim"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "paid": {
            "$ref": "#/components/schemas/ClaimsPaid",
            "description": "Present only with account_id and include=payments: what was paid on the claims in this response, summed from the payments they carry. complete says whether that is every claim the filters admit for this seat."
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ClaimLossHistory": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "amount_paid": {
            "type": [
              "string",
              "null"
            ]
          },
          "claim_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "claim_status": {
            "type": [
              "string",
              "null"
            ]
          },
          "closed_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "company": {
            "type": [
              "string",
              "null"
            ]
          },
          "date_of_loss": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "employee_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "entered_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "kind_of_loss": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_of_business": {
            "type": [
              "string",
              "null"
            ]
          },
          "loss_description": {
            "type": [
              "string",
              "null"
            ]
          },
          "loss_history_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "mod_factor": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_expiration_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_year": {
            "type": [
              "string",
              "null"
            ]
          },
          "report_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "account_id",
          "loss_history_id",
          "claim_number",
          "claim_status",
          "company",
          "kind_of_loss",
          "line_of_business",
          "policy_number",
          "policy_year",
          "date_of_loss",
          "report_date",
          "closed_date",
          "entered_date",
          "policy_effective_date",
          "policy_expiration_date",
          "amount_paid",
          "mod_factor",
          "employee_name",
          "loss_description"
        ],
        "type": "object"
      },
      "ClaimNotes": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "The newest notes saved on the claim's AMS 360 activities (AFW_TRANSACTION REFTYPE 39), at most 10, one row each: occurred_at is when AMS 360 saved the note, entered_by_usercode and entered_by_name who saved it, comment_on_activity_id the activity it is on.",
            "items": {
              "$ref": "#/components/schemas/Activity"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "How many notes the claim's activities hold; exact up to 100."
          }
        },
        "required": [
          "data",
          "total"
        ],
        "type": "object"
      },
      "ClaimPaid": {
        "additionalProperties": false,
        "properties": {
          "amount": {
            "description": "Exact decimal sum paid on this claim, by AMS 360 payment type: payment, claim payment, final payment and supplemental payment rows, less void and stop payment rows. Loss reserves, adjustment expense, recoveries, salvage, subrogation and rows of any other type are not paid. At the widest fraction any summed amount carries and at least two places. Null when no amount was summable or the seat cannot read payment amounts: absence, never zero.",
            "type": [
              "string",
              "null"
            ]
          },
          "amounts_counted": {
            "description": "Paid rows (payments, voids and stop payments) whose amount was summed.",
            "format": "int64",
            "type": "integer"
          },
          "amounts_missing": {
            "description": "Paid rows whose amount was absent, blank, withheld from this seat or not a decimal. Every payment counts here when the seat cannot read the payment type that decides whether it is paid.",
            "format": "int64",
            "type": "integer"
          },
          "payment_count": {
            "description": "Paid rows (payments, voids and stop payments) on this claim; every payment when the seat cannot read the payment type.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "amount",
          "amounts_counted",
          "amounts_missing",
          "payment_count"
        ],
        "type": "object"
      },
      "ClaimPaymentCoverage": {
        "additionalProperties": false,
        "properties": {
          "complete": {
            "type": "boolean"
          },
          "counted_amounts": {
            "format": "int64",
            "type": "integer"
          },
          "identity_complete": {
            "type": "boolean"
          },
          "missing_amounts": {
            "format": "int64",
            "type": "integer"
          },
          "observed_rows": {
            "format": "int64",
            "type": "integer"
          },
          "paid_amount": {
            "description": "Exact sum of the paid rows (claim_payments.paid_amount: payments, less voids and stop payments) only when complete, zero when every amount is of an unpaid type; null when incomplete or no payment amount exists. Separate from customer and policy loss history.",
            "type": [
              "string",
              "null"
            ]
          },
          "query_grain": {
            "enum": [
              "account_loss_summary_policy_cohort"
            ],
            "type": "string"
          },
          "source_mode": {
            "enum": [
              "current"
            ],
            "type": "string"
          }
        },
        "required": [
          "source_mode",
          "query_grain",
          "observed_rows",
          "counted_amounts",
          "missing_amounts",
          "identity_complete",
          "complete",
          "paid_amount"
        ],
        "type": "object"
      },
      "ClaimRiskItem": {
        "additionalProperties": false,
        "properties": {
          "attach_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "attach_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "damage_description": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "estimated_amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_of_business_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "other_insurance": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "risk_item_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "type": [
              "string",
              "null"
            ]
          },
          "when_seen": {
            "type": [
              "string",
              "null"
            ]
          },
          "where_seen": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "policy_id",
          "source_policy_id",
          "risk_item_id",
          "attach_id",
          "attach_type",
          "type",
          "line_of_business_id",
          "estimated_amount",
          "when_seen",
          "effective_date",
          "entered_date",
          "description",
          "damage_description",
          "other_insurance",
          "where_seen"
        ],
        "type": "object"
      },
      "ClaimsPaid": {
        "additionalProperties": false,
        "properties": {
          "amount": {
            "description": "Exact decimal sum paid on the claims whose payments were read, by AMS 360 payment type: payment, claim payment, final payment and supplemental payment rows, less void and stop payment rows. Loss reserves, adjustment expense, recoveries, salvage, subrogation and rows of any other type are not paid. At the widest fraction any summed amount carries and at least two places. Null when no amount was summable or the seat cannot read payment amounts: absence, never zero.",
            "type": [
              "string",
              "null"
            ]
          },
          "amounts_counted": {
            "description": "Paid rows (payments, voids and stop payments) whose amount was summed.",
            "format": "int64",
            "type": "integer"
          },
          "amounts_missing": {
            "description": "Paid rows whose amount was absent, blank, withheld from this seat or not a decimal. Every payment read counts here when the seat cannot read the payment type that decides whether it is paid.",
            "format": "int64",
            "type": "integer"
          },
          "claims_read": {
            "description": "Claims in this response whose payments were read (an empty list counts: read, nothing paid).",
            "format": "int64",
            "type": "integer"
          },
          "claims_unread": {
            "description": "Claims in this response whose payments were not read: the payments read did not answer in its budget, or did not admit the claim.",
            "format": "int64",
            "type": "integer"
          },
          "complete": {
            "description": "True only when amount is the whole paid figure of the claims the filters admit for this seat: no part of the read was unreachable, every claim's payments were read and every paid row carried a summable amount. Only the account's only page is complete: a page with a cursor or a next page is not, and neither is a filtered live read.",
            "type": "boolean"
          },
          "payment_count": {
            "description": "Paid rows (payments, voids and stop payments) read across the claims whose payments were read; every payment read when the seat cannot read the payment type.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "amount",
          "amounts_counted",
          "amounts_missing",
          "payment_count",
          "claims_read",
          "claims_unread",
          "complete"
        ],
        "type": "object"
      },
      "ClassCandidateJSON": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "naics_code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "why": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "naics_code",
          "name",
          "why"
        ],
        "type": "object"
      },
      "ClassCandidatesJSON": {
        "additionalProperties": false,
        "properties": {
          "candidates": {
            "description": "Two or three register classes, best first; empty when insufficient. Never a code the register does not carry.",
            "items": {
              "$ref": "#/components/schemas/ClassCandidateJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "read_from": {
            "description": "The evidence fields the ranking read: industry description, operations description, commodities, business name.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "description": "insufficient when there is no corpus, the evidence is under two content words, or nothing matched on its own name or code: a state to show, never an empty list.",
            "enum": [
              "candidates",
              "insufficient"
            ],
            "type": "string"
          }
        },
        "required": [
          "status",
          "candidates",
          "read_from"
        ],
        "type": "object"
      },
      "ClassCandidatesRequest": {
        "additionalProperties": false,
        "properties": {
          "business_name": {
            "description": "The account's business name.",
            "maxLength": 4000,
            "type": "string"
          },
          "commodities": {
            "description": "The commodities the account handles, each at most 200 characters.",
            "items": {
              "type": "string"
            },
            "maxItems": 50,
            "type": [
              "array",
              "null"
            ]
          },
          "industry": {
            "description": "The account's industry description.",
            "maxLength": 4000,
            "type": "string"
          },
          "operations_description": {
            "description": "The account's operations description.",
            "maxLength": 4000,
            "type": "string"
          }
        },
        "type": "object"
      },
      "ClassCoverageRecommendationsJSON": {
        "additionalProperties": false,
        "properties": {
          "basis": {
            "enum": [
              "corpus",
              "class_table"
            ],
            "type": "string"
          },
          "optional": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "recommended": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "recommended",
          "optional",
          "basis"
        ],
        "type": "object"
      },
      "ClassCoveredJSON": {
        "additionalProperties": false,
        "properties": {
          "naics_code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "naics_code",
          "name"
        ],
        "type": "object"
      },
      "ClassDocumentRequirementsJSON": {
        "additionalProperties": false,
        "properties": {
          "basis": {
            "enum": [
              "corpus",
              "class_table"
            ],
            "type": "string"
          },
          "recommended": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "required": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "required",
          "recommended",
          "basis"
        ],
        "type": "object"
      },
      "ClassHazard": {
        "additionalProperties": false,
        "properties": {
          "class_typical": {
            "type": "boolean"
          },
          "comments": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "exposure_area": {
            "type": "string"
          },
          "line_of_coverage": {
            "type": "string"
          },
          "provenance": {
            "$ref": "#/components/schemas/ClassHazardProvenance"
          },
          "score": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "exposure_area",
          "line_of_coverage",
          "score",
          "class_typical",
          "description",
          "comments",
          "provenance"
        ],
        "type": "object"
      },
      "ClassHazardProvenance": {
        "additionalProperties": false,
        "properties": {
          "am_publish_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "rung_code": {
            "type": "string"
          },
          "rung_level": {
            "type": "string"
          },
          "source_report_id": {
            "type": "string"
          },
          "source_report_title": {
            "type": "string"
          }
        },
        "required": [
          "source_report_id",
          "source_report_title",
          "rung_level",
          "rung_code",
          "am_publish_date"
        ],
        "type": "object"
      },
      "ClassHazardSetJSON": {
        "additionalProperties": false,
        "properties": {
          "class_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "hazards": {
            "items": {
              "$ref": "#/components/schemas/ClassKnowledgeHazardJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "naics_code": {
            "type": "string"
          }
        },
        "required": [
          "naics_code",
          "class_name",
          "hazards"
        ],
        "type": "object"
      },
      "ClassHierarchyGroupJSON": {
        "additionalProperties": false,
        "properties": {
          "class_count": {
            "format": "int64",
            "type": "integer"
          },
          "prefix": {
            "type": "string"
          },
          "title": {
            "description": "The Census title, or the bare prefix when Census publishes none.",
            "type": "string"
          },
          "titled": {
            "type": "boolean"
          }
        },
        "required": [
          "prefix",
          "title",
          "titled",
          "class_count"
        ],
        "type": "object"
      },
      "ClassHierarchyJSON": {
        "additionalProperties": false,
        "properties": {
          "class_count": {
            "format": "int64",
            "type": "integer"
          },
          "sectors": {
            "items": {
              "$ref": "#/components/schemas/ClassHierarchySectorJSON"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "sectors",
          "class_count"
        ],
        "type": "object"
      },
      "ClassHierarchySectorJSON": {
        "additionalProperties": false,
        "properties": {
          "class_count": {
            "format": "int64",
            "type": "integer"
          },
          "groups": {
            "items": {
              "$ref": "#/components/schemas/ClassHierarchyGroupJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "key": {
            "type": "string"
          },
          "prefixes": {
            "description": "The 2-digit prefixes the register reaches under the sector.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "title": {
            "type": "string"
          },
          "titled": {
            "type": "boolean"
          }
        },
        "required": [
          "key",
          "title",
          "titled",
          "prefixes",
          "class_count",
          "groups"
        ],
        "type": "object"
      },
      "ClassIndexRowJSON": {
        "additionalProperties": false,
        "properties": {
          "also_named": {
            "description": "Other names the class answers to: its 2022 classification when that differs, and the classes of the codes it shares the record with.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "as_of": {
            "description": "The record's publish date; null when it has none.",
            "type": [
              "string",
              "null"
            ]
          },
          "naics_code": {
            "description": "The NAICS code a playbook is written for.",
            "type": "string"
          },
          "name": {
            "description": "What the playbook calls the class.",
            "type": "string"
          },
          "record_id": {
            "description": "The class knowledge record the class reads (GET /records/class-knowledge/{id}).",
            "type": "string"
          },
          "related_codes": {
            "description": "The record's other codes, each as its type and code (\"NAICS 484122\", \"SIC 4213\").",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "search_codes": {
            "description": "Every code the class is found by, NAICS and SIC, digits only.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source_title": {
            "description": "The record's title as landed.",
            "type": "string"
          }
        },
        "required": [
          "naics_code",
          "name",
          "record_id",
          "source_title",
          "related_codes",
          "also_named",
          "search_codes",
          "as_of"
        ],
        "type": "object"
      },
      "ClassIntakeAccountJSON": {
        "additionalProperties": false,
        "properties": {
          "basis": {
            "$ref": "#/components/schemas/ClassKnowledgeQualityBasis"
          },
          "coverage_recommendations": {
            "$ref": "#/components/schemas/ClassCoverageRecommendationsJSON"
          },
          "document_requirements": {
            "$ref": "#/components/schemas/ClassDocumentRequirementsJSON"
          },
          "industry_category": {
            "type": "string"
          },
          "message": {
            "type": [
              "string",
              "null"
            ]
          },
          "naics_codes": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "note": {
            "type": "string"
          },
          "state": {
            "enum": [
              "unclassified",
              "resolving",
              "covered",
              "unreadable",
              "uncovered"
            ],
            "type": "string"
          },
          "union": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ClassIntakeUnionJSON"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "naics_codes",
          "industry_category",
          "union",
          "state",
          "note",
          "message",
          "document_requirements",
          "coverage_recommendations",
          "basis"
        ],
        "type": "object"
      },
      "ClassIntakeAskJSON": {
        "additionalProperties": false,
        "properties": {
          "class_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "key": {
            "type": "string"
          },
          "question": {
            "type": "string"
          }
        },
        "required": [
          "key",
          "question",
          "class_name"
        ],
        "type": "object"
      },
      "ClassIntakeDocumentAsksJSON": {
        "additionalProperties": false,
        "properties": {
          "recommended": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "required": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "required",
          "recommended"
        ],
        "type": "object"
      },
      "ClassIntakeHazardJSON": {
        "additionalProperties": false,
        "properties": {
          "description": {
            "type": "string"
          },
          "line": {
            "type": "string"
          },
          "score": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "line",
          "score"
        ],
        "type": "object"
      },
      "ClassIntakeLinesJSON": {
        "additionalProperties": false,
        "properties": {
          "optional": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "recommended": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "recommended",
          "optional"
        ],
        "type": "object"
      },
      "ClassIntakeProfileJSON": {
        "additionalProperties": false,
        "properties": {
          "class_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "covered": {
            "type": "boolean"
          },
          "document_asks": {
            "$ref": "#/components/schemas/ClassIntakeDocumentAsksJSON"
          },
          "gaps": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "hazards": {
            "items": {
              "$ref": "#/components/schemas/ClassIntakeHazardJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "recommended_lines": {
            "$ref": "#/components/schemas/ClassIntakeLinesJSON"
          },
          "sources": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "underwriter_asks": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "covered",
          "class_name",
          "underwriter_asks",
          "hazards",
          "recommended_lines",
          "document_asks",
          "gaps",
          "sources"
        ],
        "type": "object"
      },
      "ClassIntakeUnionJSON": {
        "additionalProperties": false,
        "properties": {
          "asks": {
            "items": {
              "$ref": "#/components/schemas/ClassIntakeAskJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "class_hazards": {
            "items": {
              "$ref": "#/components/schemas/ClassHazardSetJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "class_names": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "covered": {
            "type": "boolean"
          },
          "document_asks": {
            "$ref": "#/components/schemas/ClassIntakeDocumentAsksJSON"
          },
          "gaps": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "recommended_lines": {
            "$ref": "#/components/schemas/ClassIntakeLinesJSON"
          },
          "record_ids": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "sources": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "covered",
          "record_ids",
          "class_names",
          "asks",
          "recommended_lines",
          "document_asks",
          "gaps",
          "sources",
          "class_hazards"
        ],
        "type": "object"
      },
      "ClassKnowledgeCodeJSON": {
        "additionalProperties": false,
        "properties": {
          "classification": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "code_type": {
            "type": "string"
          },
          "naics_2022_classification": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "code_type",
          "code",
          "classification",
          "naics_2022_classification"
        ],
        "type": "object"
      },
      "ClassKnowledgeDetailJSON": {
        "additionalProperties": false,
        "properties": {
          "am_publish_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "associations": {
            "type": "string"
          },
          "checklist": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "codes": {
            "items": {
              "$ref": "#/components/schemas/ClassKnowledgeCodeJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "hazard_indexes": {
            "items": {
              "$ref": "#/components/schemas/ClassKnowledgeHazardJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "intake": {
            "$ref": "#/components/schemas/ClassProfilePayloadJSON"
          },
          "materials_equipment": {
            "type": "string"
          },
          "quality": {
            "$ref": "#/components/schemas/ClassKnowledgeQualityJSON"
          },
          "related_reports": {
            "items": {
              "$ref": "#/components/schemas/ClassKnowledgeRelatedJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "report_description": {
            "type": "string"
          },
          "resolution": {
            "$ref": "#/components/schemas/ClassKnowledgeResolutionJSON"
          },
          "risk_description": {
            "type": "string"
          },
          "source_report_id": {
            "type": "string"
          },
          "sources": {
            "items": {
              "$ref": "#/components/schemas/ClassKnowledgeSourceJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "report_description",
          "risk_description",
          "materials_equipment",
          "associations",
          "checklist",
          "hazard_indexes",
          "related_reports",
          "quality",
          "intake",
          "id",
          "source_report_id",
          "title",
          "codes",
          "am_publish_date",
          "sources"
        ],
        "type": "object"
      },
      "ClassKnowledgeExposureJSON": {
        "additionalProperties": false,
        "properties": {
          "detail": {
            "type": [
              "string",
              "null"
            ]
          },
          "line": {
            "type": "string"
          },
          "line_short_label": {
            "type": "string"
          },
          "score": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "line",
          "score",
          "detail"
        ],
        "type": "object"
      },
      "ClassKnowledgeHazardJSON": {
        "additionalProperties": false,
        "properties": {
          "comments": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "line_of_coverage": {
            "type": "string"
          },
          "score": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "line_of_coverage",
          "score",
          "description",
          "comments"
        ],
        "type": "object"
      },
      "ClassKnowledgeItemJSON": {
        "additionalProperties": false,
        "properties": {
          "am_publish_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "codes": {
            "items": {
              "$ref": "#/components/schemas/ClassKnowledgeCodeJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "resolution": {
            "$ref": "#/components/schemas/ClassKnowledgeResolutionJSON"
          },
          "source_report_id": {
            "type": "string"
          },
          "sources": {
            "items": {
              "$ref": "#/components/schemas/ClassKnowledgeSourceJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "source_report_id",
          "title",
          "codes",
          "am_publish_date",
          "sources"
        ],
        "type": "object"
      },
      "ClassKnowledgeNearestJSON": {
        "additionalProperties": false,
        "properties": {
          "naics_code": {
            "type": "string"
          },
          "nearest_classes": {
            "items": {
              "$ref": "#/components/schemas/Covered"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "ranked": {
            "type": "boolean"
          }
        },
        "required": [
          "naics_code",
          "nearest_classes",
          "ranked"
        ],
        "type": "object"
      },
      "ClassKnowledgeQualityBasis": {
        "additionalProperties": false,
        "properties": {
          "family": {
            "type": "string"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "family",
          "version"
        ],
        "type": "object"
      },
      "ClassKnowledgeQualityJSON": {
        "additionalProperties": false,
        "properties": {
          "as_of": {
            "type": [
              "string",
              "null"
            ]
          },
          "basis": {
            "$ref": "#/components/schemas/ClassKnowledgeQualityBasis"
          },
          "gaps": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "has_defect": {
            "type": "boolean"
          },
          "hazards": {
            "items": {
              "$ref": "#/components/schemas/ClassKnowledgeHazardJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "limited_record": {
            "type": "boolean"
          },
          "source_report_id": {
            "type": "string"
          },
          "top_exposures": {
            "items": {
              "$ref": "#/components/schemas/ClassKnowledgeExposureJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "underwriter_asks": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "underwriter_asks",
          "hazards",
          "gaps",
          "has_defect",
          "limited_record",
          "top_exposures",
          "source_report_id",
          "as_of",
          "basis"
        ],
        "type": "object"
      },
      "ClassKnowledgeRelatedJSON": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "title"
        ],
        "type": "object"
      },
      "ClassKnowledgeResolutionJSON": {
        "additionalProperties": false,
        "properties": {
          "basis": {
            "type": "string"
          },
          "class_name": {
            "type": "string"
          },
          "naics_code": {
            "type": "string"
          },
          "stand_in": {
            "type": "boolean"
          },
          "written_from": {
            "type": "string"
          }
        },
        "required": [
          "naics_code",
          "class_name",
          "stand_in",
          "basis"
        ],
        "type": "object"
      },
      "ClassKnowledgeRung": {
        "additionalProperties": false,
        "properties": {
          "classification": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "code_type": {
            "type": "string"
          },
          "exact": {
            "type": "boolean"
          },
          "level": {
            "type": "string"
          },
          "title_names_class": {
            "type": "boolean"
          }
        },
        "required": [
          "code_type",
          "code",
          "level",
          "exact",
          "title_names_class"
        ],
        "type": "object"
      },
      "ClassKnowledgeSourceJSON": {
        "additionalProperties": false,
        "properties": {
          "as_of": {
            "type": [
              "string",
              "null"
            ]
          },
          "kind": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "as_of",
          "label"
        ],
        "type": "object"
      },
      "ClassProfilePayloadJSON": {
        "additionalProperties": false,
        "properties": {
          "class_hazards": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ClassHazardSetJSON"
              },
              {
                "type": "null"
              }
            ]
          },
          "naics_code": {
            "type": "string"
          },
          "profile": {
            "$ref": "#/components/schemas/ClassIntakeProfileJSON"
          },
          "record_id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "naics_code",
          "record_id",
          "profile",
          "class_hazards"
        ],
        "type": "object"
      },
      "ClassQuery": {
        "additionalProperties": false,
        "properties": {
          "keywords": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "lob": {
            "type": "string"
          },
          "naics": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "state": {
            "type": "string"
          }
        },
        "required": [
          "naics",
          "keywords",
          "lob",
          "state"
        ],
        "type": "object"
      },
      "ClassRecord": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "description": "The 2022 NAICS code: two digits (or a range such as 31-33) for a sector, three to six for a subsector, industry group, industry or national industry.",
            "type": "string"
          },
          "id": {
            "description": "The 2022 NAICS code (the collection's key).",
            "type": "string"
          },
          "level": {
            "enum": [
              "sector",
              "subsector",
              "industry_group",
              "industry",
              "national_industry"
            ],
            "type": "string"
          },
          "match": {
            "$ref": "#/components/schemas/Match",
            "description": "Why the row answered q; absent without q."
          },
          "parent": {
            "description": "The code one level up; null for a sector.",
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "description": "The Census 2022 title.",
            "type": "string"
          }
        },
        "required": [
          "id",
          "code",
          "title",
          "level",
          "parent"
        ],
        "type": "object"
      },
      "ClassRegisterHitJSON": {
        "additionalProperties": false,
        "properties": {
          "also_named": {
            "description": "Other names the class answers to: its 2022 NAICS title when it differs, and the record's other classifications.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "as_of": {
            "description": "The record's publish date.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The class knowledge record the class is written from.",
            "type": "string"
          },
          "industry_group": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NAICSLevelJSON",
                "description": "The class's NAICS 2022 industry group; null when unpublished."
              },
              {
                "type": "null"
              }
            ]
          },
          "naics_code": {
            "type": "string"
          },
          "name": {
            "description": "What the playbook calls the class.",
            "type": "string"
          },
          "rank": {
            "description": "1-based position in the ranked answer.",
            "format": "int64",
            "type": "integer"
          },
          "reason": {
            "description": "Why the class came back.",
            "enum": [
              "exact-code",
              "code-prefix",
              "related-code",
              "name",
              "report",
              "related-name",
              "nearest",
              "sample"
            ],
            "type": "string"
          },
          "related_codes": {
            "description": "The record's other codes, each as \"NAICS 484110\" or \"SIC 4212\".",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "score": {
            "description": "The ranker's score; 0 for a browse or sample row.",
            "format": "double",
            "type": "number"
          },
          "search_codes": {
            "description": "Every code a code query matches the class by, NAICS and SIC.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "sector": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NAICSLevelJSON",
                "description": "The class's NAICS 2022 sector; null when Census publishes none for its prefix."
              },
              {
                "type": "null"
              }
            ]
          },
          "source_title": {
            "description": "The title of the record the class is written from.",
            "type": "string"
          },
          "subsector": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NAICSLevelJSON",
                "description": "The class's NAICS 2022 subsector; null when unpublished."
              },
              {
                "type": "null"
              }
            ]
          },
          "why": {
            "description": "The evidence in the producer's terms (\"Exact NAICS 484121\"); empty on a browse row.",
            "type": "string"
          }
        },
        "required": [
          "rank",
          "id",
          "naics_code",
          "name",
          "source_title",
          "as_of",
          "related_codes",
          "also_named",
          "search_codes",
          "score",
          "reason",
          "why",
          "sector",
          "subsector",
          "industry_group"
        ],
        "type": "object"
      },
      "ClassSearchJSON": {
        "additionalProperties": false,
        "properties": {
          "class_count": {
            "description": "Register rows (one per NAICS code a record represents).",
            "format": "int64",
            "type": "integer"
          },
          "hits": {
            "items": {
              "$ref": "#/components/schemas/ClassRegisterHitJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "nearest_covered_classes": {
            "description": "The covered classes nearest the query, never the query's own code, at most five: what a playbook page offers for a class with no record.",
            "items": {
              "$ref": "#/components/schemas/ClassCoveredJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "query": {
            "description": "The trimmed query the answer was ranked for.",
            "type": "string"
          },
          "status": {
            "description": "browse: no query, the whole register in name order. matched: real matches, best first. suggested: nothing matched, these are close. unmatched: nothing was close, one class per sector.",
            "enum": [
              "browse",
              "matched",
              "suggested",
              "unmatched"
            ],
            "type": "string"
          },
          "total": {
            "description": "The hits every filter keeps, the length of hits.",
            "format": "int64",
            "type": "integer"
          },
          "total_corpus": {
            "description": "Class knowledge records the register was built from.",
            "format": "int64",
            "type": "integer"
          },
          "view": {
            "$ref": "#/components/schemas/View",
            "description": "The register view: hide.sector with each sector's count among the hits industry_group keeps, its default and applied value, and how many hits it hides."
          }
        },
        "required": [
          "query",
          "status",
          "hits",
          "nearest_covered_classes",
          "total_corpus",
          "class_count",
          "total",
          "view"
        ],
        "type": "object"
      },
      "ClassTaxonomyJSON": {
        "additionalProperties": false,
        "properties": {
          "hierarchy": {
            "$ref": "#/components/schemas/ClassHierarchyJSON",
            "description": "The org's register folded into its sectors and industry groups, with counts."
          },
          "industry_groups": {
            "items": {
              "$ref": "#/components/schemas/NAICSTitleJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "retrieved": {
            "type": "string"
          },
          "reviewed_classes": {
            "description": "Published names for reviewed stand-ins and uncovered classes, including classes with no corpus row.",
            "items": {
              "$ref": "#/components/schemas/NAICSTitleJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "sectors": {
            "items": {
              "$ref": "#/components/schemas/NAICSSectorJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source": {
            "type": "string"
          },
          "subsectors": {
            "items": {
              "$ref": "#/components/schemas/NAICSTitleJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "vintage": {
            "description": "The NAICS revision the titles are published in.",
            "type": "string"
          }
        },
        "required": [
          "reviewed_classes",
          "vintage",
          "source",
          "retrieved",
          "sectors",
          "subsectors",
          "industry_groups",
          "hierarchy"
        ],
        "type": "object"
      },
      "ClientToolResult": {
        "additionalProperties": false,
        "properties": {
          "content": {},
          "is_error": {
            "type": "boolean"
          },
          "tool_call_id": {
            "type": "string"
          }
        },
        "required": [
          "tool_call_id",
          "content"
        ],
        "type": "object"
      },
      "Close": {
        "additionalProperties": false,
        "properties": {
          "attach": {
            "type": "string"
          },
          "href": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "label"
        ],
        "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"
      },
      "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"
      },
      "Commission": {
        "additionalProperties": false,
        "properties": {
          "groups": {
            "description": "Each line group of the market's rows in the state, in the screens' order: its cell and its new and renewal columns.",
            "items": {
              "$ref": "#/components/schemas/CommissionGroup"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "headline": {
            "$ref": "#/components/schemas/CommissionHeadline",
            "description": "What a one-figure slot (page header, drawer fact) states for the scope."
          },
          "line": {
            "description": "The line (a line code or label) the headline and statement are scoped to; null for every line.",
            "type": [
              "string",
              "null"
            ]
          },
          "lines": {
            "description": "Each line code in the state, its groups merged: the cell the Appetite & terms table states.",
            "items": {
              "$ref": "#/components/schemas/CommissionLine"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "promotions": {
            "description": "The carrier's commission promotions running today (the book's New York day), each with its days and the notice it was filed from. Context beside client fit: they never order or filter markets.",
            "items": {
              "$ref": "#/components/schemas/CommissionPromotion"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "state": {
            "description": "The state the figures are scoped to; null for every state.",
            "type": [
              "string",
              "null"
            ]
          },
          "statement": {
            "$ref": "#/components/schemas/CommissionStatement",
            "description": "The whole schedule for the scope, one answer per row."
          },
          "withheld": {
            "description": "True when this seat's role withholds carrier compensation: nothing else is served and the screens state no commission.",
            "type": "boolean"
          }
        },
        "required": [
          "withheld",
          "state",
          "line"
        ],
        "type": "object"
      },
      "CommissionAppliesToJSON": {
        "additionalProperties": false,
        "properties": {
          "states": {
            "type": "string"
          },
          "terms": {
            "type": "string"
          }
        },
        "required": [
          "terms",
          "states"
        ],
        "type": "object"
      },
      "CommissionGroup": {
        "additionalProperties": false,
        "properties": {
          "cell": {
            "description": "One figure, two that fit, or what the figure depends on; held for review or see terms.",
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "line_class": {
            "type": "string"
          },
          "line_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "new_cell": {
            "description": "The new-business column's cell.",
            "type": "string"
          },
          "rates": {
            "description": "Each distinct rate with what it applies to, for the hover under a cell that varies.",
            "items": {
              "$ref": "#/components/schemas/CommissionRateJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "renewal_cell": {
            "description": "The renewal column's cell.",
            "type": "string"
          }
        },
        "required": [
          "label",
          "line_code",
          "line_class",
          "cell",
          "new_cell",
          "renewal_cell",
          "rates"
        ],
        "type": "object"
      },
      "CommissionHeadline": {
        "additionalProperties": false,
        "properties": {
          "figure": {
            "description": "The one figure that applies to the named state and line, new and renewal (for example 8% new, 8% renewal): what a page header states. Null without both a state and a line, or when the rows price it more than one way (premium tiers, products).",
            "type": [
              "string",
              "null"
            ]
          },
          "text": {
            "description": "The one figure, a short named list, or what the figure depends on; null when the scope discloses nothing.",
            "type": [
              "string",
              "null"
            ]
          },
          "varies": {
            "description": "No short answer covers the scope and the State and Line filters can still narrow it.",
            "type": "boolean"
          }
        },
        "required": [
          "text",
          "varies",
          "figure"
        ],
        "type": "object"
      },
      "CommissionLine": {
        "additionalProperties": false,
        "properties": {
          "cell": {
            "type": "string"
          },
          "line_code": {
            "type": "string"
          },
          "rates": {
            "items": {
              "$ref": "#/components/schemas/CommissionRateJSON"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "line_code",
          "cell",
          "rates"
        ],
        "type": "object"
      },
      "CommissionPromotion": {
        "additionalProperties": false,
        "properties": {
          "business_basis": {
            "description": "new, renewal, or all for both.",
            "enum": [
              "new",
              "renewal",
              "all"
            ],
            "type": "string"
          },
          "ends_on": {
            "description": "The last day it pays, YYYY-MM-DD.",
            "type": "string"
          },
          "filed_at": {
            "description": "When it was filed, RFC 3339.",
            "type": "string"
          },
          "filed_by": {
            "description": "The name of the person who filed it.",
            "type": "string"
          },
          "line_code": {
            "description": "The line of business code the promotion pays on.",
            "type": "string"
          },
          "notice": {
            "$ref": "#/components/schemas/CommissionPromotionNotice",
            "description": "The carrier's notice it was filed from: open it through GET /records/market-appetite/rollups/evidence with the market and this id and version."
          },
          "notice_words": {
            "description": "The notice's own words for the promotion.",
            "type": "string"
          },
          "product": {
            "$ref": "#/components/schemas/Reference",
            "description": "The notice's own name for the line (product_source_text) and the org product it names in /records/products, or the reason it names none."
          },
          "rate": {
            "description": "The promotion's rate as the screens state it (\"20%\").",
            "type": "string"
          },
          "starts_on": {
            "description": "The first day it pays, YYYY-MM-DD.",
            "type": "string"
          }
        },
        "required": [
          "line_code",
          "product",
          "business_basis",
          "rate",
          "starts_on",
          "ends_on",
          "notice_words",
          "notice",
          "filed_by",
          "filed_at"
        ],
        "type": "object"
      },
      "CommissionPromotionNotice": {
        "additionalProperties": false,
        "properties": {
          "connection_id": {
            "type": "string"
          },
          "entity_key": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "version",
          "name",
          "connection_id",
          "entity_key"
        ],
        "type": "object"
      },
      "CommissionRateJSON": {
        "additionalProperties": false,
        "properties": {
          "applies_to": {
            "items": {
              "$ref": "#/components/schemas/CommissionAppliesToJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "fresh": {
            "type": "string"
          },
          "renewal": {
            "type": "string"
          }
        },
        "required": [
          "fresh",
          "renewal",
          "applies_to"
        ],
        "type": "object"
      },
      "CommissionRollup": {
        "additionalProperties": false,
        "properties": {
          "accounts": {
            "items": {
              "$ref": "#/components/schemas/CommissionRollupAccount"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "accounts"
        ],
        "type": "object"
      },
      "CommissionRollupAccount": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "description": "The account's instance key; null when the source names no resolvable customer.",
            "type": [
              "string",
              "null"
            ]
          },
          "commission_ttm": {
            "description": "Exact decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "transaction_count": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "account_id",
          "commission_ttm",
          "transaction_count"
        ],
        "type": "object"
      },
      "CommissionStatement": {
        "additionalProperties": false,
        "properties": {
          "by_line": {
            "items": {
              "$ref": "#/components/schemas/CommissionStatementLine"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "line_count": {
            "format": "int64",
            "type": "integer"
          },
          "text": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "text",
          "line_count",
          "by_line"
        ],
        "type": "object"
      },
      "CommissionStatementLine": {
        "additionalProperties": false,
        "properties": {
          "cell": {
            "type": "string"
          },
          "code": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "cell"
        ],
        "type": "object"
      },
      "CommissionTier": {
        "additionalProperties": false,
        "properties": {
          "band_max_cents": {
            "format": "int64",
            "type": "integer"
          },
          "band_min_cents": {
            "format": "int64",
            "type": "integer"
          },
          "basis": {
            "type": "string"
          },
          "group_key": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "ordinal": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "kind"
        ],
        "type": "object"
      },
      "ComparisonDestination": {
        "additionalProperties": false,
        "properties": {
          "effectiveDate": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "linesOfBusiness": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "open": {
            "type": "boolean"
          },
          "status": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "type",
          "status",
          "linesOfBusiness",
          "effectiveDate",
          "open"
        ],
        "type": "object"
      },
      "ComposedPlacementRequest": {
        "additionalProperties": false,
        "properties": {
          "overrides": {
            "items": {
              "$ref": "#/components/schemas/OverrideRequest"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "placement_ref": {
            "type": "string"
          }
        },
        "required": [
          "placement_ref"
        ],
        "type": "object"
      },
      "ComposedPlacementResponse": {
        "additionalProperties": false,
        "properties": {
          "assembly": {
            "$ref": "#/components/schemas/AssemblyBlock"
          },
          "axis_aggregation": {
            "additionalProperties": {
              "$ref": "#/components/schemas/AxisAggregation"
            },
            "type": "object"
          },
          "base_dimensions": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Dimension"
            },
            "type": "object"
          },
          "composition": {
            "items": {
              "$ref": "#/components/schemas/ComposedSeatResponse"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "dimensions": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Dimension"
            },
            "type": "object"
          },
          "placement_ref": {
            "type": "string"
          },
          "ranked": {
            "type": "boolean"
          },
          "ranked_placement": {
            "$ref": "#/components/schemas/RankedPlacement"
          },
          "run_id": {
            "type": "string"
          },
          "scored": {
            "type": "boolean"
          },
          "unscored_reason": {
            "type": "string"
          }
        },
        "required": [
          "run_id",
          "placement_ref",
          "composition",
          "ranked",
          "scored"
        ],
        "type": "object"
      },
      "ComposedSeatResponse": {
        "additionalProperties": false,
        "properties": {
          "line": {
            "type": "string"
          },
          "market_entity_key": {
            "type": "string"
          },
          "offering_id": {
            "type": "string"
          },
          "overridden": {
            "type": "boolean"
          },
          "provider_name": {
            "type": "string"
          },
          "requirement_id": {
            "type": "string"
          },
          "scope_id": {
            "type": "string"
          },
          "scorecard": {
            "$ref": "#/components/schemas/OfferingScore"
          },
          "seat_identity": {
            "$ref": "#/components/schemas/SeatIdentity"
          },
          "target_id": {
            "type": "string"
          }
        },
        "required": [
          "seat_identity",
          "requirement_id",
          "line",
          "offering_id",
          "provider_name",
          "overridden"
        ],
        "type": "object"
      },
      "CompositionChange": {
        "additionalProperties": false,
        "properties": {
          "addSections": {
            "items": {
              "type": "string"
            },
            "maxItems": 60,
            "type": [
              "array",
              "null"
            ]
          },
          "detail": {
            "items": {
              "$ref": "#/components/schemas/CompositionDetail"
            },
            "maxItems": 60,
            "type": [
              "array",
              "null"
            ]
          },
          "kind": {
            "enum": [
              "renewal",
              "newBusiness",
              "quoteOnly"
            ],
            "type": "string"
          },
          "moveSections": {
            "items": {
              "$ref": "#/components/schemas/CompositionMove"
            },
            "maxItems": 60,
            "type": [
              "array",
              "null"
            ]
          },
          "options": {
            "items": {
              "type": "string"
            },
            "maxItems": 20,
            "type": "array"
          },
          "preset": {
            "maxLength": 200,
            "type": "string"
          },
          "removeSections": {
            "items": {
              "type": "string"
            },
            "maxItems": 60,
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "CompositionDetail": {
        "additionalProperties": false,
        "properties": {
          "level": {
            "enum": [
              "detailed",
              "plain"
            ],
            "type": "string"
          },
          "section": {
            "maxLength": 200,
            "type": "string"
          }
        },
        "required": [
          "section",
          "level"
        ],
        "type": "object"
      },
      "CompositionMove": {
        "additionalProperties": false,
        "properties": {
          "after": {
            "maxLength": 200,
            "type": "string"
          },
          "section": {
            "maxLength": 200,
            "type": "string"
          }
        },
        "required": [
          "section",
          "after"
        ],
        "type": "object"
      },
      "ConfigSummary": {
        "additionalProperties": false,
        "properties": {
          "bucket_count": {
            "format": "int64",
            "type": "integer"
          },
          "default_bucket": {
            "type": "string"
          },
          "deterministic_check_count": {
            "format": "int64",
            "type": "integer"
          },
          "dimension_names": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "pack_key": {
            "type": "string"
          },
          "pack_version": {
            "format": "int64",
            "type": "integer"
          },
          "requirement_rule_count": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "dimension_names",
          "pack_key",
          "pack_version"
        ],
        "type": "object"
      },
      "ConfigUpdateRequest": {
        "additionalProperties": false,
        "properties": {
          "config": {}
        },
        "required": [
          "config"
        ],
        "type": "object"
      },
      "ConfirmationDecision": {
        "additionalProperties": false,
        "properties": {
          "approved": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "reason": {
            "type": "string"
          },
          "tool_call_id": {
            "type": "string"
          }
        },
        "required": [
          "tool_call_id",
          "approved"
        ],
        "type": "object"
      },
      "ConnectionFile": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "media_type": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "replicated_at": {
            "format": "date-time",
            "type": "string"
          },
          "sha256": {
            "type": "string"
          },
          "size_bytes": {
            "format": "int64",
            "type": "integer"
          },
          "source": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "source",
          "path",
          "sha256",
          "size_bytes",
          "media_type",
          "replicated_at"
        ],
        "type": "object"
      },
      "ConnectionFilesPage": {
        "additionalProperties": false,
        "properties": {
          "files": {
            "items": {
              "$ref": "#/components/schemas/ConnectionFile"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "next_since": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "files",
          "next_since"
        ],
        "type": "object"
      },
      "ConnectionTable": {
        "additionalProperties": false,
        "properties": {
          "columns": {
            "description": "Every column a read serves, with its field class.",
            "items": {
              "$ref": "#/components/schemas/ConnectionTableColumn"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "filter": {
            "description": "The match filter the table takes, named after its column (cocode, brokercode); empty when it takes none.",
            "type": "string"
          },
          "filter_required": {
            "description": "The table is read one filter value at a time.",
            "type": "boolean"
          },
          "object": {
            "description": "The source object the rows are read from.",
            "type": "string"
          },
          "owner": {
            "description": "The record a read narrows to: its id is the required filter (policy_id, account_id, claim_id). none: read whole.",
            "enum": [
              "none",
              "policy",
              "account",
              "claim"
            ],
            "type": "string"
          },
          "requirement": {
            "description": "The access row the table is read under: reference (the vocabulary dataset), accounting, policy, account, claim or org.",
            "type": "string"
          },
          "system": {
            "description": "The system of record the object belongs to.",
            "enum": [
              "ams360",
              "warehouse"
            ],
            "type": "string"
          },
          "table": {
            "description": "The table's name on GET /connections/{id}/tables/{table}.",
            "type": "string"
          }
        },
        "required": [
          "table",
          "object",
          "system",
          "owner",
          "requirement",
          "columns"
        ],
        "type": "object"
      },
      "ConnectionTableColumn": {
        "additionalProperties": false,
        "properties": {
          "class": {
            "description": "Its field class: business, identity, direct_identifier, ...",
            "type": "string"
          },
          "column": {
            "description": "The source column, as the system of record spells it.",
            "type": "string"
          },
          "feeds": {
            "description": "The collection fields that serve the column, as &lt;family&gt;.&lt;field&gt;; empty when it is estate_only. The reverse index of GET /records/map/{collection}'s fields.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "state": {
            "description": "The column's lifecycle state on this build: served or proven by a collection field, estate_only when only this route reads it. Empty for an object the AMS 360 lifecycle does not inventory (a curated warehouse table).",
            "enum": [
              "served",
              "proven",
              "estate_only"
            ],
            "type": "string"
          }
        },
        "required": [
          "column",
          "class",
          "feeds"
        ],
        "type": "object"
      },
      "Contact": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "description": "The account the contact belongs to, as an instance key.",
            "type": "string"
          },
          "address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "ams360_datasource": {
            "type": [
              "string",
              "null"
            ]
          },
          "business_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "business_phone_extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "changed_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "contact_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "contact_method": {
            "type": [
              "string",
              "null"
            ]
          },
          "contact_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "country": {
            "type": [
              "string",
              "null"
            ]
          },
          "county": {
            "type": [
              "string",
              "null"
            ]
          },
          "display_in_customer_center": {
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "type": [
              "string",
              "null"
            ]
          },
          "entered_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "fax_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "formal_salutation": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The contact's instance key, {instance}:customer_contacts:{contact id}.",
            "type": "string"
          },
          "informal_salutation": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_director": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_officer": {
            "type": [
              "string",
              "null"
            ]
          },
          "mobile_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "notes": {
            "type": [
              "string",
              "null"
            ]
          },
          "postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "residence_phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "responsibilities": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "sort_order": {
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "account_id",
          "contact_id",
          "ams360_datasource",
          "contact_name",
          "title",
          "is_officer",
          "is_director",
          "display_in_customer_center",
          "sort_order",
          "email",
          "business_phone",
          "business_phone_extension",
          "mobile_phone",
          "residence_phone",
          "fax_phone",
          "contact_method",
          "address_1",
          "address_2",
          "city",
          "county",
          "state",
          "postal_code",
          "country",
          "formal_salutation",
          "informal_salutation",
          "notes",
          "entered_date",
          "changed_date"
        ],
        "type": "object"
      },
      "ContentGrant": {
        "additionalProperties": false,
        "properties": {
          "contentType": {
            "type": "string"
          },
          "disposition": {
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "url",
          "expiresAt",
          "contentType",
          "disposition"
        ],
        "type": "object"
      },
      "ContentsBlock": {
        "additionalProperties": false,
        "properties": {
          "entries": {
            "items": {
              "$ref": "#/components/schemas/LayoutContentsItem"
            },
            "type": "array"
          },
          "kind": {
            "enum": [
              "contents"
            ],
            "type": "string"
          }
        },
        "required": [
          "kind",
          "entries"
        ],
        "type": "object"
      },
      "ContingencyCarrierPlan": {
        "additionalProperties": false,
        "properties": {
          "inbound_summary": {
            "$ref": "#/components/schemas/ContingencyFlowSummary"
          },
          "ladder": {
            "description": "[{tier, label, growth_pct, payout_pct, chance_base, chance_plan}]."
          },
          "outbound_summary": {
            "$ref": "#/components/schemas/ContingencyFlowSummary"
          },
          "outcome": {
            "$ref": "#/components/schemas/ContingencyOutcome"
          },
          "position": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ContingencyPosition",
                "description": "The published firm position; source names carrier_statement or book_proxy."
              },
              {
                "type": "null"
              }
            ]
          },
          "producers": {
            "items": {
              "$ref": "#/components/schemas/ContingencyProducerFlow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "program": {
            "$ref": "#/components/schemas/ContingencyProgram"
          },
          "projection": {
            "$ref": "#/components/schemas/ContingencyProjection"
          },
          "replay": {
            "$ref": "#/components/schemas/ContingencyReplay",
            "description": "2025 only."
          },
          "scenario": {
            "$ref": "#/components/schemas/ContingencyScenarioSelection",
            "description": "The scenario this read resolved and read, as /contingencies/status names it."
          }
        },
        "required": [
          "scenario",
          "position",
          "program",
          "projection",
          "outcome",
          "ladder",
          "inbound_summary",
          "outbound_summary",
          "producers",
          "replay"
        ],
        "type": "object"
      },
      "ContingencyEvent": {
        "additionalProperties": false,
        "properties": {
          "act_as_principal": {
            "type": [
              "string",
              "null"
            ]
          },
          "action": {
            "type": "string"
          },
          "actor_principal": {
            "type": "string"
          },
          "after": {},
          "at": {
            "format": "date-time",
            "type": "string"
          },
          "before": {},
          "entity": {
            "type": "string"
          },
          "entity_id": {
            "type": "string"
          },
          "event_id": {
            "type": "string"
          }
        },
        "required": [
          "event_id",
          "entity",
          "entity_id",
          "action",
          "actor_principal",
          "act_as_principal",
          "before",
          "after",
          "at"
        ],
        "type": "object"
      },
      "ContingencyFlow": {
        "additionalProperties": false,
        "properties": {
          "expected_policies": {
            "format": "double",
            "type": "number"
          },
          "expected_premium_cents": {
            "format": "int64",
            "type": "integer"
          },
          "from_market_entity_key": {
            "description": "The incumbent carrier; null for new business.",
            "type": [
              "string",
              "null"
            ]
          },
          "moves": {
            "format": "int64",
            "type": "integer"
          },
          "new_business": {
            "type": "boolean"
          },
          "proactive": {
            "description": "Moves shopped only for the plan, at team hours.",
            "format": "int64",
            "type": "integer"
          },
          "routed": {
            "description": "Moves already being shopped (rate increase or non-renewal): the plan steers where they go.",
            "format": "int64",
            "type": "integer"
          },
          "to_market_entity_key": {
            "type": "string"
          }
        },
        "required": [
          "from_market_entity_key",
          "new_business",
          "to_market_entity_key",
          "moves",
          "routed",
          "proactive",
          "expected_policies",
          "expected_premium_cents"
        ],
        "type": "object"
      },
      "ContingencyFlowSummary": {
        "additionalProperties": false,
        "properties": {
          "expected_policies": {
            "format": "double",
            "type": "number"
          },
          "expected_premium_cents": {
            "format": "int64",
            "type": "integer"
          },
          "moves": {
            "format": "int64",
            "type": "integer"
          },
          "routed": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "moves",
          "routed",
          "expected_policies",
          "expected_premium_cents"
        ],
        "type": "object"
      },
      "ContingencyFlows": {
        "additionalProperties": false,
        "properties": {
          "flows": {
            "description": "Every (from, to) carrier pair the scenario moves business between, largest expected premium first; unpaged (a few hundred pairs at most).",
            "items": {
              "$ref": "#/components/schemas/ContingencyFlow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "scenario": {
            "$ref": "#/components/schemas/ContingencyScenarioSelection",
            "description": "The scenario this read resolved and read, as /contingencies/status names it."
          },
          "scenario_key": {
            "type": "string"
          }
        },
        "required": [
          "scenario",
          "scenario_key",
          "flows"
        ],
        "type": "object"
      },
      "ContingencyGLControl": {
        "additionalProperties": false,
        "properties": {
          "contingent_income_cents": {
            "format": "int64",
            "type": "integer"
          },
          "months": {
            "format": "int64",
            "type": "integer"
          },
          "source": {
            "type": "string"
          },
          "year": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "year",
          "contingent_income_cents",
          "months",
          "source"
        ],
        "type": "object"
      },
      "ContingencyGap": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "count": {
            "format": "int64",
            "type": "integer"
          },
          "owner": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "count",
          "owner"
        ],
        "type": "object"
      },
      "ContingencyMapping": {
        "additionalProperties": false,
        "properties": {
          "basis": {
            "enum": [
              "pif",
              "premium",
              "loss_ratio_only",
              "retention_only",
              "new_business_count"
            ],
            "type": "string"
          },
          "confirmed_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "confirmed_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "created_by": {
            "type": "string"
          },
          "eligible_premium_rule": {
            "enum": [
              "program_premium",
              "all_lines_premium"
            ],
            "type": "string"
          },
          "growth_measure": {
            "enum": [
              "vs_prior_dec31",
              "level"
            ],
            "type": "string"
          },
          "line_scope": {
            "enum": [
              "personal",
              "commercial",
              "all"
            ],
            "type": "string"
          },
          "loss_ratio_gate_pct": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "market_entity_key": {
            "type": "string"
          },
          "measure": {},
          "paid_in": {
            "type": [
              "string",
              "null"
            ]
          },
          "plan_year": {
            "format": "int64",
            "type": "integer"
          },
          "premium_basis": {
            "type": [
              "string",
              "null"
            ]
          },
          "program_id": {
            "type": "string"
          },
          "retired_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "retired_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "retired_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "source": {},
          "status": {
            "enum": [
              "draft",
              "confirmed"
            ],
            "type": "string"
          },
          "term_refs": {},
          "tiers": {},
          "updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "version": {
            "description": "The record's version; send it as If-Match on a PATCH.",
            "type": "string"
          },
          "version_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "program_id",
          "market_entity_key",
          "line_scope",
          "plan_year",
          "basis",
          "premium_basis",
          "growth_measure",
          "tiers",
          "loss_ratio_gate_pct",
          "eligible_premium_rule",
          "paid_in",
          "measure",
          "term_refs",
          "source",
          "status",
          "confirmed_by",
          "confirmed_at",
          "version_number",
          "version",
          "created_by",
          "updated_by",
          "created_at",
          "updated_at",
          "retired_at",
          "retired_by",
          "retired_reason"
        ],
        "type": "object"
      },
      "ContingencyMove": {
        "additionalProperties": false,
        "properties": {
          "account_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "ams_instance": {
            "type": "string"
          },
          "client_manager_key": {
            "type": [
              "string",
              "null"
            ]
          },
          "client_saves_cents": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "commission_delta_cents": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "counted_share": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "coverage": {
            "type": [
              "string",
              "null"
            ]
          },
          "cust_id": {
            "type": "string"
          },
          "expected_policies": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "expected_premium_cents": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "from_market_entity_key": {
            "type": [
              "string",
              "null"
            ]
          },
          "hours": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "incumbent_premium_cents": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "line": {
            "type": [
              "string",
              "null"
            ]
          },
          "lob_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "market": {
            "type": [
              "string",
              "null"
            ]
          },
          "new_business": {
            "type": "boolean"
          },
          "office_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "option_premium_cents": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "platform": {
            "type": [
              "string",
              "null"
            ]
          },
          "pol_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "price_label": {
            "enum": [
              "priced_by_estimate",
              "priced_by_proxy"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "price_source": {
            "enum": [
              "estimate",
              "proxy"
            ],
            "type": "string"
          },
          "producer_key": {
            "type": [
              "string",
              "null"
            ]
          },
          "producer_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "renews": {
            "type": [
              "string",
              "null"
            ]
          },
          "routed": {
            "type": "boolean"
          },
          "row_key": {
            "type": "string"
          },
          "scenario_key": {
            "type": "string"
          },
          "shop_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          },
          "to_market_entity_key": {
            "type": "string"
          },
          "win_chance": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "win_chance_source": {
            "type": "string"
          }
        },
        "required": [
          "scenario_key",
          "row_key",
          "ams_instance",
          "cust_id",
          "pol_id",
          "lob_code",
          "line",
          "state",
          "account_name",
          "renews",
          "office_code",
          "market",
          "platform",
          "producer_key",
          "producer_name",
          "client_manager_key",
          "from_market_entity_key",
          "to_market_entity_key",
          "routed",
          "shop_reason",
          "hours",
          "incumbent_premium_cents",
          "option_premium_cents",
          "coverage",
          "price_source",
          "price_label",
          "win_chance",
          "win_chance_source",
          "expected_policies",
          "expected_premium_cents",
          "counted_share",
          "client_saves_cents",
          "commission_delta_cents",
          "new_business",
          "reason"
        ],
        "type": "object"
      },
      "ContingencyMoveList": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/ContingencyMove"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "scenario": {
            "$ref": "#/components/schemas/ContingencyScenarioSelection",
            "description": "The scenario this read resolved and read, as /contingencies/status names it."
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "scenario",
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ContingencyOutcome": {
        "additionalProperties": false,
        "properties": {
          "available": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "chance": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "chance_base": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "cross_year": {},
          "gap": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "gap_after": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "growth_base_pct": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "growth_planned_pct": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "inbound": {
            "format": "int64",
            "type": "integer"
          },
          "ladder": {
            "description": "[{tier, label, growth_pct, payout_pct, chance_base, chance_plan}], the tier ladder with the base and planned chance of reaching each rung."
          },
          "loss_ratio_at_risk": {
            "type": "boolean"
          },
          "new_business": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "next_tier": {
            "type": [
              "string",
              "null"
            ]
          },
          "outbound": {
            "format": "int64",
            "type": "integer"
          },
          "payout_base_cents": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "payout_max_cents": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "payout_planned_cents": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "payout_planned_p10_cents": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "payout_planned_p90_cents": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "per_renewal_cents": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "program_id": {
            "type": "string"
          },
          "rank": {
            "format": "int64",
            "type": "integer"
          },
          "renewals": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "scenario_key": {
            "type": "string"
          },
          "status": {
            "enum": [
              "climbs",
              "held",
              "top",
              "slipping",
              "short",
              "gated",
              "none"
            ],
            "type": "string"
          },
          "tier_base": {
            "type": [
              "string",
              "null"
            ]
          },
          "tier_planned": {
            "type": [
              "string",
              "null"
            ]
          },
          "tier_reported": {
            "type": [
              "string",
              "null"
            ]
          },
          "verdict": {
            "type": "string"
          },
          "why": {
            "type": [
              "string",
              "null"
            ]
          },
          "worth_cents": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "scenario_key",
          "program_id",
          "tier_reported",
          "tier_base",
          "tier_planned",
          "growth_base_pct",
          "growth_planned_pct",
          "payout_base_cents",
          "payout_planned_cents",
          "payout_max_cents",
          "payout_planned_p10_cents",
          "payout_planned_p90_cents",
          "gap_after",
          "chance",
          "chance_base",
          "status",
          "loss_ratio_at_risk",
          "next_tier",
          "gap",
          "worth_cents",
          "available",
          "renewals",
          "new_business",
          "per_renewal_cents",
          "verdict",
          "why",
          "rank",
          "inbound",
          "outbound",
          "cross_year",
          "ladder"
        ],
        "type": "object"
      },
      "ContingencyPaid": {
        "additionalProperties": false,
        "properties": {
          "collected_cents": {
            "format": "int64",
            "type": "integer"
          },
          "gl_control": {
            "$ref": "#/components/schemas/ContingencyGLControl"
          },
          "programs": {
            "items": {
              "$ref": "#/components/schemas/ContingencyPaidProgram"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "programs_collected": {
            "format": "int64",
            "type": "integer"
          },
          "programs_not_collected": {
            "format": "int64",
            "type": "integer"
          },
          "year": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "year",
          "collected_cents",
          "programs_collected",
          "programs_not_collected",
          "programs",
          "gl_control"
        ],
        "type": "object"
      },
      "ContingencyPaidProgram": {
        "additionalProperties": false,
        "properties": {
          "paid_cents": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "program_id": {
            "type": "string"
          },
          "source": {
            "enum": [
              "carrier_statement",
              "none"
            ],
            "type": "string"
          },
          "status": {
            "enum": [
              "collected",
              "not_collected"
            ],
            "type": "string"
          }
        },
        "required": [
          "program_id",
          "status",
          "paid_cents",
          "source"
        ],
        "type": "object"
      },
      "ContingencyPlan": {
        "additionalProperties": false,
        "properties": {
          "calibration": {
            "description": "2025 only."
          },
          "days_left": {
            "description": "Days from the run's data date to Dec 31 of the year; 0 for a closed year.",
            "format": "int64",
            "type": "integer"
          },
          "effort": {},
          "hours": {
            "format": "int64",
            "type": "integer"
          },
          "line": {
            "type": "string"
          },
          "outcomes": {
            "description": "Every program, in rank order.",
            "items": {
              "$ref": "#/components/schemas/ContingencyOutcome"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "paid": {
            "$ref": "#/components/schemas/ContingencyPaid",
            "description": "2025 only: per program, paid from the carrier's final settlement statements (status collected) or not_collected, and the GL contingent-income control total for the year (a firm total; the ledger carries no carrier)."
          },
          "scenario": {
            "$ref": "#/components/schemas/ContingencyScenarioSelection",
            "description": "The scenario this read resolved and read, as /contingencies/status names it."
          },
          "scenario_key": {
            "type": "string"
          },
          "totals": {},
          "year": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "scenario",
          "scenario_key",
          "year",
          "line",
          "hours",
          "totals",
          "effort",
          "calibration",
          "outcomes",
          "days_left",
          "paid"
        ],
        "type": "object"
      },
      "ContingencyPosition": {
        "additionalProperties": false,
        "properties": {
          "as_of_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "as_of_value": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "gate_distance": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "market": {
            "type": [
              "string",
              "null"
            ]
          },
          "office_code": {
            "description": "* is the firm row.",
            "type": "string"
          },
          "pace": {},
          "platform": {
            "type": [
              "string",
              "null"
            ]
          },
          "prior_close_value": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "prior_year_to_date_value": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "production_count_kind": {
            "type": [
              "string",
              "null"
            ]
          },
          "production_period": {
            "type": [
              "string",
              "null"
            ]
          },
          "production_value": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "program_id": {
            "type": "string"
          },
          "source": {
            "enum": [
              "book_proxy",
              "carrier_statement"
            ],
            "type": "string"
          },
          "statement_ref": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "enum": [
              "on_track",
              "at_risk",
              "lost",
              "not_measurable"
            ],
            "type": "string"
          },
          "status_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "unit": {
            "enum": [
              "policies",
              "premium_cents"
            ],
            "type": "string"
          }
        },
        "required": [
          "program_id",
          "office_code",
          "market",
          "platform",
          "unit",
          "prior_close_value",
          "as_of_value",
          "prior_year_to_date_value",
          "as_of_date",
          "source",
          "statement_ref",
          "production_value",
          "production_count_kind",
          "production_period",
          "pace",
          "gate_distance",
          "status",
          "status_reason"
        ],
        "type": "object"
      },
      "ContingencyProducerFlow": {
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "producer_key": {
            "type": [
              "string",
              "null"
            ]
          },
          "shop": {
            "description": "Proactive moves the producer shops.",
            "format": "int64",
            "type": "integer"
          },
          "steer": {
            "description": "Routed moves the producer steers.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "producer_key",
          "name",
          "steer",
          "shop"
        ],
        "type": "object"
      },
      "ContingencyProgram": {
        "additionalProperties": false,
        "properties": {
          "basis": {
            "type": [
              "string",
              "null"
            ]
          },
          "carrier_name": {
            "type": "string"
          },
          "documents": {
            "description": "[{blob_ref, sharepoint_path, agreement_entity_key, gate_status}]."
          },
          "gaps": {
            "description": "Closed gap codes (C11).",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "line_scope": {
            "enum": [
              "personal",
              "commercial",
              "all"
            ],
            "type": "string"
          },
          "loss_ratio_gate_pct": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "mapping_status": {
            "enum": [
              "unmapped",
              "draft",
              "confirmed"
            ],
            "type": "string"
          },
          "mapping_version": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "market_entity_key": {
            "type": "string"
          },
          "measurable": {
            "enum": [
              "yes",
              "proxy",
              "no"
            ],
            "type": "string"
          },
          "newest_plan_year": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "overrides": {
            "description": "The effective overrides with source and version."
          },
          "paid_in": {
            "type": [
              "string",
              "null"
            ]
          },
          "plan_year": {
            "format": "int64",
            "type": "integer"
          },
          "premium_basis": {
            "type": [
              "string",
              "null"
            ]
          },
          "program_id": {
            "type": "string"
          },
          "sensitivity": {
            "enum": [
              "count_gated",
              "premium_gated",
              "none"
            ],
            "type": "string"
          },
          "stale_plan": {
            "type": "boolean"
          },
          "statement": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ContingencyStatementFigure",
                "description": "The carrier's own figure from its current, gate-passed statements, for display whether or not the program is mapped; null when no statement is in the program's scope. It never feeds a position, projection or plan."
              },
              {
                "type": "null"
              }
            ]
          },
          "tiers": {
            "description": "Ordered [{label, growth_pct, payout_pct}]."
          }
        },
        "required": [
          "program_id",
          "market_entity_key",
          "carrier_name",
          "line_scope",
          "plan_year",
          "newest_plan_year",
          "stale_plan",
          "sensitivity",
          "basis",
          "premium_basis",
          "tiers",
          "loss_ratio_gate_pct",
          "paid_in",
          "documents",
          "mapping_status",
          "mapping_version",
          "overrides",
          "measurable",
          "gaps",
          "statement"
        ],
        "type": "object"
      },
      "ContingencyProgramDetail": {
        "additionalProperties": false,
        "properties": {
          "cited_terms": {
            "description": "The extracted terms and agreements the mapping's tiers were read from."
          },
          "documents": {},
          "events": {
            "description": "The most recent writes to the mapping, newest first.",
            "items": {
              "$ref": "#/components/schemas/ContingencyEvent"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "mapping": {
            "$ref": "#/components/schemas/ContingencyMapping",
            "description": "The typed mapping with its version; null for an unmapped program."
          },
          "program": {
            "$ref": "#/components/schemas/ContingencyProgram"
          }
        },
        "required": [
          "program",
          "mapping",
          "documents",
          "cited_terms",
          "events"
        ],
        "type": "object"
      },
      "ContingencyProgramList": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/ContingencyProgramListRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "view": {
            "$ref": "#/components/schemas/View",
            "description": "The register view filters this read applied, each option's count and how many programs they hide. Present on a read with no cursor."
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "year": {
            "description": "The plan year this read kept, as year resolved; absent when it kept every year.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ContingencyProgramListRow": {
        "additionalProperties": false,
        "properties": {
          "basis": {
            "type": [
              "string",
              "null"
            ]
          },
          "carrier_name": {
            "type": "string"
          },
          "documents": {
            "description": "[{blob_ref, sharepoint_path, agreement_entity_key, gate_status}]."
          },
          "firm_position": {
            "$ref": "#/components/schemas/ContingencyPosition"
          },
          "gaps": {
            "description": "Closed gap codes (C11).",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "line_scope": {
            "enum": [
              "personal",
              "commercial",
              "all"
            ],
            "type": "string"
          },
          "loss_ratio_gate_pct": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "mapping_status": {
            "enum": [
              "unmapped",
              "draft",
              "confirmed"
            ],
            "type": "string"
          },
          "mapping_version": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "market_entity_key": {
            "type": "string"
          },
          "measurable": {
            "enum": [
              "yes",
              "proxy",
              "no"
            ],
            "type": "string"
          },
          "newest_plan_year": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "overrides": {
            "description": "The effective overrides with source and version."
          },
          "paid_in": {
            "type": [
              "string",
              "null"
            ]
          },
          "payout_base_cents": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "payout_conditional": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "plan_year": {
            "format": "int64",
            "type": "integer"
          },
          "premium_basis": {
            "type": [
              "string",
              "null"
            ]
          },
          "program_id": {
            "type": "string"
          },
          "sensitivity": {
            "enum": [
              "count_gated",
              "premium_gated",
              "none"
            ],
            "type": "string"
          },
          "stale_plan": {
            "type": "boolean"
          },
          "statement": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ContingencyStatementFigure",
                "description": "The carrier's own figure from its current, gate-passed statements, for display whether or not the program is mapped; null when no statement is in the program's scope. It never feeds a position, projection or plan."
              },
              {
                "type": "null"
              }
            ]
          },
          "tier_base": {
            "type": [
              "string",
              "null"
            ]
          },
          "tiers": {
            "description": "Ordered [{label, growth_pct, payout_pct}]."
          }
        },
        "required": [
          "firm_position",
          "tier_base",
          "payout_base_cents",
          "payout_conditional",
          "program_id",
          "market_entity_key",
          "carrier_name",
          "line_scope",
          "plan_year",
          "newest_plan_year",
          "stale_plan",
          "sensitivity",
          "basis",
          "premium_basis",
          "tiers",
          "loss_ratio_gate_pct",
          "paid_in",
          "documents",
          "mapping_status",
          "mapping_version",
          "overrides",
          "measurable",
          "gaps",
          "statement"
        ],
        "type": "object"
      },
      "ContingencyProjection": {
        "additionalProperties": false,
        "properties": {
          "eligible_premium_cents": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "growth_base_pct": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "growth_reported_pct": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "loss_ratio_pct": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "loss_ratio_source": {
            "enum": [
              "carrier_statement",
              "none"
            ],
            "type": "string"
          },
          "payout_base_cents": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "payout_conditional": {
            "type": "boolean"
          },
          "payout_max_cents": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "program_id": {
            "type": "string"
          },
          "projected_mean": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "projected_sd": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "stage": {
            "enum": [
              "closed",
              "current",
              "next"
            ],
            "type": "string"
          },
          "start_source": {
            "type": [
              "string",
              "null"
            ]
          },
          "start_value": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "terms_assumed": {
            "type": "boolean"
          },
          "tier_base": {
            "type": [
              "string",
              "null"
            ]
          },
          "tier_reported": {
            "type": [
              "string",
              "null"
            ]
          },
          "year": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "year",
          "program_id",
          "stage",
          "start_value",
          "start_source",
          "projected_mean",
          "projected_sd",
          "tier_reported",
          "tier_base",
          "growth_reported_pct",
          "growth_base_pct",
          "eligible_premium_cents",
          "payout_base_cents",
          "payout_max_cents",
          "loss_ratio_pct",
          "loss_ratio_source",
          "payout_conditional",
          "terms_assumed"
        ],
        "type": "object"
      },
      "ContingencyReplay": {
        "additionalProperties": false,
        "properties": {
          "actual": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "actual_source": {
            "type": [
              "string",
              "null"
            ]
          },
          "counterfactual_mean_cents": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "error": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "error_pct": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "error_pts": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "expected_base_cents": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "expected_planned_cents": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "in_band": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "inbound": {
            "format": "int64",
            "type": "integer"
          },
          "left_on_table_cents": {
            "description": "null without a carrier statement.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "outbound": {
            "format": "int64",
            "type": "integer"
          },
          "paid_cents": {
            "description": "null means not collected.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "planned_range_cents": {
            "items": {
              "format": "int64",
              "type": "integer"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "program_id": {
            "type": "string"
          },
          "projected": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "projected_sd": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "tier_actual": {
            "type": [
              "string",
              "null"
            ]
          },
          "tier_planned": {
            "type": [
              "string",
              "null"
            ]
          },
          "tier_projected": {
            "type": [
              "string",
              "null"
            ]
          },
          "z": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "program_id",
          "projected",
          "projected_sd",
          "actual",
          "actual_source",
          "error",
          "error_pct",
          "error_pts",
          "z",
          "in_band",
          "tier_projected",
          "tier_planned",
          "tier_actual",
          "expected_base_cents",
          "expected_planned_cents",
          "planned_range_cents",
          "paid_cents",
          "counterfactual_mean_cents",
          "left_on_table_cents",
          "inbound",
          "outbound"
        ],
        "type": "object"
      },
      "ContingencyRollupList": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/ContingencyRollupRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "scenario": {
            "$ref": "#/components/schemas/ContingencyScenarioSelection",
            "description": "The scenario this read resolved and read, as /contingencies/status names it."
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "scenario",
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ContingencyRollupRow": {
        "additionalProperties": false,
        "properties": {
          "carriers_to": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "expected_premium_cents": {
            "format": "int64",
            "type": "integer"
          },
          "hours": {
            "format": "double",
            "type": "number"
          },
          "key": {
            "type": "string"
          },
          "leader_name": {
            "description": "null until the leader map is served.",
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "shop": {
            "description": "Proactive moves (not routed): shopped only for the plan, at team hours.",
            "format": "int64",
            "type": "integer"
          },
          "steer": {
            "description": "Routed moves (rate increase or non-renewal): the plan only steers where they go (spec section 6).",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "key",
          "name",
          "leader_name",
          "steer",
          "shop",
          "hours",
          "expected_premium_cents",
          "carriers_to"
        ],
        "type": "object"
      },
      "ContingencyScenarioBudget": {
        "additionalProperties": false,
        "properties": {
          "hours": {
            "format": "int64",
            "type": "integer"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "hours",
          "name"
        ],
        "type": "object"
      },
      "ContingencyScenarioGrid": {
        "additionalProperties": false,
        "properties": {
          "current_year": {
            "format": "int64",
            "type": "integer"
          },
          "lines": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "years": {
            "items": {
              "$ref": "#/components/schemas/ContingencyScenarioYear"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "current_year",
          "lines",
          "years"
        ],
        "type": "object"
      },
      "ContingencyScenarioSelection": {
        "additionalProperties": false,
        "properties": {
          "hours": {
            "format": "int64",
            "type": "integer"
          },
          "line": {
            "enum": [
              "all",
              "personal",
              "commercial"
            ],
            "type": "string"
          },
          "shop_name": {
            "type": "string"
          },
          "stage": {
            "enum": [
              "closed",
              "current",
              "next"
            ],
            "type": "string"
          },
          "year": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "year",
          "line",
          "hours",
          "stage",
          "shop_name"
        ],
        "type": "object"
      },
      "ContingencyScenarioYear": {
        "additionalProperties": false,
        "properties": {
          "budgets": {
            "items": {
              "$ref": "#/components/schemas/ContingencyScenarioBudget"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "default_hours": {
            "format": "int64",
            "type": "integer"
          },
          "stage": {
            "enum": [
              "closed",
              "current",
              "next"
            ],
            "type": "string"
          },
          "year": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "year",
          "stage",
          "default_hours",
          "budgets"
        ],
        "type": "object"
      },
      "ContingencyStatementFigure": {
        "additionalProperties": false,
        "properties": {
          "as_of": {
            "description": "The newest chosen statement date.",
            "type": "string"
          },
          "count_kind": {
            "description": "What a pif figure counts; null on a premium figure.",
            "type": [
              "string",
              "null"
            ]
          },
          "measure": {
            "description": "The statement measure the figure is on: the first of the mapping's measure, written premium, earned premium and a policy count that every agency in scope states, else the one most agencies state (see statements_counted). Null when no statement states a figure.",
            "enum": [
              "written_premium",
              "earned_premium",
              "pif"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "period": {
            "description": "YYYY-MM-DD..YYYY-MM-DD; null when an end is not stated.",
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "description": "Why the figure has no value: no_stated_figure when the statements in scope state no figure on any measure. Null when there is a value.",
            "enum": [
              "no_stated_figure"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "statement_ref": {
            "description": "The chosen statement keys joined with a comma.",
            "type": "string"
          },
          "statements_counted": {
            "description": "The agency statements summed on the measure.",
            "format": "int64",
            "type": "integer"
          },
          "statements_in_scope": {
            "description": "The agency statements that state a figure on any measure; equal to statements_counted when every agency states the measure.",
            "format": "int64",
            "type": "integer"
          },
          "unit": {
            "enum": [
              "premium_cents",
              "policies"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "value": {
            "description": "The chosen statements (latest per agency code) summed; null with reason no_stated_figure.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "measure",
          "unit",
          "value",
          "count_kind",
          "period",
          "as_of",
          "statement_ref",
          "reason",
          "statements_counted",
          "statements_in_scope"
        ],
        "type": "object"
      },
      "ContingencyStatus": {
        "additionalProperties": false,
        "properties": {
          "as_of_date": {
            "description": "The book's data date the run was computed at.",
            "type": "string"
          },
          "book_created_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "flipped_at": {
            "description": "When the run was published.",
            "format": "date-time",
            "type": "string"
          },
          "gaps": {
            "items": {
              "$ref": "#/components/schemas/ContingencyGap"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "next_run_after": {
            "description": "Earliest eligible run under the scheduler cadence and pending changes, not a promised start; null when unarmed, paused or a slice is active.",
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "proxy_counts": {
            "description": "How many figures stand on a proxy (price, win chance, start value), by kind."
          },
          "run_id": {
            "type": "string"
          },
          "scenario": {
            "$ref": "#/components/schemas/ContingencyScenarioSelection",
            "description": "The requested selection normalized by the API; unknown or absent URL values use the planner defaults."
          },
          "scenarios": {
            "$ref": "#/components/schemas/ContingencyScenarioGrid",
            "description": "The supported planner years, stages and hour budgets; stages are relative to the planner program year, not the wall clock."
          },
          "stale": {
            "description": "true when the run is more than 36 hours old.",
            "type": "boolean"
          }
        },
        "required": [
          "scenarios",
          "scenario",
          "run_id",
          "as_of_date",
          "flipped_at",
          "book_created_at",
          "stale",
          "next_run_after",
          "gaps",
          "proxy_counts"
        ],
        "type": "object"
      },
      "Conversation": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "end_user": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "instance_id": {
            "type": "string"
          },
          "scope": {},
          "status": {
            "type": "string"
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "instance_id",
          "end_user",
          "title",
          "status",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "ConversationAnnotation": {
        "additionalProperties": false,
        "properties": {
          "comment": {
            "type": "string"
          },
          "conversation_id": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "end_user": {
            "type": "string"
          },
          "feedback_key": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "instance_id": {
            "type": "string"
          },
          "rating": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "submitter_id": {
            "type": "string"
          },
          "submitter_user_id": {
            "type": "string"
          },
          "target": {},
          "triage": {},
          "turn_id": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "conversation_id",
          "instance_id",
          "turn_id",
          "rating",
          "source",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "ConversationAnnotationList": {
        "additionalProperties": false,
        "properties": {
          "annotations": {
            "items": {
              "$ref": "#/components/schemas/ConversationAnnotation"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "truncated": {
            "type": "boolean"
          }
        },
        "required": [
          "annotations",
          "truncated"
        ],
        "type": "object"
      },
      "ConversationAttachment": {
        "additionalProperties": false,
        "properties": {
          "container_kind": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "delivery": {
            "type": "string"
          },
          "error": {
            "type": "string"
          },
          "expires_at": {
            "type": "string"
          },
          "filename": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "media_type": {
            "type": "string"
          },
          "notice": {
            "type": "string"
          },
          "parent_attachment_id": {
            "type": "string"
          },
          "size_bytes": {
            "format": "int64",
            "type": "integer"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "filename",
          "media_type",
          "size_bytes",
          "status",
          "delivery",
          "created_at"
        ],
        "type": "object"
      },
      "ConversationAttachmentEnvelope": {
        "additionalProperties": false,
        "properties": {
          "attachment": {
            "$ref": "#/components/schemas/ConversationAttachment"
          }
        },
        "required": [
          "attachment"
        ],
        "type": "object"
      },
      "ConversationAttachmentList": {
        "additionalProperties": false,
        "properties": {
          "attachments": {
            "items": {
              "$ref": "#/components/schemas/ConversationAttachment"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "has_more": {
            "type": "boolean"
          },
          "next_offset": {
            "description": "The offset of the next page.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "attachments",
          "has_more",
          "next_offset"
        ],
        "type": "object"
      },
      "ConversationAttachmentPageJSON": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "description": "born_digital or scan: a scanned page has no text to deliver.",
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "page": {
            "format": "int64",
            "type": "integer"
          },
          "readable": {
            "type": "boolean"
          },
          "text": {
            "description": "The page's text; empty when the page has none to deliver.",
            "type": "string"
          },
          "token_estimate": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "page",
          "label",
          "readable",
          "text",
          "token_estimate"
        ],
        "type": "object"
      },
      "ConversationAttachmentPagesData": {
        "additionalProperties": false,
        "properties": {
          "derivation": {
            "type": "string"
          },
          "document_id": {
            "type": "string"
          },
          "filename": {
            "type": "string"
          },
          "page_count": {
            "format": "int64",
            "type": "integer"
          },
          "pages": {
            "items": {
              "$ref": "#/components/schemas/ConversationAttachmentPageJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "description": "The document layer's status: pages are served only when ready or partial.",
            "type": "string"
          }
        },
        "required": [
          "document_id",
          "filename",
          "status",
          "page_count",
          "derivation",
          "pages"
        ],
        "type": "object"
      },
      "ConversationAttachmentPagesJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ConversationAttachmentPagesData"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "ConversationAttempt": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "actor_class": {
            "description": "internal for Nexio seats and for an attempt made on a seat's behalf.",
            "enum": [
              "customer",
              "internal"
            ],
            "type": "string"
          },
          "attempt_key": {
            "description": "The attempt's id: its source and the rules' split key.",
            "type": "string"
          },
          "conversation_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "derived_at": {
            "format": "date-time",
            "type": "string"
          },
          "effort": {
            "$ref": "#/components/schemas/ConversationAttemptEffort"
          },
          "ended_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "environment": {
            "type": "string"
          },
          "excluded_reason": {
            "description": "Why the attempt is left out of every count (impersonated, internal, not_a_person, archived, or a rules reason); null when counted.",
            "type": [
              "string",
              "null"
            ]
          },
          "first_turn_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "impersonated": {
            "description": "Someone took a turn of the attempt on the person's behalf.",
            "type": "boolean"
          },
          "instance_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "intent": {
            "description": "What the person set out to do.",
            "type": "string"
          },
          "intent_rule": {
            "description": "The rule that named the intent.",
            "type": "string"
          },
          "last_step": {
            "type": "string"
          },
          "last_turn_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "outcome": {
            "description": "open until the idle window passes.",
            "enum": [
              "open",
              "done",
              "partial",
              "abandoned",
              "failed"
            ],
            "type": "string"
          },
          "outcome_evidence": {
            "description": "The records that show the outcome.",
            "items": {
              "$ref": "#/components/schemas/ConversationAttemptEvidence"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "principal_id": {
            "description": "The person the attempt belongs to.",
            "type": "string"
          },
          "rules_version": {
            "type": "string"
          },
          "source": {
            "description": "Where the attempt happened.",
            "enum": [
              "assistant",
              "page"
            ],
            "type": "string"
          },
          "source_ref": {
            "description": "The record the attempt was derived from, conversation/&lt;id&gt;.",
            "type": "string"
          },
          "started_at": {
            "format": "date-time",
            "type": "string"
          },
          "steps": {
            "description": "The attempt's steps in order.",
            "items": {
              "$ref": "#/components/schemas/ConversationAttemptStep"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "attempt_key",
          "environment",
          "source",
          "source_ref",
          "instance_id",
          "conversation_id",
          "first_turn_id",
          "last_turn_id",
          "principal_id",
          "actor_class",
          "impersonated",
          "excluded_reason",
          "account_id",
          "intent",
          "intent_rule",
          "effort",
          "steps",
          "last_step",
          "outcome",
          "outcome_evidence",
          "rules_version",
          "started_at",
          "ended_at",
          "derived_at"
        ],
        "type": "object"
      },
      "ConversationAttemptEffort": {
        "additionalProperties": false,
        "properties": {
          "elapsed_seconds": {
            "description": "Seconds from the attempt's start to its last activity.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "rephrasings": {
            "description": "Asks the person reworded for the same thing.",
            "format": "int64",
            "type": "integer"
          },
          "retries": {
            "description": "Turns retried after a failure.",
            "format": "int64",
            "type": "integer"
          },
          "tool_calls": {
            "description": "Tool calls the Assistant made.",
            "format": "int64",
            "type": "integer"
          },
          "tool_failures": {
            "description": "Tool calls that failed or were refused as invalid.",
            "format": "int64",
            "type": "integer"
          },
          "turns": {
            "description": "Producer turns the attempt took, a retry counted once.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "turns",
          "retries",
          "rephrasings",
          "tool_calls",
          "tool_failures",
          "elapsed_seconds"
        ],
        "type": "object"
      },
      "ConversationAttemptEvidence": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "type": "string"
          },
          "ref": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "ref"
        ],
        "type": "object"
      },
      "ConversationAttemptList": {
        "additionalProperties": false,
        "properties": {
          "attempts": {
            "items": {
              "$ref": "#/components/schemas/ConversationAttempt"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "pagination": {
            "$ref": "#/components/schemas/ConversationPagination"
          }
        },
        "required": [
          "attempts",
          "pagination"
        ],
        "type": "object"
      },
      "ConversationAttemptStep": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "format": "date-time",
            "type": "string"
          },
          "ref": {
            "type": "string"
          },
          "step": {
            "type": "string"
          }
        },
        "required": [
          "step",
          "at"
        ],
        "type": "object"
      },
      "ConversationAttemptSummary": {
        "additionalProperties": false,
        "properties": {
          "environment": {
            "description": "Always live: the summary counts live attempts only.",
            "type": "string"
          },
          "intents": {
            "description": "One row per intent across the window; week is empty.",
            "items": {
              "$ref": "#/components/schemas/ConversationAttemptSummaryRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "rows": {
            "description": "One row per ISO week and intent, oldest first.",
            "items": {
              "$ref": "#/components/schemas/ConversationAttemptSummaryRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "since": {
            "format": "date-time",
            "type": "string"
          },
          "totals": {
            "$ref": "#/components/schemas/ConversationAttemptSummaryTotals"
          },
          "until": {
            "format": "date-time",
            "type": "string"
          },
          "weeks": {
            "description": "One row per ISO week across intents, oldest first; intent is empty.",
            "items": {
              "$ref": "#/components/schemas/ConversationAttemptSummaryRow"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "since",
          "until",
          "environment",
          "rows",
          "weeks",
          "intents",
          "totals"
        ],
        "type": "object"
      },
      "ConversationAttemptSummaryRow": {
        "additionalProperties": false,
        "properties": {
          "abandoned": {
            "format": "int64",
            "type": "integer"
          },
          "attempts": {
            "description": "Counted attempts: live, with no excluded reason.",
            "format": "int64",
            "type": "integer"
          },
          "done": {
            "format": "int64",
            "type": "integer"
          },
          "excluded": {
            "additionalProperties": {
              "format": "int64",
              "type": "integer"
            },
            "description": "Live attempts left out of the counts, by reason.",
            "type": "object"
          },
          "failed": {
            "format": "int64",
            "type": "integer"
          },
          "intent": {
            "type": "string"
          },
          "median_minutes_per_done": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "median_turns_per_done": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "open": {
            "description": "Attempts still inside their idle window, left out of the success rate.",
            "format": "int64",
            "type": "integer"
          },
          "partial": {
            "format": "int64",
            "type": "integer"
          },
          "retries_per_done": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "step_losses": {
            "additionalProperties": {
              "format": "int64",
              "type": "integer"
            },
            "description": "Attempts that did not end done, by their last step.",
            "type": "object"
          },
          "success_rate": {
            "description": "done over the closed attempts; null when none closed.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "week": {
            "description": "The ISO week's Monday, YYYY-MM-DD, UTC; empty on an intent row.",
            "type": "string"
          }
        },
        "required": [
          "week",
          "intent",
          "attempts",
          "done",
          "partial",
          "abandoned",
          "failed",
          "open",
          "success_rate",
          "median_turns_per_done",
          "median_minutes_per_done",
          "retries_per_done",
          "step_losses",
          "excluded"
        ],
        "type": "object"
      },
      "ConversationAttemptSummaryTotals": {
        "additionalProperties": false,
        "properties": {
          "abandoned": {
            "format": "int64",
            "type": "integer"
          },
          "attempts": {
            "format": "int64",
            "type": "integer"
          },
          "done": {
            "format": "int64",
            "type": "integer"
          },
          "excluded": {
            "additionalProperties": {
              "format": "int64",
              "type": "integer"
            },
            "description": "Live attempts left out of the counts, by reason.",
            "type": "object"
          },
          "failed": {
            "format": "int64",
            "type": "integer"
          },
          "open": {
            "format": "int64",
            "type": "integer"
          },
          "partial": {
            "format": "int64",
            "type": "integer"
          },
          "success_rate": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "attempts",
          "done",
          "partial",
          "abandoned",
          "failed",
          "open",
          "success_rate",
          "excluded"
        ],
        "type": "object"
      },
      "ConversationBranchPoint": {
        "additionalProperties": false,
        "properties": {
          "count": {
            "format": "int64",
            "type": "integer"
          },
          "index": {
            "format": "int64",
            "type": "integer"
          },
          "siblings": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "index",
          "count",
          "siblings"
        ],
        "type": "object"
      },
      "ConversationDetail": {
        "additionalProperties": false,
        "properties": {
          "conversation": {
            "$ref": "#/components/schemas/Conversation"
          },
          "messages": {
            "items": {
              "$ref": "#/components/schemas/ConversationMessage"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "truncated": {
            "type": "boolean"
          },
          "turn": {
            "$ref": "#/components/schemas/ConversationTurn",
            "description": "Present when the platform serves turn control: the latest turn on the served version, or null."
          },
          "turns": {
            "description": "Present with turn: the served version's turns that did not end normally, oldest first.",
            "items": {
              "$ref": "#/components/schemas/EndedTurn"
            },
            "type": "array"
          }
        },
        "required": [
          "conversation",
          "messages",
          "truncated"
        ],
        "type": "object"
      },
      "ConversationEvalResult": {
        "additionalProperties": false,
        "properties": {
          "passed": {
            "type": "boolean"
          },
          "scenario_id": {
            "type": "string"
          },
          "scenario_name": {
            "type": "string"
          },
          "scores": {}
        },
        "required": [
          "scenario_id",
          "scenario_name",
          "passed",
          "scores"
        ],
        "type": "object"
      },
      "ConversationEvalRun": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "error": {
            "type": "string"
          },
          "fail_count": {
            "format": "int64",
            "type": "integer"
          },
          "id": {
            "type": "string"
          },
          "pass_count": {
            "format": "int64",
            "type": "integer"
          },
          "skipped": {
            "items": {
              "$ref": "#/components/schemas/ConversationEvalSkippedCase"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "type": "string"
          },
          "suite": {
            "type": "string"
          },
          "triggered_by": {
            "type": "string"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "suite",
          "status",
          "triggered_by",
          "pass_count",
          "fail_count",
          "created_at"
        ],
        "type": "object"
      },
      "ConversationEvalRunDetail": {
        "additionalProperties": false,
        "properties": {
          "replay": {
            "$ref": "#/components/schemas/EvalReplayReceipt"
          },
          "results": {
            "items": {
              "$ref": "#/components/schemas/ConversationEvalResult"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "run": {
            "$ref": "#/components/schemas/ConversationEvalRun"
          }
        },
        "required": [
          "run",
          "results"
        ],
        "type": "object"
      },
      "ConversationEvalRunDiff": {
        "additionalProperties": false,
        "properties": {
          "baseline_run_id": {
            "type": "string"
          },
          "diff": {
            "$ref": "#/components/schemas/ConversationEvalRunDiffLists"
          },
          "run_id": {
            "type": "string"
          }
        },
        "required": [
          "run_id",
          "baseline_run_id",
          "diff"
        ],
        "type": "object"
      },
      "ConversationEvalRunDiffLists": {
        "additionalProperties": false,
        "properties": {
          "added": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "newly_failing": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "newly_passing": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "removed": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "still_failing": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "still_passing": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "newly_failing",
          "newly_passing",
          "still_failing",
          "still_passing",
          "added",
          "removed"
        ],
        "type": "object"
      },
      "ConversationEvalRunList": {
        "additionalProperties": false,
        "properties": {
          "runs": {
            "items": {
              "$ref": "#/components/schemas/ConversationEvalRun"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "runs"
        ],
        "type": "object"
      },
      "ConversationEvalScenario": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "origin": {
            "type": "string"
          },
          "rubric": {},
          "script": {},
          "suite": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "origin",
          "suite",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "ConversationEvalScenarioList": {
        "additionalProperties": false,
        "properties": {
          "scenarios": {
            "items": {
              "$ref": "#/components/schemas/ConversationEvalScenario"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "scenarios"
        ],
        "type": "object"
      },
      "ConversationEvalSkippedCase": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "type": "string"
          },
          "scenario_id": {
            "type": "string"
          },
          "scenario_name": {
            "type": "string"
          }
        },
        "required": [
          "scenario_id",
          "scenario_name",
          "reason"
        ],
        "type": "object"
      },
      "ConversationEvalVersionDiff": {
        "additionalProperties": false,
        "properties": {
          "new_failing": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "newly_failing": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "newly_passing": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "prior_version": {
            "type": "string"
          }
        },
        "required": [
          "prior_version",
          "newly_failing",
          "new_failing",
          "newly_passing"
        ],
        "type": "object"
      },
      "ConversationExport": {
        "additionalProperties": false,
        "properties": {
          "annotations": {
            "items": {
              "$ref": "#/components/schemas/ConversationAnnotation"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "config_versions": {
            "items": {
              "$ref": "#/components/schemas/ConversationExportConfigVersion"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "conversation": {
            "$ref": "#/components/schemas/ConversationExportHeader"
          },
          "export_version": {
            "type": "string"
          },
          "generated_at": {
            "format": "date-time",
            "type": "string"
          },
          "guardrail_events": {
            "items": {
              "$ref": "#/components/schemas/ConversationExportGuardrailEvent"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "messages": {
            "items": {
              "$ref": "#/components/schemas/ConversationMessage"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "tool_events": {
            "items": {
              "$ref": "#/components/schemas/ConversationExportToolEvent"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "export_version",
          "generated_at",
          "conversation",
          "messages",
          "config_versions",
          "tool_events",
          "guardrail_events",
          "annotations"
        ],
        "type": "object"
      },
      "ConversationExportConfigVersion": {
        "additionalProperties": false,
        "properties": {
          "hash": {
            "type": "string"
          },
          "released_version": {
            "type": "string"
          }
        },
        "required": [
          "hash"
        ],
        "type": "object"
      },
      "ConversationExportGuardrailEvent": {
        "additionalProperties": false,
        "properties": {
          "config_version_hash": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "decision": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "rule_id": {
            "type": "string"
          },
          "turn_id": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "turn_id",
          "config_version_hash",
          "rule_id",
          "decision",
          "created_at"
        ],
        "type": "object"
      },
      "ConversationExportHeader": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "end_user": {
            "type": "string"
          },
          "environment": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "instance_id": {
            "type": "string"
          },
          "org_id": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "org_id",
          "environment",
          "instance_id",
          "end_user",
          "title",
          "status",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "ConversationExportToolEvent": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "duration_ms": {
            "format": "int64",
            "type": "integer"
          },
          "execution": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "outcome": {
            "type": "string"
          },
          "tool_name": {
            "type": "string"
          },
          "turn_id": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "turn_id",
          "tool_name",
          "execution",
          "outcome",
          "duration_ms",
          "created_at"
        ],
        "type": "object"
      },
      "ConversationGateEvalRun": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "fail_count": {
            "format": "int64",
            "type": "integer"
          },
          "id": {
            "type": "string"
          },
          "pass_count": {
            "format": "int64",
            "type": "integer"
          },
          "status": {
            "type": "string"
          },
          "waive_reason": {
            "type": "string"
          },
          "waived_by": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "status",
          "pass_count",
          "fail_count",
          "created_at"
        ],
        "type": "object"
      },
      "ConversationInstance": {
        "additionalProperties": false,
        "properties": {
          "config": {},
          "config_hash": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "follows_canonical": {
            "type": "boolean"
          },
          "group_key": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "managed_by": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "slug",
          "label",
          "description",
          "status",
          "group_key",
          "managed_by",
          "follows_canonical",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "ConversationInstanceList": {
        "additionalProperties": false,
        "properties": {
          "instances": {
            "items": {
              "$ref": "#/components/schemas/ConversationInstance"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "instances"
        ],
        "type": "object"
      },
      "ConversationInstanceVersion": {
        "additionalProperties": false,
        "properties": {
          "changelog": {
            "type": "string"
          },
          "config_hash": {
            "type": "string"
          },
          "created_by": {
            "type": "string"
          },
          "released_at": {
            "format": "date-time",
            "type": "string"
          },
          "version": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "version",
          "config_hash",
          "changelog",
          "released_at"
        ],
        "type": "object"
      },
      "ConversationInstanceVersionList": {
        "additionalProperties": false,
        "properties": {
          "versions": {
            "items": {
              "$ref": "#/components/schemas/ConversationInstanceVersion"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "versions"
        ],
        "type": "object"
      },
      "ConversationList": {
        "additionalProperties": false,
        "properties": {
          "conversations": {
            "items": {
              "$ref": "#/components/schemas/ConversationListItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "pagination": {
            "$ref": "#/components/schemas/ConversationPagination"
          }
        },
        "required": [
          "conversations",
          "pagination"
        ],
        "type": "object"
      },
      "ConversationListItem": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "end_user": {
            "type": "string"
          },
          "has_messages": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "instance_id": {
            "type": "string"
          },
          "scope": {},
          "status": {
            "type": "string"
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "has_messages",
          "id",
          "instance_id",
          "end_user",
          "title",
          "status",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "ConversationMemory": {
        "additionalProperties": false,
        "properties": {
          "basis": {
            "description": "stated: a person said it, or an org document says it. inferred: the nightly pass concluded it across several conversations.",
            "enum": [
              "stated",
              "inferred"
            ],
            "type": "string"
          },
          "evidence": {
            "description": "The messages the memory came from.",
            "items": {
              "$ref": "#/components/schemas/ConversationMemoryEvidence"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "fact": {
            "description": "The fact, in a sentence.",
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "kind": {
            "description": "A person's memory has situation, style, signature, preference, criteria, correction or other; the org's has rule or workflow.",
            "enum": [
              "situation",
              "style",
              "signature",
              "preference",
              "criteria",
              "correction",
              "other",
              "rule",
              "workflow"
            ],
            "type": "string"
          },
          "recorded_at": {
            "format": "date-time",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/ConversationMemorySource",
            "description": "Org memory: the org document the fact was added from."
          },
          "taught_by": {
            "description": "Org memory: the display name of the colleague (or key) who taught the fact, or a colleague when no name is recorded. Absent when an org document is the source.",
            "type": "string"
          },
          "valid_from": {
            "description": "When the fact became true.",
            "format": "date-time",
            "type": "string"
          },
          "written_by": {
            "description": "The job that wrote it.",
            "enum": [
              "learn",
              "dream",
              "backfill",
              "route"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "fact",
          "kind",
          "basis",
          "valid_from",
          "written_by",
          "recorded_at",
          "evidence"
        ],
        "type": "object"
      },
      "ConversationMemoryEvidence": {
        "additionalProperties": false,
        "properties": {
          "conversation_id": {
            "description": "The conversation the memory came from.",
            "type": "string"
          },
          "message_id": {
            "description": "The message in that conversation.",
            "type": "string"
          },
          "quote": {
            "description": "A short quote of what the person wrote.",
            "type": "string"
          },
          "recorded_at": {
            "format": "date-time",
            "type": "string"
          },
          "turn_id": {
            "description": "The turn the message belongs to, when recorded.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "conversation_id",
          "message_id",
          "turn_id",
          "quote",
          "recorded_at"
        ],
        "type": "object"
      },
      "ConversationMemoryForgotten": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "state": {
            "enum": [
              "forgotten"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "state"
        ],
        "type": "object"
      },
      "ConversationMemoryList": {
        "additionalProperties": false,
        "properties": {
          "end_user": {
            "description": "The person, for a person's memory.",
            "type": "string"
          },
          "memories": {
            "description": "Every current memory of the subject, oldest first.",
            "items": {
              "$ref": "#/components/schemas/ConversationMemory"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "subject": {
            "description": "Whose memory: the person's, or the org's own.",
            "enum": [
              "person",
              "org"
            ],
            "type": "string"
          }
        },
        "required": [
          "subject",
          "memories"
        ],
        "type": "object"
      },
      "ConversationMemorySource": {
        "additionalProperties": false,
        "properties": {
          "document": {
            "description": "The org document the fact comes from, as it is named at the org.",
            "type": "string"
          },
          "section": {
            "description": "The section or page of the document.",
            "type": "string"
          }
        },
        "required": [
          "document"
        ],
        "type": "object"
      },
      "ConversationMessage": {
        "additionalProperties": false,
        "properties": {
          "branch": {
            "$ref": "#/components/schemas/ConversationBranchPoint"
          },
          "config_version_hash": {
            "type": "string"
          },
          "confirmation_tool_call_ids": {
            "description": "Recorded confirmation gate IDs among this assistant round's visible tool calls. Empty means no kept gated call. Null means unknown: a non-assistant row, a round stored before gate markers, or an app-gate round already approved or declined (its marker is lifted on resume). Read null as unknown, never as not gated. Historical provenance, not a pending set or execution authority.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "content": {},
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "parent_message_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "role": {
            "type": "string"
          },
          "tool_calls": {
            "description": "The state of each tool call this assistant row makes, in order; absent on a row that makes none. Draw each call from its state and approval.",
            "items": {
              "$ref": "#/components/schemas/ServedToolCallJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "turn_id": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "role",
          "content",
          "turn_id",
          "config_version_hash",
          "created_at",
          "parent_message_id",
          "confirmation_tool_call_ids"
        ],
        "type": "object"
      },
      "ConversationPagination": {
        "additionalProperties": false,
        "properties": {
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "type": "string"
          }
        },
        "required": [
          "has_more"
        ],
        "type": "object"
      },
      "ConversationPublishRefusal": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "details": {},
          "message": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "message"
        ],
        "type": "object"
      },
      "ConversationPublishRun": {
        "additionalProperties": false,
        "properties": {
          "attempt_count": {
            "format": "int64",
            "type": "integer"
          },
          "baseline_version": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "candidate_config_hash": {
            "type": "string"
          },
          "changelog": {
            "type": "string"
          },
          "config_hash": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "eval": {
            "$ref": "#/components/schemas/ConversationPublishRunEval"
          },
          "id": {
            "type": "string"
          },
          "published_by": {
            "type": "string"
          },
          "refusal": {
            "$ref": "#/components/schemas/ConversationPublishRefusal"
          },
          "released_at": {
            "type": "string"
          },
          "replayed": {
            "type": "boolean"
          },
          "requested_by": {
            "type": "string"
          },
          "scenario_set_fingerprint": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "version": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "status",
          "candidate_config_hash",
          "baseline_version",
          "changelog",
          "requested_by",
          "attempt_count"
        ],
        "type": "object"
      },
      "ConversationPublishRunEval": {
        "additionalProperties": false,
        "properties": {
          "fail_count": {
            "format": "int64",
            "type": "integer"
          },
          "pass_count": {
            "format": "int64",
            "type": "integer"
          },
          "skipped": {
            "items": {
              "$ref": "#/components/schemas/ConversationEvalSkippedCase"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "status",
          "pass_count",
          "fail_count"
        ],
        "type": "object"
      },
      "ConversationTurn": {
        "additionalProperties": false,
        "properties": {
          "app_tool_mode": {
            "description": "Absent on a turn admitted before the turn stream.",
            "type": [
              "string",
              "null"
            ]
          },
          "awaiting_approval": {
            "description": "The turn is paused until the person decides its approvals; nothing works on it meanwhile.",
            "type": "boolean"
          },
          "ended_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "executor": {
            "$ref": "#/components/schemas/ConversationTurnExecutor",
            "description": "Absent on a turn admitted before the turn stream."
          },
          "id": {
            "type": "string"
          },
          "last_seq": {
            "description": "Absent on a turn admitted before the turn stream.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "runtime": {
            "description": "Absent on a turn admitted before the turn stream.",
            "type": "string"
          },
          "sealed": {
            "description": "Absent on a turn admitted before the turn stream.",
            "type": "boolean"
          },
          "sealed_seq": {
            "description": "The winning seal's seq; absent on a turn admitted before the turn stream.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "sealed_through": {
            "description": "The winning seal's N; absent on a turn admitted before the turn stream.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "settled": {
            "description": "The turn is at rest: its status will not change again.",
            "type": "boolean"
          },
          "started_at": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "description": "The turn's status: running or a pause (waiting_on_tools, waiting_on_confirmation), stopping while a stop is asked, then one status at rest (completed, stopped, failed). Read settled and stopping rather than the word.",
            "enum": [
              "running",
              "waiting_on_tools",
              "waiting_on_confirmation",
              "stopping",
              "completed",
              "stopped",
              "failed"
            ],
            "type": "string"
          },
          "stop_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "stop_requested_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "stopping": {
            "description": "A stop was asked and the turn has not come to rest yet.",
            "type": "boolean"
          },
          "toolkit": {
            "$ref": "#/components/schemas/TurnToolkit",
            "description": "Original v3 turn archive and committed definition identity."
          }
        },
        "required": [
          "id",
          "status",
          "started_at",
          "stop_requested_at",
          "ended_at",
          "stop_reason",
          "settled",
          "stopping",
          "awaiting_approval"
        ],
        "type": "object"
      },
      "ConversationTurnEnvelope": {
        "additionalProperties": false,
        "properties": {
          "turn": {
            "$ref": "#/components/schemas/ConversationTurn"
          }
        },
        "required": [
          "turn"
        ],
        "type": "object"
      },
      "ConversationTurnExecutor": {
        "additionalProperties": false,
        "properties": {
          "live": {
            "type": "boolean"
          }
        },
        "required": [
          "live"
        ],
        "type": "object"
      },
      "ConversationVersionEvalRun": {
        "additionalProperties": false,
        "properties": {
          "config_version_hash": {
            "type": "string"
          },
          "diff": {
            "$ref": "#/components/schemas/ConversationEvalVersionDiff"
          },
          "results": {
            "items": {
              "$ref": "#/components/schemas/ConversationEvalResult"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "run": {
            "$ref": "#/components/schemas/ConversationGateEvalRun"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "version",
          "config_version_hash",
          "run",
          "results"
        ],
        "type": "object"
      },
      "CostRollup": {
        "additionalProperties": false,
        "properties": {
          "cost_micros": {
            "format": "int64",
            "type": "integer"
          },
          "input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "output_tokens": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "input_tokens",
          "output_tokens",
          "cost_micros"
        ],
        "type": "object"
      },
      "CostedDispatchCount": {
        "additionalProperties": false,
        "properties": {
          "costed_dispatches": {
            "format": "int64",
            "type": "integer"
          },
          "since": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "costed_dispatches",
          "since"
        ],
        "type": "object"
      },
      "CoverBlock": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "enum": [
              "cover"
            ],
            "type": "string"
          },
          "line": {
            "enum": [
              "Commercial",
              "Personal"
            ],
            "type": "string"
          }
        },
        "required": [
          "kind",
          "line"
        ],
        "type": "object"
      },
      "CoverageDetail": {
        "additionalProperties": false,
        "properties": {
          "appetite_notes": {
            "type": "string"
          },
          "appetite_strength": {
            "type": "string"
          },
          "bundle": {
            "$ref": "#/components/schemas/BundlePricing"
          },
          "commission_renewal": {
            "format": "double",
            "type": "number"
          },
          "commission_renewal_known": {
            "type": "boolean"
          },
          "coverage_breadth": {
            "type": "string"
          },
          "deductible_default": {
            "format": "int64",
            "type": "integer"
          },
          "deductible_max": {
            "format": "int64",
            "type": "integer"
          },
          "deductible_min": {
            "format": "int64",
            "type": "integer"
          },
          "distribution": {
            "type": "string"
          },
          "endorsements_available": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "endorsements_excluded": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "endorsements_included": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "includes_defense_costs": {
            "type": "boolean"
          },
          "limit_aggregate": {
            "format": "int64",
            "type": "integer"
          },
          "limit_bodily_injury_per_accident": {
            "format": "int64",
            "type": "integer"
          },
          "limit_bodily_injury_per_person": {
            "format": "int64",
            "type": "integer"
          },
          "limit_combined_single": {
            "format": "int64",
            "type": "integer"
          },
          "limit_per_occurrence": {
            "format": "int64",
            "type": "integer"
          },
          "limit_property_damage": {
            "format": "int64",
            "type": "integer"
          },
          "loss_run_years": {
            "format": "int64",
            "type": "integer"
          },
          "market_type": {
            "type": "string"
          },
          "product_code": {
            "type": "string"
          },
          "product_name": {
            "type": "string"
          },
          "program_type": {
            "type": "string"
          },
          "rate_basis": {
            "type": "string"
          },
          "required_docs": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "specialty_flags": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "sublimits": {
            "additionalProperties": {
              "format": "int64",
              "type": "integer"
            },
            "type": "object"
          },
          "tail_coverage": {
            "type": "boolean"
          },
          "underwriting_notes": {
            "type": "string"
          }
        },
        "required": [
          "product_name",
          "program_type",
          "market_type",
          "distribution",
          "appetite_strength",
          "specialty_flags",
          "endorsements_included",
          "endorsements_available",
          "endorsements_excluded",
          "coverage_breadth",
          "includes_defense_costs",
          "tail_coverage",
          "rate_basis",
          "required_docs",
          "loss_run_years"
        ],
        "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"
      },
      "Covered": {
        "additionalProperties": false,
        "properties": {
          "naics_code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "naics_code",
          "name"
        ],
        "type": "object"
      },
      "CreateAssemblyRequest": {
        "additionalProperties": false,
        "properties": {
          "account_ref": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "seats": {
            "items": {
              "$ref": "#/components/schemas/AssemblySeat"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "account_ref",
          "seats"
        ],
        "type": "object"
      },
      "CreateConversationAnnotationRequest": {
        "additionalProperties": false,
        "properties": {
          "comment": {
            "type": "string"
          },
          "end_user": {
            "type": "string"
          },
          "feedback_key": {
            "type": "string"
          },
          "rating": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "submitter_id": {
            "type": "string"
          },
          "target": {},
          "turn_id": {
            "type": "string"
          }
        },
        "required": [
          "end_user",
          "turn_id",
          "rating"
        ],
        "type": "object"
      },
      "CreateConversationEvalRunRequest": {
        "additionalProperties": false,
        "properties": {
          "suite": {
            "enum": [
              "gate",
              "workflows",
              "adversarial",
              "smoke"
            ],
            "type": "string"
          }
        },
        "required": [
          "suite"
        ],
        "type": "object"
      },
      "CreateConversationEvalScenarioRequest": {
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string"
          },
          "rubric": {},
          "script": {},
          "suite": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "script",
          "rubric",
          "suite"
        ],
        "type": "object"
      },
      "CreateConversationInstanceRequest": {
        "additionalProperties": false,
        "properties": {
          "config": {},
          "description": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          }
        },
        "required": [
          "slug",
          "label",
          "description",
          "config"
        ],
        "type": "object"
      },
      "CreateConversationMemoryRequest": {
        "additionalProperties": false,
        "properties": {
          "fact": {
            "description": "The fact, one plain sentence about how work is done at the org, at most 400 characters.",
            "type": "string"
          },
          "kind": {
            "description": "rule: a carrier, state, system or house rule. workflow: how a piece of work is done.",
            "enum": [
              "rule",
              "workflow"
            ],
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/ConversationMemorySource",
            "description": "The org document the fact comes from. Without one, the key that writes it is recorded as its teacher."
          },
          "subject": {
            "description": "org: the org's own memory, which every seat of the org reads.",
            "enum": [
              "org"
            ],
            "type": "string"
          }
        },
        "required": [
          "subject",
          "fact",
          "kind"
        ],
        "type": "object"
      },
      "CreateConversationRequest": {
        "additionalProperties": false,
        "properties": {
          "end_user": {
            "description": "The end user the conversation belongs to, at most 256 characters.",
            "type": "string"
          },
          "scope": {
            "description": "A JSON object of at most 16 KiB the instance's tools read."
          },
          "title": {
            "description": "At most 300 characters.",
            "type": "string"
          },
          "title_source": {
            "description": "Who wrote the title. user (the default) is a name a person chose, never replaced by the platform. provisional is a placeholder the platform replaces with a name for the conversation's work once it holds some. Requires title.",
            "enum": [
              "user",
              "provisional"
            ],
            "type": "string"
          }
        },
        "required": [
          "end_user"
        ],
        "type": "object"
      },
      "CreateEngineRequest": {
        "additionalProperties": false,
        "properties": {
          "description": {
            "type": "string"
          },
          "engine_type": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          }
        },
        "required": [
          "slug",
          "label",
          "description",
          "engine_type"
        ],
        "type": "object"
      },
      "DataCurrency": {
        "additionalProperties": false,
        "properties": {
          "effective_date": {
            "type": "string"
          },
          "effective_date_basis": {
            "type": "string"
          },
          "effective_year": {
            "format": "int64",
            "type": "integer"
          },
          "stale": {
            "type": "boolean"
          },
          "undated": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "DataGraph": {
        "additionalProperties": false,
        "properties": {
          "edges": {
            "items": {
              "$ref": "#/components/schemas/DocEdge"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "generatedAt": {
            "type": "string"
          },
          "nodes": {
            "items": {
              "$ref": "#/components/schemas/DocNode"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "generatedAt",
          "nodes",
          "edges"
        ],
        "type": "object"
      },
      "DataGraphNode": {
        "additionalProperties": false,
        "properties": {
          "edges": {
            "items": {
              "$ref": "#/components/schemas/DocEdge"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "generatedAt": {
            "type": "string"
          },
          "node": {
            "$ref": "#/components/schemas/DocNode"
          }
        },
        "required": [
          "generatedAt",
          "node",
          "edges"
        ],
        "type": "object"
      },
      "DataGraphNodes": {
        "additionalProperties": false,
        "properties": {
          "generatedAt": {
            "type": "string"
          },
          "nodes": {
            "items": {
              "$ref": "#/components/schemas/DocNode"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "generatedAt",
          "nodes"
        ],
        "type": "object"
      },
      "DatapointSample": {
        "additionalProperties": false,
        "properties": {
          "count": {
            "format": "double",
            "type": "number"
          },
          "unit": {
            "type": "string"
          }
        },
        "required": [
          "count",
          "unit"
        ],
        "type": "object"
      },
      "DatasetRule": {
        "additionalProperties": false,
        "properties": {
          "access": {
            "type": "string"
          },
          "scope": {
            "type": "string"
          }
        },
        "required": [
          "scope",
          "access"
        ],
        "type": "object"
      },
      "Deal": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "bor_status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/MachineState",
                "description": "Where the account's Broker of Record stands, from the notation on its policies, as bor_status declares it. Null when no policy carries a BOR notation or the org does not declare the value."
              },
              {
                "type": "null"
              }
            ]
          },
          "created_on": {
            "description": "The day a lead was created in Salesforce; null on a deal.",
            "type": [
              "string",
              "null"
            ]
          },
          "customer_status": {
            "description": "The AMS 360 customer's status as AMS 360 splits it (suspect, prospect or client). Null on a Salesforce deal and on a lead.",
            "enum": [
              "suspect",
              "prospect",
              "client"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "days_to_due": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "deal_key": {
            "type": "string"
          },
          "deal_type": {
            "description": "The Salesforce opportunity type as Salesforce names it (New Business, Existing Business, Cross-Sell); New Business for an AMS 360 prospect; null on a lead and on an opportunity with no type.",
            "type": [
              "string",
              "null"
            ]
          },
          "due_basis": {
            "enum": [
              "effective_date",
              "target_close"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "due_bucket": {
            "enum": [
              "past_due",
              "d0_30",
              "d31_60",
              "d61_90",
              "d91_180",
              "d180_plus",
              "no_date"
            ],
            "type": "string"
          },
          "due_on": {
            "type": [
              "string",
              "null"
            ]
          },
          "expected_revenue": {
            "description": "Exact decimal Salesforce expected revenue.",
            "type": [
              "string",
              "null"
            ]
          },
          "gone_quiet": {
            "type": "boolean"
          },
          "kind": {
            "description": "deal: a Salesforce opportunity or an AMS 360 prospect. lead: an open Salesforce lead (kind=leads or kind=all), which has a name, stage, owner and created day and no due date, amount, account, market or next action.",
            "enum": [
              "deal",
              "lead"
            ],
            "type": "string"
          },
          "last_touch_on": {
            "type": [
              "string",
              "null"
            ]
          },
          "last_touch_source": {
            "enum": [
              "ams360",
              "salesforce"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "line": {
            "type": [
              "string",
              "null"
            ]
          },
          "markets": {
            "$ref": "#/components/schemas/DealMarkets"
          },
          "naics_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "next_action": {
            "description": "Null when the stage is settled or the machine does not declare it. set_effective_date: establish the missing effective or target-close date. build_submission: prepare the account for market submission. follow_up_quotes: request outstanding carrier answers. past_effective: the effective date has passed with the submission still open, so close or renew it in AMS 360. remarket_or_close: carriers were approached and every one declined. inactive_prospect: an AMS 360 prospect with no effective date and no activity for 60 days. draft_proposal: prepare a proposal from received quotes. follow_up_client: confirm the client's decision or binding instructions.",
            "enum": [
              "set_effective_date",
              "past_effective",
              "build_submission",
              "follow_up_quotes",
              "remarket_or_close",
              "inactive_prospect",
              "draft_proposal",
              "follow_up_client"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "next_step": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/MachineNextStep",
                "description": "The next action as its machine declares it: key, words and who the work waits on. Null when next_action is null or the org does not declare the machine."
              },
              {
                "type": "null"
              }
            ]
          },
          "owner": {
            "description": "Salesforce producer name, or AMS owner code when a producer name is not served.",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "description": "The AMS 360 account's current submission policy, the one a save for the deal names. The current submission group is the one whose policies have the latest effective term, then the latest entered day. Null on a Salesforce deal with no AMS 360 account.",
            "type": [
              "string",
              "null"
            ]
          },
          "premium": {
            "description": "Exact decimal AMS premium; may repeat across deals on the same account.",
            "type": [
              "string",
              "null"
            ]
          },
          "record_type": {
            "description": "The Salesforce opportunity's record type name as Salesforce names it. Null on an AMS 360 prospect, on a lead and on a deal read from the warehouse.",
            "type": [
              "string",
              "null"
            ]
          },
          "record_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "salesforce_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "stage": {
            "description": "The stage label; state carries the stage as its machine declares it.",
            "type": [
              "string",
              "null"
            ]
          },
          "stage_source": {
            "enum": [
              "ams360",
              "salesforce"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/DealState",
                "description": "The deal's stage on its source's machine. Null for a Salesforce stage the machine does not declare."
              },
              {
                "type": "null"
              }
            ]
          },
          "submission_kind": {
            "description": "What an AMS 360 row is in work for, read from AMS 360: renewal_remarketing when the account's open submission group is coded renewal (REN); new_line when a client's open group is coded new business (NB); new_business for a suspect or prospect otherwise. Null on a Salesforce deal and on a lead.",
            "enum": [
              "new_business",
              "renewal_remarketing",
              "new_line"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "weighted_revenue": {
            "description": "Exact decimal Salesforce weighted revenue: the expected revenue times its stage's probability. Null on an AMS 360 prospect and on a lead.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "deal_key",
          "kind",
          "account_id",
          "name",
          "line",
          "premium",
          "expected_revenue",
          "weighted_revenue",
          "due_on",
          "due_basis",
          "days_to_due",
          "due_bucket",
          "stage",
          "stage_source",
          "deal_type",
          "state",
          "bor_status",
          "markets",
          "last_touch_on",
          "last_touch_source",
          "next_step",
          "next_action",
          "owner",
          "naics_code",
          "record_url",
          "salesforce_id",
          "gone_quiet",
          "created_on",
          "submission_kind",
          "policy_id",
          "customer_status",
          "record_type"
        ],
        "type": "object"
      },
      "DealActivity": {
        "additionalProperties": false,
        "properties": {
          "completed_on": {
            "anyOf": [
              {
                "format": "date",
                "type": [
                  "string",
                  "null"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "created_on": {
            "anyOf": [
              {
                "format": "date",
                "type": [
                  "string",
                  "null"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "description": {
            "anyOf": [
              {
                "description": "The activity's notes as the owner wrote them.",
                "type": [
                  "string",
                  "null"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "email": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EmailMessage",
                "description": "An Email activity's description read into its fields (a description with no header reads as the email's body); null on every other row and on an email with no description."
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "description": "The Salesforce activity id, or stage-1 to stage-5 for a stage entry.",
            "type": "string"
          },
          "kind": {
            "description": "activity: a Salesforce task, call, email, meeting or note. stage: the day the deal entered a stage.",
            "enum": [
              "activity",
              "stage"
            ],
            "type": "string"
          },
          "on": {
            "anyOf": [
              {
                "description": "The row's date: an activity's completed date, else its created date, or the day the deal entered the stage. Null when Salesforce dates an activity neither.",
                "format": "date",
                "type": [
                  "string",
                  "null"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "owner": {
            "anyOf": [
              {
                "description": "Who the activity belongs to, as the employee directory names them.",
                "type": [
                  "string",
                  "null"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "stage": {
            "anyOf": [
              {
                "description": "The stage a stage entry names, as the deal_stage machine declares it; null on an activity.",
                "enum": [
                  "information_gathering",
                  "quoting",
                  "proposal",
                  "closed_won",
                  "closed_lost"
                ],
                "type": [
                  "string",
                  "null"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "anyOf": [
              {
                "description": "The activity status as Salesforce names it.",
                "type": [
                  "string",
                  "null"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "subject": {
            "anyOf": [
              {
                "description": "The activity's subject; on a stage entry, the stage's words as the org's deal_stage machine declares them.",
                "type": [
                  "string",
                  "null"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "anyOf": [
              {
                "description": "The activity type as Salesforce names it: Email, Call, Meeting, Other. Null on a stage entry.",
                "type": [
                  "string",
                  "null"
                ]
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "kind",
          "stage",
          "type",
          "status",
          "subject",
          "description",
          "owner",
          "on",
          "created_on",
          "completed_on",
          "email"
        ],
        "type": "object"
      },
      "DealActivityList": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/DealActivity"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "DealCarrier": {
        "additionalProperties": false,
        "properties": {
          "last_action": {
            "description": "The AMS 360 action name last logged against the carrier's submission.",
            "type": [
              "string",
              "null"
            ]
          },
          "last_action_on": {
            "description": "The day of last_action.",
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "policy_id": {
            "description": "The carrier's submission policy in the current submission group, the policy a save for this carrier names. Null when the group has no policy for the carrier.",
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "description": "Where the carrier stands on the current submission group, from its last action: lost when that action is Lost, declined when the carrier's newest answer is a decline, quoted when it has answered, submitted otherwise.",
            "enum": [
              "submitted",
              "quoted",
              "declined",
              "lost"
            ],
            "type": "string"
          }
        },
        "required": [
          "name",
          "status",
          "policy_id",
          "last_action",
          "last_action_on"
        ],
        "type": "object"
      },
      "DealDueBucket": {
        "additionalProperties": false,
        "properties": {
          "bucket": {
            "enum": [
              "past_due",
              "d0_30",
              "d31_60",
              "d61_90",
              "d91_180",
              "d180_plus",
              "no_date"
            ],
            "type": "string"
          },
          "count": {
            "format": "int64",
            "type": "integer"
          },
          "expected_revenue": {
            "description": "Exact decimal sum over Salesforce deals only; missing amounts contribute nothing.",
            "type": "string"
          },
          "premium": {
            "description": "Exact decimal sum over AMS-only deals only; matched AMS premium is excluded.",
            "type": "string"
          },
          "weighted_revenue": {
            "description": "Exact decimal sum of the Salesforce deals' weighted revenue; missing amounts contribute nothing.",
            "type": "string"
          }
        },
        "required": [
          "bucket",
          "count",
          "expected_revenue",
          "weighted_revenue",
          "premium"
        ],
        "type": "object"
      },
      "DealFacetValue": {
        "additionalProperties": false,
        "properties": {
          "count": {
            "format": "int64",
            "type": "integer"
          },
          "label": {
            "description": "The words for the value, for a stage and a declared next action.",
            "type": "string"
          },
          "machine": {
            "description": "The machine a stage value belongs to, and the query parameter that filters on it.",
            "enum": [
              "deal_stage",
              "prospect_stage"
            ],
            "type": "string"
          },
          "value": {
            "description": "The value the filter takes. A stage is its machine's value: send it as the query parameter its machine names.",
            "type": "string"
          }
        },
        "required": [
          "value",
          "count"
        ],
        "type": "object"
      },
      "DealList": {
        "additionalProperties": false,
        "properties": {
          "columns": {
            "description": "view=board: each due bucket that holds a deal, in due order, with its count and the cursor of its next page.",
            "items": {
              "$ref": "#/components/schemas/DealsColumn"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/Deal"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "rollups": {
            "$ref": "#/components/schemas/DealListRollups",
            "description": "Present only for the rollups the request named in rollups=, each computed by the same read as the page."
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "stage_columns": {
            "description": "view=board with group=stage: each stage that holds a deal, in the machine's order, with its count and the cursor of its next page.",
            "items": {
              "$ref": "#/components/schemas/DealsStageColumn"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "view": {
            "$ref": "#/components/schemas/View",
            "description": "The hide filters this read applied, with each option's count and how many rows they hide. Present on a read with no cursor, offset or due_bucket, also with every filter off."
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "DealListRollups": {
        "additionalProperties": false,
        "properties": {
          "due": {
            "$ref": "#/components/schemas/DealsDue",
            "description": "The due rollup of the filtered deals (rollups=due), as GET /records/deals/rollups/due serves it."
          },
          "stage": {
            "$ref": "#/components/schemas/DealsStageRollup",
            "description": "The stage rollup of the filtered deals (rollups=stage): the headers of the stage board."
          }
        },
        "type": "object"
      },
      "DealMarkets": {
        "additionalProperties": false,
        "properties": {
          "answers_as_of": {
            "description": "Latest dated carrier answer in the AMS evidence; null when no dated answer exists. This is evidence age, not a claim that the source is current.",
            "type": [
              "string",
              "null"
            ]
          },
          "carriers": {
            "items": {
              "$ref": "#/components/schemas/DealCarrier"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "declined": {
            "format": "int64",
            "type": "integer"
          },
          "quoted": {
            "format": "int64",
            "type": "integer"
          },
          "submitted": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "submitted",
          "quoted",
          "declined",
          "carriers",
          "answers_as_of"
        ],
        "type": "object"
      },
      "DealStageRollupStage": {
        "additionalProperties": false,
        "properties": {
          "count": {
            "format": "int64",
            "type": "integer"
          },
          "expected_revenue": {
            "description": "Exact decimal sum over Salesforce deals only; missing amounts contribute nothing.",
            "type": "string"
          },
          "label": {
            "description": "The stage's words on its machine.",
            "type": "string"
          },
          "machine": {
            "enum": [
              "deal_stage",
              "prospect_stage"
            ],
            "type": "string"
          },
          "premium": {
            "description": "Exact decimal sum over AMS-only deals only; matched AMS premium is excluded.",
            "type": "string"
          },
          "value": {
            "description": "The stage's value on its machine, as the query parameter its machine names takes it; none for the deals whose Salesforce stage the machine does not declare.",
            "type": "string"
          },
          "weighted_revenue": {
            "description": "Exact decimal sum of the Salesforce deals' weighted revenue; missing amounts contribute nothing.",
            "type": "string"
          }
        },
        "required": [
          "machine",
          "value",
          "label",
          "count",
          "expected_revenue",
          "weighted_revenue",
          "premium"
        ],
        "type": "object"
      },
      "DealState": {
        "additionalProperties": false,
        "properties": {
          "label": {
            "type": "string"
          },
          "machine": {
            "enum": [
              "deal_stage",
              "prospect_stage"
            ],
            "type": "string"
          },
          "next": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/MachineNextStep",
                "description": "The machine's next step for the value; null when the value is settled."
              },
              {
                "type": "null"
              }
            ]
          },
          "settled": {
            "description": "True when the value ends the work.",
            "type": "boolean"
          },
          "step": {
            "description": "The workflow step the value sits in.",
            "type": "string"
          },
          "tone": {
            "enum": [
              "neutral",
              "positive",
              "warning",
              "danger"
            ],
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "machine",
          "value",
          "label",
          "step",
          "settled",
          "tone",
          "next"
        ],
        "type": "object"
      },
      "DealsColumn": {
        "additionalProperties": false,
        "properties": {
          "bucket": {
            "enum": [
              "past_due",
              "d0_30",
              "d31_60",
              "d61_90",
              "d91_180",
              "d180_plus",
              "no_date"
            ],
            "type": "string"
          },
          "count": {
            "format": "int64",
            "type": "integer"
          },
          "next": {
            "description": "The cursor of the column's next page, read with due_bucket set to this bucket; null when the column's first page holds every deal.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "bucket",
          "count",
          "next"
        ],
        "type": "object"
      },
      "DealsDue": {
        "additionalProperties": false,
        "properties": {
          "buckets": {
            "description": "Every due bucket in due order, also when it holds no deal. past_due is left out while past_due_days is 1.",
            "items": {
              "$ref": "#/components/schemas/DealDueBucket"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "$ref": "#/components/schemas/DealsFacets",
            "description": "The values each filter can take, with their deal counts. A facet counts the deals every other filter keeps, so its own filter never hides its other values."
          }
        },
        "required": [
          "buckets",
          "facets"
        ],
        "type": "object"
      },
      "DealsFacets": {
        "additionalProperties": false,
        "properties": {
          "deal_type": {
            "description": "Each deal type the other filters keep, by count then name, the values the deal_type filter takes.",
            "items": {
              "$ref": "#/components/schemas/DealFacetValue"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "next_action": {
            "items": {
              "$ref": "#/components/schemas/DealFacetValue"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "past_due": {
            "description": "Past due deals the other filters keep: what past_due_days leaves out.",
            "format": "int64",
            "type": "integer"
          },
          "producer": {
            "description": "Each deal owner the other filters keep, the values the producer filter takes.",
            "items": {
              "$ref": "#/components/schemas/DealFacetValue"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source": {
            "items": {
              "$ref": "#/components/schemas/DealFacetValue"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "stage": {
            "items": {
              "$ref": "#/components/schemas/DealFacetValue"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "submission_kind": {
            "description": "Each submission kind the other filters keep, in new_business, renewal_remarketing, new_line order, the values the submission_kind filter takes. The counts add up to the AMS 360 rows the other filters keep.",
            "items": {
              "$ref": "#/components/schemas/DealFacetValue"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "stage",
          "next_action",
          "source",
          "producer",
          "deal_type",
          "submission_kind",
          "past_due"
        ],
        "type": "object"
      },
      "DealsStageColumn": {
        "additionalProperties": false,
        "properties": {
          "count": {
            "format": "int64",
            "type": "integer"
          },
          "machine": {
            "enum": [
              "deal_stage",
              "prospect_stage"
            ],
            "type": "string"
          },
          "next": {
            "description": "The cursor of the column's next page, read with the stage's own filter; null when the column's first page holds every deal.",
            "type": [
              "string",
              "null"
            ]
          },
          "value": {
            "description": "The stage's value on its machine, as the query parameter its machine names takes it; none for the deals whose Salesforce stage the machine does not declare.",
            "type": "string"
          }
        },
        "required": [
          "machine",
          "value",
          "count",
          "next"
        ],
        "type": "object"
      },
      "DealsStageRollup": {
        "additionalProperties": false,
        "properties": {
          "stages": {
            "description": "Every open stage of the source's machine in its order, also when it holds no deal, then each other stage that holds a deal (a settled stage, or none for the deals whose Salesforce stage the machine does not declare) in the machine's order. The counts and amounts are the filtered deals', so they add up to the due rollup's for the same filters.",
            "items": {
              "$ref": "#/components/schemas/DealStageRollupStage"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "stages"
        ],
        "type": "object"
      },
      "DealsView": {
        "additionalProperties": false,
        "properties": {
          "columns": {
            "$ref": "#/components/schemas/Columns"
          },
          "filters": {
            "additionalProperties": {
              "additionalProperties": {
                "oneOf": [
                  {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  {
                    "type": "integer"
                  },
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "string"
                  }
                ]
              },
              "description": "Filter values by key: a list of values for a hide or keep filter, a string for a select, a whole number of days for a day window or of dollars for an amount (0 is off), a boolean for a toggle.",
              "type": "object"
            },
            "description": "Saved filters by scope: salesforce and ams360 for a read of that source, all for a read with no source. A filter a scope leaves out reads its default.",
            "type": "object"
          },
          "updated_at": {
            "description": "When the view last changed; null when nothing is saved.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "filters",
          "columns",
          "updated_at"
        ],
        "type": "object"
      },
      "DealsViewWrite": {
        "additionalProperties": false,
        "properties": {
          "columns": {
            "description": "The columns to show, in order: keys of columns.available. Absent leaves them unchanged; a key the seat may not read, or the register does not serve, is refused with 422.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "filters": {
            "additionalProperties": {
              "additionalProperties": {
                "anyOf": [
                  {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  {
                    "type": "integer"
                  },
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": "Filter values to change, by key: a list of values for a hide or keep filter, a string for a select, a whole number of days for a day window or of dollars for an amount (0 is off), a boolean for a toggle, or null to return the filter to its default. A filter left out stays as saved.",
              "type": "object"
            },
            "description": "The filters to change by scope. A filter named here takes its value, or returns to its default when null; every other filter and scope stays as saved.",
            "type": "object"
          }
        },
        "type": "object"
      },
      "DefensibilityPacket": {
        "additionalProperties": false,
        "properties": {
          "events": {
            "items": {
              "$ref": "#/components/schemas/Event"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "external_calls": {
            "items": {
              "$ref": "#/components/schemas/PacketBlob"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "llm_summary": {
            "$ref": "#/components/schemas/LLMSummary"
          },
          "model_calls": {
            "items": {
              "$ref": "#/components/schemas/PacketBlob"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "output": {},
          "provenance": {},
          "provenance_coverage": {
            "type": "string"
          },
          "redaction": {
            "additionalProperties": {
              "format": "int64",
              "type": "integer"
            },
            "type": "object"
          },
          "run": {
            "$ref": "#/components/schemas/RunHeader"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "version",
          "run",
          "provenance_coverage",
          "model_calls",
          "external_calls",
          "events",
          "redaction"
        ],
        "type": "object"
      },
      "DeleteConversationAnnotationRequest": {
        "additionalProperties": false,
        "properties": {
          "end_user": {
            "type": "string"
          },
          "submitter_id": {
            "type": "string"
          }
        },
        "required": [
          "end_user",
          "submitter_id"
        ],
        "type": "object"
      },
      "Dimension": {
        "additionalProperties": false,
        "properties": {
          "assessment_basis": {
            "type": "string"
          },
          "claim_basis": {
            "type": "string"
          },
          "confidence": {
            "format": "double",
            "type": "number"
          },
          "evidence_fact_ids": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "grain": {
            "type": "string"
          },
          "justification": {
            "type": "string"
          },
          "justification_trimmed": {
            "type": "boolean"
          },
          "label": {
            "type": "string"
          },
          "level": {
            "format": "int64",
            "type": "integer"
          },
          "level_withheld_reason": {
            "type": "string"
          },
          "method": {
            "type": "string"
          },
          "producer_level": {
            "type": "string"
          }
        },
        "required": [
          "level",
          "label",
          "justification",
          "method",
          "claim_basis"
        ],
        "type": "object"
      },
      "DirectoryAMS": {
        "additionalProperties": false,
        "properties": {
          "boundary_unit": {
            "type": "string"
          },
          "datasource": {
            "type": "string"
          },
          "employee_code": {
            "type": "string"
          },
          "employee_id": {
            "type": "string"
          },
          "families": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "groups": {
            "items": {
              "$ref": "#/components/schemas/BookScopeAMSGroup"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "matched": {
            "type": "boolean"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "matched",
          "groups",
          "families"
        ],
        "type": "object"
      },
      "DirectoryBook": {
        "additionalProperties": false,
        "properties": {
          "can_open": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "own_as_client_manager": {
            "format": "int64",
            "type": "integer"
          },
          "own_as_producer": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "own_as_producer",
          "own_as_client_manager",
          "can_open"
        ],
        "type": "object"
      },
      "DirectoryChainLink": {
        "additionalProperties": false,
        "properties": {
          "employee_id": {
            "type": "string"
          },
          "level": {
            "format": "int64",
            "type": "integer"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "level",
          "employee_id",
          "name"
        ],
        "type": "object"
      },
      "DirectoryException": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "type": "string"
          },
          "ends_at": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "scope": {
            "$ref": "#/components/schemas/ExceptionScope"
          },
          "starts_at": {
            "format": "date-time",
            "type": "string"
          },
          "state": {
            "enum": [
              "scheduled",
              "live"
            ],
            "type": "string"
          },
          "workflow": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "workflow",
          "action",
          "scope",
          "starts_at",
          "ends_at",
          "reason",
          "state"
        ],
        "type": "object"
      },
      "DirectoryPage": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/DirectoryRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "page": {
            "format": "int64",
            "type": "integer"
          },
          "page_size": {
            "format": "int64",
            "type": "integer"
          },
          "source": {
            "$ref": "#/components/schemas/DirectorySource"
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "data",
          "total",
          "page",
          "page_size",
          "source"
        ],
        "type": "object"
      },
      "DirectoryPerson": {
        "additionalProperties": false,
        "properties": {
          "chain": {
            "items": {
              "$ref": "#/components/schemas/DirectoryChainLink"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "email": {
            "type": "string"
          },
          "employee_id": {
            "type": "string"
          },
          "employment_status": {
            "type": "string"
          },
          "hire_date": {
            "type": "string"
          },
          "hr_role": {
            "type": "string"
          },
          "is_producer": {
            "type": "boolean"
          },
          "job_title": {
            "type": "string"
          },
          "management_level": {
            "format": "int64",
            "type": "integer"
          },
          "manager_id": {
            "type": "string"
          },
          "manager_name": {
            "type": "string"
          },
          "market": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "platform": {
            "type": "string"
          },
          "rls_scope": {
            "type": "string"
          },
          "user_principal_name": {
            "type": "string"
          }
        },
        "required": [
          "hr_role",
          "employee_id",
          "name",
          "user_principal_name",
          "email",
          "job_title",
          "is_producer",
          "management_level",
          "manager_id",
          "manager_name",
          "platform",
          "market",
          "rls_scope",
          "employment_status",
          "hire_date",
          "chain"
        ],
        "type": "object"
      },
      "DirectoryRow": {
        "additionalProperties": false,
        "properties": {
          "ams": {
            "$ref": "#/components/schemas/DirectoryAMS"
          },
          "flags": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "hr_mismatch_flags": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "person": {
            "$ref": "#/components/schemas/DirectoryPerson"
          },
          "presentation": {
            "$ref": "#/components/schemas/PersonPresentation"
          },
          "seat": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/DirectorySeat"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "person",
          "ams",
          "seat",
          "flags",
          "hr_mismatch_flags",
          "presentation"
        ],
        "type": "object"
      },
      "DirectorySeat": {
        "additionalProperties": false,
        "properties": {
          "book": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/DirectoryBook"
              },
              {
                "type": "null"
              }
            ]
          },
          "email": {
            "type": "string"
          },
          "exceptions": {
            "items": {
              "$ref": "#/components/schemas/DirectoryException"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "hold_reason": {
            "type": "string"
          },
          "last_resolved_at": {
            "format": "date-time",
            "type": "string"
          },
          "last_seen_at": {
            "format": "date-time",
            "type": "string"
          },
          "pending": {
            "type": "boolean"
          },
          "policy_source": {
            "type": "string"
          },
          "principal": {
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "system_grants": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "state",
          "pending",
          "email",
          "system_grants",
          "exceptions",
          "book"
        ],
        "type": "object"
      },
      "DirectorySource": {
        "additionalProperties": false,
        "properties": {
          "as_of": {
            "format": "date-time",
            "type": "string"
          },
          "book_counts": {
            "type": "string"
          },
          "book_counts_as_of": {
            "format": "date-time",
            "type": "string"
          },
          "book_counts_note": {
            "type": "string"
          },
          "can_open": {
            "type": "string"
          },
          "mode": {
            "type": "string"
          },
          "seat_window": {
            "type": "string"
          },
          "table": {
            "type": "string"
          }
        },
        "required": [
          "table",
          "as_of",
          "mode",
          "book_counts",
          "can_open",
          "seat_window"
        ],
        "type": "object"
      },
      "DocDetail": {
        "additionalProperties": false,
        "properties": {
          "app": {
            "type": "string"
          },
          "archived": {
            "type": "boolean"
          },
          "binding": {
            "type": "string"
          },
          "connection": {
            "type": "string"
          },
          "lastRefresh": {
            "type": "string"
          },
          "lastRunStatus": {
            "type": "string"
          },
          "plane": {
            "type": "string"
          },
          "route": {
            "type": "string"
          },
          "rowsScope": {
            "type": "string"
          },
          "runs30d": {
            "format": "int64",
            "type": "integer"
          },
          "scheduled": {
            "type": "boolean"
          },
          "type": {
            "type": "string"
          },
          "writtenBy": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "DocEdge": {
        "additionalProperties": false,
        "properties": {
          "count30d": {
            "format": "int64",
            "type": "integer"
          },
          "declared": {
            "type": "boolean"
          },
          "from": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "lastAt": {
            "type": [
              "string",
              "null"
            ]
          },
          "to": {
            "type": "string"
          }
        },
        "required": [
          "from",
          "to",
          "kind",
          "count30d",
          "lastAt",
          "declared"
        ],
        "type": "object"
      },
      "DocNode": {
        "additionalProperties": false,
        "properties": {
          "connection": {
            "type": "string"
          },
          "detail": {
            "$ref": "#/components/schemas/DocDetail"
          },
          "key": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "lastAt": {
            "type": [
              "string",
              "null"
            ]
          },
          "rows": {
            "format": "int64",
            "type": "integer"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "key",
          "kind",
          "label",
          "status",
          "lastAt",
          "detail"
        ],
        "type": "object"
      },
      "Document": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "account_name": {
            "type": "string"
          },
          "agency_doc_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "ams360_datasource": {
            "type": [
              "string",
              "null"
            ]
          },
          "carrier": {
            "$ref": "#/components/schemas/CatalogDocumentListItem"
          },
          "category": {
            "type": "string"
          },
          "category_basis": {
            "type": "string"
          },
          "changed_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "client_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "comment": {
            "type": [
              "string",
              "null"
            ]
          },
          "counterparty": {
            "type": "string"
          },
          "counterparty_basis": {
            "type": "string"
          },
          "described_policy_number": {
            "type": "string"
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "doc_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "document_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "document_status": {
            "type": [
              "string",
              "null"
            ]
          },
          "entered_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "extraction": {
            "$ref": "#/components/schemas/ResourceWire"
          },
          "file_ext": {
            "type": [
              "string",
              "null"
            ]
          },
          "file_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "medium": {
            "type": "string"
          },
          "medium_basis": {
            "type": "string"
          },
          "origin": {
            "type": "string"
          },
          "policy_basis": {
            "type": "string"
          },
          "policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "processed_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "received_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "relation_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "signature": {
            "type": "string"
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          },
          "storage_size": {
            "type": [
              "string",
              "null"
            ]
          },
          "term_year": {
            "format": "int64",
            "type": "integer"
          },
          "transaction_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "upload": {
            "$ref": "#/components/schemas/DocumentWire"
          }
        },
        "required": [
          "id",
          "account_id",
          "policy_id",
          "ams360_datasource",
          "document_id",
          "transaction_id",
          "relation_id",
          "agency_doc_type",
          "doc_type",
          "status",
          "document_status",
          "file_name",
          "file_ext",
          "storage_size",
          "received_date",
          "processed_date",
          "entered_date",
          "changed_date",
          "description",
          "comment",
          "client_name",
          "policy_number"
        ],
        "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"
      },
      "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"
      },
      "DocumentCertificateAmount": {
        "additionalProperties": false,
        "properties": {
          "label": {
            "type": "string"
          },
          "part": {
            "type": "string"
          },
          "slot": {
            "description": "The ACORD 25 box the coverage answer served; absent for a free row.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/DocumentCertificateValueSource"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "label",
          "value"
        ],
        "type": "object"
      },
      "DocumentCertificateAutomobile": {
        "additionalProperties": false,
        "properties": {
          "additional_insured": {
            "type": "boolean"
          },
          "bodily_injury_per_accident": {
            "type": "string"
          },
          "bodily_injury_per_person": {
            "type": "string"
          },
          "combined_single_limit": {
            "type": "string"
          },
          "effective_date": {
            "type": "string"
          },
          "expiration_date": {
            "type": "string"
          },
          "insurer_letter": {
            "type": "string"
          },
          "policy_number": {
            "type": "string"
          },
          "property_damage": {
            "type": "string"
          },
          "scope": {
            "type": "string"
          },
          "subrogation_waived": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "DocumentCertificateBasisPolicy": {
        "additionalProperties": false,
        "properties": {
          "policy_id": {
            "type": "string"
          },
          "record_revision": {
            "description": "The coverage record revision the values printed from; null when no coverage answer was served.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "policy_id",
          "record_revision"
        ],
        "type": "object"
      },
      "DocumentCertificateCheck": {
        "additionalProperties": false,
        "properties": {
          "blockers": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "findings": {
            "items": {
              "$ref": "#/components/schemas/DocumentCertificateFinding"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "holder": {
            "type": "string"
          },
          "status": {
            "enum": [
              "ready",
              "blocked",
              "indeterminate"
            ],
            "type": "string"
          },
          "unresolved": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "holder",
          "findings",
          "status",
          "blockers",
          "unresolved"
        ],
        "type": "object"
      },
      "DocumentCertificateDraft": {
        "additionalProperties": false,
        "properties": {
          "advisories": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "blocks": {
            "description": "Verified reasons the certificate cannot issue as requested; each is a carrier ask.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "check": {
            "$ref": "#/components/schemas/DocumentCertificateCheck"
          },
          "description_of_operations": {
            "type": "string"
          },
          "excluded": {
            "items": {
              "$ref": "#/components/schemas/DocumentCertificateDraftExcluded"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "holder": {
            "$ref": "#/components/schemas/DocumentCertificateHolder"
          },
          "insured_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "issues": {
            "items": {
              "$ref": "#/components/schemas/DocumentCertificateDraftIssue"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/DocumentCertificateDraftLine"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "missing": {
            "description": "Inputs needed before the certificate can finish; not carrier asks.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "enum": [
              "issuable",
              "blocked",
              "incomplete"
            ],
            "type": "string"
          }
        },
        "required": [
          "holder",
          "insured_name",
          "lines",
          "excluded",
          "description_of_operations",
          "check",
          "status",
          "blocks",
          "missing",
          "issues",
          "advisories"
        ],
        "type": "object"
      },
      "DocumentCertificateDraftAnswer": {
        "additionalProperties": false,
        "properties": {
          "default_policy_ids": {
            "description": "What a new certificate on this account starts with: one in-force policy per ACORD 25 section.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "draft": {
            "$ref": "#/components/schemas/DocumentCertificateDraft"
          },
          "placement": {
            "$ref": "#/components/schemas/DocumentCertificatePlacement"
          },
          "status": {
            "$ref": "#/components/schemas/DocumentCertificateDraftStatus"
          }
        },
        "required": [
          "status",
          "draft",
          "default_policy_ids",
          "placement"
        ],
        "type": "object"
      },
      "DocumentCertificateDraftBasis": {
        "additionalProperties": false,
        "properties": {
          "judgment": {
            "enum": [
              "certificate_draft"
            ],
            "type": "string"
          },
          "policies": {
            "items": {
              "$ref": "#/components/schemas/DocumentCertificateBasisPolicy"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "judgment",
          "policies"
        ],
        "type": "object"
      },
      "DocumentCertificateDraftExcluded": {
        "additionalProperties": false,
        "properties": {
          "carrier_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_label": {
            "type": "string"
          },
          "policy_id": {
            "type": "string"
          },
          "policy_number": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "policy_id",
          "line_label",
          "policy_number",
          "carrier_name"
        ],
        "type": "object"
      },
      "DocumentCertificateDraftFileRequest": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "description": "The account the certificate is for, by its Records id or account key.",
            "type": "string"
          },
          "acord_only": {
            "description": "preview only: the filled ACORD 25 without the transmittal page.",
            "type": "boolean"
          },
          "app_id": {
            "description": "preview of an unsaved draft: file it as a Document of the account in this app's Documents. issue: file the copy on every policy it printed in this app's Documents and, for a saved certificate, move it to prepared and link the first copy. The answer names the Document in document and carries no data. The same decision files to the same Document.",
            "type": "string"
          },
          "as_of": {
            "description": "The date a draft or preview is decided for, YYYY-MM-DD. Default: today (UTC). Refused on an issued copy, whose date is always the server's today.",
            "type": "string"
          },
          "certificate_id": {
            "description": "A saved certificate on the account.",
            "type": "string"
          },
          "holder": {
            "$ref": "#/components/schemas/DocumentCertificateHolder",
            "description": "Who the certificate is addressed to. Replaces a saved certificate's holder for this answer; a draft with no holder name names it as missing."
          },
          "mode": {
            "description": "preview: the permanently marked draft copy. issue: the final copy, refused unless the draft is issuable.",
            "enum": [
              "preview",
              "issue"
            ],
            "type": "string"
          },
          "policy_ids": {
            "description": "The policies chosen to print, by Records id. Absent: the saved choice, or every policy in force.",
            "items": {
              "type": "string"
            },
            "maxItems": 500,
            "type": "array"
          },
          "requirements": {
            "$ref": "#/components/schemas/DocumentCertificateRequirements",
            "description": "What the holder demands. Absent on an unsaved draft: evidence of coverage only."
          }
        },
        "required": [
          "mode",
          "account_id"
        ],
        "type": "object"
      },
      "DocumentCertificateDraftIssue": {
        "additionalProperties": false,
        "properties": {
          "detail": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "section_id": {
            "enum": [
              "holder",
              "description-of-operations",
              "holder-requirements",
              "coverages",
              "findings"
            ],
            "type": "string"
          }
        },
        "required": [
          "key",
          "section_id",
          "label",
          "detail"
        ],
        "type": "object"
      },
      "DocumentCertificateDraftLine": {
        "additionalProperties": false,
        "properties": {
          "additional_insured": {
            "enum": [
              "granted",
              "not_granted",
              "unknown"
            ],
            "type": "string"
          },
          "attributes": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "The ACORD 25 tick boxes the coverage answer controls, a person's confirmed value or else AMS 360's, by attribute code.",
            "type": "object"
          },
          "carrier_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "deductibles": {
            "items": {
              "$ref": "#/components/schemas/DocumentCertificateAmount"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "effective_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "expiration_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "limits": {
            "items": {
              "$ref": "#/components/schemas/DocumentCertificateAmount"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "limits_known": {
            "type": "boolean"
          },
          "limits_note": {
            "type": [
              "string",
              "null"
            ]
          },
          "limits_note_code": {
            "description": "Why the limits note is there; null exactly when limits_note is.",
            "enum": [
              "unread",
              "partial",
              "ams_none",
              "not_recorded",
              "conflict"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "limits_source": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_label": {
            "type": "string"
          },
          "policy_id": {
            "type": "string"
          },
          "policy_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "sources": {
            "items": {
              "$ref": "#/components/schemas/DocumentCertificateSourceRef"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "sublimits": {
            "items": {
              "$ref": "#/components/schemas/DocumentCertificateAmount"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "waiver_of_subrogation": {
            "enum": [
              "granted",
              "not_granted",
              "unknown"
            ],
            "type": "string"
          }
        },
        "required": [
          "policy_id",
          "line_label",
          "policy_number",
          "carrier_name",
          "effective_date",
          "expiration_date",
          "additional_insured",
          "waiver_of_subrogation",
          "limits",
          "limits_known",
          "limits_source",
          "limits_note",
          "limits_note_code",
          "sublimits",
          "sources"
        ],
        "type": "object"
      },
      "DocumentCertificateDraftReason": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "kind": {
            "enum": [
              "requirement",
              "input"
            ],
            "type": "string"
          },
          "requirement": {
            "type": "string"
          },
          "state": {
            "enum": [
              "met",
              "action",
              "gap",
              "unknown"
            ],
            "type": "string"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "kind",
          "state",
          "text"
        ],
        "type": "object"
      },
      "DocumentCertificateDraftRequest": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "description": "The account the certificate is for, by its Records id or account key.",
            "type": "string"
          },
          "as_of": {
            "description": "The date a draft or preview is decided for, YYYY-MM-DD. Default: today (UTC). Refused on an issued copy, whose date is always the server's today.",
            "type": "string"
          },
          "certificate_id": {
            "description": "A saved certificate on the account.",
            "type": "string"
          },
          "holder": {
            "$ref": "#/components/schemas/DocumentCertificateHolder",
            "description": "Who the certificate is addressed to. Replaces a saved certificate's holder for this answer; a draft with no holder name names it as missing."
          },
          "policy_ids": {
            "description": "The policies chosen to print, by Records id. Absent: the saved choice, or every policy in force.",
            "items": {
              "type": "string"
            },
            "maxItems": 500,
            "type": "array"
          },
          "requirements": {
            "$ref": "#/components/schemas/DocumentCertificateRequirements",
            "description": "What the holder demands. Absent on an unsaved draft: evidence of coverage only."
          }
        },
        "required": [
          "account_id"
        ],
        "type": "object"
      },
      "DocumentCertificateDraftStatus": {
        "additionalProperties": false,
        "properties": {
          "as_of": {
            "description": "The issue date the draft was decided for, YYYY-MM-DD.",
            "type": "string"
          },
          "basis": {
            "$ref": "#/components/schemas/DocumentCertificateDraftBasis"
          },
          "reasons": {
            "items": {
              "$ref": "#/components/schemas/DocumentCertificateDraftReason"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "value": {
            "enum": [
              "issuable",
              "blocked",
              "incomplete"
            ],
            "type": "string"
          }
        },
        "required": [
          "value",
          "reasons",
          "basis",
          "as_of"
        ],
        "type": "object"
      },
      "DocumentCertificateFile": {
        "additionalProperties": false,
        "properties": {
          "content_type": {
            "type": "string"
          },
          "data": {
            "description": "The PDF, base64. Empty when the preview is filed (app_id); read it from document.",
            "type": "string"
          },
          "document": {
            "$ref": "#/components/schemas/DocumentGenerated",
            "description": "With app_id: the Document the preview is filed as, or the first issued copy."
          },
          "documents": {
            "description": "issue with app_id: every Document filed, one per printed policy.",
            "items": {
              "$ref": "#/components/schemas/DocumentGenerated"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "draft": {
            "$ref": "#/components/schemas/DocumentCertificateDraftAnswer",
            "description": "The draft the file printed."
          },
          "filename": {
            "type": "string"
          },
          "form_source": {
            "$ref": "#/components/schemas/DocumentCertificateFormSource",
            "description": "issue only: the original the copy was filled from."
          },
          "mode": {
            "enum": [
              "preview",
              "issue"
            ],
            "type": "string"
          },
          "page_count": {
            "format": "int64",
            "type": "integer"
          },
          "sha256": {
            "description": "The file's own hash, as a prepared certificate records it.",
            "type": "string"
          }
        },
        "required": [
          "mode",
          "filename",
          "content_type",
          "data",
          "page_count",
          "sha256",
          "draft"
        ],
        "type": "object"
      },
      "DocumentCertificateFinding": {
        "additionalProperties": false,
        "properties": {
          "finding": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "requirement": {
            "type": "string"
          },
          "sources": {
            "items": {
              "$ref": "#/components/schemas/DocumentCertificateSourceRef"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "enum": [
              "met",
              "action",
              "gap",
              "unknown"
            ],
            "type": "string"
          }
        },
        "required": [
          "key",
          "requirement",
          "status",
          "finding",
          "sources"
        ],
        "type": "object"
      },
      "DocumentCertificateFormSource": {
        "additionalProperties": false,
        "properties": {
          "edition": {
            "type": "string"
          },
          "field_map_revision": {
            "type": "string"
          },
          "filled_form_sha256": {
            "type": "string"
          },
          "form_number": {
            "type": "string"
          },
          "origin": {
            "enum": [
              "bundled"
            ],
            "type": "string"
          },
          "profile_id": {
            "type": "string"
          },
          "source_id": {
            "type": "string"
          },
          "source_sha256": {
            "type": "string"
          },
          "template_id": {
            "type": "string"
          },
          "template_version": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "template_id",
          "source_id",
          "origin",
          "template_version",
          "profile_id",
          "form_number",
          "edition",
          "field_map_revision",
          "source_sha256",
          "filled_form_sha256"
        ],
        "type": "object"
      },
      "DocumentCertificateGeneralLiability": {
        "additionalProperties": false,
        "properties": {
          "additional_insured": {
            "type": "boolean"
          },
          "aggregate_applies_per": {
            "enum": [
              "POLICY",
              "PROJECT",
              "LOC"
            ],
            "type": "string"
          },
          "damage_to_rented": {
            "type": "string"
          },
          "each_occurrence": {
            "type": "string"
          },
          "effective_date": {
            "type": "string"
          },
          "expiration_date": {
            "type": "string"
          },
          "form": {
            "enum": [
              "OCCUR",
              "CLAIMS-MADE"
            ],
            "type": "string"
          },
          "general_aggregate": {
            "type": "string"
          },
          "insurer_letter": {
            "type": "string"
          },
          "med_exp": {
            "type": "string"
          },
          "personal_adv_injury": {
            "type": "string"
          },
          "policy_number": {
            "type": "string"
          },
          "products_comp_op_agg": {
            "type": "string"
          },
          "subrogation_waived": {
            "type": "boolean"
          },
          "type_suffix": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "DocumentCertificateHolder": {
        "additionalProperties": false,
        "properties": {
          "address_line1": {
            "type": "string"
          },
          "address_line2": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "name": {
            "description": "The holder's legal name.",
            "type": "string"
          },
          "operations": {
            "description": "The description of operations the certificate prints.",
            "type": "string"
          },
          "postal_code": {
            "type": "string"
          },
          "reference": {
            "description": "The job, project or reference number the holder quoted.",
            "type": "string"
          },
          "state": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "DocumentCertificateInsurer": {
        "additionalProperties": false,
        "properties": {
          "letter": {
            "type": "string"
          },
          "naic": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "letter",
          "name",
          "naic"
        ],
        "type": "object"
      },
      "DocumentCertificateLabeledValue": {
        "additionalProperties": false,
        "properties": {
          "label": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "label",
          "value"
        ],
        "type": "object"
      },
      "DocumentCertificateOtherRow": {
        "additionalProperties": false,
        "properties": {
          "additional_insured": {
            "type": "boolean"
          },
          "effective_date": {
            "type": "string"
          },
          "expiration_date": {
            "type": "string"
          },
          "insurer_letter": {
            "type": "string"
          },
          "limits": {
            "items": {
              "$ref": "#/components/schemas/DocumentCertificateLabeledValue"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "policy_number": {
            "type": "string"
          },
          "subrogation_waived": {
            "type": "boolean"
          },
          "type_of_insurance": {
            "type": "string"
          }
        },
        "required": [
          "type_of_insurance",
          "limits"
        ],
        "type": "object"
      },
      "DocumentCertificatePlacement": {
        "additionalProperties": false,
        "properties": {
          "authorized_representative": {
            "type": "string"
          },
          "automobile": {
            "$ref": "#/components/schemas/DocumentCertificateAutomobile"
          },
          "certificate_date": {
            "type": "string"
          },
          "certificate_holder": {
            "$ref": "#/components/schemas/DocumentCertificatePrintedParty"
          },
          "description_of_operations": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "general_liability": {
            "$ref": "#/components/schemas/DocumentCertificateGeneralLiability"
          },
          "insured": {
            "$ref": "#/components/schemas/DocumentCertificatePrintedParty"
          },
          "insurers": {
            "items": {
              "$ref": "#/components/schemas/DocumentCertificateInsurer"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "other": {
            "items": {
              "$ref": "#/components/schemas/DocumentCertificateOtherRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "producer": {
            "$ref": "#/components/schemas/DocumentCertificatePrintedProducer"
          },
          "revision_note": {
            "type": "string"
          },
          "umbrella": {
            "$ref": "#/components/schemas/DocumentCertificateUmbrella"
          },
          "workers_comp": {
            "$ref": "#/components/schemas/DocumentCertificateWorkersComp"
          }
        },
        "required": [
          "certificate_date",
          "producer",
          "insured",
          "insurers",
          "description_of_operations",
          "certificate_holder",
          "authorized_representative"
        ],
        "type": "object"
      },
      "DocumentCertificatePrintedAddress": {
        "additionalProperties": false,
        "properties": {
          "city_state_zip": {
            "type": "string"
          },
          "line1": {
            "type": "string"
          }
        },
        "required": [
          "line1",
          "city_state_zip"
        ],
        "type": "object"
      },
      "DocumentCertificatePrintedParty": {
        "additionalProperties": false,
        "properties": {
          "address": {
            "$ref": "#/components/schemas/DocumentCertificatePrintedAddress"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "address"
        ],
        "type": "object"
      },
      "DocumentCertificatePrintedProducer": {
        "additionalProperties": false,
        "properties": {
          "address": {
            "$ref": "#/components/schemas/DocumentCertificatePrintedAddress"
          },
          "contact_name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "address"
        ],
        "type": "object"
      },
      "DocumentCertificateRequirements": {
        "additionalProperties": false,
        "properties": {
          "abuse_molestation": {
            "type": "boolean"
          },
          "additional_insured": {
            "type": "boolean"
          },
          "additional_insured_note": {
            "type": "string"
          },
          "holder": {
            "type": "string"
          },
          "notice_of_cancellation_days": {
            "format": "int64",
            "type": "integer"
          },
          "primary_non_contributory": {
            "type": "boolean"
          },
          "wc_waiver_of_subrogation": {
            "type": "boolean"
          }
        },
        "required": [
          "holder",
          "additional_insured",
          "primary_non_contributory",
          "abuse_molestation",
          "wc_waiver_of_subrogation"
        ],
        "type": "object"
      },
      "DocumentCertificateSourceRef": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "ref": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "id",
          "label"
        ],
        "type": "object"
      },
      "DocumentCertificateUmbrella": {
        "additionalProperties": false,
        "properties": {
          "additional_insured": {
            "type": "boolean"
          },
          "aggregate": {
            "type": "string"
          },
          "deductible_or_retention": {
            "type": "string"
          },
          "each_occurrence": {
            "type": "string"
          },
          "effective_date": {
            "type": "string"
          },
          "expiration_date": {
            "type": "string"
          },
          "form": {
            "enum": [
              "OCCUR",
              "CLAIMS-MADE"
            ],
            "type": "string"
          },
          "insurer_letter": {
            "type": "string"
          },
          "is_excess": {
            "type": "boolean"
          },
          "policy_number": {
            "type": "string"
          },
          "subrogation_waived": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "DocumentCertificateValueDocument": {
        "additionalProperties": false,
        "properties": {
          "document_id": {
            "type": "string"
          },
          "page": {
            "format": "int64",
            "type": "integer"
          },
          "quote": {
            "type": "string"
          }
        },
        "required": [
          "document_id",
          "page",
          "quote"
        ],
        "type": "object"
      },
      "DocumentCertificateValueSource": {
        "additionalProperties": false,
        "properties": {
          "acted_by": {
            "type": "string"
          },
          "ams_value": {
            "type": "string"
          },
          "confirmed_at": {
            "type": "string"
          },
          "confirmed_by": {
            "type": "string"
          },
          "conflict": {
            "enum": [
              "entered_differs",
              "ams_changed"
            ],
            "type": "string"
          },
          "controlling": {
            "enum": [
              "ams",
              "record",
              "none"
            ],
            "type": "string"
          },
          "document": {
            "$ref": "#/components/schemas/DocumentCertificateValueDocument"
          },
          "entered_at": {
            "type": "string"
          },
          "entered_by": {
            "type": "string"
          },
          "matches_ams": {
            "type": "boolean"
          },
          "record_value": {
            "type": "string"
          },
          "rule": {
            "format": "int64",
            "type": "integer"
          },
          "source": {
            "enum": [
              "ams",
              "manual",
              "extraction",
              "carry_forward"
            ],
            "type": "string"
          },
          "state": {
            "enum": [
              "confirmed",
              "unverified"
            ],
            "type": "string"
          }
        },
        "required": [
          "controlling",
          "rule",
          "source",
          "state"
        ],
        "type": "object"
      },
      "DocumentCertificateWorkersComp": {
        "additionalProperties": false,
        "properties": {
          "additional_insured": {
            "type": "boolean"
          },
          "effective_date": {
            "type": "string"
          },
          "el_disease_ea_employee": {
            "type": "string"
          },
          "el_disease_policy_limit": {
            "type": "string"
          },
          "el_each_accident": {
            "type": "string"
          },
          "expiration_date": {
            "type": "string"
          },
          "insurer_letter": {
            "type": "string"
          },
          "per_statute": {
            "type": "boolean"
          },
          "policy_number": {
            "type": "string"
          },
          "subrogation_waived": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "DocumentCheck": {
        "additionalProperties": false,
        "properties": {
          "check": {},
          "draft": {
            "$ref": "#/components/schemas/DocumentDraft"
          },
          "page_count": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "draft",
          "check",
          "page_count"
        ],
        "type": "object"
      },
      "DocumentColumnRef": {
        "additionalProperties": false,
        "properties": {
          "column": {
            "type": "string"
          },
          "family": {
            "type": "string"
          }
        },
        "required": [
          "family",
          "column"
        ],
        "type": "object"
      },
      "DocumentContentGrant": {
        "additionalProperties": false,
        "properties": {
          "expires_at": {
            "description": "When the URL stops working.",
            "format": "date-time",
            "type": "string"
          },
          "url": {
            "description": "A short-lived signed URL for the document's bytes.",
            "type": "string"
          }
        },
        "required": [
          "url",
          "expires_at"
        ],
        "type": "object"
      },
      "DocumentDraft": {
        "additionalProperties": false,
        "properties": {
          "document_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "sources": {
            "additionalProperties": {
              "$ref": "#/components/schemas/DocumentValueSource"
            },
            "type": "object"
          },
          "status": {
            "type": "string"
          },
          "subject": {
            "type": "string"
          },
          "template_version": {
            "format": "int64",
            "type": "integer"
          },
          "type": {
            "type": "string"
          },
          "type_version": {
            "format": "int64",
            "type": "integer"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "values": {}
        },
        "required": [
          "id",
          "type",
          "type_version",
          "template_version",
          "subject",
          "status",
          "values",
          "sources",
          "updated_at"
        ],
        "type": "object"
      },
      "DocumentDraftExportsJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DraftExports"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "DocumentDraftPresentationJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DraftPresentation"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "DocumentDraftRenderJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DraftFile"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "DocumentField": {
        "additionalProperties": false,
        "properties": {
          "columns": {},
          "enum_values": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "filled_by": {
            "type": "string"
          },
          "hint": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "required": {
            "type": "boolean"
          },
          "type": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "label",
          "type",
          "filled_by",
          "required"
        ],
        "type": "object"
      },
      "DocumentFieldGap": {
        "additionalProperties": false,
        "properties": {
          "field": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          }
        },
        "required": [
          "field",
          "reason"
        ],
        "type": "object"
      },
      "DocumentFieldSource": {
        "additionalProperties": false,
        "properties": {
          "column": {
            "type": "string"
          },
          "derive": {
            "type": "string"
          },
          "family": {
            "type": "string"
          },
          "from": {
            "items": {
              "$ref": "#/components/schemas/DocumentColumnRef"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "reads": {
            "items": {
              "$ref": "#/components/schemas/DocumentReadDependency"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "rows": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "DocumentFields": {
        "additionalProperties": false,
        "properties": {
          "fields": {
            "items": {
              "$ref": "#/components/schemas/DocumentField"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "filed": {
            "$ref": "#/components/schemas/FiledSource"
          },
          "gaps": {
            "items": {
              "$ref": "#/components/schemas/DocumentFieldGap"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "known": {
            "items": {
              "$ref": "#/components/schemas/DocumentKnownValue"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source_gaps": {
            "items": {
              "$ref": "#/components/schemas/DocumentSourceGap"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "subject": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/DocumentTypeSummary"
          }
        },
        "required": [
          "type",
          "fields",
          "known",
          "gaps"
        ],
        "type": "object"
      },
      "DocumentFileReserved": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": "string"
          },
          "app_id": {
            "type": "string"
          },
          "archived_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "archived_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "certificate_id": {
            "type": "string"
          },
          "claim_id": {
            "type": "string"
          },
          "content_sha256": {
            "type": "string"
          },
          "content_type": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "extraction_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "policy_id": {
            "type": "string"
          },
          "raw_text": {
            "type": "string"
          },
          "size_bytes": {
            "format": "int64",
            "type": "integer"
          },
          "source": {
            "type": "string"
          },
          "submission_id": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "type_basis": {
            "description": "producer: the type was sent with the request. file_name: the request sent none, and the platform read it from name.",
            "enum": [
              "producer",
              "file_name"
            ],
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "upload_receipt": {},
          "uploaded_at": {
            "format": "date-time",
            "type": "string"
          },
          "uploaded_by": {
            "type": "string"
          }
        },
        "required": [
          "type_basis",
          "app_id",
          "id",
          "type",
          "name",
          "content_type",
          "size_bytes",
          "content_sha256",
          "uploaded_by",
          "uploaded_at",
          "source",
          "archived_at",
          "archived_by",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "DocumentFill": {
        "additionalProperties": false,
        "properties": {
          "applied": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "check": {},
          "draft": {
            "$ref": "#/components/schemas/DocumentDraft"
          },
          "page_count": {
            "format": "int64",
            "type": "integer"
          },
          "problems": {}
        },
        "required": [
          "draft",
          "applied",
          "problems",
          "check",
          "page_count"
        ],
        "type": "object"
      },
      "DocumentFillEntry": {
        "additionalProperties": false,
        "properties": {
          "field": {
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/DocumentValueSource"
          },
          "value": {}
        },
        "required": [
          "field",
          "value"
        ],
        "type": "object"
      },
      "DocumentFillRequest": {
        "additionalProperties": false,
        "properties": {
          "expected_updated_at": {
            "description": "The draft's updated_at as last read. Required to revise a draft; a newer draft answers 412 ETAG_MISMATCH with reason RECORD_CHANGED.",
            "format": "date-time",
            "type": "string"
          },
          "repin": {
            "description": "Move the draft to the type's newest version and the org's active template.",
            "type": "boolean"
          },
          "subject": {
            "description": "The Records record reference the document is about, or seat:&lt;your user id&gt; for a draft about no account on file, which only that seat reads, revises or downloads and which is never filed. Required on the first fill. On a revision of a draft about no account, a record reference moves the draft onto that record; a draft already about a record keeps it.",
            "type": "string"
          },
          "type": {
            "description": "The document type key. Required on the first fill, which creates the draft; a revision may omit it.",
            "type": "string"
          },
          "values": {
            "description": "The values to apply, each with its source. client and signature fields are refused; constant fields are ignored.",
            "items": {
              "$ref": "#/components/schemas/DocumentFillEntry"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "values"
        ],
        "type": "object"
      },
      "DocumentFormAnswer": {
        "additionalProperties": false,
        "properties": {
          "field": {
            "description": "The box name exactly as inspect listed it.",
            "type": "string"
          },
          "from": {
            "description": "The record the value was read from, or the producer's words. Required: a value with no origin is a guess.",
            "type": "string"
          },
          "source": {
            "description": "account, prior_year or producer.",
            "type": "string"
          },
          "value": {
            "description": "What the box prints: a string, or a boolean for a checkbox."
          }
        },
        "required": [
          "field",
          "value",
          "source",
          "from"
        ],
        "type": "object"
      },
      "DocumentFormBlankBox": {
        "additionalProperties": false,
        "properties": {
          "field": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "page": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "field",
          "label",
          "page"
        ],
        "type": "object"
      },
      "DocumentFormField": {
        "additionalProperties": false,
        "properties": {
          "existing": {
            "description": "The answer the form already holds in this box: a Word form's, or the applicant's own on a signed copy attached in the conversation (checked for a checkbox, unchecked for a box of a choice answered with another box). A fill keeps it, and it is not asked again.",
            "type": "string"
          },
          "kind": {
            "description": "text, checkbox, dropdown or radio.",
            "type": "string"
          },
          "label": {
            "description": "The question as the page prints it, or the box name when the page prints nothing near it.",
            "type": "string"
          },
          "max_length": {
            "format": "int64",
            "type": "integer"
          },
          "multiline": {
            "type": "boolean"
          },
          "name": {
            "description": "The box's name; an answer names it exactly.",
            "type": "string"
          },
          "option": {
            "description": "For a checkbox: the choice word printed beside it.",
            "type": "string"
          },
          "options": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "page": {
            "format": "int64",
            "type": "integer"
          },
          "prior_year": {
            "description": "The answer on last year's copy, a string or a boolean, when prior was sent."
          }
        },
        "required": [
          "name",
          "kind",
          "label",
          "page"
        ],
        "type": "object"
      },
      "DocumentFormFill": {
        "additionalProperties": false,
        "properties": {
          "blank": {
            "items": {
              "$ref": "#/components/schemas/DocumentFormBlankBox"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cleared": {
            "description": "The boxes an answer of empty text named that this copy leaves blank; on a refill, each one's earlier answer is taken off. A box an empty answer named that is not blank (the subject's Records fill it, the applicant answered it) is a problem instead.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "confirm": {
            "description": "Boxes answered from last year's copy, for the producer to confirm.",
            "items": {
              "$ref": "#/components/schemas/DocumentFormBlankBox"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "document": {
            "$ref": "#/components/schemas/DocumentGenerated"
          },
          "facts_unread": {
            "description": "Why the subject's Records facts were not read, so only the answers sent filled the copy.",
            "type": "string"
          },
          "filled": {
            "items": {
              "$ref": "#/components/schemas/DocumentFormFilledBox"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "kept": {
            "description": "Boxes the applicant answered on the signed copy attached in the conversation, kept as written.",
            "items": {
              "$ref": "#/components/schemas/DocumentFormBlankBox"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "known": {
            "description": "The boxes filled from the subject's Records facts; a box the request answers takes the request's answer.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "problems": {
            "items": {
              "$ref": "#/components/schemas/DocumentFormProblem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "questions": {
            "$ref": "#/components/schemas/DocumentFormQuestions"
          },
          "replaced": {
            "description": "The earlier copy (refill) this copy replaced on the subject's Documents.",
            "type": "string"
          },
          "signatures_cleared": {
            "description": "Signature, initials and date-signed boxes the form carried, cleared on the copy: the applicant signs the filled copy again.",
            "format": "int64",
            "type": "integer"
          },
          "status": {
            "description": "filled or blocked.",
            "type": "string"
          },
          "stored": {
            "description": "False when this exact fill was already stored and its Document is answered.",
            "type": "boolean"
          },
          "unanswered": {
            "description": "Boxes whose answer only said the files do not hold the fact (\"not supplied\", \"unknown\"): not written, so the box stays blank. Ask for each one; never write such a sentence into a form.",
            "items": {
              "$ref": "#/components/schemas/DocumentFormBlankBox"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "status",
          "stored"
        ],
        "type": "object"
      },
      "DocumentFormFillRequest": {
        "additionalProperties": false,
        "properties": {
          "answers": {
            "description": "Every answer, each with its source. A box no answer names stays blank.",
            "items": {
              "$ref": "#/components/schemas/DocumentFormAnswer"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "app_id": {
            "description": "The app whose Documents hold the form and receive the filled copy.",
            "type": "string"
          },
          "name": {
            "description": "The filled copy's file name. Default: the form's name with ' - filled.pdf'.",
            "type": "string"
          },
          "ref": {
            "$ref": "#/components/schemas/DocumentFormRef",
            "description": "The form to fill."
          },
          "refill": {
            "description": "An earlier filled copy of this same form, by the document id its fill answered. Its written answers are kept, each answer sent replaces that box's, and an answer of empty text takes that box's earlier answer off. When the same person filed it in the same turn, the new copy replaces it on the subject's Documents; otherwise both are kept.",
            "type": "string"
          },
          "subject": {
            "description": "The Records record reference the filled copy is about, or seat:&lt;your user id&gt; for a copy about no account on file (a prospect): no Records fact is read, and only that seat reads, refills or downloads the copy.",
            "type": "string"
          },
          "turn": {
            "description": "The Assistant turn filing the copy. A new copy records it, so the turn's outcome counts the copy it made.",
            "type": "string"
          }
        },
        "required": [
          "app_id",
          "ref",
          "subject",
          "answers"
        ],
        "type": "object"
      },
      "DocumentFormFilledBox": {
        "additionalProperties": false,
        "properties": {
          "field": {
            "type": "string"
          },
          "from": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "page": {
            "format": "int64",
            "type": "integer"
          },
          "source": {
            "type": "string"
          },
          "value": {}
        },
        "required": [
          "field",
          "label",
          "page",
          "value",
          "source",
          "from"
        ],
        "type": "object"
      },
      "DocumentFormInspectRequest": {
        "additionalProperties": false,
        "properties": {
          "app_id": {
            "description": "The app whose Documents hold the form, as on the Documents routes.",
            "type": "string"
          },
          "prior": {
            "$ref": "#/components/schemas/DocumentFormRef",
            "description": "Last year's completed copy of the same form; each box's answer on it comes back as prior_year."
          },
          "ref": {
            "$ref": "#/components/schemas/DocumentFormRef",
            "description": "The form to read."
          },
          "subject": {
            "description": "Optional Records record reference the form is for. With it, known names each box the subject's Records facts answer.",
            "type": "string"
          }
        },
        "required": [
          "app_id",
          "ref"
        ],
        "type": "object"
      },
      "DocumentFormInspection": {
        "additionalProperties": false,
        "properties": {
          "facts_unread": {
            "description": "With subject: why the subject's Records facts were not read, so no box is answered from Records.",
            "type": "string"
          },
          "fields": {
            "items": {
              "$ref": "#/components/schemas/DocumentFormField"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "fillable": {
            "type": "boolean"
          },
          "format": {
            "description": "What the form is: a PDF with fillable boxes, a PDF whose questions are printed flat into the page, or a Word application.",
            "enum": [
              "pdf_acroform",
              "pdf_flat",
              "docx"
            ],
            "type": "string"
          },
          "known": {
            "description": "With subject: each box the subject's Records facts answer, with the value a fill writes there.",
            "items": {
              "$ref": "#/components/schemas/DocumentFormAnswer"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "license": {
            "description": "The standard the form is, read from its own bytes (acord for an ACORD form); absent when it is none the platform names.",
            "type": "string"
          },
          "page_count": {
            "format": "int64",
            "type": "integer"
          },
          "reason": {
            "description": "Why the form cannot be filled: xfa, encrypted, unreadable, unplaced_fields, printed_signature (a signed copy whose signature is printed into the page) or no_questions.",
            "type": "string"
          },
          "reason_detail": {
            "description": "For unreadable: the PDF reader's own words for what it refused in the file.",
            "type": "string"
          },
          "source_sha256": {
            "type": "string"
          }
        },
        "required": [
          "fillable",
          "page_count",
          "fields"
        ],
        "type": "object"
      },
      "DocumentFormProblem": {
        "additionalProperties": false,
        "properties": {
          "field": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        },
        "required": [
          "message"
        ],
        "type": "object"
      },
      "DocumentFormQuestion": {
        "additionalProperties": false,
        "properties": {
          "label": {
            "type": "string"
          },
          "page": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "page",
          "label"
        ],
        "type": "object"
      },
      "DocumentFormQuestions": {
        "additionalProperties": false,
        "properties": {
          "answered": {
            "format": "int64",
            "type": "integer"
          },
          "followups": {
            "format": "int64",
            "type": "integer"
          },
          "needed": {
            "items": {
              "$ref": "#/components/schemas/DocumentFormQuestion"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "total",
          "answered",
          "needed",
          "followups"
        ],
        "type": "object"
      },
      "DocumentFormRef": {
        "additionalProperties": false,
        "properties": {
          "attachment": {
            "description": "A conversation attachment holding the form: its id, its doc: address, or its file name as the conversation lists it. Read as the caller, inside conversation only; a scoped key also needs conversations:use.",
            "type": "string"
          },
          "conversation": {
            "description": "The conversation the attachment was sent in. Required with attachment.",
            "type": "string"
          },
          "document": {
            "description": "A ready Document of the org, under app_id, holding the form.",
            "type": "string"
          },
          "record": {
            "description": "A filed Records document holding the form, by its Records id, read through the Records documents content route as the caller.",
            "type": "string"
          },
          "template": {
            "description": "An active shared carrier template id, admitted under the carrier library grant.",
            "type": "string"
          }
        },
        "type": "object"
      },
      "DocumentGenerate": {
        "additionalProperties": false,
        "properties": {
          "document": {
            "$ref": "#/components/schemas/DocumentGenerated"
          },
          "draft": {
            "$ref": "#/components/schemas/DocumentDraft"
          },
          "rendered": {
            "type": "boolean"
          }
        },
        "required": [
          "draft",
          "document",
          "rendered"
        ],
        "type": "object"
      },
      "DocumentGenerateRequest": {
        "additionalProperties": false,
        "properties": {
          "app_id": {
            "description": "The app whose Documents the file is stored in, as on the Documents routes.",
            "type": "string"
          },
          "format": {
            "description": "pdf, docx or xlsx, one of the type's outputs. Default: the type's first output.",
            "type": "string"
          },
          "turn": {
            "description": "The Assistant turn filing the draft. A revision filed in the same turn, by the same person, replaces the copy that turn filed while no one has changed it; every other revision keeps its earlier copy.",
            "type": "string"
          }
        },
        "required": [
          "app_id"
        ],
        "type": "object"
      },
      "DocumentGenerated": {
        "additionalProperties": false,
        "properties": {
          "content_type": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "page_count": {
            "format": "int64",
            "type": "integer"
          },
          "size_bytes": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "type": "object"
      },
      "DocumentKnownProvenance": {
        "additionalProperties": false,
        "properties": {
          "from": {
            "type": "string"
          },
          "ref": {
            "type": "string"
          }
        },
        "required": [
          "from"
        ],
        "type": "object"
      },
      "DocumentKnownValue": {
        "additionalProperties": false,
        "properties": {
          "field": {
            "type": "string"
          },
          "provenance": {
            "$ref": "#/components/schemas/DocumentKnownProvenance"
          },
          "rows": {
            "items": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "type": "array"
          },
          "source": {
            "$ref": "#/components/schemas/DocumentFieldSource"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "field",
          "source"
        ],
        "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"
      },
      "DocumentLibraryEntryJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/LibraryCard"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "DocumentLibraryFileJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/LibraryFile"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "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"
      },
      "DocumentLibraryPreviewJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "additionalProperties": false,
            "properties": {
              "file": {
                "$ref": "#/components/schemas/LibraryFile"
              },
              "id": {
                "type": "string"
              },
              "kind": {
                "enum": [
                  "pdf",
                  "workbook"
                ],
                "type": "string"
              },
              "source_sha256": {
                "type": "string"
              },
              "template_version": {
                "format": "int64",
                "type": "integer"
              },
              "type_version": {
                "format": "int64",
                "type": "integer"
              },
              "variant": {
                "type": "string"
              },
              "workbook": {
                "$ref": "#/components/schemas/DocumentWorkbookPresentation"
              }
            },
            "required": [
              "kind",
              "id",
              "type_version",
              "template_version",
              "variant"
            ],
            "type": "object"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "DocumentQuoteComparisonJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/QuoteComparisonFile"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "DocumentReadDependency": {
        "additionalProperties": false,
        "properties": {
          "paths": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "read": {
            "type": "string"
          }
        },
        "required": [
          "read",
          "paths"
        ],
        "type": "object"
      },
      "DocumentRef": {
        "additionalProperties": false,
        "properties": {
          "document_id": {
            "type": "string"
          },
          "extraction_id": {
            "type": "string"
          },
          "extractor_version": {
            "type": "string"
          },
          "page": {
            "format": "int64",
            "type": "integer"
          },
          "quote": {
            "type": "string"
          }
        },
        "required": [
          "document_id",
          "page",
          "quote",
          "extraction_id",
          "extractor_version"
        ],
        "type": "object"
      },
      "DocumentReservationInput": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": "string"
          },
          "content_type": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "size_bytes": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "account_id",
          "name",
          "content_type",
          "size_bytes"
        ],
        "type": "object"
      },
      "DocumentReservationOutcome": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "enum": [
              "document.reserve"
            ],
            "type": "string"
          },
          "dry_run": {
            "type": "boolean"
          },
          "key": {
            "type": "string"
          },
          "output": {
            "$ref": "#/components/schemas/ReservedDocument"
          },
          "replayed": {
            "type": "boolean"
          },
          "subject": {
            "type": "string"
          }
        },
        "required": [
          "action",
          "key",
          "subject",
          "output"
        ],
        "type": "object"
      },
      "DocumentReservationRequest": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "enum": [
              "document.reserve"
            ],
            "type": "string"
          },
          "dry_run": {
            "type": "boolean"
          },
          "input": {
            "$ref": "#/components/schemas/DocumentReservationInput"
          }
        },
        "required": [
          "action",
          "input"
        ],
        "type": "object"
      },
      "DocumentReservationResult": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DocumentReservationOutcome"
          },
          "request_id": {
            "type": "string"
          }
        },
        "required": [
          "data",
          "request_id"
        ],
        "type": "object"
      },
      "DocumentSourceGap": {
        "additionalProperties": false,
        "properties": {
          "field": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          }
        },
        "required": [
          "field",
          "reason"
        ],
        "type": "object"
      },
      "DocumentSourceWorkbook": {
        "additionalProperties": false,
        "properties": {
          "sha256": {
            "type": "string"
          },
          "sheets": {
            "items": {
              "oneOf": [
                {
                  "additionalProperties": false,
                  "properties": {
                    "columns": {
                      "items": {
                        "$ref": "#/components/schemas/WorkbookColumn"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "fields": {
                      "items": {
                        "type": "string"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "groups": {
                      "items": {
                        "$ref": "#/components/schemas/WorkbookGroup"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "mode": {
                      "enum": [
                        "grid"
                      ],
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "notes": {
                      "items": {
                        "type": "string"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "rows": {
                      "items": {
                        "$ref": "#/components/schemas/WorkbookRow"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "supergroups": {
                      "items": {
                        "$ref": "#/components/schemas/WorkbookSupergroup"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "name",
                    "mode",
                    "fields",
                    "supergroups",
                    "groups",
                    "columns",
                    "rows",
                    "notes"
                  ],
                  "type": "object"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "lines": {
                      "items": {
                        "$ref": "#/components/schemas/WorkbookLine"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "mode": {
                      "enum": [
                        "lines"
                      ],
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "name",
                    "mode",
                    "lines"
                  ],
                  "type": "object"
                }
              ]
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source": {
            "type": "string"
          }
        },
        "required": [
          "source",
          "sha256",
          "sheets"
        ],
        "type": "object"
      },
      "DocumentTableExtraction": {
        "additionalProperties": false,
        "properties": {
          "attachment_id": {
            "type": "string"
          },
          "columns": {
            "description": "The headers: the asked columns, then Source page.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "conversation_id": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "draft": {
            "description": "Null until filed; then the template fill's draft (draftId, templateId, format and the rest)."
          },
          "error": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/DocumentTableExtractionError",
                "description": "Why a job failed, or on a partial summary which totals differ."
              },
              {
                "type": "null"
              }
            ]
          },
          "failed_pages": {
            "items": {
              "$ref": "#/components/schemas/DocumentTableExtractionFailedPages"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "filename": {
            "type": "string"
          },
          "finished_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "pages_done": {
            "description": "Pages in chunks that ended, read or failed.",
            "format": "int64",
            "type": "integer"
          },
          "pages_total": {
            "format": "int64",
            "type": "integer"
          },
          "row_rule": {
            "type": "string"
          },
          "rows": {
            "description": "Rows found so far.",
            "format": "int64",
            "type": "integer"
          },
          "settled": {
            "description": "True once the job is done, partial or failed: its state never changes again.",
            "type": "boolean"
          },
          "state": {
            "description": "running: chunks reading. filing: every chunk ended and the draft is being filed. done: every page read and the draft filed. partial: the draft filed, and failed_pages lists pages no attempt could read or error (totals_mismatch) says which summary totals differ from the document's printed ones. failed: no draft; error says why.",
            "enum": [
              "running",
              "filing",
              "done",
              "partial",
              "failed"
            ],
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "state",
          "settled",
          "conversation_id",
          "attachment_id",
          "filename",
          "title",
          "columns",
          "row_rule",
          "pages_total",
          "pages_done",
          "rows",
          "failed_pages",
          "draft",
          "error",
          "created_at",
          "updated_at",
          "finished_at"
        ],
        "type": "object"
      },
      "DocumentTableExtractionAnswer": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DocumentTableExtraction"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "DocumentTableExtractionError": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "message"
        ],
        "type": "object"
      },
      "DocumentTableExtractionFailedPages": {
        "additionalProperties": false,
        "properties": {
          "from": {
            "format": "int64",
            "type": "integer"
          },
          "reason": {
            "enum": [
              "model_error",
              "invalid_answer",
              "page_unreadable"
            ],
            "type": "string"
          },
          "to": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "from",
          "to",
          "reason"
        ],
        "type": "object"
      },
      "DocumentTableExtractionRequest": {
        "additionalProperties": false,
        "properties": {
          "account": {
            "description": "An account to file the draft on, admitted under the seat's scope. Absent: the draft is the seat's own.",
            "type": "string"
          },
          "attachment_id": {
            "description": "The document's id in the conversation, or its doc: address on the current version.",
            "type": "string"
          },
          "columns": {
            "description": "1 to 11 distinct column names, each 1 to 80 characters, used verbatim as headers. The job adds Source page as the last column.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "conversation_id": {
            "description": "The conversation that holds the document (a UUID).",
            "type": "string"
          },
          "row_rule": {
            "description": "What one row is, at most 300 characters; with summary, what one item is. Absent: one row per item the columns describe.",
            "type": "string"
          },
          "summary": {
            "$ref": "#/components/schemas/DocumentTableExtractionSummary",
            "description": "Summary rows instead of one row per item: every item is read, then grouped, counted and added up by the job and checked against the document's printed grand totals. Absent: one row per item."
          },
          "title": {
            "description": "The spreadsheet's table title, at most 120 characters. Absent: the file name.",
            "type": "string"
          }
        },
        "required": [
          "conversation_id",
          "attachment_id",
          "columns"
        ],
        "type": "object"
      },
      "DocumentTableExtractionSummary": {
        "additionalProperties": false,
        "properties": {
          "count": {
            "description": "The column that holds each row's number of items.",
            "type": "string"
          },
          "group_by": {
            "description": "The columns whose values key one summary row (a policy effective and expiration date). Empty: one row for the whole document.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "period": {
            "description": "An item date the columns do not show (a date of loss). An item whose group-by values are blank is grouped into the 12-month period of this date that holds it, counted from the first date of the document's printed range, and the row's group-by columns name the period's start and end.",
            "type": "string"
          },
          "sum": {
            "description": "The columns added up over each row's items.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "group_by",
          "sum"
        ],
        "type": "object"
      },
      "DocumentTemplateFieldsJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {}
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "DocumentTemplateFillJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {}
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "DocumentTypeSummary": {
        "additionalProperties": false,
        "properties": {
          "field_count": {
            "format": "int64",
            "type": "integer"
          },
          "key": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "outputs": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "version": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "key",
          "version",
          "name",
          "kind",
          "outputs",
          "field_count"
        ],
        "type": "object"
      },
      "DocumentValueSource": {
        "additionalProperties": false,
        "properties": {
          "from": {
            "type": "string"
          },
          "ref": {
            "type": "string"
          }
        },
        "required": [
          "from"
        ],
        "type": "object"
      },
      "DocumentWire": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": "string"
          },
          "app_id": {
            "type": "string"
          },
          "archived_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "archived_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "certificate_id": {
            "type": "string"
          },
          "claim_id": {
            "type": "string"
          },
          "content_sha256": {
            "type": "string"
          },
          "content_type": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "extraction_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "policy_id": {
            "type": "string"
          },
          "raw_text": {
            "type": "string"
          },
          "size_bytes": {
            "format": "int64",
            "type": "integer"
          },
          "source": {
            "type": "string"
          },
          "submission_id": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "upload_receipt": {},
          "uploaded_at": {
            "format": "date-time",
            "type": "string"
          },
          "uploaded_by": {
            "type": "string"
          }
        },
        "required": [
          "app_id",
          "id",
          "type",
          "name",
          "content_type",
          "size_bytes",
          "content_sha256",
          "uploaded_by",
          "uploaded_at",
          "source",
          "archived_at",
          "archived_by",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "DocumentWorkbookPresentation": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "kicker": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "workbook": {
            "$ref": "#/components/schemas/DocumentSourceWorkbook"
          }
        },
        "required": [
          "id",
          "label",
          "kicker",
          "title",
          "workbook"
        ],
        "type": "object"
      },
      "DocumentWorkingCopyJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "additionalProperties": false,
            "properties": {
              "accountId": {
                "type": "string"
              },
              "accountName": {
                "type": "string"
              },
              "composition": {
                "$ref": "#/components/schemas/DraftComposition"
              },
              "filedDocumentId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "id": {
                "type": "string"
              },
              "policyNumbers": {
                "items": {
                  "type": "string"
                },
                "type": [
                  "array",
                  "null"
                ]
              },
              "removedSections": {
                "items": {
                  "type": "string"
                },
                "type": [
                  "array",
                  "null"
                ]
              },
              "sections": {
                "items": {
                  "$ref": "#/components/schemas/WorkingSection"
                },
                "type": [
                  "array",
                  "null"
                ]
              },
              "sources": {
                "additionalProperties": {
                  "$ref": "#/components/schemas/WorkingSource"
                },
                "type": "object"
              },
              "state": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/MachineState",
                    "description": "The draft's status with its label, settled flag and tone from the org's declared template_draft machine; null when the org declares no template_draft machine."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "status": {
                "enum": [
                  "draft",
                  "filed"
                ],
                "type": "string"
              },
              "suggestedPreset": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "templateId": {
                "type": "string"
              },
              "updatedAt": {
                "format": "date-time",
                "type": "string"
              },
              "values": {
                "additionalProperties": {
                  "oneOf": [
                    {
                      "type": "string"
                    },
                    {
                      "items": {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      "type": "array"
                    }
                  ]
                },
                "type": "object"
              }
            },
            "required": [
              "state",
              "id",
              "templateId",
              "accountId",
              "accountName",
              "status",
              "values",
              "sources",
              "filedDocumentId",
              "updatedAt",
              "removedSections",
              "policyNumbers",
              "composition",
              "suggestedPreset",
              "sections"
            ],
            "type": "object"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "DocumentsCheckJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DocumentCheck"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "DocumentsFieldsJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DocumentFields"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "DocumentsFillJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DocumentFill"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "DocumentsFormFillJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DocumentFormFill"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "DocumentsFormInspectJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DocumentFormInspection"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "DocumentsFormInspectionJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/FormInspection"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "DocumentsGenerateJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DocumentGenerate"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "DocumentsInferredKind": {
        "additionalProperties": false,
        "properties": {
          "basis": {
            "description": "What the kind was read from.",
            "enum": [
              "file_name"
            ],
            "type": "string"
          },
          "key": {
            "description": "The upload kind.",
            "enum": [
              "loss_run",
              "exposure_records",
              "acord_packet",
              "schedule",
              "certificate",
              "binder",
              "endorsement",
              "dec_page",
              "policy",
              "quote",
              "notice",
              "other"
            ],
            "type": "string"
          }
        },
        "required": [
          "key",
          "basis"
        ],
        "type": "object"
      },
      "DocumentsList": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/Document"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "tiers": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "view": {
            "$ref": "#/components/schemas/View",
            "description": "view=register: the view filters this read applied, with each option's count and how many rows they hide. Present on a read with no cursor."
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "DocumentsPacketJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/PacketView"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "DocumentsTypesInferredJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/DocumentTypeSummary"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "inferred": {
            "$ref": "#/components/schemas/DocumentsInferredKind",
            "description": "With file_name: the upload kind the file's name reads as, with the basis it was read on."
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "DocumentsTypesJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/DocumentTypeSummary"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "DocumentsWorkbookLogoJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/WorkbookLogoView"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "DraftAddableSection": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "line": {
            "type": [
              "string",
              "null"
            ]
          },
          "lineTitle": {
            "type": [
              "string",
              "null"
            ]
          },
          "ref": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "ref",
          "id",
          "line",
          "title",
          "lineTitle"
        ],
        "type": "object"
      },
      "DraftComposer": {
        "additionalProperties": false,
        "properties": {
          "kinds": {
            "items": {
              "$ref": "#/components/schemas/DraftComposerKind"
            },
            "type": "array"
          },
          "options": {
            "items": {
              "$ref": "#/components/schemas/DraftComposerOption"
            },
            "type": "array"
          },
          "pages": {
            "items": {
              "$ref": "#/components/schemas/DraftComposerPage"
            },
            "type": "array"
          }
        },
        "required": [
          "kinds",
          "options",
          "pages"
        ],
        "type": "object"
      },
      "DraftComposerEditable": {
        "additionalProperties": false,
        "properties": {
          "field": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "field",
          "label"
        ],
        "type": "object"
      },
      "DraftComposerKind": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "enum": [
              "renewal",
              "newBusiness",
              "quoteOnly"
            ],
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "type": "object"
      },
      "DraftComposerOption": {
        "additionalProperties": false,
        "properties": {
          "included": {
            "type": "boolean"
          },
          "key": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "leads": {
            "type": "boolean"
          }
        },
        "required": [
          "key",
          "label",
          "included",
          "leads"
        ],
        "type": "object"
      },
      "DraftComposerPage": {
        "additionalProperties": false,
        "properties": {
          "detail": {
            "enum": [
              "detailed",
              "plain"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "details": {
            "items": {
              "enum": [
                "detailed",
                "plain"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "editable": {
            "items": {
              "$ref": "#/components/schemas/DraftComposerEditable"
            },
            "type": "array"
          },
          "id": {
            "type": "string"
          },
          "line": {
            "type": [
              "string",
              "null"
            ]
          },
          "locked": {
            "type": "boolean"
          },
          "ref": {
            "type": "string"
          },
          "removable": {
            "type": "boolean"
          },
          "required": {
            "type": "boolean"
          },
          "sectionTitle": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "why": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "ref",
          "id",
          "line",
          "title",
          "sectionTitle",
          "removable",
          "locked",
          "required",
          "why",
          "details",
          "detail",
          "editable"
        ],
        "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"
      },
      "DraftExport": {
        "additionalProperties": false,
        "properties": {
          "filename": {
            "type": "string"
          },
          "format": {
            "type": "string"
          }
        },
        "required": [
          "format",
          "filename"
        ],
        "type": "object"
      },
      "DraftExports": {
        "additionalProperties": false,
        "properties": {
          "default": {
            "type": "string"
          },
          "draft_id": {
            "type": "string"
          },
          "exports": {
            "items": {
              "$ref": "#/components/schemas/DraftExport"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "draft_id",
          "default",
          "exports"
        ],
        "type": "object"
      },
      "DraftFile": {
        "additionalProperties": false,
        "properties": {
          "content_type": {
            "type": "string"
          },
          "data": {
            "description": "Base64 encoded file bytes. This working copy is not filed.",
            "type": "string"
          },
          "draft_id": {
            "type": "string"
          },
          "filename": {
            "type": "string"
          },
          "format": {
            "type": "string"
          },
          "unfilled": {
            "description": "On a render into a workbook: every label, column and row of it the draft did not fill, and why.",
            "items": {
              "$ref": "#/components/schemas/WorkbookGap"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "draft_id",
          "updated_at",
          "format",
          "filename",
          "content_type",
          "data",
          "unfilled"
        ],
        "type": "object"
      },
      "DraftPresentation": {
        "additionalProperties": false,
        "properties": {
          "accountId": {
            "type": "string"
          },
          "accountName": {
            "type": "string"
          },
          "addableSections": {
            "items": {
              "$ref": "#/components/schemas/DraftAddableSection"
            },
            "type": "array"
          },
          "clientColumns": {
            "format": "int64",
            "type": "integer"
          },
          "clientFills": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "clientSigns": {
            "type": "boolean"
          },
          "complete": {
            "type": "boolean"
          },
          "composer": {
            "$ref": "#/components/schemas/DraftComposer"
          },
          "composition": {
            "$ref": "#/components/schemas/DraftViewComposition"
          },
          "downloads": {
            "items": {
              "enum": [
                "pdf",
                "docx",
                "xlsx",
                "csv",
                "pptx"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "draftId": {
            "type": "string"
          },
          "droppedSections": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "excelHolds": {
            "description": "What the draft's Excel download holds. document: the document as it prints. tables: each table in its written sections is its own sheet named by the heading above it, and the written sections' text is left out; the title, fixed facts and any closing note still print. Null when the draft has no Excel download or the documents service does not say.",
            "enum": [
              "document",
              "tables"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "filedDocumentId": {
            "type": [
              "string",
              "null"
            ]
          },
          "filename": {
            "description": "The file name the draft downloads under in its format: &lt;subject&gt; - &lt;document&gt; - &lt;YYYY-MM-DD&gt;.&lt;ext&gt;; another format changes the extension.",
            "type": "string"
          },
          "filled": {
            "format": "int64",
            "type": "integer"
          },
          "format": {
            "enum": [
              "pdf",
              "docx",
              "xlsx",
              "csv",
              "pptx"
            ],
            "type": "string"
          },
          "layout": {
            "$ref": "#/components/schemas/DocumentLayout"
          },
          "missing": {
            "items": {
              "$ref": "#/components/schemas/DraftViewMissing"
            },
            "type": "array"
          },
          "pages": {
            "format": "int64",
            "type": "integer"
          },
          "policyNumbers": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "reviewNote": {
            "type": [
              "string",
              "null"
            ]
          },
          "sections": {
            "items": {
              "$ref": "#/components/schemas/DraftViewSection"
            },
            "type": "array"
          },
          "shape": {
            "$ref": "#/components/schemas/DraftViewShape"
          },
          "status": {
            "enum": [
              "draft",
              "filed"
            ],
            "type": "string"
          },
          "suggestedPreset": {
            "$ref": "#/components/schemas/SuggestedPreset"
          },
          "templateId": {
            "type": "string"
          },
          "templateName": {
            "type": "string"
          },
          "total": {
            "format": "int64",
            "type": "integer"
          },
          "updatedAt": {
            "type": "string"
          }
        },
        "required": [
          "draftId",
          "templateId",
          "templateName",
          "accountId",
          "accountName",
          "status",
          "format",
          "filename",
          "pages",
          "total",
          "filled",
          "missing",
          "clientFills",
          "clientColumns",
          "clientSigns",
          "droppedSections",
          "policyNumbers",
          "sections",
          "complete",
          "filedDocumentId",
          "updatedAt",
          "layout",
          "downloads",
          "excelHolds",
          "reviewNote",
          "addableSections",
          "suggestedPreset",
          "composer"
        ],
        "type": "object"
      },
      "DraftSectionUse": {
        "additionalProperties": false,
        "properties": {
          "detail": {
            "enum": [
              "detailed",
              "plain"
            ],
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "line": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "DraftViewComposition": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "enum": [
              "renewal",
              "newBusiness",
              "quoteOnly"
            ],
            "type": "string"
          },
          "options": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "preset": {
            "type": "string"
          },
          "sections": {
            "items": {
              "$ref": "#/components/schemas/DraftViewCompositionUse"
            },
            "type": "array"
          }
        },
        "required": [
          "preset",
          "sections"
        ],
        "type": "object"
      },
      "DraftViewCompositionUse": {
        "additionalProperties": false,
        "properties": {
          "detail": {
            "enum": [
              "detailed",
              "plain"
            ],
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "line": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "title"
        ],
        "type": "object"
      },
      "DraftViewMissing": {
        "additionalProperties": false,
        "properties": {
          "field": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "field",
          "label"
        ],
        "type": "object"
      },
      "DraftViewPreset": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "pages": {
            "format": "int64",
            "type": "integer"
          },
          "suggested": {
            "type": "boolean"
          },
          "suits": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "pages",
          "suggested"
        ],
        "type": "object"
      },
      "DraftViewSection": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "removed": {
            "type": "boolean"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "title",
          "removed"
        ],
        "type": "object"
      },
      "DraftViewShape": {
        "additionalProperties": false,
        "properties": {
          "clause": {
            "type": "string"
          },
          "opening": {
            "type": "string"
          },
          "presets": {
            "items": {
              "$ref": "#/components/schemas/DraftViewPreset"
            },
            "type": "array"
          },
          "suggested": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "clause",
          "suggested",
          "presets",
          "opening"
        ],
        "type": "object"
      },
      "DryRunBlocker": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "details": {},
          "fix": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "path": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "message",
          "fix"
        ],
        "type": "object"
      },
      "EffectiveAccessBlocker": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          }
        },
        "required": [
          "code"
        ],
        "type": "object"
      },
      "EffectiveAccessBookScope": {
        "additionalProperties": false,
        "properties": {
          "book_coverage": {
            "$ref": "#/components/schemas/BookCoverageCheck"
          },
          "kind": {
            "type": "string"
          },
          "partial": {
            "items": {
              "$ref": "#/components/schemas/Partial"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "producer_code_count": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "kind",
          "producer_code_count",
          "partial"
        ],
        "type": "object"
      },
      "EffectiveAccessReadiness": {
        "additionalProperties": false,
        "properties": {
          "blockers": {
            "items": {
              "$ref": "#/components/schemas/EffectiveAccessBlocker"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "connection_id": {
            "type": "string"
          },
          "org_id": {
            "type": "string"
          },
          "preview": {
            "type": "boolean"
          },
          "state": {
            "type": "string"
          }
        },
        "required": [
          "state",
          "blockers",
          "org_id",
          "connection_id",
          "preview"
        ],
        "type": "object"
      },
      "EffectiveAccessReport": {
        "additionalProperties": false,
        "properties": {
          "assigned_roots": {
            "additionalProperties": {
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "type": "object"
          },
          "book_scope": {
            "$ref": "#/components/schemas/EffectiveAccessBookScope"
          },
          "datasets": {
            "additionalProperties": {
              "$ref": "#/components/schemas/DatasetRule"
            },
            "type": "object"
          },
          "denied_fields": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "documents": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "entitlement_schema_version": {
            "format": "int64",
            "type": "integer"
          },
          "exceptions": {
            "items": {
              "$ref": "#/components/schemas/ExceptionGrant"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "head": {
            "type": "string"
          },
          "identity_evidence": {
            "items": {
              "$ref": "#/components/schemas/EffectiveIdentityEvidence"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "identity_rev": {
            "type": "string"
          },
          "policy_version": {
            "additionalProperties": {
              "format": "int64",
              "type": "integer"
            },
            "type": "object"
          },
          "policy_versions": {
            "additionalProperties": {
              "format": "int64",
              "type": "integer"
            },
            "type": "object"
          },
          "principal": {
            "type": "string"
          },
          "readiness": {
            "$ref": "#/components/schemas/EffectiveAccessReadiness"
          },
          "refused": {
            "type": "string"
          },
          "resolved_at": {
            "format": "date-time",
            "type": "string"
          },
          "roles": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source": {
            "$ref": "#/components/schemas/EffectiveAccessSource"
          },
          "surfaces": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "system_grants": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "vocabulary_hash": {
            "type": "string"
          },
          "workflows": {
            "additionalProperties": {
              "$ref": "#/components/schemas/WorkflowRule"
            },
            "type": "object"
          }
        },
        "required": [
          "entitlement_schema_version",
          "vocabulary_hash",
          "readiness",
          "source",
          "identity_evidence",
          "principal",
          "roles",
          "surfaces",
          "datasets",
          "denied_fields",
          "documents",
          "book_scope",
          "policy_versions",
          "workflows",
          "system_grants",
          "exceptions",
          "policy_version",
          "assigned_roots",
          "resolved_at",
          "head",
          "identity_rev"
        ],
        "type": "object"
      },
      "EffectiveAccessSource": {
        "additionalProperties": false,
        "properties": {
          "identity_rev": {
            "type": "string"
          }
        },
        "required": [
          "identity_rev"
        ],
        "type": "object"
      },
      "EffectiveIdentityEvidence": {
        "additionalProperties": false,
        "properties": {
          "employee_source_row_key": {
            "type": "string"
          },
          "producer_codes": {
            "items": {
              "$ref": "#/components/schemas/BookProducerCodes"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "review_reason": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "verified_at": {
            "format": "date-time",
            "type": "string"
          },
          "verified_pin": {
            "$ref": "#/components/schemas/BookIdentityPin"
          },
          "via": {
            "type": "string"
          }
        },
        "required": [
          "status",
          "producer_codes"
        ],
        "type": "object"
      },
      "EffectiveProducts": {
        "additionalProperties": false,
        "properties": {
          "decisions": {
            "additionalProperties": {
              "$ref": "#/components/schemas/AppVisibilityDecision"
            },
            "description": "The visibility decision per app, keyed by product key.",
            "type": "object"
          },
          "requests": {
            "additionalProperties": {
              "$ref": "#/components/schemas/ProductGrantRequest"
            },
            "type": "object"
          },
          "roles": {
            "additionalProperties": {
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "type": "object"
          },
          "statuses": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          }
        },
        "required": [
          "decisions",
          "statuses",
          "roles",
          "requests"
        ],
        "type": "object"
      },
      "EligiblePoolEntry": {
        "additionalProperties": false,
        "properties": {
          "line_premium_annual": {
            "format": "double",
            "type": "number"
          },
          "market_entity_key": {
            "type": "string"
          },
          "offering_id": {
            "type": "string"
          },
          "provider_name": {
            "type": "string"
          },
          "scorecard": {
            "$ref": "#/components/schemas/OfferingScore"
          },
          "seat_group": {
            "format": "int64",
            "type": "integer"
          },
          "standing": {
            "type": "string"
          }
        },
        "required": [
          "offering_id",
          "provider_name",
          "standing",
          "seat_group"
        ],
        "type": "object"
      },
      "EligiblePoolResponse": {
        "additionalProperties": false,
        "properties": {
          "basis": {
            "type": "string"
          },
          "line": {
            "type": "string"
          },
          "run_id": {
            "type": "string"
          },
          "slots": {
            "items": {
              "$ref": "#/components/schemas/EligiblePoolSlot"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "run_id",
          "line",
          "slots",
          "basis"
        ],
        "type": "object"
      },
      "EligiblePoolSlot": {
        "additionalProperties": false,
        "properties": {
          "basis": {
            "type": "string"
          },
          "distinct_seats": {
            "format": "int64",
            "type": "integer"
          },
          "entries": {
            "items": {
              "$ref": "#/components/schemas/EligiblePoolEntry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "entry_count": {
            "format": "int64",
            "type": "integer"
          },
          "entry_unit": {
            "type": "string"
          },
          "line": {
            "type": "string"
          },
          "required": {
            "type": "boolean"
          },
          "requirement_id": {
            "type": "string"
          },
          "scope_id": {
            "type": "string"
          },
          "scorecard_evidence_hash": {
            "type": "string"
          },
          "scorecard_id": {
            "type": "string"
          },
          "target_id": {
            "type": "string"
          }
        },
        "required": [
          "requirement_id",
          "line",
          "required",
          "basis",
          "distinct_seats",
          "entry_count",
          "entry_unit",
          "entries"
        ],
        "type": "object"
      },
      "EmailMessage": {
        "additionalProperties": false,
        "properties": {
          "cc": {
            "description": "The copied recipients, as to names them. Empty when the header names none.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "earlier": {
            "description": "The earlier messages it quotes, newest first. Empty when it quotes none.",
            "items": {
              "$ref": "#/components/schemas/EmailQuoted"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "from": {
            "description": "The sender the email's own header names; null when it names none (a Salesforce logged email carries no From line).",
            "type": [
              "string",
              "null"
            ]
          },
          "sent": {
            "description": "When it was sent: YYYY-MM-DDTHH:MM wall time as the header prints it, or YYYY-MM-DD, the activity's own date, when the header carries no time. Null when neither is known.",
            "type": [
              "string",
              "null"
            ]
          },
          "subject": {
            "description": "The header's subject without mail gateway tags such as [EXTERNAL]; null when it has none.",
            "type": [
              "string",
              "null"
            ]
          },
          "text": {
            "description": "What this message says: its own words without the messages it quotes, mail gateway banner markers, image placeholders and its trailer. Empty when it says nothing of its own.",
            "type": "string"
          },
          "to": {
            "description": "The recipients the header names, each a person's name when the header gives one, else the address. Empty when it names none.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "trailer": {
            "description": "What closes its own words: the signature block and legal disclaimers the API detects, kept rather than dropped. Empty when it has none.",
            "type": "string"
          }
        },
        "required": [
          "from",
          "to",
          "cc",
          "sent",
          "subject",
          "text",
          "trailer",
          "earlier"
        ],
        "type": "object"
      },
      "EmailQuoted": {
        "additionalProperties": false,
        "properties": {
          "cc": {
            "description": "The copied recipients the quoted header names.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "from": {
            "description": "The sender the quoted header names; null when it names none.",
            "type": [
              "string",
              "null"
            ]
          },
          "sent": {
            "description": "When it was sent, YYYY-MM-DDTHH:MM wall time as the quoted header prints it; null when it does not read as a date.",
            "type": [
              "string",
              "null"
            ]
          },
          "subject": {
            "description": "The quoted header's subject; null when it has none.",
            "type": [
              "string",
              "null"
            ]
          },
          "text": {
            "description": "What the quoted message says, read as text is.",
            "type": "string"
          },
          "to": {
            "description": "The recipients the quoted header names.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "trailer": {
            "description": "The quoted message's signature and disclaimers, read as trailer is.",
            "type": "string"
          }
        },
        "required": [
          "from",
          "to",
          "cc",
          "sent",
          "subject",
          "text",
          "trailer"
        ],
        "type": "object"
      },
      "EmployeeCandidate": {
        "additionalProperties": false,
        "properties": {
          "agency_code": {
            "type": "string"
          },
          "employment_status": {
            "type": "string"
          },
          "entra_email_addresses": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "evidence_pin": {
            "$ref": "#/components/schemas/BookIdentityPin"
          },
          "is_producer": {
            "type": "boolean"
          },
          "job_title": {
            "type": "string"
          },
          "matches": {
            "items": {
              "$ref": "#/components/schemas/BookEmployeeMatch"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "observed_at": {
            "format": "date-time",
            "type": "string"
          },
          "producer_code_candidates": {
            "items": {
              "$ref": "#/components/schemas/ProducerCodeCandidate"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "producer_code_hints": {
            "items": {
              "$ref": "#/components/schemas/ProducerCodeCandidate"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "producer_codes": {
            "items": {
              "$ref": "#/components/schemas/BookProducerCodes"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "rls_scope": {
            "type": "string"
          },
          "source_row_key": {
            "type": "string"
          },
          "termination_date": {
            "type": "string"
          },
          "user_principal_name": {
            "type": "string"
          }
        },
        "required": [
          "source_row_key",
          "name",
          "matches",
          "producer_codes"
        ],
        "type": "object"
      },
      "EndedTurn": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "status": {
            "description": "The turn's status: running or a pause (waiting_on_tools, waiting_on_confirmation), stopping while a stop is asked, then one status at rest (completed, stopped, failed). Read settled and stopping rather than the word.",
            "enum": [
              "running",
              "waiting_on_tools",
              "waiting_on_confirmation",
              "stopping",
              "completed",
              "stopped",
              "failed"
            ],
            "type": "string"
          },
          "stop_reason": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "status",
          "stop_reason"
        ],
        "type": "object"
      },
      "EngineConfigResponse": {
        "additionalProperties": false,
        "properties": {
          "config": {},
          "config_hash": {
            "description": "The draft hash. Send it as If-Match on PUT /engines/{engineSlug}/config.",
            "type": "string"
          },
          "config_updated_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "config_updated_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "engine_type": {
            "type": "string"
          },
          "preset": {},
          "request_examples": {
            "$ref": "#/components/schemas/ExamplePayloads",
            "description": "Minimal, realistic and full request payloads for this config."
          },
          "request_schema": {
            "$ref": "#/components/schemas/Schema",
            "description": "The run request schema the engine's type declares for this config, with each field's privacy."
          },
          "response_example": {
            "description": "A sample terminal output drawn from response_schema."
          },
          "response_schema": {
            "$ref": "#/components/schemas/Schema",
            "description": "The terminal run output schema the engine's type declares for this config. Absent when the config does not parse."
          },
          "safe_keys": {
            "description": "Top-level config keys an operator with engines:configure-safe and without engines:manage may change.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "summary": {
            "$ref": "#/components/schemas/ConfigSummary",
            "description": "The overview card's summary of the config: enabled dimensions, pack and type counts. Absent when the type has none or the config does not parse."
          },
          "valid": {
            "description": "Whether the config passes its type's validator.",
            "type": "boolean"
          }
        },
        "required": [
          "config",
          "config_hash",
          "config_updated_at",
          "config_updated_by",
          "engine_type",
          "preset",
          "safe_keys",
          "valid"
        ],
        "type": "object"
      },
      "EngineListResponse": {
        "additionalProperties": false,
        "properties": {
          "engines": {
            "items": {
              "$ref": "#/components/schemas/EngineResponse"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "engines"
        ],
        "type": "object"
      },
      "EngineOpportunityAccountSummaryEnvelope": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/EngineOpportunityAccountSummaryJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "serving": {
            "$ref": "#/components/schemas/EngineOpportunityServing"
          }
        },
        "required": [
          "data",
          "serving"
        ],
        "type": "object"
      },
      "EngineOpportunityAccountSummaryJSON": {
        "additionalProperties": false,
        "properties": {
          "account_key": {
            "type": "string"
          },
          "bands": {
            "additionalProperties": {
              "format": "int64",
              "type": "integer"
            },
            "type": "object"
          },
          "count": {
            "format": "int64",
            "type": "integer"
          },
          "premium_in_play": {
            "type": "string"
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/EngineOpportunityRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "top_band": {
            "enum": [
              "critical",
              "high",
              "medium",
              "low"
            ],
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "account_key",
          "count",
          "premium_in_play",
          "bands",
          "top_band"
        ],
        "type": "object"
      },
      "EngineOpportunityFacet": {
        "additionalProperties": false,
        "properties": {
          "count": {
            "format": "int64",
            "type": "integer"
          },
          "label": {
            "description": "The value in producer words, as the rows serve it; absent where the value is already words.",
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "value",
          "count"
        ],
        "type": "object"
      },
      "EngineOpportunityFacets": {
        "additionalProperties": false,
        "properties": {
          "band": {
            "additionalProperties": {
              "format": "int64",
              "type": "integer"
            },
            "type": "object"
          },
          "client_manager": {
            "description": "With facets=client_manager: the AMS 360 client manager codes of the seat's admitted opportunities, as facets.producer is counted, without the client_manager= selection. Rows published before the run that stores them list none.",
            "items": {
              "$ref": "#/components/schemas/BookOwnerFacet"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "client_manager_truncated": {
            "description": "True when facets.client_manager was cut at the owner facet cap.",
            "type": "boolean"
          },
          "industry": {
            "items": {
              "$ref": "#/components/schemas/EngineOpportunityFacet"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "kind": {
            "additionalProperties": {
              "format": "int64",
              "type": "integer"
            },
            "type": "object"
          },
          "lever": {
            "additionalProperties": {
              "format": "int64",
              "type": "integer"
            },
            "type": "object"
          },
          "line": {
            "items": {
              "$ref": "#/components/schemas/EngineOpportunityFacet"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "org": {
            "items": {
              "$ref": "#/components/schemas/BookOrgFacet"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "org_markets": {
            "description": "Each market's opportunities, each counted once however many of the market's offices its account's policies sit in: the total market= returns. Summing org office counts double counts such accounts.",
            "items": {
              "$ref": "#/components/schemas/BookOrgMarketFacet"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "producer": {
            "description": "With facets=producer: the AMS 360 producer codes of the seat's admitted opportunities, each with its staff name and its opportunity count, busiest first, ties by name. Counted without the producer= selection. A code the staff register does not name is not listed.",
            "items": {
              "$ref": "#/components/schemas/BookOwnerFacet"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "producer_truncated": {
            "description": "True when facets.producer was cut at the owner facet cap.",
            "type": "boolean"
          },
          "type": {
            "additionalProperties": {
              "format": "int64",
              "type": "integer"
            },
            "type": "object"
          },
          "world": {
            "additionalProperties": {
              "format": "int64",
              "type": "integer"
            },
            "type": "object"
          }
        },
        "required": [
          "lever",
          "kind",
          "type",
          "band",
          "line",
          "world",
          "industry",
          "org",
          "org_markets"
        ],
        "type": "object"
      },
      "EngineOpportunityRenewal": {
        "additionalProperties": false,
        "properties": {
          "on": {
            "description": "The renewal's expiration date, as the renewal register serves it: the open renewal, inside the Engine's renewal_link window, of the row's own current term (its comparison basis).",
            "format": "date",
            "type": "string"
          }
        },
        "required": [
          "on"
        ],
        "type": "object"
      },
      "EngineOpportunityRow": {
        "additionalProperties": false,
        "properties": {
          "account_key": {
            "type": "string"
          },
          "account_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "algorithmic_score": {
            "format": "double",
            "type": "number"
          },
          "annotation_ref": {
            "type": "string"
          },
          "argument": {
            "type": [
              "string",
              "null"
            ]
          },
          "as_of": {
            "format": "date-time",
            "type": "string"
          },
          "band": {
            "type": "string"
          },
          "brief": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Brief"
              },
              {
                "type": "null"
              }
            ]
          },
          "carried": {
            "$ref": "#/components/schemas/OpportunityCarried"
          },
          "caveats": {
            "type": [
              "string",
              "null"
            ]
          },
          "commission_in_play": {
            "type": [
              "string",
              "null"
            ]
          },
          "customer_id": {
            "type": "string"
          },
          "datasource": {
            "type": "string"
          },
          "dismissal": {
            "$ref": "#/components/schemas/OpportunityDismissal"
          },
          "evidence": {},
          "final_score": {
            "format": "double",
            "type": "number"
          },
          "flags": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "kind": {
            "enum": [
              "retain",
              "grow"
            ],
            "type": "string"
          },
          "lever": {
            "type": "string"
          },
          "line": {
            "type": [
              "string",
              "null"
            ]
          },
          "lob_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "moment_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "multiplier": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "naics_code": {
            "description": "The account's NAICS code as the warehouse holds it: the resolved client's, else the policy's CLIENT_NAICS_CODE when the account key is not ready, so it can be set while naics_industry is null. Null when the warehouse holds none.",
            "type": [
              "string",
              "null"
            ]
          },
          "naics_industry": {
            "type": [
              "string",
              "null"
            ]
          },
          "next_action": {
            "type": [
              "string",
              "null"
            ]
          },
          "observation_type": {
            "type": "string"
          },
          "opportunity_id": {
            "type": "string"
          },
          "premium_basis": {
            "type": "string"
          },
          "premium_in_play": {
            "type": [
              "string",
              "null"
            ]
          },
          "premium_typical_for_line": {
            "type": [
              "string",
              "null"
            ]
          },
          "pursuit": {
            "$ref": "#/components/schemas/OpportunityPursuit"
          },
          "reason": {
            "type": "string"
          },
          "register_rank": {
            "format": "int64",
            "type": "integer"
          },
          "renewal": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EngineOpportunityRenewal"
              },
              {
                "type": "null"
              }
            ]
          },
          "snooze": {
            "$ref": "#/components/schemas/OpportunitySnoozeOptions"
          },
          "verdict": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "snooze",
          "pursuit",
          "annotation_ref",
          "register_rank",
          "opportunity_id",
          "account_name",
          "account_key",
          "customer_id",
          "datasource",
          "naics_industry",
          "naics_code",
          "lever",
          "kind",
          "renewal",
          "observation_type",
          "band",
          "final_score",
          "algorithmic_score",
          "multiplier",
          "verdict",
          "flags",
          "reason",
          "argument",
          "next_action",
          "caveats",
          "brief",
          "line",
          "lob_code",
          "premium_in_play",
          "premium_basis",
          "premium_typical_for_line",
          "commission_in_play",
          "evidence",
          "moment_date",
          "as_of"
        ],
        "type": "object"
      },
      "EngineOpportunityServing": {
        "additionalProperties": false,
        "properties": {
          "as_of": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "assess_coverage": {
            "format": "double",
            "type": "number"
          },
          "batch_set_id": {
            "type": "string"
          },
          "config_hash": {
            "type": "string"
          },
          "lens": {
            "$ref": "#/components/schemas/BookLensJSON"
          },
          "overlay_rev": {
            "format": "int64",
            "type": "integer"
          },
          "prior_run_id": {
            "description": "With new=true: the run the signals were compared against, the run the active run replaced. Absent when none is on record, and then no signal is new.",
            "type": "string"
          },
          "read_pin": {
            "format": "date-time",
            "type": "string"
          },
          "retry_after": {
            "format": "date-time",
            "type": "string"
          },
          "run_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "source": {
            "$ref": "#/components/schemas/BookReadSourceJSON"
          },
          "stale": {
            "type": "boolean"
          }
        },
        "required": [
          "overlay_rev",
          "run_id",
          "as_of",
          "stale",
          "assess_coverage"
        ],
        "type": "object"
      },
      "EngineOpportunitySlice": {
        "additionalProperties": false,
        "properties": {
          "account_count": {
            "description": "Distinct accounts in the slice. Absent when the read named account_count in leave_out.",
            "format": "int64",
            "type": "integer"
          },
          "commission_in_play": {
            "type": "string"
          },
          "premium_in_play": {
            "type": "string"
          },
          "rows": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "premium_in_play",
          "commission_in_play",
          "rows"
        ],
        "type": "object"
      },
      "EngineRenewal": {
        "additionalProperties": false,
        "properties": {
          "excluded": {
            "description": "The members the placement does not carry, each with its reason (renewalscope.Of).",
            "items": {
              "$ref": "#/components/schemas/RenewalScopeExcluded"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "expiration_date": {
            "description": "The renewal's day: the earliest expiration among the members the seat may see.",
            "format": "date",
            "type": "string"
          },
          "id": {
            "description": "The renewal's identity, the same on every member's plan row and on the workspace of any member.",
            "type": "string"
          },
          "lines": {
            "description": "The canonical line codes a placement of this renewal carries, each once, in member order (renewalscope.Of).",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "members": {
            "description": "The terms of the renewal the seat may read, the row's own term among them. A term outside the seat's scope is never a member of its response.",
            "items": {
              "$ref": "#/components/schemas/EngineRenewalMember"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "expiration_date",
          "members",
          "lines",
          "excluded"
        ],
        "type": "object"
      },
      "EngineRenewalMember": {
        "additionalProperties": false,
        "properties": {
          "carrier": {
            "type": "string"
          },
          "expiration_date": {
            "format": "date",
            "type": "string"
          },
          "line": {
            "description": "The term's line of business as AMS 360 holds it.",
            "type": "string"
          },
          "open": {
            "description": "Whether the term was open work when the run planned; the row's own term is read live. Null on the account workspace, which does not read the plan run.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "policy_id": {
            "description": "The term's policy id; any member's id opens the renewal.",
            "type": "string"
          },
          "policy_number": {
            "type": "string"
          },
          "state": {
            "description": "The term's renewal outcome when the run planned; the row's own term is read live.",
            "type": "string"
          }
        },
        "required": [
          "policy_id",
          "line",
          "expiration_date",
          "open"
        ],
        "type": "object"
      },
      "EngineRenewalNextTerm": {
        "additionalProperties": false,
        "properties": {
          "expiring_premium": {
            "description": "The expiring term's premium; null when it carries none, or the book annualized it from transactions and it does not compare with a full-term premium.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "exposures": {
            "description": "Each unit the line is rated on that either term carries, in rating unit order. Empty when the line has no rating unit or neither term carries one.",
            "items": {
              "$ref": "#/components/schemas/EngineRenewalTermExposure"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "exposures_read": {
            "description": "Whether the run read the two terms' rating exposure. False when the read failed: exposures is empty and rate null, and the premium change stands alone.",
            "type": "boolean"
          },
          "policy_id": {
            "description": "The next term's AMS 360 policy id.",
            "type": "string"
          },
          "premium_change": {
            "description": "The renewal premium over the expiring premium, minus one (0.05 is up 5%); null unless both exist.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "rate": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EngineRenewalTermRate",
                "description": "The premium per rating unit on both terms. Null unless exactly one unit rates the line on both terms, the unit has a rate basis, and both premiums exist. An umbrella limit has none: umbrella premium does not scale with the limit, so its renewal shows the limit change alone."
              },
              {
                "type": "null"
              }
            ]
          },
          "renewal_premium": {
            "description": "The next term's full-term premium; null when it carries none.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "policy_id",
          "expiring_premium",
          "renewal_premium",
          "premium_change",
          "exposures_read",
          "exposures",
          "rate"
        ],
        "type": "object"
      },
      "EngineRenewalPlanBillMethod": {
        "additionalProperties": false,
        "properties": {
          "label": {
            "type": "string"
          },
          "value": {
            "description": "agency: the agency invoices the client; direct: the carrier bills the client.",
            "enum": [
              "agency",
              "direct"
            ],
            "type": "string"
          }
        },
        "required": [
          "value",
          "label"
        ],
        "type": "object"
      },
      "EngineRenewalPlanChoice": {
        "additionalProperties": false,
        "properties": {
          "approach": {
            "enum": [
              "as_is",
              "review",
              "remarket"
            ],
            "type": "string"
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "recorded_at": {
            "description": "When the stage was recorded, RFC 3339; null when the ledger holds no time.",
            "type": [
              "string",
              "null"
            ]
          },
          "stage": {
            "description": "The renewal stage on record that names the approach.",
            "type": "string"
          }
        },
        "required": [
          "approach",
          "stage",
          "reason",
          "recorded_at"
        ],
        "type": "object"
      },
      "EngineRenewalPlanDetail": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": "string"
          },
          "account_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "bill_method": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EngineRenewalPlanBillMethod",
                "description": "The policy's bill method in AMS 360, read from the current renewal terms build; null when AMS 360 records neither."
              },
              {
                "type": "null"
              }
            ]
          },
          "call_by": {
            "description": "The day to call by; null for a term with no call to make: a one-time policy, or a multi-year term between its annual check-ins, either one steady.",
            "format": "date",
            "type": [
              "string",
              "null"
            ]
          },
          "carrier": {
            "type": [
              "string",
              "null"
            ]
          },
          "choice": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EngineRenewalPlanChoice",
                "description": "How the renewal is worked as recorded now (renewal.strategy_record), read live; null when nothing recorded names an approach."
              },
              {
                "type": "null"
              }
            ]
          },
          "client_manager": {
            "$ref": "#/components/schemas/EngineRenewalPlanOwner"
          },
          "contact": {
            "$ref": "#/components/schemas/EngineRenewalPlanWho"
          },
          "customer_id": {
            "type": "string"
          },
          "datasource": {
            "type": "string"
          },
          "days_band": {
            "description": "The days-to-renewal band from days_to_expiration: over_90 above 90 days, within_90 from 61 to 90, within_60 at 60 or fewer, an expired term included.",
            "enum": [
              "over_90",
              "within_90",
              "within_60"
            ],
            "type": "string"
          },
          "days_to_expiration": {
            "format": "int64",
            "type": "integer"
          },
          "expiration_on": {
            "type": "string"
          },
          "next_status_key": {
            "description": "The renewal register's status key when the term has no next action.",
            "type": "string"
          },
          "next_step_args": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RenewalActionArgs",
                "description": "The next step's arguments, set for annual_check_in only."
              },
              {
                "type": "null"
              }
            ]
          },
          "next_step_due": {
            "anyOf": [
              {
                "description": "Due date of the next step; null when none is stated or steps_unread.",
                "type": [
                  "string",
                  "null"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "next_step_key": {
            "description": "The term'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 the workspace names no step for (a settled 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.",
            "type": "string"
          },
          "next_term": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EngineRenewalNextTerm",
                "description": "The term AMS 360 held to follow this one when the plan ran, against the expiring term: premium, rating exposure and rate. Null when no next term was on file."
              },
              {
                "type": "null"
              }
            ]
          },
          "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."
              },
              {
                "type": "null"
              }
            ]
          },
          "outlook": {
            "type": [
              "string",
              "null"
            ]
          },
          "path": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EngineRenewalPlanPathRef",
                "description": "The path the renewal is worked on, from the plan Engine's config version; null when the version serves no workspace, or names no default path and the account premium is unknown."
              },
              {
                "type": "null"
              }
            ]
          },
          "plan_id": {
            "type": "string"
          },
          "policy_id": {
            "type": "string"
          },
          "policy_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "producer": {
            "$ref": "#/components/schemas/EngineRenewalPlanOwner"
          },
          "product": {
            "$ref": "#/components/schemas/Reference",
            "description": "The term's product: the org's product id (resolve it from /records/products), or a listed reason there is none, beside the source's own line wording."
          },
          "rank_score": {
            "description": "The rank key: the band's weight times the term's revenue. When the plan's version ranks overdue terms first, an overdue term with a risk sign adds 1e12, so overdue terms read first.",
            "format": "double",
            "type": "number"
          },
          "renewal": {
            "$ref": "#/components/schemas/EngineRenewal",
            "description": "The renewal's members the seat may read, its lines and the members its placement does not carry. A member outside the seat's scope is never served."
          },
          "renewal_id": {
            "description": "The renewal this term belongs to: the id is the same on every member's row. A renewal groups the account's terms that expire together (plan.renewal in the engine settings); the term keeps its own plan_id and policy_id.",
            "type": "string"
          },
          "renewal_nature": {
            "description": "The term's renewal nature by the renewal register's rule. Null on a run that did not record it.",
            "enum": [
              "renews",
              "one_time",
              "multi_year",
              "bond_continuous",
              "bond_term",
              "non_renewed"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "renewal_open": {
            "description": "Whether the renewal is open work now: false for a term AMS 360 finished or one a person closed.",
            "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"
          },
          "revenue": {
            "type": [
              "string",
              "null"
            ]
          },
          "risk": {
            "$ref": "#/components/schemas/EngineRenewalPlanRisk"
          },
          "stage": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EngineRenewalPlanStage",
                "description": "The renewal stage on record now, read live from the ledger renewal.strategy_record writes, not the run's workflow_stage; null when the ledger was not read."
              },
              {
                "type": "null"
              }
            ]
          },
          "stage_state": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/MachineState",
                "description": "The renewal_stage value on record now with its label, step, settled flag, tone and next step from the org's declared machine; null when the ledger was not read or the org declares no renewal_stage machine."
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EngineRenewalPlanStatus",
                "description": "The status line the register shows for the term, decided here: the renewal_outcome label when AMS 360 or the Workbench records a state, else the next step and its due date. Null on a read that left the steps out (steps=later) for a term with nothing recorded: its steps read serves it."
              },
              {
                "type": "null"
              }
            ]
          },
          "steps": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/BookRenewalStepsRow",
                "description": "The term's last AMS 360 activity, open step and last Workbench stage record, as the renewal register serves them; null when steps_unread."
              },
              {
                "type": "null"
              }
            ]
          },
          "steps_unread": {
            "description": "True when the term's steps were not read: the step read failed, or the renewal register does not serve the term (outside its window). The step fields are then absent, never no recorded work.",
            "type": "boolean"
          },
          "suggestion": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EngineRenewalPlanSuggestion",
                "description": "How the plan suggests the renewal is worked, with one plain sentence that says why; null when the plan's version suggests nothing."
              },
              {
                "type": "null"
              }
            ]
          },
          "term_end": {
            "description": "A multi-year term's or term bond's last expiration, or this expiration for any other nature; null when not known.",
            "format": "date",
            "type": [
              "string",
              "null"
            ]
          },
          "term_state": {
            "description": "The same value as renewal_state. Deprecated: read renewal_state and outcome.",
            "type": "string"
          },
          "term_years": {
            "description": "A multi-year term's length in years; null when not known.",
            "format": "int64",
            "maximum": 5,
            "minimum": 2,
            "type": [
              "integer",
              "null"
            ]
          },
          "workflow_stage": {
            "type": "string"
          },
          "workspace": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EngineRenewalWorkspace",
                "description": "The renewal workspace from the plan Engine's config version: the path, the stage timeline, the checklist and the carrier offer. Null when the version serves no workspace, or names neither a path rule nor a default path."
              },
              {
                "type": "null"
              }
            ]
          },
          "world": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "workspace",
          "plan_id",
          "account_id",
          "account_name",
          "datasource",
          "customer_id",
          "policy_id",
          "policy_number",
          "product",
          "world",
          "carrier",
          "bill_method",
          "expiration_on",
          "days_to_expiration",
          "days_band",
          "premium",
          "revenue",
          "producer",
          "client_manager",
          "workflow_stage",
          "outlook",
          "risk",
          "rank_score",
          "contact",
          "call_by",
          "renewal_nature",
          "term_end",
          "term_years",
          "next_term",
          "suggestion",
          "choice",
          "stage",
          "path",
          "term_state",
          "renewal_state",
          "renewal_open",
          "outcome",
          "stage_state",
          "next_step_due",
          "next_step_args",
          "steps",
          "renewal_id",
          "renewal",
          "status"
        ],
        "type": "object"
      },
      "EngineRenewalPlanEnvelope": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/EngineRenewalPlanRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "detail": {
            "$ref": "#/components/schemas/EngineRenewalPlanDetail",
            "description": "With include=detail: one page row, as the page serves it (steps included), with its renewal workspace as getEngineRenewalPlan serves it: the row whose policy_id is detail_policy, else the row detail_policy describes as the default. Absent when the page has no such row, or detail_unread."
          },
          "detail_unread": {
            "description": "True when include=detail picked a row and its workspace could not be read; read the row with getEngineRenewalPlan.",
            "type": "boolean"
          },
          "facets": {
            "$ref": "#/components/schemas/EngineRenewalPlanFacets",
            "description": "With facets=: the owner facets it named."
          },
          "figures_only": {
            "description": "True when the request sent figures_only: the answer holds total, premium_total, view and facets alone. data is empty because no row was read, not because the plan is empty.",
            "type": "boolean"
          },
          "marks": {
            "additionalProperties": {
              "$ref": "#/components/schemas/MarketMarkJSON"
            },
            "description": "With include=marks: each carrier label the page rows and the detail's offer name, keyed by the label as served, with its market mark exactly as getMarketMarks answers it to the caller (market_id null for a label that names no market). Absent when no row or offer names a carrier, or marks_unread.",
            "type": "object"
          },
          "marks_unread": {
            "description": "True when include=marks was asked and the caller's marks read did not answer (it refused the seat, or failed); read the marks with getMarketMarks.",
            "type": "boolean"
          },
          "page": {
            "$ref": "#/components/schemas/BookPageJSON"
          },
          "premium_total": {
            "description": "The premiums of every renewal the filters keep, summed as a decimal string; a renewal with no premium adds nothing. 0 when none carries one.",
            "type": "string"
          },
          "rows_only": {
            "description": "True when the request sent rows_only: the answer holds the page and page.next_cursor alone. total, premium_total, view and facets are absent because no figure was read, not because they are zero.",
            "type": "boolean"
          },
          "serving": {
            "$ref": "#/components/schemas/EngineRenewalPlanServing"
          },
          "total": {
            "format": "int64",
            "type": "integer"
          },
          "view": {
            "$ref": "#/components/schemas/View",
            "description": "The filters this read applied, with option counts, defaults and hidden counts. Absent before the first publish."
          }
        },
        "required": [
          "data",
          "page",
          "total",
          "premium_total",
          "serving"
        ],
        "type": "object"
      },
      "EngineRenewalPlanFacets": {
        "additionalProperties": false,
        "properties": {
          "client_manager": {
            "description": "With facets=client_manager: as facets.producer, for the client manager codes, counted without the client_manager= selection.",
            "items": {
              "$ref": "#/components/schemas/BookOwnerFacet"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "client_manager_truncated": {
            "description": "True when facets.client_manager was cut at the owner facet cap.",
            "type": "boolean"
          },
          "producer": {
            "description": "With facets=producer: the AMS 360 producer codes of the seat's admitted plan rows under every view filter, each with its staff name and its renewals, busiest first, ties by name, counted without the producer= selection.",
            "items": {
              "$ref": "#/components/schemas/BookOwnerFacet"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "producer_truncated": {
            "description": "True when facets.producer was cut at the owner facet cap.",
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "EngineRenewalPlanOwner": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "code",
          "name"
        ],
        "type": "object"
      },
      "EngineRenewalPlanPathRef": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "description": "The path id the plan Engine's config names.",
            "type": "string"
          },
          "label": {
            "description": "The path name the plan Engine's config gives, e.g. Middle Large/Complex Accounts.",
            "type": "string"
          },
          "source": {
            "description": "rule when the config's path rules over the account premium and the term's bill method placed the renewal; person when a person recorded the path, or a person's recorded remarket choice moved it; default when the config names no path rule and its default path applies.",
            "enum": [
              "rule",
              "person",
              "default"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "label",
          "source"
        ],
        "type": "object"
      },
      "EngineRenewalPlanRisk": {
        "additionalProperties": false,
        "properties": {
          "band": {
            "description": "Rules plus the people's marks; there is no learned retention model behind it.",
            "enum": [
              "at_risk",
              "watch",
              "steady"
            ],
            "type": "string"
          }
        },
        "required": [
          "band"
        ],
        "type": "object"
      },
      "EngineRenewalPlanRow": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": "string"
          },
          "account_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "bill_method": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EngineRenewalPlanBillMethod",
                "description": "The policy's bill method in AMS 360, read from the current renewal terms build; null when AMS 360 records neither."
              },
              {
                "type": "null"
              }
            ]
          },
          "call_by": {
            "description": "The day to call by; null for a term with no call to make: a one-time policy, or a multi-year term between its annual check-ins, either one steady.",
            "format": "date",
            "type": [
              "string",
              "null"
            ]
          },
          "carrier": {
            "type": [
              "string",
              "null"
            ]
          },
          "choice": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EngineRenewalPlanChoice",
                "description": "How the renewal is worked as recorded now (renewal.strategy_record), read live; null when nothing recorded names an approach."
              },
              {
                "type": "null"
              }
            ]
          },
          "client_manager": {
            "$ref": "#/components/schemas/EngineRenewalPlanOwner"
          },
          "contact": {
            "$ref": "#/components/schemas/EngineRenewalPlanWho"
          },
          "customer_id": {
            "type": "string"
          },
          "datasource": {
            "type": "string"
          },
          "days_band": {
            "description": "The days-to-renewal band from days_to_expiration: over_90 above 90 days, within_90 from 61 to 90, within_60 at 60 or fewer, an expired term included.",
            "enum": [
              "over_90",
              "within_90",
              "within_60"
            ],
            "type": "string"
          },
          "days_to_expiration": {
            "format": "int64",
            "type": "integer"
          },
          "expiration_on": {
            "type": "string"
          },
          "next_status_key": {
            "description": "The renewal register's status key when the term has no next action.",
            "type": "string"
          },
          "next_step_args": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RenewalActionArgs",
                "description": "The next step's arguments, set for annual_check_in only."
              },
              {
                "type": "null"
              }
            ]
          },
          "next_step_due": {
            "anyOf": [
              {
                "description": "Due date of the next step; null when none is stated or steps_unread.",
                "type": [
                  "string",
                  "null"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "next_step_key": {
            "description": "The term'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 the workspace names no step for (a settled 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.",
            "type": "string"
          },
          "next_term": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EngineRenewalNextTerm",
                "description": "The term AMS 360 held to follow this one when the plan ran, against the expiring term: premium, rating exposure and rate. Null when no next term was on file."
              },
              {
                "type": "null"
              }
            ]
          },
          "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."
              },
              {
                "type": "null"
              }
            ]
          },
          "outlook": {
            "type": [
              "string",
              "null"
            ]
          },
          "path": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EngineRenewalPlanPathRef",
                "description": "The path the renewal is worked on, from the plan Engine's config version; null when the version serves no workspace, or names no default path and the account premium is unknown."
              },
              {
                "type": "null"
              }
            ]
          },
          "plan_id": {
            "type": "string"
          },
          "policy_id": {
            "type": "string"
          },
          "policy_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "producer": {
            "$ref": "#/components/schemas/EngineRenewalPlanOwner"
          },
          "product": {
            "$ref": "#/components/schemas/Reference",
            "description": "The term's product: the org's product id (resolve it from /records/products), or a listed reason there is none, beside the source's own line wording."
          },
          "rank_score": {
            "description": "The rank key: the band's weight times the term's revenue. When the plan's version ranks overdue terms first, an overdue term with a risk sign adds 1e12, so overdue terms read first.",
            "format": "double",
            "type": "number"
          },
          "renewal": {
            "$ref": "#/components/schemas/EngineRenewal",
            "description": "The renewal's members the seat may read, its lines and the members its placement does not carry. A member outside the seat's scope is never served."
          },
          "renewal_id": {
            "description": "The renewal this term belongs to: the id is the same on every member's row. A renewal groups the account's terms that expire together (plan.renewal in the engine settings); the term keeps its own plan_id and policy_id.",
            "type": "string"
          },
          "renewal_nature": {
            "description": "The term's renewal nature by the renewal register's rule. Null on a run that did not record it.",
            "enum": [
              "renews",
              "one_time",
              "multi_year",
              "bond_continuous",
              "bond_term",
              "non_renewed"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "renewal_open": {
            "description": "Whether the renewal is open work now: false for a term AMS 360 finished or one a person closed.",
            "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"
          },
          "revenue": {
            "type": [
              "string",
              "null"
            ]
          },
          "risk": {
            "$ref": "#/components/schemas/EngineRenewalPlanRisk"
          },
          "stage": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EngineRenewalPlanStage",
                "description": "The renewal stage on record now, read live from the ledger renewal.strategy_record writes, not the run's workflow_stage; null when the ledger was not read."
              },
              {
                "type": "null"
              }
            ]
          },
          "stage_state": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/MachineState",
                "description": "The renewal_stage value on record now with its label, step, settled flag, tone and next step from the org's declared machine; null when the ledger was not read or the org declares no renewal_stage machine."
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EngineRenewalPlanStatus",
                "description": "The status line the register shows for the term, decided here: the renewal_outcome label when AMS 360 or the Workbench records a state, else the next step and its due date. Null on a read that left the steps out (steps=later) for a term with nothing recorded: its steps read serves it."
              },
              {
                "type": "null"
              }
            ]
          },
          "steps": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/BookRenewalStepsRow",
                "description": "The term's last AMS 360 activity, open step and last Workbench stage record, as the renewal register serves them; null when steps_unread."
              },
              {
                "type": "null"
              }
            ]
          },
          "steps_unread": {
            "description": "True when the term's steps were not read: the step read failed, or the renewal register does not serve the term (outside its window). The step fields are then absent, never no recorded work.",
            "type": "boolean"
          },
          "suggestion": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EngineRenewalPlanSuggestion",
                "description": "How the plan suggests the renewal is worked, with one plain sentence that says why; null when the plan's version suggests nothing."
              },
              {
                "type": "null"
              }
            ]
          },
          "term_end": {
            "description": "A multi-year term's or term bond's last expiration, or this expiration for any other nature; null when not known.",
            "format": "date",
            "type": [
              "string",
              "null"
            ]
          },
          "term_state": {
            "description": "The same value as renewal_state. Deprecated: read renewal_state and outcome.",
            "type": "string"
          },
          "term_years": {
            "description": "A multi-year term's length in years; null when not known.",
            "format": "int64",
            "maximum": 5,
            "minimum": 2,
            "type": [
              "integer",
              "null"
            ]
          },
          "workflow_stage": {
            "type": "string"
          },
          "world": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "plan_id",
          "account_id",
          "account_name",
          "datasource",
          "customer_id",
          "policy_id",
          "policy_number",
          "product",
          "world",
          "carrier",
          "bill_method",
          "expiration_on",
          "days_to_expiration",
          "days_band",
          "premium",
          "revenue",
          "producer",
          "client_manager",
          "workflow_stage",
          "outlook",
          "risk",
          "rank_score",
          "contact",
          "call_by",
          "renewal_nature",
          "term_end",
          "term_years",
          "next_term",
          "suggestion",
          "choice",
          "stage",
          "path",
          "term_state",
          "renewal_state",
          "renewal_open",
          "outcome",
          "stage_state",
          "next_step_due",
          "next_step_args",
          "steps",
          "renewal_id",
          "renewal",
          "status"
        ],
        "type": "object"
      },
      "EngineRenewalPlanServing": {
        "additionalProperties": false,
        "properties": {
          "pin_on": {
            "type": [
              "string",
              "null"
            ]
          },
          "run_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "source": {
            "type": "string"
          }
        },
        "required": [
          "run_id",
          "pin_on",
          "source"
        ],
        "type": "object"
      },
      "EngineRenewalPlanStage": {
        "additionalProperties": false,
        "properties": {
          "choice_open": {
            "description": "Whether renewal.strategy_record still accepts renew_as_is, review or remarket from this stage. False once the renewal is quoted, out for the client's decision, binding, bound or closed. It reads the stage alone: the action still refuses a renewal AMS 360 already finished.",
            "type": "boolean"
          },
          "holds_incumbent": {
            "description": "Whether the stage keeps the incumbent on the hold path: hold, renewing_as_is, or a hold-path step (quoted, proposal_out, bind_requested, bound).",
            "type": "boolean"
          },
          "value": {
            "description": "The renewal stage on record: a renewal_stage value (GET /records/machines/renewal_stage); not_started when nothing is recorded.",
            "enum": [
              "not_started",
              "reviewing",
              "hold",
              "remarketing",
              "renewing_as_is",
              "quoted",
              "proposal_out",
              "bind_requested",
              "bound",
              "non_renewed",
              "lost",
              "closed"
            ],
            "type": "string"
          }
        },
        "required": [
          "value",
          "choice_open",
          "holds_incumbent"
        ],
        "type": "object"
      },
      "EngineRenewalPlanStatus": {
        "additionalProperties": false,
        "properties": {
          "detail": {
            "description": "The second line: Next: and the next step for a recorded state; Due and the day for a next step with a due date; null when there is none.",
            "type": [
              "string",
              "null"
            ]
          },
          "label": {
            "description": "The first line: the renewal_outcome label for a term with a recorded state; for a term with nothing recorded, its next step (never the words Nothing recorded).",
            "type": "string"
          },
          "tone": {
            "description": "The tone the label is shown with: the outcome's tone for a recorded state, neutral for a next step.",
            "enum": [
              "neutral",
              "positive",
              "warning",
              "danger"
            ],
            "type": "string"
          }
        },
        "required": [
          "label",
          "detail",
          "tone"
        ],
        "type": "object"
      },
      "EngineRenewalPlanStepsEnvelope": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/EngineRenewalPlanStepsRow"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "EngineRenewalPlanStepsRow": {
        "additionalProperties": false,
        "properties": {
          "next_status_key": {
            "description": "The renewal register's status key when the term has no next action.",
            "type": "string"
          },
          "next_step_args": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RenewalActionArgs",
                "description": "The next step's arguments, set for annual_check_in only."
              },
              {
                "type": "null"
              }
            ]
          },
          "next_step_due": {
            "anyOf": [
              {
                "description": "Due date of the next step; null when none is stated or steps_unread.",
                "type": [
                  "string",
                  "null"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "next_step_key": {
            "description": "The term'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 the workspace names no step for (a settled 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.",
            "type": "string"
          },
          "plan_id": {
            "type": "string"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EngineRenewalPlanStatus",
                "description": "The status line for the term, as the list read serves it, with the next step once read: the renewal_outcome label (and Next: the next step unless settled) for a recorded state, else the next step and its due date; null when there is nothing to say."
              },
              {
                "type": "null"
              }
            ]
          },
          "steps": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/BookRenewalStepsRow",
                "description": "The term's last AMS 360 activity, open step and last Workbench stage record; null when steps_unread."
              },
              {
                "type": "null"
              }
            ]
          },
          "steps_unread": {
            "description": "True when the term's steps were not read: the step read failed, or the renewal register does not serve the term (outside its window). The step fields are then absent, never no recorded work.",
            "type": "boolean"
          }
        },
        "required": [
          "plan_id",
          "next_step_due",
          "next_step_args",
          "steps",
          "status"
        ],
        "type": "object"
      },
      "EngineRenewalPlanSuggestion": {
        "additionalProperties": false,
        "properties": {
          "approach": {
            "description": "as_is renews with the incumbent with no client review; review keeps the incumbent and reviews the renewal with the client; remarket takes it to market.",
            "enum": [
              "as_is",
              "review",
              "remarket"
            ],
            "type": "string"
          },
          "reason": {
            "type": "string"
          }
        },
        "required": [
          "approach",
          "reason"
        ],
        "type": "object"
      },
      "EngineRenewalPlanWho": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "description": "The seat's AMS 360 employee code; empty for a client contact.",
            "type": "string"
          },
          "email": {
            "description": "The client contact's email; null for a seat or when none is recorded.",
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "description": "The client contact's business phone with its extension, else the mobile; null for a seat or when none is recorded.",
            "type": [
              "string",
              "null"
            ]
          },
          "role": {
            "enum": [
              "client_contact",
              "client_manager",
              "producer",
              "desk",
              "unassigned"
            ],
            "type": "string"
          }
        },
        "required": [
          "role",
          "code",
          "name",
          "phone",
          "email"
        ],
        "type": "object"
      },
      "EngineRenewalTermExposure": {
        "additionalProperties": false,
        "properties": {
          "change": {
            "description": "The renewal over the expiring, minus one; null unless both terms carry the unit.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "expiring": {
            "description": "The unit on the expiring term; null when the term carries none.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "label": {
            "description": "The unit in plain words: Payroll, Gross sales, Vehicles, Dwelling limit, Umbrella limit, Locations.",
            "type": "string"
          },
          "renewal": {
            "description": "The unit on the next term; null when the term carries none.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "unit": {
            "description": "The AMS 360 rating unit.",
            "enum": [
              "payroll",
              "vehicles",
              "personal_vehicles",
              "locations",
              "gl_sales",
              "gl_payroll",
              "dwelling_limit",
              "umbrella_limit"
            ],
            "type": "string"
          }
        },
        "required": [
          "unit",
          "label",
          "expiring",
          "renewal",
          "change"
        ],
        "type": "object"
      },
      "EngineRenewalTermRate": {
        "additionalProperties": false,
        "properties": {
          "change": {
            "description": "The renewal rate over the expiring rate, minus one.",
            "format": "double",
            "type": "number"
          },
          "expiring": {
            "description": "The expiring premium per Per of the unit.",
            "format": "double",
            "type": "number"
          },
          "per": {
            "description": "How much of the unit the rate is quoted per: 100 is per $100 of payroll, 1000 per $1,000 of sales or dwelling limit, 1 per vehicle.",
            "format": "double",
            "type": "number"
          },
          "renewal": {
            "description": "The renewal premium per Per of the unit.",
            "format": "double",
            "type": "number"
          },
          "unit": {
            "description": "The rating unit the rate is per.",
            "enum": [
              "payroll",
              "vehicles",
              "personal_vehicles",
              "gl_sales",
              "gl_payroll",
              "dwelling_limit"
            ],
            "type": "string"
          }
        },
        "required": [
          "unit",
          "per",
          "expiring",
          "renewal",
          "change"
        ],
        "type": "object"
      },
      "EngineRenewalWorkspace": {
        "additionalProperties": false,
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/EngineRenewalWorkspaceItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "next": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EngineRenewalWorkspaceNext",
                "description": "Null when the term is settled, no item is open, or the term's outcome was not read; else the renewal's one next step, the same the list's status line, Today and the policy Renewal panel serve."
              },
              {
                "type": "null"
              }
            ]
          },
          "offer": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EngineRenewalWorkspaceOffer",
                "description": "Null when the current renewal terms build holds no row for the term."
              },
              {
                "type": "null"
              }
            ]
          },
          "path": {
            "$ref": "#/components/schemas/EngineRenewalWorkspacePath"
          },
          "path_options": {
            "items": {
              "$ref": "#/components/schemas/EngineRenewalWorkspacePathOption"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "stages": {
            "items": {
              "$ref": "#/components/schemas/EngineRenewalWorkspaceStage"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "path",
          "path_options",
          "stages",
          "items",
          "offer",
          "next"
        ],
        "type": "object"
      },
      "EngineRenewalWorkspaceItem": {
        "additionalProperties": false,
        "properties": {
          "action_kind": {
            "description": "The one thing the item opens. recommend_markets and compare_quotes open the Assistant on the account's market recommendation and quote comparison asks.",
            "enum": [
              "download",
              "open_outlook",
              "record_choice",
              "assistant_draft",
              "open_ams",
              "mark_done",
              "mark_lost",
              "recommend_markets",
              "compare_quotes"
            ],
            "type": "string"
          },
          "action_label": {
            "type": [
              "string",
              "null"
            ]
          },
          "applies": {
            "description": "False for a remarket item until the recorded choice is remarket, and for a no-offer item once an offer is in.",
            "type": "boolean"
          },
          "closed_by": {
            "description": "The receipts that close the item; empty when no recorded receipt closes it.",
            "items": {
              "$ref": "#/components/schemas/EngineRenewalWorkspaceReceipt"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "done": {
            "description": "Whether any receipt in closed_by closes the item.",
            "type": "boolean"
          },
          "done_by": {
            "description": "The person who recorded the receipt; null for a carrier download or an unnamed principal.",
            "type": [
              "string",
              "null"
            ]
          },
          "done_on": {
            "description": "The day the earliest dated receipt in closed_by was recorded, YYYY-MM-DD; for an Assistant record (placement_run, quote_comparison), the day of the account's latest one, which the Placement tab shows. Null without one, as for a source receipt, which records no day. Never inferred from time.",
            "type": [
              "string",
              "null"
            ]
          },
          "done_when": {
            "type": "string"
          },
          "id": {
            "description": "Stable across config versions: &lt;path&gt;.&lt;stage&gt;.&lt;item&gt;, or &lt;path&gt;.mark_lost.",
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "stage_id": {
            "description": "The stage the item belongs to; null for the path's Mark lost item.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "stage_id",
          "label",
          "action_kind",
          "action_label",
          "done_when",
          "done",
          "done_on",
          "done_by",
          "applies",
          "closed_by"
        ],
        "type": "object"
      },
      "EngineRenewalWorkspaceNext": {
        "additionalProperties": false,
        "properties": {
          "due_on": {
            "description": "The stage's due day, YYYY-MM-DD; null when the stage states none or for record_the_outcome.",
            "type": [
              "string",
              "null"
            ]
          },
          "key": {
            "description": "The checklist item's id, or record_the_outcome once the term expired with no settled outcome.",
            "type": "string"
          },
          "label": {
            "description": "The next step's words: the current stage's first open item, or the org's record_the_outcome words.",
            "type": "string"
          },
          "stage_id": {
            "description": "The stage the item belongs to; null for record_the_outcome.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "key",
          "label",
          "stage_id",
          "due_on"
        ],
        "type": "object"
      },
      "EngineRenewalWorkspaceOffer": {
        "additionalProperties": false,
        "properties": {
          "carrier": {
            "type": [
              "string",
              "null"
            ]
          },
          "change_amount": {
            "description": "Offer premium minus the expiring premium; null unless both exist.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "change_percent": {
            "description": "The change over the expiring premium, in percent to one decimal; null unless both exist and the expiring premium is not zero.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "expected_by": {
            "description": "The day the checklist asks the carrier when no offer is in, YYYY-MM-DD.",
            "type": "string"
          },
          "over_threshold": {
            "description": "Whether the change is over the config's strategy line (15 percent, SOP step 6); null without a change percent.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "premium": {
            "description": "The next term's premium as AMS 360 holds it; null when no offer is in or it carries none.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "premium",
          "carrier",
          "change_amount",
          "change_percent",
          "over_threshold",
          "expected_by"
        ],
        "type": "object"
      },
      "EngineRenewalWorkspacePath": {
        "additionalProperties": false,
        "properties": {
          "changed_at": {
            "description": "The day a person set the path, YYYY-MM-DD; null when the rules or the default set it.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The person who recorded the path, or whose recorded remarket choice moved the renewal to it; null when the rules or the default set it, or no name is on record.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The path id the plan Engine's config names.",
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "source": {
            "enum": [
              "rule",
              "person",
              "default"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "label",
          "source",
          "changed_by",
          "changed_at"
        ],
        "type": "object"
      },
      "EngineRenewalWorkspacePathOption": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "description": "The path id the plan Engine's config names; the value renewal.path_record records.",
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "rule": {
            "description": "The path's rule in plain words, e.g. Account premium under $10,000, direct bill; null when the config names no path rule.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "label",
          "rule"
        ],
        "type": "object"
      },
      "EngineRenewalWorkspaceReceipt": {
        "additionalProperties": false,
        "properties": {
          "field": {
            "enum": [
              "renewal_stage",
              "renewal_status",
              "renewal_outcome"
            ],
            "type": "string"
          },
          "kind": {
            "description": "ledger: a status.set of field to one of values on the policy; choice: the work choice recorded on the policy (renewal.strategy_record); carrier_offer: the carrier offer downloaded into AMS 360; placement_run: a market recommendation completed on the account during the expiring term; quote_comparison: a quote comparison saved on the account during the expiring term. The last two date the item and leave the stage timeline as the policy's own receipts set it.",
            "enum": [
              "ledger",
              "source",
              "choice",
              "carrier_offer",
              "placement_run",
              "quote_comparison"
            ],
            "type": "string"
          },
          "values": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "kind"
        ],
        "type": "object"
      },
      "EngineRenewalWorkspaceStage": {
        "additionalProperties": false,
        "properties": {
          "done_on": {
            "description": "The latest day a receipt recorded for the stage's items, YYYY-MM-DD; null when the stage is not done or no receipt records a day. A done stage may carry no day.",
            "type": [
              "string",
              "null"
            ]
          },
          "due_on": {
            "description": "The stage's due day from the config's days before expiration, YYYY-MM-DD; null when no source states one.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "state": {
            "enum": [
              "done",
              "current",
              "upcoming"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "label",
          "due_on",
          "done_on",
          "state"
        ],
        "type": "object"
      },
      "EngineResponse": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "engine_type": {
            "$ref": "#/components/schemas/EngineType"
          },
          "group_key": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "steps": {
            "items": {
              "$ref": "#/components/schemas/EngineStepSummary"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "updated_at": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "slug",
          "label",
          "description",
          "engine_type",
          "status",
          "group_key",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "EngineRunSubject": {
        "additionalProperties": false,
        "properties": {
          "collection": {
            "description": "The collection the subject is in. accounts is the one collection a platform assembly takes today.",
            "enum": [
              "accounts"
            ],
            "type": "string"
          },
          "id": {
            "description": "The account's id: its instance key ({instance}:customer:{id}) or book account key (bk1_) for an account in the book, or the id of an account added in the Workbench.",
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "collection",
          "id"
        ],
        "type": "object"
      },
      "EngineStep": {
        "additionalProperties": false,
        "properties": {
          "config": {},
          "config_hash": {
            "description": "The hash of this step's config. Send it as If-Match on PATCH /engines/{engineSlug}/steps/{step}.",
            "type": "string"
          },
          "config_schema": {
            "description": "JSON Schema 2020-12 of the step's config, or null."
          },
          "failures_7d": {
            "description": "Of runs_7d, the Runs whose status is FAILED.",
            "format": "int64",
            "type": "integer"
          },
          "id": {
            "description": "The step id, unique in the Engine. An Engine with no pipeline has the one step main.",
            "type": "string"
          },
          "kind": {
            "description": "The step kind; engine for the implicit main step.",
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "last_run_at": {
            "description": "When the step's newest Run was created, or null when it has never run.",
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "request_schema": {
            "description": "JSON Schema 2020-12 of a run request for this step, or null."
          },
          "response_schema": {
            "description": "JSON Schema 2020-12 of a run output for this step, or null."
          },
          "runs_7d": {
            "description": "Runs of this step created in the last 7 days, in every environment of the org.",
            "format": "int64",
            "type": "integer"
          },
          "use": {
            "description": "The implementation the step runs; the engine type for main.",
            "type": "string"
          }
        },
        "required": [
          "id",
          "label",
          "kind",
          "config_hash",
          "config",
          "config_schema",
          "request_schema",
          "response_schema",
          "runs_7d",
          "failures_7d",
          "last_run_at"
        ],
        "type": "object"
      },
      "EngineStepSummary": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "use": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "label",
          "kind"
        ],
        "type": "object"
      },
      "EngineStepsResponse": {
        "additionalProperties": false,
        "properties": {
          "config_hash": {
            "description": "The draft hash. Send it as If-Match on PUT /engines/{engineSlug}/config and on a restore.",
            "type": "string"
          },
          "engine_slug": {
            "type": "string"
          },
          "pipeline": {
            "description": "True when the config declares a pipeline; false for one implicit step main.",
            "type": "boolean"
          },
          "steps": {
            "items": {
              "$ref": "#/components/schemas/EngineStep"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "engine_slug",
          "config_hash",
          "pipeline",
          "steps"
        ],
        "type": "object"
      },
      "EngineType": {
        "description": "A registered engine type.",
        "enum": [
          "comparison",
          "diligence",
          "entity_analysis",
          "matching",
          "opportunity",
          "renewal_plan",
          "triage"
        ],
        "type": "string"
      },
      "EngineVersionDetailResponse": {
        "additionalProperties": false,
        "properties": {
          "config": {}
        },
        "required": [
          "config"
        ],
        "type": "object"
      },
      "EngineVersionResponse": {
        "additionalProperties": false,
        "properties": {
          "changelog": {
            "type": "string"
          },
          "cold_start_eval_set_id": {
            "type": "string"
          },
          "config_hash": {
            "type": "string"
          },
          "gate_verified": {
            "type": "boolean"
          },
          "is_breaking_from_previous_major": {
            "type": "boolean"
          },
          "published_by": {
            "type": "string"
          },
          "published_by_actor": {
            "$ref": "#/components/schemas/PublishedByActor"
          },
          "released_at": {
            "type": "string"
          },
          "request_schema_hash": {
            "type": "string"
          },
          "response_schema_hash": {
            "type": "string"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "version",
          "released_at",
          "changelog",
          "is_breaking_from_previous_major",
          "gate_verified"
        ],
        "type": "object"
      },
      "EngineVersionsListResponse": {
        "additionalProperties": false,
        "properties": {
          "versions": {
            "items": {
              "$ref": "#/components/schemas/EngineVersionResponse"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "versions"
        ],
        "type": "object"
      },
      "Entitlement": {
        "additionalProperties": false,
        "properties": {
          "assigned_roots": {
            "additionalProperties": {
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "type": "object"
          },
          "book_scope": {
            "$ref": "#/components/schemas/BookScopeView"
          },
          "datasets": {
            "additionalProperties": {
              "$ref": "#/components/schemas/DatasetRule"
            },
            "type": "object"
          },
          "denied_fields": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "documents": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "exceptions": {
            "items": {
              "$ref": "#/components/schemas/ExceptionGrant"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "identity_rev": {
            "type": "string"
          },
          "label_source": {
            "type": "string"
          },
          "leader": {
            "$ref": "#/components/schemas/SeatLeader"
          },
          "policy_role": {
            "type": "string"
          },
          "policy_source": {
            "type": "string"
          },
          "policy_version": {
            "additionalProperties": {
              "format": "int64",
              "type": "integer"
            },
            "type": "object"
          },
          "posture": {
            "type": "string"
          },
          "principal": {
            "type": "string"
          },
          "profile": {
            "$ref": "#/components/schemas/SeatProfile"
          },
          "refused": {
            "type": "string"
          },
          "refused_detail": {
            "$ref": "#/components/schemas/RefusedDetail"
          },
          "related_books": {
            "$ref": "#/components/schemas/RelatedBooks"
          },
          "roles": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "surfaces": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "system_grants": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "team": {
            "$ref": "#/components/schemas/Team"
          },
          "workflows": {
            "additionalProperties": {
              "$ref": "#/components/schemas/WorkflowRule"
            },
            "type": "object"
          }
        },
        "required": [
          "posture",
          "principal",
          "roles",
          "surfaces",
          "datasets",
          "workflows",
          "denied_fields",
          "documents",
          "system_grants",
          "exceptions",
          "policy_version",
          "assigned_roots",
          "book_scope",
          "identity_rev"
        ],
        "type": "object"
      },
      "Entry": {
        "additionalProperties": false,
        "properties": {
          "amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "amount_text": {
            "type": "string"
          },
          "basis": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "provenance": {
            "$ref": "#/components/schemas/Provenance"
          },
          "slot": {
            "type": [
              "string",
              "null"
            ]
          },
          "sublimit_of": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "slot",
          "label",
          "amount",
          "basis",
          "provenance"
        ],
        "type": "object"
      },
      "EnvironmentCreateRequest": {
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "slug": {
            "type": "string"
          }
        },
        "required": [
          "slug",
          "name"
        ],
        "type": "object"
      },
      "EnvironmentInUse": {
        "additionalProperties": false,
        "properties": {
          "blockers": {
            "$ref": "#/components/schemas/EnvironmentInUseBlockers"
          },
          "code": {
            "enum": [
              "environment_in_use"
            ],
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "message",
          "blockers"
        ],
        "type": "object"
      },
      "EnvironmentInUseBlockers": {
        "additionalProperties": false,
        "properties": {
          "api_keys": {
            "description": "API key rows that reference the environment, revoked keys included.",
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "runs": {
            "description": "Runs recorded in the environment.",
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "webhook_endpoints": {
            "description": "Webhook endpoint rows that reference the environment, deleted endpoints included.",
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "api_keys",
          "webhook_endpoints",
          "runs"
        ],
        "type": "object"
      },
      "EnvironmentListResponse": {
        "additionalProperties": false,
        "properties": {
          "environments": {
            "items": {
              "$ref": "#/components/schemas/EnvironmentResponse"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "environments"
        ],
        "type": "object"
      },
      "EnvironmentResponse": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "slug",
          "kind",
          "created_at"
        ],
        "type": "object"
      },
      "EnvironmentUpdateRequest": {
        "additionalProperties": false,
        "properties": {
          "name": {
            "description": "The display name; null clears it, an omitted name leaves it unchanged. At most 64 characters.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "ErrorEnvelope": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "description": "The stable machine-readable error code. One meaning forever.",
            "type": "string"
          },
          "details": {
            "description": "Structured detail for the code."
          },
          "message": {
            "description": "A human-readable sentence about this occurrence.",
            "type": "string"
          }
        },
        "required": [
          "code",
          "message"
        ],
        "type": "object"
      },
      "ErrorResponse": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "details": {},
          "errors": {
            "items": {
              "$ref": "#/components/schemas/Issue"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "message": {
            "type": "string"
          },
          "request_id": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "message"
        ],
        "type": "object"
      },
      "EvalReplayReceipt": {
        "additionalProperties": false,
        "properties": {
          "budget_micros": {
            "format": "int64",
            "type": "integer"
          },
          "halt_reason": {
            "type": "string"
          },
          "pass_budget_micros": {
            "format": "int64",
            "type": "integer"
          },
          "pass_id": {
            "type": "string"
          },
          "pass_settled_micros": {
            "format": "int64",
            "type": "integer"
          },
          "pass_unresolved_micros": {
            "format": "int64",
            "type": "integer"
          },
          "reserved_peak_micros": {
            "format": "int64",
            "type": "integer"
          },
          "settled_micros": {
            "format": "int64",
            "type": "integer"
          },
          "unresolved_micros": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "pass_id",
          "budget_micros",
          "settled_micros",
          "unresolved_micros",
          "reserved_peak_micros",
          "pass_budget_micros",
          "pass_settled_micros",
          "pass_unresolved_micros"
        ],
        "type": "object"
      },
      "Event": {
        "additionalProperties": false,
        "properties": {
          "attributes": {},
          "content_ref": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "duration_ms": {
            "format": "int64",
            "type": "integer"
          },
          "end_at": {
            "format": "date-time",
            "type": "string"
          },
          "error_details": {},
          "id": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "parent_event_id": {
            "type": "string"
          },
          "parent_run_id": {
            "type": "string"
          },
          "region": {
            "type": "string"
          },
          "schema_version": {
            "format": "int32",
            "type": "integer"
          },
          "service": {
            "type": "string"
          },
          "service_version": {
            "type": "string"
          },
          "stage": {
            "type": "string"
          },
          "start_at": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "trace_id": {
            "type": "string"
          },
          "triggered_by_run_id": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "kind",
          "created_at"
        ],
        "type": "object"
      },
      "EventsStreamToken": {
        "additionalProperties": false,
        "properties": {
          "expires_at": {
            "description": "The token's expiry, 10 minutes after the mint. The stream closes with : end at this time; mint a new token and reconnect with Last-Event-ID.",
            "format": "date-time",
            "type": "string"
          },
          "stream_url": {
            "description": "The absolute URL of the stream.",
            "type": "string"
          },
          "token": {
            "description": "The bearer for GET /events/stream. Read-only, this org, this principal, these topics.",
            "type": "string"
          },
          "topics": {
            "description": "The topics the token reads.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "token",
          "expires_at",
          "stream_url",
          "topics"
        ],
        "type": "object"
      },
      "EventsStreamTokenRequest": {
        "additionalProperties": false,
        "properties": {
          "session": {
            "description": "The app's own id for the browser session the token is for. Open streams are capped per principal and session, so name it when one person or seat signs in from several browsers. The token carries only its hash.",
            "maxLength": 256,
            "type": "string"
          },
          "topics": {
            "description": "[\"org\"] for the org feed, or one to 20 topics, each run:&lt;run id&gt; or record:&lt;family&gt;:&lt;id&gt;.",
            "items": {
              "type": "string"
            },
            "maxItems": 20,
            "minItems": 1,
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "topics"
        ],
        "type": "object"
      },
      "EvidenceSpecificity": {
        "additionalProperties": false,
        "properties": {
          "broadened_dimensions": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "confidence": {
            "type": "string"
          },
          "effective_n": {
            "format": "double",
            "type": "number"
          },
          "matched_dimensions": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "raw_n": {
            "format": "int64",
            "type": "integer"
          },
          "selected_grain": {
            "type": "string"
          }
        },
        "required": [
          "selected_grain",
          "matched_dimensions"
        ],
        "type": "object"
      },
      "ExamplePayloads": {
        "additionalProperties": false,
        "properties": {
          "full": {},
          "minimal": {},
          "realistic": {}
        },
        "required": [
          "minimal",
          "realistic",
          "full"
        ],
        "type": "object"
      },
      "ExceptionGrant": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "type": "string"
          },
          "approved_by": {
            "type": "string"
          },
          "ends_at": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "principal_id": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "revoked_at": {
            "format": "date-time",
            "type": "string"
          },
          "scope": {
            "$ref": "#/components/schemas/ExceptionScope"
          },
          "starts_at": {
            "format": "date-time",
            "type": "string"
          },
          "state": {
            "enum": [
              "scheduled",
              "live",
              "ended",
              "revoked"
            ],
            "type": "string"
          },
          "workflow": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "principal_id",
          "workflow",
          "action",
          "scope",
          "reason",
          "approved_by",
          "starts_at",
          "ends_at",
          "state"
        ],
        "type": "object"
      },
      "ExceptionScope": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "type": "string"
          },
          "root_ids": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "root_type": {
            "type": "string"
          }
        },
        "required": [
          "kind"
        ],
        "type": "object"
      },
      "ExtractionTerm": {
        "additionalProperties": false,
        "properties": {
          "confidence": {
            "format": "double",
            "type": "number"
          },
          "key": {
            "type": "string"
          },
          "unit": {
            "type": "string"
          },
          "value": {
            "type": "string"
          },
          "verbatim": {
            "type": "string"
          }
        },
        "required": [
          "key",
          "value",
          "verbatim",
          "confidence"
        ],
        "type": "object"
      },
      "FacetValue": {
        "additionalProperties": false,
        "properties": {
          "count": {
            "format": "int64",
            "type": "integer"
          },
          "description": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "parent": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "value",
          "count"
        ],
        "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"
      },
      "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"
      },
      "FieldPrivacy": {
        "additionalProperties": false,
        "properties": {
          "classification": {
            "type": "string"
          },
          "display_strategy": {
            "type": "string"
          },
          "external_strategy": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          }
        },
        "required": [
          "classification"
        ],
        "type": "object"
      },
      "FiledApplicationSource": {
        "additionalProperties": false,
        "properties": {
          "document": {
            "description": "The email's Records id.",
            "type": "string"
          },
          "fields": {
            "description": "The facts its first page answered: the proposed term, when that term has not started.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "member": {
            "description": "The attachment's path in the email.",
            "type": "string"
          },
          "name": {
            "description": "The attachment's file name.",
            "type": "string"
          },
          "pages": {
            "description": "The attachment's page count.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "document",
          "member",
          "name",
          "pages",
          "fields"
        ],
        "type": "object"
      },
      "FiledComparisonEvent": {
        "additionalProperties": false,
        "properties": {
          "event": {
            "$ref": "#/components/schemas/FiledEventWire"
          },
          "id": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "rule_owner": {
            "enum": [
              "app",
              "app_shadow",
              "platform"
            ],
            "type": "string"
          }
        },
        "required": [
          "event",
          "id",
          "kind",
          "rule_owner"
        ],
        "type": "object"
      },
      "FiledEventActor": {
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          }
        },
        "required": [
          "userId",
          "name",
          "role"
        ],
        "type": "object"
      },
      "FiledEventOperator": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          }
        },
        "required": [
          "userId"
        ],
        "type": "object"
      },
      "FiledEventRef": {
        "additionalProperties": false,
        "properties": {
          "accountId": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "id"
        ],
        "type": "object"
      },
      "FiledEventWire": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": "string"
          },
          "acted_by": {
            "$ref": "#/components/schemas/FiledEventOperator"
          },
          "actor": {
            "$ref": "#/components/schemas/FiledEventActor"
          },
          "actor_user_id": {
            "type": "string"
          },
          "app": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "occurred_at": {
            "format": "date-time",
            "type": "string"
          },
          "org_id": {
            "type": "string"
          },
          "payload": {},
          "policy_id": {
            "type": "string"
          },
          "refs": {
            "items": {
              "$ref": "#/components/schemas/FiledEventRef"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "rule_owner": {
            "enum": [
              "app",
              "app_shadow",
              "platform"
            ],
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "subject": {
            "$ref": "#/components/schemas/FiledEventRef"
          },
          "submission_id": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "type",
          "org_id",
          "app",
          "source",
          "occurred_at",
          "payload",
          "rule_owner"
        ],
        "type": "object"
      },
      "FiledSource": {
        "additionalProperties": false,
        "properties": {
          "application": {
            "$ref": "#/components/schemas/FiledApplicationSource",
            "description": "An application filed as an email's attachment, signed or completed ones first, to read for the form's answers."
          },
          "document": {
            "description": "The filing's Records id.",
            "type": "string"
          },
          "fields": {
            "description": "The facts the filing's boxes answered.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "name": {
            "description": "The filing's file name.",
            "type": "string"
          },
          "reason": {
            "description": "Why the filing answered no fact: it holds no readable form boxes, or the filings could not be read.",
            "type": "string"
          }
        },
        "required": [
          "fields"
        ],
        "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"
      },
      "FilterConstraints": {
        "additionalProperties": false,
        "properties": {
          "avoided_naics": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "eligible_states": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "excluded_states": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "expiration_date": {
            "type": "string"
          },
          "max_employees": {
            "format": "int64",
            "type": "integer"
          },
          "max_premium": {
            "format": "int64",
            "type": "integer"
          },
          "max_vehicles": {
            "format": "int64",
            "type": "integer"
          },
          "min_employees": {
            "format": "int64",
            "type": "integer"
          },
          "min_premium": {
            "format": "int64",
            "type": "integer"
          },
          "min_vehicles": {
            "format": "int64",
            "type": "integer"
          },
          "prohibited_naics": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "state_scope": {
            "type": "string"
          }
        },
        "required": [
          "eligible_states",
          "excluded_states",
          "prohibited_naics",
          "avoided_naics"
        ],
        "type": "object"
      },
      "FinalizeAttachmentRequest": {
        "additionalProperties": false,
        "properties": {
          "end_user": {
            "type": "string"
          }
        },
        "required": [
          "end_user"
        ],
        "type": "object"
      },
      "FirmAppointmentsUnplacedJSON": {
        "additionalProperties": false,
        "properties": {
          "ambiguous_labels": {
            "description": "Carrier labels whose name matches several directory markets of different carriers: which market they name is not known, so their offices show on none.",
            "format": "int64",
            "type": "integer"
          },
          "unmatched_labels": {
            "description": "Carrier labels that match no directory market.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "ambiguous_labels",
          "unmatched_labels"
        ],
        "type": "object"
      },
      "Form": {
        "additionalProperties": false,
        "properties": {
          "edition": {
            "type": "string"
          },
          "form_number": {
            "type": "string"
          },
          "grants": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "grants_basis": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "is_endorsement": {
            "type": "boolean"
          },
          "provenance": {
            "$ref": "#/components/schemas/Provenance"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "form_number",
          "title",
          "is_endorsement",
          "grants",
          "grants_basis",
          "provenance"
        ],
        "type": "object"
      },
      "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"
      },
      "FormFont": {
        "additionalProperties": false,
        "properties": {
          "bold": {
            "description": "Bold weight.",
            "type": "boolean"
          },
          "family": {
            "description": "The font family, for example Arial.",
            "type": "string"
          },
          "italic": {
            "description": "Italic style.",
            "type": "boolean"
          },
          "size": {
            "description": "The size in points.",
            "format": "double",
            "type": "number"
          }
        },
        "required": [
          "family",
          "size",
          "bold",
          "italic"
        ],
        "type": "object"
      },
      "FormImageField": {
        "additionalProperties": false,
        "properties": {
          "h": {
            "description": "Height in template units.",
            "format": "double",
            "type": "number"
          },
          "id": {
            "description": "The ACForm Field Id of the box (the XFDL sid without FIELD_).",
            "type": "string"
          },
          "w": {
            "description": "Width in template units.",
            "format": "double",
            "type": "number"
          },
          "x": {
            "description": "Left edge in template units.",
            "format": "double",
            "type": "number"
          },
          "y": {
            "description": "Top edge in template units.",
            "format": "double",
            "type": "number"
          }
        },
        "required": [
          "id",
          "x",
          "y",
          "w",
          "h"
        ],
        "type": "object"
      },
      "FormInspection": {
        "additionalProperties": false,
        "properties": {
          "facts_unread": {
            "description": "With subject: why the subject's Records facts were not read, so no box is answered from Records.",
            "type": "string"
          },
          "fields": {
            "items": {
              "$ref": "#/components/schemas/DocumentFormField"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "fillable": {
            "type": "boolean"
          },
          "format": {
            "description": "What the form is: a PDF with fillable boxes, a PDF whose questions are printed flat into the page, or a Word application.",
            "enum": [
              "pdf_acroform",
              "pdf_flat",
              "docx"
            ],
            "type": "string"
          },
          "known": {
            "description": "With subject: each box the subject's Records facts answer, with the value a fill writes there.",
            "items": {
              "$ref": "#/components/schemas/DocumentFormAnswer"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "license": {
            "description": "The standard the form is, read from its own bytes (acord for an ACORD form); absent when it is none the platform names.",
            "type": "string"
          },
          "page_count": {
            "format": "int64",
            "type": "integer"
          },
          "profile": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/FormProfile",
                "description": "The pinned original the form is, matched on its sha256 and page count; null for any other form."
              },
              {
                "type": "null"
              }
            ]
          },
          "reason": {
            "description": "Why the form cannot be filled: xfa, encrypted, unreadable, unplaced_fields, printed_signature (a signed copy whose signature is printed into the page) or no_questions.",
            "type": "string"
          },
          "reason_detail": {
            "description": "For unreadable: the PDF reader's own words for what it refused in the file.",
            "type": "string"
          },
          "source_sha256": {
            "type": "string"
          }
        },
        "required": [
          "profile",
          "fillable",
          "page_count",
          "fields"
        ],
        "type": "object"
      },
      "FormItem": {
        "additionalProperties": false,
        "properties": {
          "background": {
            "description": "label: the fill color as #rrggbb, when the template shades the label.",
            "type": "string"
          },
          "color": {
            "description": "line and label: the ink color as #rrggbb.",
            "type": "string"
          },
          "font": {
            "$ref": "#/components/schemas/FormFont",
            "description": "label and field: the font."
          },
          "h": {
            "description": "Height in template units.",
            "format": "double",
            "type": "number"
          },
          "id": {
            "description": "field: the ACForm Field Id this box shows (the XFDL sid without FIELD_).",
            "type": "string"
          },
          "indent": {
            "description": "field: the first line's left inset in template units (the template's v:indent), which starts the value past a label sharing its box. Absent when the template declares none.",
            "format": "double",
            "type": "number"
          },
          "justify": {
            "description": "label and field: horizontal alignment.",
            "enum": [
              "left",
              "center",
              "right"
            ],
            "type": "string"
          },
          "kind": {
            "description": "What the item is.",
            "enum": [
              "line",
              "label",
              "image",
              "field"
            ],
            "type": "string"
          },
          "src": {
            "description": "image: a data: URI (image/png, image/gif, image/jpeg or image/bmp).",
            "type": "string"
          },
          "text": {
            "description": "label: the literal text (compute expressions are ignored).",
            "type": "string"
          },
          "valign": {
            "description": "label and field: vertical alignment.",
            "enum": [
              "top",
              "middle",
              "bottom"
            ],
            "type": "string"
          },
          "w": {
            "description": "Width in template units.",
            "format": "double",
            "type": "number"
          },
          "wrap": {
            "description": "field: true when the value wraps onto several lines.",
            "type": "boolean"
          },
          "x": {
            "description": "Left edge in template units.",
            "format": "double",
            "type": "number"
          },
          "y": {
            "description": "Top edge in template units.",
            "format": "double",
            "type": "number"
          }
        },
        "required": [
          "kind",
          "x",
          "y",
          "w",
          "h"
        ],
        "type": "object"
      },
      "FormPage": {
        "additionalProperties": false,
        "properties": {
          "height": {
            "description": "The page height in template units.",
            "format": "int64",
            "type": "integer"
          },
          "imageFields": {
            "description": "The page's image field boxes (v:imagefield, for example a signature), placed like fields. The box only: the picture belongs to the filed form and is never served. Absent when the page has none.",
            "items": {
              "$ref": "#/components/schemas/FormImageField"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "items": {
            "description": "The page's drawable items in document order (later items draw over earlier ones).",
            "items": {
              "$ref": "#/components/schemas/FormItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "sid": {
            "description": "The page's XFDL sid, for example PAGE_1.",
            "type": "string"
          },
          "skipped": {
            "additionalProperties": {
              "format": "int64",
              "type": "integer"
            },
            "description": "Items present on the page that are not served, counted by XFDL element name (for example check or button). Absent when every item is served.",
            "type": "object"
          },
          "width": {
            "description": "The page width in template units.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sid",
          "width",
          "height",
          "items"
        ],
        "type": "object"
      },
      "FormProfile": {
        "additionalProperties": false,
        "properties": {
          "edition": {
            "type": "string"
          },
          "field_map_revision": {
            "description": "The revision of the field map the API fills this edition with.",
            "type": "string"
          },
          "form_number": {
            "type": "string"
          },
          "id": {
            "description": "The original's profile id, for example acord-125-2016-03r2.",
            "type": "string"
          },
          "reference_url": {
            "description": "The public reference the field map was verified against; null when there is none.",
            "type": [
              "string",
              "null"
            ]
          },
          "standard": {
            "enum": [
              "ACORD"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "standard",
          "form_number",
          "edition",
          "field_map_revision",
          "reference_url"
        ],
        "type": "object"
      },
      "FormTemplate": {
        "additionalProperties": false,
        "properties": {
          "edition": {
            "description": "The form edition the template declares (v:forminfo edition), for example 12/2014.",
            "type": "string"
          },
          "formNumber": {
            "description": "The form number the template declares (v:forminfo number), for example 125.",
            "type": "string"
          },
          "name": {
            "description": "The template's base name, as requested (the ACForm FileName without .UFF).",
            "type": "string"
          },
          "pageHeight": {
            "description": "The first page's height in template units.",
            "format": "int64",
            "type": "integer"
          },
          "pageWidth": {
            "description": "The first page's width in template units.",
            "format": "int64",
            "type": "integer"
          },
          "pages": {
            "description": "Every page of the template, in document order. Always an array, usually of one.",
            "items": {
              "$ref": "#/components/schemas/FormPage"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "title": {
            "description": "The form title the template declares (v:forminfo title), empty when it declares none.",
            "type": "string"
          }
        },
        "required": [
          "name",
          "title",
          "pageWidth",
          "pageHeight",
          "pages"
        ],
        "type": "object"
      },
      "GetAccountSchedulesResponse": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountSchedules"
          },
          "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"
      },
      "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"
      },
      "HeadingWithout": {
        "additionalProperties": false,
        "properties": {
          "part": {
            "type": "string"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "part",
          "text"
        ],
        "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"
      },
      "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"
      },
      "InForceCarrierCount": {
        "additionalProperties": false,
        "properties": {
          "count": {
            "format": "int64",
            "type": "integer"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "count"
        ],
        "type": "object"
      },
      "InForceLine": {
        "additionalProperties": false,
        "properties": {
          "annual_premium": {
            "type": "string"
          },
          "carrier_counts": {
            "items": {
              "$ref": "#/components/schemas/InForceCarrierCount"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "carriers": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "earliest_effective": {
            "type": "string"
          },
          "earliest_expiration": {
            "type": "string"
          },
          "issued_states": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "label": {
            "type": "string"
          },
          "limits": {
            "items": {
              "$ref": "#/components/schemas/Limit"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "lob_code": {
            "type": "string"
          },
          "notice_records": {
            "items": {
              "$ref": "#/components/schemas/NoticeRecord"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "raw_label": {
            "type": "string"
          },
          "targets": {
            "items": {
              "$ref": "#/components/schemas/InForceTarget"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "term_count": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "lob_code",
          "label",
          "raw_label",
          "term_count"
        ],
        "type": "object"
      },
      "InForceTarget": {
        "additionalProperties": false,
        "properties": {
          "annual_premium": {
            "type": "string"
          },
          "earliest_effective": {
            "type": "string"
          },
          "earliest_expiration": {
            "type": "string"
          },
          "incumbent": {
            "$ref": "#/components/schemas/InForceTargetIncumbent"
          },
          "industry_resolution": {
            "$ref": "#/components/schemas/TargetResolution"
          },
          "kind": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "layers": {
            "items": {
              "$ref": "#/components/schemas/InForceTargetLayer"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "lob_code": {
            "type": "string"
          },
          "location": {
            "type": "string"
          },
          "policy_ids": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "policy_numbers": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "policy_type": {
            "type": "string"
          },
          "target_id": {
            "type": "string"
          }
        },
        "required": [
          "target_id",
          "lob_code",
          "kind",
          "label",
          "industry_resolution",
          "incumbent",
          "policy_ids",
          "policy_numbers"
        ],
        "type": "object"
      },
      "InForceTargetIncumbent": {
        "additionalProperties": false,
        "properties": {
          "brokered": {
            "type": "boolean"
          },
          "paper": {
            "type": "string"
          },
          "route": {
            "type": "string"
          }
        },
        "required": [
          "route",
          "brokered"
        ],
        "type": "object"
      },
      "InForceTargetLayer": {
        "additionalProperties": false,
        "properties": {
          "annual_premium": {
            "type": "string"
          },
          "expiration": {
            "type": "string"
          },
          "limit": {
            "type": "string"
          },
          "paper": {
            "type": "string"
          },
          "policy_id": {
            "type": "string"
          },
          "policy_number": {
            "type": "string"
          },
          "route": {
            "type": "string"
          }
        },
        "required": [
          "policy_id"
        ],
        "type": "object"
      },
      "Insight": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "type": "string"
          },
          "as_of": {
            "format": "date-time",
            "type": "string"
          },
          "basis": {
            "type": "string"
          },
          "direction": {
            "enum": [
              "more",
              "less"
            ],
            "type": "string"
          },
          "kind": {
            "enum": [
              "quote_rate"
            ],
            "type": "string"
          },
          "question": {
            "type": "string"
          },
          "sentence": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "direction",
          "sentence",
          "question",
          "action",
          "basis",
          "as_of"
        ],
        "type": "object"
      },
      "IntelligenceAppetite": {
        "additionalProperties": false,
        "properties": {
          "bottom_line": {
            "description": "The word as a producer reads it.",
            "type": "string"
          },
          "guide_statement": {
            "description": "What the carrier's guide says on the lines, \"&lt;word&gt;: &lt;lines&gt;\" joined by \". \"; null when the guide is silent.",
            "type": [
              "string",
              "null"
            ]
          },
          "sentence": {
            "type": "string"
          },
          "word": {
            "enum": [
              "writes",
              "likely_writes",
              "considers",
              "wont_write",
              "unlikely",
              "unknown",
              "mixed"
            ],
            "type": "string"
          }
        },
        "required": [
          "word",
          "bottom_line",
          "sentence",
          "guide_statement"
        ],
        "type": "object"
      },
      "IntelligenceBasis": {
        "additionalProperties": false,
        "properties": {
          "class_row_id": {
            "description": "The id of the class row the answer reads (the fold's row id); null when none.",
            "type": [
              "string",
              "null"
            ]
          },
          "derived": {
            "description": "The rule that selected the class and read its book.",
            "enum": [
              "market_intelligence"
            ],
            "type": "string"
          },
          "line": {
            "description": "The asked line as a catalog line code.",
            "type": "string"
          },
          "state": {
            "description": "The asked state; empty for every state.",
            "type": "string"
          },
          "synthesis_derived_at": {
            "description": "When the landed appetite head was derived; null when none has landed.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "derived",
          "synthesis_derived_at",
          "line",
          "state",
          "class_row_id"
        ],
        "type": "object"
      },
      "IntelligenceBook": {
        "additionalProperties": false,
        "properties": {
          "clients": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "policies": {
            "format": "int64",
            "type": "integer"
          },
          "rung_label": {
            "description": "Where it was counted (\"in specialty trade contractors, General Liability\", \"with them, any class, ...\").",
            "type": "string"
          }
        },
        "required": [
          "policies",
          "clients",
          "rung_label"
        ],
        "type": "object"
      },
      "IntelligenceBookScope": {
        "additionalProperties": false,
        "properties": {
          "as_of": {
            "type": "string"
          },
          "basis": {
            "$ref": "#/components/schemas/IntelligenceBasis"
          },
          "reasons": {
            "items": {
              "$ref": "#/components/schemas/IntelligenceReason"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "value": {
            "description": "state only when every placed row on the class names the asked state; nationwide otherwise.",
            "enum": [
              "state",
              "nationwide"
            ],
            "type": "string"
          }
        },
        "required": [
          "value",
          "reasons",
          "basis",
          "as_of"
        ],
        "type": "object"
      },
      "IntelligenceClassScope": {
        "additionalProperties": false,
        "properties": {
          "as_of": {
            "type": "string"
          },
          "basis": {
            "$ref": "#/components/schemas/IntelligenceBasis"
          },
          "reasons": {
            "items": {
              "$ref": "#/components/schemas/IntelligenceReason"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "value": {
            "description": "any: the any-class row; matched: a class was asked and the answer reads its match; missing: no class was asked and no any-class row carries the line.",
            "enum": [
              "any",
              "matched",
              "missing"
            ],
            "type": "string"
          }
        },
        "required": [
          "value",
          "reasons",
          "basis",
          "as_of"
        ],
        "type": "object"
      },
      "IntelligenceCondition": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "description": "ineligible when the condition excludes (the excludes operator or an ineligible key); eligibility otherwise.",
            "enum": [
              "ineligible",
              "eligibility"
            ],
            "type": "string"
          },
          "line": {
            "description": "The line code it was stated for; null for every line.",
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "description": "Set when the condition's source recorded no state: it is shown under every state.",
            "type": "string"
          },
          "text": {
            "description": "The carrier's own words.",
            "type": "string"
          }
        },
        "required": [
          "text",
          "kind",
          "line"
        ],
        "type": "object"
      },
      "IntelligenceLineVerdict": {
        "additionalProperties": false,
        "properties": {
          "as_of": {
            "type": "string"
          },
          "basis": {
            "$ref": "#/components/schemas/IntelligenceBasis"
          },
          "label": {
            "description": "The word as a producer reads it (Writes, Likely writes, ...); null with the value.",
            "type": [
              "string",
              "null"
            ]
          },
          "reasons": {
            "items": {
              "$ref": "#/components/schemas/IntelligenceReason"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "value": {
            "description": "The line's word; null when no selected class row carries the line.",
            "enum": [
              "writes",
              "likely_writes",
              "considers",
              "wont_write",
              "unlikely",
              "unknown",
              "mixed"
            ],
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "value",
          "label",
          "reasons",
          "basis",
          "as_of"
        ],
        "type": "object"
      },
      "IntelligenceReason": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "enum": [
              "seat_entity_key",
              "seat_name",
              "seat_brand",
              "seat_brand_key",
              "seat_no_match",
              "seat_ambiguous",
              "any_class",
              "class_matched",
              "no_class_signal",
              "placed_rows_in_state",
              "placed_rows_nationwide",
              "line_verdict",
              "no_line_record"
            ],
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/IntelligenceReasonSource"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "text",
          "source"
        ],
        "type": "object"
      },
      "IntelligenceReasonSource": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "enum": [
              "catalog_market",
              "appetite_fold",
              "appetite_synthesis"
            ],
            "type": "string"
          },
          "ref": {
            "description": "The market key or asked name, the class row id, or the class key the placed rows were read from (empty for the any-class cells).",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "ref"
        ],
        "type": "object"
      },
      "Invoice": {
        "additionalProperties": false,
        "properties": {
          "account_executive_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "account_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "account_representative_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "ams360_datasource": {
            "type": [
              "string",
              "null"
            ]
          },
          "ar_closed_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "ar_closed_status": {
            "type": [
              "string",
              "null"
            ]
          },
          "bill_method": {
            "type": [
              "string",
              "null"
            ]
          },
          "bill_to": {
            "items": {
              "$ref": "#/components/schemas/BookInvoiceBillToRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "billing_header_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "binder_status": {
            "type": [
              "string",
              "null"
            ]
          },
          "broker_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "closed_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "closed_status": {
            "type": [
              "string",
              "null"
            ]
          },
          "collection_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "due_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "external_invoice_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "invoice_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "invoice_effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "invoice_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "invoice_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "invoice_series_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "invoice_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_cancelled": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_installment": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_posted": {
            "type": [
              "string",
              "null"
            ]
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/BookInvoiceLineRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "on_account_description": {
            "type": [
              "string",
              "null"
            ]
          },
          "original_due_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_relation": {
            "type": [
              "string",
              "null"
            ]
          },
          "settlement": {
            "$ref": "#/components/schemas/BookInvoiceSettlementRow"
          },
          "source_policy_id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "account_id",
          "policy_id",
          "source_policy_id",
          "ams360_datasource",
          "invoice_id",
          "invoice_number",
          "invoice_series_id",
          "external_invoice_id",
          "policy_number",
          "policy_relation",
          "billing_header_id",
          "invoice_date",
          "invoice_effective_date",
          "due_date",
          "original_due_date",
          "invoice_type",
          "bill_method",
          "is_cancelled",
          "is_installment",
          "is_posted",
          "closed_date",
          "closed_status",
          "ar_closed_date",
          "ar_closed_status",
          "collection_id",
          "binder_status",
          "account_executive_code",
          "account_representative_code",
          "broker_code",
          "on_account_description",
          "lines",
          "bill_to"
        ],
        "type": "object"
      },
      "InvoiceAging": {
        "additionalProperties": false,
        "properties": {
          "accounts": {
            "items": {
              "$ref": "#/components/schemas/InvoiceAgingAccount"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "derivation": {
            "type": "string"
          },
          "totals": {
            "items": {
              "$ref": "#/components/schemas/InvoiceAgingBucket"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "accounts",
          "totals",
          "derivation"
        ],
        "type": "object"
      },
      "InvoiceAgingAccount": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "description": "The account's instance key; null when the source names no resolvable customer.",
            "type": [
              "string",
              "null"
            ]
          },
          "buckets": {
            "description": "The account's non-empty buckets, oldest last.",
            "items": {
              "$ref": "#/components/schemas/InvoiceAgingBucket"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "account_id",
          "buckets"
        ],
        "type": "object"
      },
      "InvoiceAgingBucket": {
        "additionalProperties": false,
        "properties": {
          "bucket": {
            "description": "Days past DUEDATE at the read day: current is not yet past due.",
            "enum": [
              "current",
              "1_30",
              "31_60",
              "61_90",
              "over_90",
              "undated"
            ],
            "type": "string"
          },
          "gross_amount": {
            "description": "Exact decimal text: the billed GROSSAMT of invoice_count's invoices, not net of partial receipts; null when none carries a line.",
            "type": [
              "string",
              "null"
            ]
          },
          "invoice_count": {
            "description": "Open invoices with no AR activity since AMS 360's last close run.",
            "format": "int64",
            "type": "integer"
          },
          "priced_count": {
            "description": "How many of invoice_count carry a transaction line with an amount.",
            "format": "int64",
            "type": "integer"
          },
          "unsettled_count": {
            "description": "Open invoices with AR activity since AMS 360's last close run: they may have been paid since.",
            "format": "int64",
            "type": "integer"
          },
          "unsettled_gross_amount": {
            "description": "Exact decimal text: the billed GROSSAMT of unsettled_count's invoices; null when none carries a line.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "bucket",
          "invoice_count",
          "priced_count",
          "gross_amount",
          "unsettled_count",
          "unsettled_gross_amount"
        ],
        "type": "object"
      },
      "InvoiceBalance": {
        "additionalProperties": false,
        "properties": {
          "billing_headers": {
            "items": {
              "$ref": "#/components/schemas/BookBillingHeaderRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "collection_letters": {
            "items": {
              "$ref": "#/components/schemas/BookCollectionLetterRow"
            },
            "type": "array"
          },
          "gaps": {
            "additionalProperties": {
              "$ref": "#/components/schemas/BookFamilyServing"
            },
            "type": "object"
          },
          "open_receivable": {
            "$ref": "#/components/schemas/BookOpenReceivable"
          },
          "payment_plans": {
            "items": {
              "$ref": "#/components/schemas/BookPaymentPlanRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "receipts": {
            "items": {
              "$ref": "#/components/schemas/BookCashReceiptRow"
            },
            "type": "array"
          }
        },
        "required": [
          "billing_headers",
          "payment_plans",
          "gaps"
        ],
        "type": "object"
      },
      "Issue": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "fix": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "pointer": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "pointer",
          "message",
          "fix"
        ],
        "type": "object"
      },
      "Item": {
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "string"
          },
          "size_bytes": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "path",
          "size_bytes"
        ],
        "type": "object"
      },
      "LLMSummary": {
        "additionalProperties": false,
        "properties": {
          "by_model": {
            "items": {
              "$ref": "#/components/schemas/LLMSummaryByModel"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cache_hit_rate": {
            "format": "double",
            "type": "number"
          },
          "total_calls": {
            "format": "int64",
            "type": "integer"
          },
          "total_cost_micros": {
            "format": "int64",
            "type": "integer"
          },
          "total_tokens": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "total_calls",
          "total_tokens",
          "total_cost_micros",
          "cache_hit_rate",
          "by_model"
        ],
        "type": "object"
      },
      "LLMSummaryByModel": {
        "additionalProperties": false,
        "properties": {
          "calls": {
            "format": "int64",
            "type": "integer"
          },
          "cost_micros": {
            "format": "int64",
            "type": "integer"
          },
          "input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "model": {
            "type": "string"
          },
          "output_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "provider": {
            "type": "string"
          }
        },
        "required": [
          "provider",
          "model",
          "calls",
          "input_tokens",
          "output_tokens",
          "cost_micros"
        ],
        "type": "object"
      },
      "LatestPlaybook": {
        "additionalProperties": false,
        "properties": {
          "document": {
            "$ref": "#/components/schemas/LatestPlaybookDocument"
          },
          "producer_content": {},
          "status": {
            "enum": [
              "ready",
              "empty"
            ],
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "type": "object"
      },
      "LatestPlaybookDocument": {
        "additionalProperties": false,
        "properties": {
          "computed_at": {
            "type": "string"
          },
          "markdown": {
            "type": "string"
          },
          "placeholders": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "run_id": {
            "type": "string"
          },
          "word_count": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "run_id",
          "markdown",
          "word_count",
          "placeholders",
          "computed_at"
        ],
        "type": "object"
      },
      "LatestRunBatchRequest": {
        "additionalProperties": false,
        "properties": {
          "subjects": {
            "items": {
              "$ref": "#/components/schemas/LatestRunSubjectRequest"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "subjects"
        ],
        "type": "object"
      },
      "LatestRunBatchResponse": {
        "additionalProperties": false,
        "properties": {
          "results": {
            "items": {
              "$ref": "#/components/schemas/LatestRunResult"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "results"
        ],
        "type": "object"
      },
      "LatestRunResult": {
        "additionalProperties": false,
        "properties": {
          "completed_at": {
            "type": "string"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorResponse"
          },
          "found": {
            "type": "boolean"
          },
          "output": {},
          "output_url": {
            "type": "string"
          },
          "run_id": {
            "type": "string"
          },
          "solutions": {
            "items": {
              "$ref": "#/components/schemas/RunSolution"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "subject": {
            "$ref": "#/components/schemas/LatestRunSubjectRequest"
          }
        },
        "required": [
          "subject",
          "found"
        ],
        "type": "object"
      },
      "LatestRunSubjectRequest": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": "string"
          },
          "naics_code": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "submission_id": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "LayoutContentsItem": {
        "additionalProperties": false,
        "properties": {
          "sub": {
            "type": "boolean"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "text"
        ],
        "type": "object"
      },
      "LayoutCountLine": {
        "additionalProperties": false,
        "properties": {
          "many": {
            "type": "string"
          },
          "one": {
            "type": "string"
          }
        },
        "required": [
          "one",
          "many"
        ],
        "type": "object"
      },
      "LayoutFact": {
        "additionalProperties": false,
        "properties": {
          "field": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "label",
          "field"
        ],
        "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"
      },
      "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"
      },
      "LayoutPivotColumn": {
        "additionalProperties": false,
        "properties": {
          "header": {
            "type": "string"
          },
          "key": {
            "type": "string"
          }
        },
        "required": [
          "key",
          "header"
        ],
        "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"
      },
      "LayoutSignerLine": {
        "additionalProperties": false,
        "properties": {
          "field": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "label"
        ],
        "type": "object"
      },
      "LayoutSpreadsheet": {
        "additionalProperties": false,
        "properties": {
          "fitToPage": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "LayoutStrongRows": {
        "additionalProperties": false,
        "properties": {
          "field": {
            "type": "string"
          },
          "values": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "field",
          "values"
        ],
        "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"
      },
      "LayoutTableTotals": {
        "additionalProperties": false,
        "properties": {
          "fields": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "label",
          "fields"
        ],
        "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"
      },
      "Lead": {
        "additionalProperties": false,
        "properties": {
          "agency_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "annual_revenue": {
            "type": [
              "string",
              "null"
            ]
          },
          "company_linkedin_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "company_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "company_website": {
            "type": [
              "string",
              "null"
            ]
          },
          "converted_date_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "converted_lead_count": {
            "type": [
              "string",
              "null"
            ]
          },
          "created_date_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "crm_lead_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "cycle_time_in_days": {
            "type": [
              "string",
              "null"
            ]
          },
          "days_in_stage_1_new": {
            "type": [
              "string",
              "null"
            ]
          },
          "days_in_stage_2_active": {
            "type": [
              "string",
              "null"
            ]
          },
          "days_in_stage_3_qualified": {
            "type": [
              "string",
              "null"
            ]
          },
          "days_in_stage_4_unqualified": {
            "type": [
              "string",
              "null"
            ]
          },
          "days_in_stage_5_converted": {
            "type": [
              "string",
              "null"
            ]
          },
          "dim_crm_lead_sk": {
            "type": [
              "string",
              "null"
            ]
          },
          "dw_inserted_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "dw_source_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "dw_updated_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "first_meeting_count": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "industry": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_converted": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "is_qualified": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "is_unqualified": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "lead_source": {
            "type": [
              "string",
              "null"
            ]
          },
          "lead_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "number_of_employees": {
            "type": [
              "string",
              "null"
            ]
          },
          "office_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "owner_job_title": {
            "type": [
              "string",
              "null"
            ]
          },
          "owner_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "qualified_lead_count": {
            "type": [
              "string",
              "null"
            ]
          },
          "record_type_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_system": {
            "type": [
              "string",
              "null"
            ]
          },
          "stage_1_new_date_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "stage_2_active_date_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "stage_3_qualified_date_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "stage_4_unqualified_date_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "stage_5_converted_date_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "stage_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "tenant_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "unqualified_lead_count": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "dim_crm_lead_sk",
          "crm_lead_id",
          "source_system",
          "tenant_id",
          "record_type_name",
          "lead_type",
          "lead_source",
          "stage_name",
          "is_qualified",
          "is_unqualified",
          "is_converted",
          "company_name",
          "company_website",
          "company_linkedin_url",
          "industry",
          "number_of_employees",
          "annual_revenue",
          "owner_name",
          "owner_job_title",
          "agency_code",
          "office_name",
          "created_date_id",
          "converted_date_id",
          "stage_1_new_date_id",
          "stage_2_active_date_id",
          "stage_3_qualified_date_id",
          "stage_4_unqualified_date_id",
          "stage_5_converted_date_id",
          "first_meeting_count",
          "unqualified_lead_count",
          "qualified_lead_count",
          "converted_lead_count",
          "cycle_time_in_days",
          "days_in_stage_1_new",
          "days_in_stage_2_active",
          "days_in_stage_3_qualified",
          "days_in_stage_4_unqualified",
          "days_in_stage_5_converted",
          "dw_source_id",
          "dw_inserted_at",
          "dw_updated_at"
        ],
        "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"
      },
      "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"
      },
      "LibraryChoices": {
        "additionalProperties": false,
        "properties": {
          "label": {
            "type": "string"
          },
          "variants": {
            "items": {
              "$ref": "#/components/schemas/LibraryVariant"
            },
            "type": "array"
          }
        },
        "required": [
          "label",
          "variants"
        ],
        "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"
      },
      "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"
      },
      "LibraryFile": {
        "additionalProperties": false,
        "properties": {
          "content_type": {
            "type": "string"
          },
          "data": {
            "description": "Base64 encoded bytes from the admitted published template.",
            "type": "string"
          },
          "filename": {
            "type": "string"
          },
          "format": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "page_count": {
            "format": "int64",
            "type": "integer"
          },
          "template_version": {
            "format": "int64",
            "type": "integer"
          },
          "total_pages": {
            "format": "int64",
            "type": "integer"
          },
          "type_version": {
            "format": "int64",
            "type": "integer"
          },
          "variant": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "type_version",
          "template_version",
          "variant",
          "format",
          "filename",
          "content_type",
          "data",
          "page_count",
          "total_pages"
        ],
        "type": "object"
      },
      "LibraryGroup": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "title"
        ],
        "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"
      },
      "LibraryVariant": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "label"
        ],
        "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"
      },
      "LifecyclePathSegment": {
        "additionalProperties": false,
        "properties": {
          "label": {
            "type": "string"
          },
          "stage": {
            "enum": [
              "intake",
              "marketing",
              "quoting",
              "proposal",
              "bind",
              "service",
              "renewal"
            ],
            "type": "string"
          },
          "status": {
            "enum": [
              "complete",
              "current",
              "upcoming"
            ],
            "type": "string"
          }
        },
        "required": [
          "stage",
          "label",
          "status"
        ],
        "type": "object"
      },
      "Limit": {
        "additionalProperties": false,
        "properties": {
          "aggregate": {
            "type": "string"
          },
          "coinsurance_percent": {
            "type": "string"
          },
          "combined_single": {
            "type": "string"
          },
          "coverage_code": {
            "type": "string"
          },
          "coverage_id": {
            "type": "string"
          },
          "deductible_1": {
            "type": "string"
          },
          "deductible_2": {
            "type": "string"
          },
          "deductible_3": {
            "type": "string"
          },
          "deductible_type_1": {
            "type": "string"
          },
          "deductible_type_2": {
            "type": "string"
          },
          "deductible_type_3": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "evidence_ref": {
            "type": "string"
          },
          "is_blanket": {
            "type": "string"
          },
          "is_statutory": {
            "type": "string"
          },
          "limit_1": {
            "type": "string"
          },
          "limit_2": {
            "type": "string"
          },
          "limit_3": {
            "type": "string"
          },
          "line_of_business_id": {
            "type": "string"
          },
          "parent_coverage_id": {
            "type": "string"
          },
          "per_occurrence": {
            "type": "string"
          },
          "source": {
            "type": "string"
          }
        },
        "required": [
          "source",
          "evidence_ref"
        ],
        "type": "object"
      },
      "LineReferenceCertificateLine": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "insured_field": {
            "type": [
              "string",
              "null"
            ]
          },
          "label": {
            "type": "string"
          },
          "waiver_field": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "label",
          "insured_field",
          "waiver_field"
        ],
        "type": "object"
      },
      "LineReferenceFamily": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": [
              "string",
              "null"
            ]
          },
          "family": {
            "type": "string"
          },
          "unmapped_reason": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "family",
          "code",
          "unmapped_reason"
        ],
        "type": "object"
      },
      "LineReferenceProposalLine": {
        "additionalProperties": false,
        "properties": {
          "prefix": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "prefix",
          "title"
        ],
        "type": "object"
      },
      "LineReferenceProposalPrintLine": {
        "additionalProperties": false,
        "properties": {
          "match": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "match",
          "title"
        ],
        "type": "object"
      },
      "LineRelationsCoverageAlias": {
        "additionalProperties": false,
        "properties": {
          "label": {
            "description": "Normalized landed label: lower case, 'and' as '&', punctuation collapsed to single spaces.",
            "type": "string"
          },
          "line": {
            "type": "string"
          },
          "world": {
            "description": "The row's world. 'default' applies to any world the label has no row for.",
            "enum": [
              "default",
              "commercial",
              "personal",
              "benefits",
              "life",
              "other"
            ],
            "type": "string"
          }
        },
        "required": [
          "label",
          "world",
          "line"
        ],
        "type": "object"
      },
      "LineRelationsCoverageRelation": {
        "additionalProperties": false,
        "properties": {
          "contains": {
            "description": "Line ids this coverage already provides when held.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "family": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "line": {
            "type": "string"
          },
          "substitute_group": {
            "description": "Coverages in one group answer the same need; holding any one satisfies all.",
            "type": [
              "string",
              "null"
            ]
          },
          "world": {
            "enum": [
              "commercial",
              "personal",
              "benefits",
              "life",
              "other"
            ],
            "type": "string"
          }
        },
        "required": [
          "line",
          "label",
          "world",
          "family",
          "contains",
          "substitute_group"
        ],
        "type": "object"
      },
      "LineRelationsFamilyPattern": {
        "additionalProperties": false,
        "properties": {
          "family": {
            "type": "string"
          },
          "patterns": {
            "description": "RE2 patterns tested against the normalized coverage name (lower case, '&' as 'and', apostrophes deleted, other punctuation a single space).",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "family",
          "patterns"
        ],
        "type": "object"
      },
      "LineRelationsLineDetail": {
        "additionalProperties": false,
        "properties": {
          "description": {
            "type": "string"
          },
          "example": {
            "type": [
              "string",
              "null"
            ]
          },
          "example_label": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "description",
          "example",
          "example_label"
        ],
        "type": "object"
      },
      "LineRelationsLineNameOverride": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "pattern": {
            "type": "string"
          }
        },
        "required": [
          "pattern",
          "code"
        ],
        "type": "object"
      },
      "LineRelationsPolicyKindRule": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "enum": [
              "gl",
              "auto",
              "umbrella",
              "wc",
              "package",
              "other"
            ],
            "type": "string"
          },
          "pattern": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "pattern"
        ],
        "type": "object"
      },
      "LineRelationsPolicyLineKind": {
        "additionalProperties": false,
        "properties": {
          "fallback": {
            "type": "string"
          },
          "lines": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "Kind per catalog line code, placement code and landed line name.",
            "type": "object"
          },
          "rules": {
            "description": "In precedence order; the first pattern matching the lower-case text wins.",
            "items": {
              "$ref": "#/components/schemas/LineRelationsPolicyKindRule"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "rules",
          "fallback",
          "lines"
        ],
        "type": "object"
      },
      "LineRelationsProgramArea": {
        "additionalProperties": false,
        "properties": {
          "fallback": {
            "type": "string"
          },
          "lines": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "Area per catalog line code, placement code and landed line name.",
            "type": "object"
          },
          "rules": {
            "description": "In precedence order; the first pattern matching the lower-case code wins.",
            "items": {
              "$ref": "#/components/schemas/LineRelationsProgramAreaRule"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "rules",
          "fallback",
          "lines"
        ],
        "type": "object"
      },
      "LineRelationsProgramAreaRule": {
        "additionalProperties": false,
        "properties": {
          "area": {
            "type": "string"
          },
          "pattern": {
            "type": "string"
          }
        },
        "required": [
          "area",
          "pattern"
        ],
        "type": "object"
      },
      "LineRelationsQuoteCoverageAlias": {
        "additionalProperties": false,
        "properties": {
          "ignore_case": {
            "type": "boolean"
          },
          "key": {
            "type": "string"
          },
          "pattern": {
            "type": "string"
          }
        },
        "required": [
          "key",
          "pattern",
          "ignore_case"
        ],
        "type": "object"
      },
      "LineVocabularyCatalogLine": {
        "additionalProperties": false,
        "properties": {
          "app_lob": {
            "type": [
              "string",
              "null"
            ]
          },
          "code": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "label",
          "app_lob"
        ],
        "type": "object"
      },
      "LineVocabularyCoverage": {
        "additionalProperties": false,
        "properties": {
          "class": {
            "enum": [
              "commercial",
              "surety"
            ],
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "grain": {
            "enum": [
              "program",
              "transaction"
            ],
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "recommended": {
            "type": "boolean"
          }
        },
        "required": [
          "code",
          "label",
          "class"
        ],
        "type": "object"
      },
      "LineVocabularyList": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/LineVocabularyView"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "LineVocabularyProduct": {
        "additionalProperties": false,
        "properties": {
          "label": {
            "type": "string"
          },
          "pool": {
            "type": "string"
          },
          "request": {
            "type": "string"
          }
        },
        "required": [
          "request",
          "pool",
          "label"
        ],
        "type": "object"
      },
      "LineVocabularyView": {
        "additionalProperties": false,
        "properties": {
          "app_lob_to_catalog_line": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "catalog_label_aliases": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "Normalized catalog label (lower case, spaces) to line code.",
            "type": "object"
          },
          "catalog_lines": {
            "items": {
              "$ref": "#/components/schemas/LineVocabularyCatalogLine"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "certificate_lines": {
            "description": "The lines a certificate names a holder on, in print order.",
            "items": {
              "$ref": "#/components/schemas/LineReferenceCertificateLine"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "coverage_aliases": {
            "description": "Alias label per world to a coverage line. Resolve (label, row world), then (label, default).",
            "items": {
              "$ref": "#/components/schemas/LineRelationsCoverageAlias"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "coverage_options": {
            "items": {
              "$ref": "#/components/schemas/LineVocabularyCoverage"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "coverage_relations": {
            "description": "Canonical coverages with world, family, contained lines and substitute group.",
            "items": {
              "$ref": "#/components/schemas/LineRelationsCoverageRelation"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "display_names": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "families": {
            "description": "Coverage family to line code, then the families with no code and why.",
            "items": {
              "$ref": "#/components/schemas/LineReferenceFamily"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "family_patterns": {
            "description": "Ordered coverage families and their name patterns.",
            "items": {
              "$ref": "#/components/schemas/LineRelationsFamilyPattern"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "landed_lines": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "Landed AMS line name (trimmed, lower case) to line code. Names with no code are absent, never guessed.",
            "type": "object"
          },
          "line_details": {
            "additionalProperties": {
              "$ref": "#/components/schemas/LineRelationsLineDetail"
            },
            "description": "Pane text by catalog line code.",
            "type": "object"
          },
          "line_label_prefix": {
            "description": "RE2 pattern for the line prefix carriers put on a limit label.",
            "type": "string"
          },
          "line_name_overrides": {
            "description": "Coverage names whose line is finer than their family; tested before the family.",
            "items": {
              "$ref": "#/components/schemas/LineRelationsLineNameOverride"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "order": {
            "description": "Canonical line code order for a per-line table; unnamed codes follow alphabetically.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "original_form_numbers": {
            "additionalProperties": {
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "ACORD form numbers by line code. The shared form 125 belongs to no one line.",
            "type": "object"
          },
          "personal_display_codes": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "policy_line_kind": {
            "$ref": "#/components/schemas/LineRelationsPolicyLineKind"
          },
          "products": {
            "items": {
              "$ref": "#/components/schemas/LineVocabularyProduct"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "program_area": {
            "$ref": "#/components/schemas/LineRelationsProgramArea"
          },
          "proposal_lines": {
            "description": "Every commercial line a proposal can carry, in print order.",
            "items": {
              "$ref": "#/components/schemas/LineReferenceProposalLine"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "proposal_print_order": {
            "description": "Print rank and title of a proposal coverage section.",
            "items": {
              "$ref": "#/components/schemas/LineReferenceProposalPrintLine"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "quote_coverage_aliases": {
            "description": "Ordered quote coverage name patterns to a line key.",
            "items": {
              "$ref": "#/components/schemas/LineRelationsQuoteCoverageAlias"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "short_names": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "Line code to the short name a table cell uses.",
            "type": "object"
          },
          "stated_shorthand": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "Producer shorthand (lower case, underscores) to line code.",
            "type": "object"
          }
        },
        "required": [
          "catalog_lines",
          "personal_display_codes",
          "app_lob_to_catalog_line",
          "coverage_options",
          "products",
          "display_names",
          "catalog_label_aliases",
          "stated_shorthand",
          "landed_lines",
          "short_names",
          "families",
          "order",
          "certificate_lines",
          "proposal_lines",
          "proposal_print_order",
          "coverage_relations",
          "coverage_aliases",
          "line_details",
          "family_patterns",
          "line_name_overrides",
          "quote_coverage_aliases",
          "policy_line_kind",
          "program_area",
          "line_label_prefix",
          "original_form_numbers"
        ],
        "type": "object"
      },
      "ListAccountDuplicate": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/AccountDuplicate"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListAccountMemoryFact": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/AccountMemoryFact"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListAccountPolicyForms": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/AccountPolicyForms"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListAccountPolicyNamedInsureds": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/AccountPolicyNamedInsureds"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListAccountXDatesResponse": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/AccountXDate"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListAction": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/Action"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListActivity": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/Activity"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListActivityFeedEntry": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/ActivityFeedEntry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListBenefitPlanRecord": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/BenefitPlanRecord"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "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"
      },
      "ListBookAccountTeamMember": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/BookAccountTeamMember"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListBookCertificateHolderRow": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/BookCertificateHolderRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListBookClaimInjuredRow": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/BookClaimInjuredRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListBookClaimPaymentRow": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/BookClaimPaymentRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListBookClaimPropertyDamageRow": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/BookClaimPropertyDamageRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListBookClaimRemarkRow": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/BookClaimRemarkRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListBookNamedInsured": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/BookNamedInsured"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListBookPickerValue": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/BookPickerValue"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListBookPolicyCommissionLine": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/BookPolicyCommissionLine"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListBookPolicyTermLink": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/BookPolicyTermLink"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListBookTableRow": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/BookTableRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListCarrierAppointmentRecord": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/CarrierAppointmentRecord"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListCatalogAppetiteJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/CatalogAppetiteJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListCatalogAppointmentIdentityJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/CatalogAppointmentIdentityJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListCatalogDocumentListItem": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/CatalogDocumentListItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListCatalogMarketJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/CatalogMarketJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListCatalogTermJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/CatalogTermJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListCertificateHolder": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/CertificateHolder"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListCertificateHolderGroup": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/CertificateHolderGroup"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListClaimLossHistory": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/ClaimLossHistory"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListClaimPartiesResponse": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/ClaimClaimParty"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListClaimRiskItem": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/ClaimRiskItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListClassKnowledgeListRowJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "description": "view=list and view=resolve: a class knowledge record (ClassKnowledgeItemJSON). view=index: ClassIndexRowJSON. view=search: ClassSearchJSON. view=taxonomy: ClassTaxonomyJSON.",
              "oneOf": [
                {
                  "$ref": "#/components/schemas/ClassKnowledgeItemJSON"
                },
                {
                  "$ref": "#/components/schemas/ClassIndexRowJSON"
                },
                {
                  "$ref": "#/components/schemas/ClassSearchJSON"
                },
                {
                  "$ref": "#/components/schemas/ClassTaxonomyJSON"
                }
              ]
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListClassRecord": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/ClassRecord"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListConnectionTable": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/ConnectionTable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListContact": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/Contact"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListContingencyPosition": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/ContingencyPosition"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListEmployeesResponse": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/BookOwner"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListInvoice": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/Invoice"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListLead": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/Lead"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListMachine": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/Machine"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListMarketPersonRecord": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/MarketPersonRecord"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListMotorCarrierRecord": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/MotorCarrierRecord"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListNote": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/Note"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListOfferingViewJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/CatalogProductRowJSON"
                },
                {
                  "$ref": "#/components/schemas/MergedOfferingJSON"
                }
              ]
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListOpportunity": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/Opportunity"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListOrgProduct": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/OrgProduct"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListPeopleAccount": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/PeopleAccount"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListPlacement": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/Placement"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListPolicyBindersResponse": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/PolicyBinder"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListPolicyChangesResponse": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/PolicyChange"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListPolicyChecklistResponse": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/PolicyChecklist"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListPolicyClassesResponse": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/PolicyClass"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListPolicyDriversResponse": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/PolicyDriver"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListPolicyEquipmentResponse": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/PolicyEquipment"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListPolicyLinesResponse": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/PolicyLine"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListPolicyLocationsResponse": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/PolicyLocation"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListPolicyPremiumsResponse": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/PolicyPremium"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListPolicyPriorCarriersResponse": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/PolicyPriorCarrier"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListPolicyPropertyItemsResponse": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/PolicyPropertyItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListPolicyTransactionRecord": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/PolicyTransactionRecord"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListPolicyUnderwritingResponse": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/PolicyUnderwriting"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListPolicyVehiclesResponse": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/PolicyVehicle"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListProcedureSource": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/ProcedureSource"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListRegisterProductGroup": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/RegisterProductGroup"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListRenewalEntry": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/RenewalEntry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListResolution": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/Resolution"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListResourceWire": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/ResourceWire"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListSecFilingRecord": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/SecFilingRecord"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListSourceRecord": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/SourceRecord"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListSubmission": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/Submission"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListSubmissionTermDriver": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/SubmissionTermDriver"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListSubmissionTermRecord": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/SubmissionTermRecord"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListSubmissionTermVehicle": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/SubmissionTermVehicle"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListUploadedDocumentEntry": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/UploadedDocumentEntry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListVocabularyCodesResponse": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/VocabularyCode"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListWorkbenchCertificateRow": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/WorkbenchCertificateRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListWorkbenchEvent": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/WorkbenchEvent"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListWorkbenchOverlayEdit": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/WorkbenchOverlayEdit"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListWorkbenchRow": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/WorkbenchRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListWorkflowState": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/WorkflowState"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ListWorkspaceRecord": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/WorkspaceRecord"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "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"
      },
      "LossHistory": {
        "additionalProperties": false,
        "properties": {
          "note": {
            "type": "string"
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/LossRow"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "rows",
          "note"
        ],
        "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"
      },
      "Machine": {
        "additionalProperties": false,
        "properties": {
          "decisions": {
            "description": "The choices a person makes and the value each records.",
            "items": {
              "$ref": "#/components/schemas/MachineDecision"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "description": "The further dimensions a derived machine serves beside its value, such as the account lifecycle's health and frame.",
            "items": {
              "$ref": "#/components/schemas/MachineFacet"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "field": {
            "description": "The state field the machine moves, for example renewal_stage.",
            "type": "string"
          },
          "headline_precedence": {
            "description": "Where a subject's headline reads from, first match wins.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "initial": {
            "description": "The value a subject holds before any move is recorded.",
            "type": "string"
          },
          "kind": {
            "description": "ledger: a Nexio field people and actions move through the action ledger, each move checked. source: a state read from a system of record; the ledger refuses every move of it.",
            "enum": [
              "ledger",
              "source"
            ],
            "type": "string"
          },
          "moves": {
            "description": "Every declared move.",
            "items": {
              "$ref": "#/components/schemas/MachineMove"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "next_steps": {
            "description": "Every next step the machine declares, by key, with what selects it.",
            "items": {
              "$ref": "#/components/schemas/MachineStepDeclaration"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source_system": {
            "description": "Where the values are decided: one or more of ams360, salesforce and nexio.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "values": {
            "description": "Every value, in declared order, retired values included.",
            "items": {
              "$ref": "#/components/schemas/MachineValue"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "workflow": {
            "description": "The insurance workflow the machine belongs to: renewal, new_business, certificate, endorsement, submission, write_back, account, document or task. Empty on a platform machine, which belongs to no insurance workflow.",
            "type": "string"
          }
        },
        "required": [
          "field",
          "workflow",
          "kind",
          "source_system",
          "initial",
          "values",
          "moves"
        ],
        "type": "object"
      },
      "MachineDecision": {
        "additionalProperties": false,
        "properties": {
          "decision": {
            "description": "The choice as an action names it.",
            "type": "string"
          },
          "value": {
            "description": "The value the choice records.",
            "type": "string"
          }
        },
        "required": [
          "decision",
          "value"
        ],
        "type": "object"
      },
      "MachineFacet": {
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string"
          },
          "values": {
            "description": "The facet's values in declared order.",
            "items": {
              "$ref": "#/components/schemas/MachineFacetValue"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "name",
          "values"
        ],
        "type": "object"
      },
      "MachineFacetValue": {
        "additionalProperties": false,
        "properties": {
          "label": {
            "description": "The words a person sees for the value.",
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "value"
        ],
        "type": "object"
      },
      "MachineMove": {
        "additionalProperties": false,
        "properties": {
          "by": {
            "description": "person: anyone with the write grant. system: only the actions named in via. source: the system of record, through the source events named in via.",
            "enum": [
              "person",
              "system",
              "source"
            ],
            "type": "string"
          },
          "from": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "reason": {
            "description": "required when the move must carry a reason.",
            "enum": [
              "required"
            ],
            "type": "string"
          },
          "to": {
            "type": "string"
          },
          "via": {
            "description": "The actions, or the source events, that make the move.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "when": {
            "$ref": "#/components/schemas/MachineWhen",
            "description": "The move is legal only while another machine holds one of these values."
          }
        },
        "required": [
          "from",
          "to",
          "by"
        ],
        "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"
      },
      "MachineReason": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "label": {
            "description": "The words a person sees for the reason.",
            "type": "string"
          }
        },
        "required": [
          "code",
          "label"
        ],
        "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"
      },
      "MachineStepDeclaration": {
        "additionalProperties": false,
        "properties": {
          "due_days_before": {
            "description": "Days before expiration the step is due.",
            "format": "int64",
            "type": "integer"
          },
          "key": {
            "description": "The next step key.",
            "type": "string"
          },
          "label": {
            "description": "The words a person sees for the step.",
            "type": "string"
          },
          "nature": {
            "description": "The nature of a subject that selects the step while no decision is recorded.",
            "type": "string"
          },
          "rungs": {
            "description": "The open source steps that select the step.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "waiting_on": {
            "description": "Who the work waits on at this step.",
            "type": "string"
          }
        },
        "required": [
          "key"
        ],
        "type": "object"
      },
      "MachineValue": {
        "additionalProperties": false,
        "properties": {
          "approach": {
            "description": "The work choice a subject at the value stands for.",
            "type": "string"
          },
          "label": {
            "description": "The words a person sees for the value.",
            "type": "string"
          },
          "next": {
            "$ref": "#/components/schemas/MachineNextStep",
            "description": "The next step served for a subject at this value."
          },
          "reasons": {
            "description": "Why a subject holds the value, when the machine declares reasons for it.",
            "items": {
              "$ref": "#/components/schemas/MachineReason"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "requires": {
            "description": "The subject fields that must be non-empty while the subject holds the value.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "retired": {
            "description": "True when no move may enter the value; landed moves into it still replay.",
            "type": "boolean"
          },
          "settled": {
            "description": "True when the value ends the work.",
            "type": "boolean"
          },
          "source": {
            "description": "On a source machine, the system-of-record field and condition the value reads from; on a ledger machine, the AMS 360 field the value writes to, or none.",
            "type": "string"
          },
          "step": {
            "description": "The workflow step the value sits in.",
            "type": "string"
          },
          "summary": {
            "description": "sentence: a subject at the value leads its summary with the evidence sentence.",
            "enum": [
              "sentence"
            ],
            "type": "string"
          },
          "tone": {
            "description": "The tone the value is shown with.",
            "enum": [
              "neutral",
              "positive",
              "warning",
              "danger"
            ],
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "value",
          "settled",
          "retired"
        ],
        "type": "object"
      },
      "MachineWhen": {
        "additionalProperties": false,
        "properties": {
          "field": {
            "type": "string"
          },
          "values": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "field",
          "values"
        ],
        "type": "object"
      },
      "MarketAppetiteCondition": {
        "additionalProperties": false,
        "properties": {
          "applies_when": {
            "items": {
              "$ref": "#/components/schemas/MarketAppetiteConditionPredicate"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "fact_key": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "operator": {
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/MarketAppetiteConditionSource"
          },
          "value": {},
          "verbatim": {
            "type": "string"
          }
        },
        "required": [
          "key",
          "label",
          "verbatim",
          "fact_key",
          "operator",
          "source"
        ],
        "type": "object"
      },
      "MarketAppetiteConditionPredicate": {
        "additionalProperties": false,
        "properties": {
          "fact_key": {
            "type": "string"
          },
          "operator": {
            "type": "string"
          },
          "value": {}
        },
        "required": [
          "fact_key",
          "operator"
        ],
        "type": "object"
      },
      "MarketAppetiteConditionSource": {
        "additionalProperties": false,
        "properties": {
          "actor_email": {
            "type": "string"
          },
          "as_of": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "row": {
            "format": "int64",
            "type": "integer"
          },
          "sha256": {
            "type": "string"
          },
          "sheet": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "label"
        ],
        "type": "object"
      },
      "MarketAppetiteConstraints": {
        "additionalProperties": false,
        "properties": {
          "conditions": {
            "items": {
              "$ref": "#/components/schemas/MarketAppetiteCondition"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "construction": {
            "type": "string"
          },
          "factor_order": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "max_building_tiv": {
            "format": "int64",
            "type": "integer"
          },
          "max_frame_tiv": {
            "format": "int64",
            "type": "integer"
          },
          "max_location_tiv": {
            "format": "int64",
            "type": "integer"
          },
          "min_year_built": {
            "format": "int64",
            "type": "integer"
          },
          "rehab_exception_note": {
            "type": "string"
          },
          "tenant_classes": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "MarketAppetiteCoverageJSON": {
        "additionalProperties": false,
        "properties": {
          "appetite_assessable": {
            "type": "boolean"
          },
          "markets_matching_class": {
            "description": "Markets with appetite evidence for a resolved class; absent when no class resolved.",
            "format": "int64",
            "type": "integer"
          },
          "markets_total": {
            "format": "int64",
            "type": "integer"
          },
          "markets_with_appetite_data": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "markets_total",
          "markets_with_appetite_data",
          "appetite_assessable"
        ],
        "type": "object"
      },
      "MarketAppetiteEvidenceRef": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "kind"
        ],
        "type": "object"
      },
      "MarketAppetiteReference": {
        "additionalProperties": false,
        "properties": {
          "company_id": {
            "type": "string"
          },
          "connection_id": {
            "type": "string"
          },
          "datasource_id": {
            "type": "string"
          },
          "entity_key": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "connection_id"
        ],
        "type": "object"
      },
      "MarketAppetiteResolutionQueryJSON": {
        "additionalProperties": false,
        "properties": {
          "class_ids": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "line_id": {
            "type": "string"
          },
          "q": {
            "type": "string"
          },
          "state_id": {
            "type": "string"
          }
        },
        "required": [
          "class_ids"
        ],
        "type": "object"
      },
      "MarketAppetiteResolutionResponse": {
        "additionalProperties": false,
        "properties": {
          "coverage": {
            "$ref": "#/components/schemas/MarketAppetiteCoverageJSON"
          },
          "no_coverage": {
            "type": "string"
          },
          "query": {
            "$ref": "#/components/schemas/MarketAppetiteResolutionQueryJSON"
          },
          "resolved": {
            "$ref": "#/components/schemas/MarketAppetiteResolvedJSON"
          }
        },
        "required": [
          "query",
          "resolved",
          "coverage"
        ],
        "type": "object"
      },
      "MarketAppetiteResolvedClassJSON": {
        "additionalProperties": false,
        "properties": {
          "confidence": {
            "format": "double",
            "type": "number"
          },
          "id": {
            "description": "The class id (the 2022 NAICS code).",
            "type": "string"
          },
          "level": {
            "type": "string"
          },
          "path": {
            "description": "asked: the request named this id. The rest are the Classes resolver's paths.",
            "enum": [
              "asked",
              "exact",
              "concordance",
              "index_entry",
              "title_words"
            ],
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "title",
          "level",
          "path",
          "confidence"
        ],
        "type": "object"
      },
      "MarketAppetiteResolvedJSON": {
        "additionalProperties": false,
        "properties": {
          "classes": {
            "items": {
              "$ref": "#/components/schemas/MarketAppetiteResolvedClassJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/MarketAppetiteResolvedLineJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "state_id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "state_id",
          "classes",
          "lines"
        ],
        "type": "object"
      },
      "MarketAppetiteResolvedLineJSON": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "description": "The line id.",
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "label"
        ],
        "type": "object"
      },
      "MarketAppetiteRevision": {
        "additionalProperties": false,
        "properties": {
          "acted_by_actor_id": {
            "type": "string"
          },
          "actor_email": {
            "type": "string"
          },
          "actor_id": {
            "type": "string"
          },
          "added_by": {
            "type": "string"
          },
          "added_by_email": {
            "type": "string"
          },
          "added_by_note": {
            "type": "string"
          },
          "added_on": {
            "type": "string"
          },
          "assertion_id": {
            "type": "string"
          },
          "based_on": {
            "items": {
              "$ref": "#/components/schemas/MarketAppetiteEvidenceRef"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "constraints": {
            "$ref": "#/components/schemas/MarketAppetiteConstraints"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "eligibility": {
            "type": "string"
          },
          "evidence_refs": {
            "items": {
              "$ref": "#/components/schemas/MarketAppetiteEvidenceRef"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "market": {
            "$ref": "#/components/schemas/MarketAppetiteReference"
          },
          "operation": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "revision": {
            "format": "int64",
            "type": "integer"
          },
          "scope": {
            "$ref": "#/components/schemas/MarketAppetiteScope"
          }
        },
        "required": [
          "assertion_id",
          "market",
          "scope",
          "revision",
          "operation",
          "reason",
          "evidence_refs",
          "based_on",
          "actor_id",
          "created_at"
        ],
        "type": "object"
      },
      "MarketAppetiteScope": {
        "additionalProperties": false,
        "properties": {
          "business_class_key": {
            "type": "string"
          },
          "business_class_label": {
            "type": "string"
          },
          "line_code": {
            "type": "string"
          },
          "route_ref": {
            "type": "string"
          },
          "route_scope": {
            "type": "string"
          },
          "state_code": {
            "type": "string"
          },
          "state_scope": {
            "type": "string"
          }
        },
        "required": [
          "business_class_key",
          "business_class_label",
          "line_code",
          "state_scope",
          "route_scope"
        ],
        "type": "object"
      },
      "MarketAppetiteSynthesisPageJSON": {
        "additionalProperties": false,
        "properties": {
          "limit": {
            "format": "int64",
            "type": "integer"
          },
          "offset": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "limit",
          "offset"
        ],
        "type": "object"
      },
      "MarketAppetiteSynthesisQueryJSON": {
        "additionalProperties": false,
        "properties": {
          "class_ids": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "line_id": {
            "type": "string"
          },
          "state_id": {
            "type": "string"
          }
        },
        "required": [
          "class_ids"
        ],
        "type": "object"
      },
      "MarketAppetiteSynthesisResponse": {
        "additionalProperties": false,
        "properties": {
          "head": {
            "$ref": "#/components/schemas/CatalogAppetiteSynthesisHeadJSON"
          },
          "markets": {
            "items": {
              "$ref": "#/components/schemas/CatalogClassMarketJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "meta": {
            "$ref": "#/components/schemas/CatalogClassMetaJSON"
          },
          "page": {
            "$ref": "#/components/schemas/MarketAppetiteSynthesisPageJSON"
          },
          "query": {
            "$ref": "#/components/schemas/MarketAppetiteSynthesisQueryJSON"
          },
          "total_markets": {
            "description": "Every matching market, before the window.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "query",
          "head",
          "total_markets",
          "page",
          "markets",
          "meta"
        ],
        "type": "object"
      },
      "MarketClassBook": {
        "additionalProperties": false,
        "properties": {
          "channel": {
            "description": "revealed when a priced row exists, else observed.",
            "enum": [
              "observed",
              "revealed"
            ],
            "type": "string"
          },
          "clients": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "first": {
            "type": [
              "string",
              "null"
            ]
          },
          "floor_met": {
            "description": "True when the sample met the placement-evidence floor.",
            "type": "boolean"
          },
          "last": {
            "type": [
              "string",
              "null"
            ]
          },
          "level": {
            "format": "int64",
            "maximum": 3,
            "minimum": 0,
            "type": "integer"
          },
          "policies": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "channel",
          "policies",
          "clients",
          "floor_met",
          "level",
          "first",
          "last"
        ],
        "type": "object"
      },
      "MarketClassCondition": {
        "additionalProperties": false,
        "properties": {
          "account_value": {
            "type": "string"
          },
          "applies": {
            "type": "boolean"
          },
          "fact_key": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "line": {
            "description": "The line the condition was stated for; empty for every line.",
            "type": "string"
          },
          "missing_fact": {
            "type": "string"
          },
          "operator": {
            "type": "string"
          },
          "refuses": {
            "description": "True when the condition names something the carrier does not accept: an excludes condition, a workbook's frame-only refusal, or a source cell that says the carrier does not accept the exposure. False for a limit, a requirement, an ask or another note.",
            "type": "boolean"
          },
          "source": {
            "$ref": "#/components/schemas/MarketClassConditionSource"
          },
          "verbatim": {
            "description": "The carrier's own words.",
            "type": "string"
          }
        },
        "required": [
          "line",
          "key",
          "label",
          "verbatim",
          "fact_key",
          "missing_fact",
          "account_value",
          "applies",
          "operator",
          "refuses",
          "source"
        ],
        "type": "object"
      },
      "MarketClassConditionGroup": {
        "additionalProperties": false,
        "properties": {
          "heading": {
            "description": "The source as a producer reads it, for example a workbook's name and date.",
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/MarketClassConditionItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "key": {
            "description": "The source's identity: its id (or the name it is shown by) and its date.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/MarketClassConditionSource"
          }
        },
        "required": [
          "key",
          "heading",
          "source",
          "items"
        ],
        "type": "object"
      },
      "MarketClassConditionItem": {
        "additionalProperties": false,
        "properties": {
          "condition": {
            "$ref": "#/components/schemas/MarketClassGroupedCondition"
          },
          "lines": {
            "description": "The lines the condition was stated for, canonical line order; an empty line means every line.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "condition",
          "lines"
        ],
        "type": "object"
      },
      "MarketClassConditionSource": {
        "additionalProperties": false,
        "properties": {
          "actor_email": {
            "type": "string"
          },
          "as_of": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "row": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "sheet": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "id",
          "label",
          "sheet",
          "row",
          "as_of",
          "actor_email"
        ],
        "type": "object"
      },
      "MarketClassCounts": {
        "additionalProperties": false,
        "properties": {
          "book": {
            "description": "Data-only classes: a NAICS rung only the book or the outcome record filed under.",
            "format": "int64",
            "type": "integer"
          },
          "guide": {
            "description": "Classes a source labeled (guide, colleague, contract).",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "guide",
          "book"
        ],
        "type": "object"
      },
      "MarketClassDateRange": {
        "additionalProperties": false,
        "properties": {
          "first": {
            "type": "string"
          },
          "last": {
            "type": "string"
          }
        },
        "required": [
          "first",
          "last"
        ],
        "type": "object"
      },
      "MarketClassGroupedCondition": {
        "additionalProperties": false,
        "properties": {
          "account_value": {
            "type": "string"
          },
          "applies": {
            "type": "boolean"
          },
          "fact_key": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "missing_fact": {
            "type": "string"
          },
          "operator": {
            "type": "string"
          },
          "refuses": {
            "description": "True when the condition names something the carrier does not accept; false for a limit, a requirement, an ask or another note.",
            "type": "boolean"
          },
          "source": {
            "$ref": "#/components/schemas/MarketClassConditionSource"
          },
          "verbatim": {
            "description": "The carrier's own words.",
            "type": "string"
          }
        },
        "required": [
          "key",
          "label",
          "verbatim",
          "fact_key",
          "missing_fact",
          "account_value",
          "applies",
          "operator",
          "refuses",
          "source"
        ],
        "type": "object"
      },
      "MarketClassGuideCatalogAppetiteSynthesisRowJSON": {
        "additionalProperties": false,
        "properties": {
          "all_lines": {
            "description": "True when the guide spoke about the class on every line rather than this line by name.",
            "type": "boolean"
          },
          "level": {
            "format": "int64",
            "maximum": 3,
            "minimum": 0,
            "type": "integer"
          },
          "row": {
            "$ref": "#/components/schemas/CatalogAppetiteSynthesisRowJSON",
            "description": "The guide row that decided it."
          },
          "word": {
            "enum": [
              "writes",
              "considers",
              "wont_write",
              "unknown"
            ],
            "type": "string"
          }
        },
        "required": [
          "word",
          "level",
          "row",
          "all_lines"
        ],
        "type": "object"
      },
      "MarketClassLineCatalogAppetiteSynthesisRowJSON": {
        "additionalProperties": false,
        "properties": {
          "book": {
            "$ref": "#/components/schemas/MarketClassBook"
          },
          "code": {
            "type": "string"
          },
          "from": {
            "$ref": "#/components/schemas/MarketClassLineFrom",
            "description": "Which sources put the line in the table."
          },
          "guide": {
            "$ref": "#/components/schemas/MarketClassGuideCatalogAppetiteSynthesisRowJSON",
            "description": "The carrier's own word on the line; null when its guide is silent."
          },
          "outcomes": {
            "$ref": "#/components/schemas/MarketClassOutcomes",
            "description": "The outcome record on the line; null when none reached the class."
          },
          "team": {
            "description": "Colleague rows on the line, newest first.",
            "items": {
              "$ref": "#/components/schemas/CatalogAppetiteSynthesisRowJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "verdict": {
            "$ref": "#/components/schemas/MarketClassLineVerdict"
          }
        },
        "required": [
          "code",
          "guide",
          "verdict",
          "outcomes",
          "book",
          "team",
          "from"
        ],
        "type": "object"
      },
      "MarketClassLineFrom": {
        "additionalProperties": false,
        "properties": {
          "appointed": {
            "type": "boolean"
          },
          "convention": {
            "type": "boolean"
          },
          "guide": {
            "type": "boolean"
          },
          "record": {
            "type": "boolean"
          },
          "team": {
            "type": "boolean"
          }
        },
        "required": [
          "convention",
          "appointed",
          "guide",
          "record",
          "team"
        ],
        "type": "object"
      },
      "MarketClassLineVerdict": {
        "additionalProperties": false,
        "properties": {
          "channel": {
            "description": "The channel whose row decided the word; null when nothing spoke.",
            "type": [
              "string",
              "null"
            ]
          },
          "level": {
            "format": "int64",
            "maximum": 3,
            "minimum": 0,
            "type": "integer"
          },
          "word": {
            "enum": [
              "writes",
              "likely_writes",
              "considers",
              "wont_write",
              "unlikely",
              "unknown",
              "mixed"
            ],
            "type": "string"
          }
        },
        "required": [
          "word",
          "level",
          "channel"
        ],
        "type": "object"
      },
      "MarketClassOutcomes": {
        "additionalProperties": false,
        "properties": {
          "bound": {
            "format": "int64",
            "type": "integer"
          },
          "declined": {
            "format": "int64",
            "type": "integer"
          },
          "not_bound": {
            "format": "int64",
            "type": "integer"
          },
          "open": {
            "format": "int64",
            "type": "integer"
          },
          "quoted": {
            "format": "int64",
            "type": "integer"
          },
          "quoted_any": {
            "description": "Every submission that reached a quote, whether or not it bound.",
            "format": "int64",
            "type": "integer"
          },
          "quoted_not_bound": {
            "format": "int64",
            "type": "integer"
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "bound",
          "quoted",
          "quoted_not_bound",
          "declined",
          "not_bound",
          "open",
          "total",
          "quoted_any"
        ],
        "type": "object"
      },
      "MarketClassReason": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "enum": [
              "bottom_line"
            ],
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/MarketClassReasonSource"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "text",
          "source"
        ],
        "type": "object"
      },
      "MarketClassReasonSource": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "enum": [
              "appetite_fold"
            ],
            "type": "string"
          },
          "ref": {
            "description": "The class row id.",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "ref"
        ],
        "type": "object"
      },
      "MarketClassSector": {
        "additionalProperties": false,
        "properties": {
          "label": {
            "type": "string"
          },
          "policies": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "label",
          "policies"
        ],
        "type": "object"
      },
      "MarketClassServedCatalogAppetiteSynthesisRowJSON": {
        "additionalProperties": false,
        "properties": {
          "all_lines_guide": {
            "$ref": "#/components/schemas/MarketClassGuideCatalogAppetiteSynthesisRowJSON",
            "description": "The guide's statement about the class on every line, when it made one."
          },
          "any_class": {
            "description": "The line-level record with no class.",
            "type": "boolean"
          },
          "book": {
            "$ref": "#/components/schemas/MarketClassBook",
            "description": "The book's placements on the class; null when no book row reached it."
          },
          "carrier_evidence": {
            "enum": [
              "guide",
              "contract_only",
              "not_in_guide",
              "none"
            ],
            "type": "string"
          },
          "class_key": {
            "type": "string"
          },
          "class_level": {
            "type": "string"
          },
          "condition_groups": {
            "description": "The row's conditions, one group per source in the order the sources first appear, each distinct condition once with every line it was stated for (canonical line order; the empty line means every line).",
            "items": {
              "$ref": "#/components/schemas/MarketClassConditionGroup"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "conditions": {
            "description": "What the carrier requires before it writes the class, each with the line it was stated for (empty for every line). Disclosure only: a condition never moves the word.",
            "items": {
              "$ref": "#/components/schemas/MarketClassCondition"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "convention_lines": {
            "description": "The lines a class of this kind usually carries (the industry convention); empty when the convention has no opinion.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "data_grain_label": {
            "description": "The Census title of the rung the outcome rows are filed at.",
            "type": [
              "string",
              "null"
            ]
          },
          "data_only": {
            "description": "A NAICS rung no source labeled, named from the Census titles.",
            "type": "boolean"
          },
          "decided_by": {
            "description": "The channel whose row decided the word; null when nothing spoke.",
            "type": [
              "string",
              "null"
            ]
          },
          "guide_lines": {
            "description": "Lines the guide named for this class, canonical order.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "id": {
            "description": "Stable within one read: the label lower-cased, a NAICS rung, or any-class.",
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "level": {
            "description": "Confidence: 3 high, 2 moderate, 1 low, 0 not enough to say.",
            "format": "int64",
            "maximum": 3,
            "minimum": 0,
            "type": "integer"
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/MarketClassLineCatalogAppetiteSynthesisRowJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "observed_range": {
            "$ref": "#/components/schemas/MarketClassDateRange",
            "description": "First and last month an outcome row on the class was observed."
          },
          "outcomes": {
            "$ref": "#/components/schemas/MarketClassOutcomes",
            "description": "The outcome record on the class: what came back when business was sent."
          },
          "reasons": {
            "description": "The bottom line in the producer's words.",
            "items": {
              "$ref": "#/components/schemas/MarketClassReason"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "sector_book": {
            "$ref": "#/components/schemas/MarketClassSector",
            "description": "For a guide class bridged to a sector or subsector: the sector's own placed count."
          },
          "team": {
            "description": "Colleague (user_supplied) rows on the whole class, newest first.",
            "items": {
              "$ref": "#/components/schemas/CatalogAppetiteSynthesisRowJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "word": {
            "description": "The bottom-line verdict. writes and wont_write only in the carrier's own voice; likely_writes and unlikely from the record or a colleague; mixed when the class's lines disagree.",
            "enum": [
              "writes",
              "likely_writes",
              "considers",
              "wont_write",
              "unlikely",
              "unknown",
              "mixed"
            ],
            "type": "string"
          }
        },
        "required": [
          "condition_groups",
          "id",
          "label",
          "class_key",
          "class_level",
          "any_class",
          "data_only",
          "word",
          "level",
          "decided_by",
          "carrier_evidence",
          "reasons",
          "outcomes",
          "book",
          "lines",
          "guide_lines",
          "convention_lines",
          "all_lines_guide",
          "sector_book",
          "data_grain_label",
          "observed_range",
          "team",
          "conditions"
        ],
        "type": "object"
      },
      "MarketClassesBasis": {
        "additionalProperties": false,
        "properties": {
          "appointed_lines": {
            "description": "The commercial lines the market's served products appoint (in the state when one is asked), the per-line table's anchor where the class has no convention.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "derived": {
            "description": "The rule that folded the cells.",
            "enum": [
              "market_appetite_fold"
            ],
            "type": "string"
          },
          "state": {
            "description": "The state the appointed lines were read for; empty for every state. Colleague rows and the landed appetite are read for every state.",
            "type": "string"
          },
          "synthesis_derived_at": {
            "description": "When the landed appetite head the cells come from was derived; null when none has landed.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "derived",
          "synthesis_derived_at",
          "state",
          "appointed_lines"
        ],
        "type": "object"
      },
      "MarketClassesServedCatalogAppetiteSynthesisRowJSON": {
        "additionalProperties": false,
        "properties": {
          "appetite_grade": {
            "$ref": "#/components/schemas/MarketsAppetiteGrade",
            "description": "With naics: the carrier appetite model's grade of this market for the class, on the agency's own placements, exactly as the Markets directory's one-row read (entity_key) serves it to this seat, with the line it graded. The class row naics_class_id names takes its word and bottom line from it, the bottom line also saying the directory's guide answer for the asked class with its date; a guide's not a market makes the word won't write. Absent when the model is off, nothing is published, or the seat may not read the directory."
          },
          "as_of": {
            "description": "The clock the synthesis was weighed against.",
            "type": "string"
          },
          "basis": {
            "$ref": "#/components/schemas/MarketClassesBasis"
          },
          "class_counts": {
            "$ref": "#/components/schemas/MarketClassCounts"
          },
          "class_labels": {
            "description": "Every class label in row order, the any-class row excepted.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "classes": {
            "description": "One row per class the sources name, in the fold's order: guide classes, then data-only classes, then the any-class row.",
            "items": {
              "$ref": "#/components/schemas/MarketClassServedCatalogAppetiteSynthesisRowJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "guide_blob_ref": {
            "description": "The guide document the first stated row cites; null without one, or when the seat's document tiers do not open it.",
            "type": [
              "string",
              "null"
            ]
          },
          "guide_observed_at": {
            "description": "The latest date the guide rows carry; null without a guide.",
            "type": [
              "string",
              "null"
            ]
          },
          "guide_source_label": {
            "description": "The kind of document guide_blob_ref cites, in a producer's words (served.SourceLabel, set by the read); null with the ref.",
            "type": [
              "string",
              "null"
            ]
          },
          "has_guide": {
            "description": "True when the market has a guide on file (a stated row).",
            "type": "boolean"
          },
          "lines": {
            "description": "Every line any source named on this market, canonical order.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "matched_class_ids": {
            "description": "With class: the ids of the class rows that answer the asked class, best first. A row whose label holds the asked words whole ranks first, then a row whose label the taxonomy's keywords for the class name, then a keyed row whose class key covers or refines a NAICS code the class resolves to or the naics asked (a sector span included). Equal matches rank guide classes before data-only classes, then by placed policies, most first. The any-class row never matches. Empty when no class was asked or none answers.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "naics_class_id": {
            "description": "With naics: the id of the class row the code lands on (the longest class key covering it); null when none does.",
            "type": [
              "string",
              "null"
            ]
          },
          "product_groups": {
            "description": "Producer line groups from the same seat-redacted products as the class fold, with variant labels and held flags.",
            "items": {
              "$ref": "#/components/schemas/MarketProductGroup"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "classes",
          "matched_class_ids",
          "product_groups",
          "has_guide",
          "guide_observed_at",
          "guide_blob_ref",
          "guide_source_label",
          "lines",
          "class_labels",
          "class_counts",
          "naics_class_id",
          "basis",
          "as_of"
        ],
        "type": "object"
      },
      "MarketDocumentContentJSON": {
        "additionalProperties": false,
        "properties": {
          "expires_in_seconds": {
            "description": "Seconds until source_url expires.",
            "format": "int64",
            "type": "integer"
          },
          "media_type": {
            "description": "The document's media type.",
            "type": "string"
          },
          "page_count": {
            "description": "The page count its text derivation recorded; null when none was recorded.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "source_url": {
            "description": "A short-lived URL to the original bytes.",
            "type": "string"
          }
        },
        "required": [
          "source_url",
          "media_type",
          "page_count",
          "expires_in_seconds"
        ],
        "type": "object"
      },
      "MarketIntelligence": {
        "additionalProperties": false,
        "properties": {
          "appetite": {
            "$ref": "#/components/schemas/IntelligenceAppetite",
            "description": "The selected class row's bottom line; null when no class row (or any-class row) carries the line."
          },
          "as_of": {
            "description": "The clock the synthesis was weighed against.",
            "type": "string"
          },
          "basis": {
            "$ref": "#/components/schemas/IntelligenceBasis"
          },
          "book": {
            "$ref": "#/components/schemas/IntelligenceBook",
            "description": "The book placed on the selected class and line; null when none reached it."
          },
          "book_scope": {
            "$ref": "#/components/schemas/IntelligenceBookScope"
          },
          "class_scope": {
            "$ref": "#/components/schemas/IntelligenceClassScope"
          },
          "conditions": {
            "description": "The selected class row's carrier conditions on the asked line or on every line, in the carrier's own words.",
            "items": {
              "$ref": "#/components/schemas/IntelligenceCondition"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "has_agreement": {
            "description": "True when any appetite row is our agreement with the carrier (the contractual channel).",
            "type": "boolean"
          },
          "line_verdict": {
            "$ref": "#/components/schemas/IntelligenceLineVerdict"
          },
          "market_entity_key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "market_entity_key",
          "name",
          "class_scope",
          "appetite",
          "conditions",
          "book",
          "book_scope",
          "line_verdict",
          "has_agreement",
          "basis",
          "as_of"
        ],
        "type": "object"
      },
      "MarketIntelligenceRead": {
        "additionalProperties": false,
        "properties": {
          "intelligence": {
            "$ref": "#/components/schemas/MarketIntelligence",
            "description": "With resolution ok: the market's appetite on the asked line; null when a read failed (unreachable part intelligence)."
          },
          "resolution": {
            "$ref": "#/components/schemas/MarketSeatResolution",
            "description": "The seat's catalog market; null when the catalog could not be read (unreachable part resolution)."
          }
        },
        "required": [
          "resolution",
          "intelligence"
        ],
        "type": "object"
      },
      "MarketLogoJSON": {
        "additionalProperties": false,
        "properties": {
          "etag": {
            "description": "The logo's version: a prefix of its sha256. Pass it as v= on the logo read to cache the bytes for good.",
            "type": "string"
          },
          "fit": {
            "description": "How a square tile draws the file: fill is a near-square file that carries its own safe area (a bare mark inset in the file, or a filled tile to its edge), drawn edge to edge and clipped to the tile's corners; pad is a wordmark or a file stored before it was normalized, inset with even padding.",
            "enum": [
              "fill",
              "pad"
            ],
            "type": "string"
          },
          "format": {
            "enum": [
              "svg",
              "png",
              "webp",
              "jpeg"
            ],
            "type": "string"
          },
          "height": {
            "description": "Pixels for a raster; the viewBox height for an SVG. Null when the file does not state it.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "width": {
            "description": "Pixels for a raster; the viewBox width for an SVG. Null when the file does not state it.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "etag",
          "format",
          "width",
          "height",
          "fit"
        ],
        "type": "object"
      },
      "MarketMarkJSON": {
        "additionalProperties": false,
        "properties": {
          "logo": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/MarketLogoJSON"
              },
              {
                "type": "null"
              }
            ]
          },
          "market_id": {
            "description": "The market's entity key; null when the label names no market.",
            "type": [
              "string",
              "null"
            ]
          },
          "short_name": {
            "description": "The market the way a producer says it on a card (Hanover for Hanover Insurance Group Property and Casualty Companies), as the market's own read serves short_name. A label that names no market is said by the same rule applied to the label as written (Safeco for Safeco (a Liberty Mutual Company)); null for a placeholder that names no carrier.",
            "type": [
              "string",
              "null"
            ]
          },
          "symbol": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/MarketLogoJSON",
                "description": "The carrier's square symbol, for a tile too small to read its logo; null when none is on file. The bytes are at the logo read with mark=symbol."
              },
              {
                "type": "null"
              }
            ]
          },
          "website": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "market_id",
          "short_name",
          "website",
          "logo",
          "symbol"
        ],
        "type": "object"
      },
      "MarketMarksJSON": {
        "additionalProperties": false,
        "properties": {
          "marks": {
            "items": {
              "$ref": "#/components/schemas/MarketMarkJSON"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "marks"
        ],
        "type": "object"
      },
      "MarketPeopleAsk": {
        "additionalProperties": false,
        "properties": {
          "accounts": {
            "description": "Their distinct accounts on the market in the window; 0 for a Market Leader who wrote none. For a seat whose book scope is not the whole book, only those inside the seat's own scope; null when they have none there.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "email": {
            "type": "string"
          },
          "market_leader": {
            "description": "The nearest Market Leader in their HR chain, the person included.",
            "type": "string"
          },
          "market_leader_email": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "office": {
            "description": "That office's name.",
            "type": "string"
          },
          "office_code": {
            "description": "The office they are asked at: the top office for market_leader and top_writer, else the office most of their policies on the market sit in.",
            "type": "string"
          },
          "office_state": {
            "description": "That office's state.",
            "type": "string"
          },
          "person_id": {
            "description": "The HR employee id.",
            "type": "string"
          },
          "policies": {
            "description": "Their policies on the market in the window, in the read's state and line when asked. For a seat whose book scope is not the whole book, only those inside the seat's own scope; null when they have none there.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "role": {
            "description": "office_colleague: an active writer of the market whose office is one of the seat's. market_leader: the top office's Market Leader. top_writer: the top office has none, so its active writer with the most accounts there. writer: another active writer of the market.",
            "enum": [
              "office_colleague",
              "market_leader",
              "top_writer",
              "writer"
            ],
            "type": "string"
          },
          "title": {
            "description": "The HR job title.",
            "type": "string"
          }
        },
        "required": [
          "name",
          "role",
          "accounts",
          "policies"
        ],
        "type": "object"
      },
      "MarketPersonRecord": {
        "additionalProperties": false,
        "properties": {
          "accounts": {
            "description": "Distinct accounts with policies on the market in the window. For a seat whose book scope is not the whole book, only those inside the seat's own scope; null when the row has none there.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "ask": {
            "$ref": "#/components/schemas/MarketPeopleAsk",
            "description": "summary rows: the person to ask at the top office; absent when the office has no Market Leader and no active writer. The first of asks when its role is market_leader or top_writer."
          },
          "asks": {
            "description": "summary rows: up to 4 people to ask, ranked: the market's active writers at the seat's office, then the top office's Market Leader, else its top writer, then the market's other active writers; within each, by accounts, then name; never the seat itself. Counts follow the read's state and line.",
            "items": {
              "$ref": "#/components/schemas/MarketPeopleAsk"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "email": {
            "description": "The person's work address (person rows).",
            "type": "string"
          },
          "id": {
            "description": "person:&lt;HR employee id&gt;, office:&lt;agency code&gt; or summary:&lt;market_ref&gt;; unique with market_ref.",
            "type": "string"
          },
          "kind": {
            "description": "person: an active employee whose producer code wrote the market. office: an office with policies on the market, terminated and house codes included. summary: the market's top office with the person to ask there, its people and its offices, counted inside the seat's own book scope when any policy is there, else over every policy; while a narrower book is still being read at the warehouse's current data, over every policy, and unreachable names book_scope. Its accounts and policies follow the accounts rule.",
            "enum": [
              "person",
              "office",
              "summary"
            ],
            "type": "string"
          },
          "largest_account_premium": {
            "description": "The largest account's premium on the market: the latest term of each of its policies in the window, summed over those inside the seat's own book scope; null outside that scope and on office rows.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "last_written": {
            "description": "The latest policy effective date, YYYY-MM-DD.",
            "type": "string"
          },
          "lines": {
            "description": "The lines of business written, as the policies name them.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "market_leader": {
            "description": "The nearest Market Leader in the person's HR chain, the person included; on an office row, the one most of its writers report through.",
            "type": "string"
          },
          "market_leader_email": {
            "type": "string"
          },
          "market_ref": {
            "description": "The Markets directory row the market key resolved to.",
            "type": "string"
          },
          "name": {
            "description": "The person's name as HR records it (person rows).",
            "type": "string"
          },
          "office": {
            "description": "The office name.",
            "type": "string"
          },
          "office_code": {
            "description": "The office's agency code: the office most of the person's policies sit in, or the office row's own.",
            "type": "string"
          },
          "office_state": {
            "description": "The office's state.",
            "type": "string"
          },
          "offices": {
            "description": "summary rows: every office that wrote the market in the summary's scope, terminated and house codes included.",
            "format": "int64",
            "type": "integer"
          },
          "people": {
            "description": "Active writers at the office (office rows), or of the market in the summary's scope (summary rows).",
            "format": "int64",
            "type": "integer"
          },
          "person_id": {
            "description": "The HR employee id (person rows).",
            "type": "string"
          },
          "platform": {
            "description": "The office's platform.",
            "type": "string"
          },
          "policies": {
            "description": "Policies on the market in the window. For a seat whose book scope is not the whole book, only those inside the seat's own scope; null when the row has none there.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "title": {
            "description": "The person's HR job title (person rows).",
            "type": "string"
          },
          "vp_sales": {
            "description": "The nearest VP of sales in the person's HR chain; on an office row, the one most of its writers report through.",
            "type": "string"
          },
          "vp_sales_email": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "market_ref",
          "kind",
          "office_code",
          "office",
          "office_state",
          "platform",
          "accounts",
          "policies",
          "largest_account_premium",
          "lines",
          "last_written"
        ],
        "type": "object"
      },
      "MarketProductFacts": {
        "additionalProperties": false,
        "properties": {
          "band": {
            "type": [
              "string",
              "null"
            ]
          },
          "condition": {
            "type": [
              "string",
              "null"
            ]
          },
          "condition_states": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "excluded_states": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "issuing_company": {
            "type": [
              "string",
              "null"
            ]
          },
          "program": {
            "type": [
              "string",
              "null"
            ]
          },
          "states": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "issuing_company",
          "program",
          "condition",
          "condition_states",
          "states",
          "excluded_states",
          "band"
        ],
        "type": "object"
      },
      "MarketProductGroup": {
        "additionalProperties": false,
        "properties": {
          "avoided": {
            "type": "boolean"
          },
          "label": {
            "type": "string"
          },
          "line_class": {
            "type": "string"
          },
          "line_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_refs": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "variants": {
            "items": {
              "$ref": "#/components/schemas/MarketProductVariant"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "label",
          "line_code",
          "line_class",
          "variants",
          "source_refs",
          "avoided"
        ],
        "type": "object"
      },
      "MarketProductVariant": {
        "additionalProperties": false,
        "properties": {
          "commission_new_fraction": {
            "description": "New-business commission as a fraction; 0.15 means 15 percent.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "commission_renewal_fraction": {
            "description": "Renewal commission as a fraction; 0.15 means 15 percent.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "facts": {
            "$ref": "#/components/schemas/MarketProductFacts"
          },
          "held_for_review": {
            "type": "boolean"
          },
          "label": {
            "type": "string"
          },
          "product_id": {
            "type": "string"
          }
        },
        "required": [
          "product_id",
          "label",
          "facts",
          "commission_new_fraction",
          "commission_renewal_fraction",
          "held_for_review"
        ],
        "type": "object"
      },
      "MarketProductionLine": {
        "additionalProperties": false,
        "properties": {
          "line_of_business": {
            "type": "string"
          },
          "policy_count": {
            "format": "int64",
            "type": "integer"
          },
          "premium": {
            "format": "double",
            "type": "number"
          }
        },
        "required": [
          "line_of_business",
          "policy_count",
          "premium"
        ],
        "type": "object"
      },
      "MarketProductionRecord": {
        "additionalProperties": false,
        "properties": {
          "account_count": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "activity": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/MarketSubmissionOutcomes"
              },
              {
                "type": "null"
              }
            ]
          },
          "carriers": {
            "items": {
              "$ref": "#/components/schemas/BookCarrierConcentration"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "commission_scope": {
            "$ref": "#/components/schemas/BookCommissionScope"
          },
          "in_force_commission": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "in_force_count": {
            "format": "int64",
            "type": "integer"
          },
          "in_force_premium": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "insights": {
            "items": {
              "$ref": "#/components/schemas/Insight"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/BookLineTotal"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "months": {
            "items": {
              "$ref": "#/components/schemas/BookMonthProduction"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "policy_count": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "production_lines": {
            "items": {
              "$ref": "#/components/schemas/MarketProductionLine"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "policy_count",
          "account_count",
          "in_force_count",
          "in_force_premium",
          "in_force_commission",
          "production_lines",
          "activity",
          "insights",
          "months",
          "carriers",
          "lines",
          "commission_scope"
        ],
        "type": "object"
      },
      "MarketSeatCandidate": {
        "additionalProperties": false,
        "properties": {
          "market_entity_key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "market_entity_key",
          "name"
        ],
        "type": "object"
      },
      "MarketSeatResolution": {
        "additionalProperties": false,
        "properties": {
          "as_of": {
            "type": "string"
          },
          "basis": {
            "$ref": "#/components/schemas/SeatResolutionBasis"
          },
          "by": {
            "description": "With ok: how the market was found (the run's key, the AMS name, the brand name, or the one candidate whose key is a name's own slug).",
            "enum": [
              "entity_key",
              "name",
              "brand",
              "brand_key"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "candidates": {
            "description": "With ambiguous: the catalog markets the name matched.",
            "items": {
              "$ref": "#/components/schemas/MarketSeatCandidate"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "market_entity_key": {
            "description": "With ok: the market's key.",
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "description": "With ok: the market's name as the catalog serves it.",
            "type": [
              "string",
              "null"
            ]
          },
          "reasons": {
            "items": {
              "$ref": "#/components/schemas/IntelligenceReason"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "description": "ok: one catalog market; no_match: none; ambiguous: several, none of them the asked name's own key.",
            "enum": [
              "ok",
              "no_match",
              "ambiguous"
            ],
            "type": "string"
          }
        },
        "required": [
          "status",
          "market_entity_key",
          "name",
          "candidates",
          "by",
          "reasons",
          "basis",
          "as_of"
        ],
        "type": "object"
      },
      "MarketSubmissionActivity": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": "string"
          },
          "account_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "lines_of_business": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "type": "string"
          },
          "submission_id": {
            "type": "string"
          },
          "submitted_at": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "submission_id",
          "account_id",
          "account_name",
          "status",
          "submitted_at",
          "lines_of_business"
        ],
        "type": "object"
      },
      "MarketSubmissionOutcomes": {
        "additionalProperties": false,
        "properties": {
          "bind_rate": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "bound_count": {
            "format": "int64",
            "type": "integer"
          },
          "declined_count": {
            "format": "int64",
            "type": "integer"
          },
          "entity_key": {
            "type": "string"
          },
          "limit": {
            "format": "int64",
            "type": "integer"
          },
          "offset": {
            "format": "int64",
            "type": "integer"
          },
          "quote_rate": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "quoted_count": {
            "format": "int64",
            "type": "integer"
          },
          "submissions": {
            "items": {
              "$ref": "#/components/schemas/MarketSubmissionActivity"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "submitted_count": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "submissions",
          "offset",
          "limit",
          "entity_key",
          "submitted_count",
          "quoted_count",
          "declined_count",
          "bound_count",
          "quote_rate",
          "bind_rate"
        ],
        "type": "object"
      },
      "MarketTermsAndAppetiteJSON": {
        "additionalProperties": false,
        "properties": {
          "appetite": {
            "description": "The market's governing appetite cells that meet the product, first page (100).",
            "items": {
              "$ref": "#/components/schemas/CatalogAppetiteJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "appetite_count": {
            "description": "Every matching appetite cell.",
            "format": "int64",
            "type": "integer"
          },
          "classes": {
            "$ref": "#/components/schemas/MarketClassesServedCatalogAppetiteSynthesisRowJSON",
            "description": "With include=classes: the market's appetite as class rows. A row the fold cites (a guide fact, a colleague's note) is the appetite synthesis row as GET /api/v1/catalog/markets/{entityKey}/appetite-synthesis serves it to this seat."
          },
          "commission": {
            "$ref": "#/components/schemas/Commission",
            "description": "With include=commission: the market's commission in the asked state, as its page header, drawer and Appetite & terms table state it (the figure that applies, a short named list, or what it depends on, each rate with what it applies to). A seat whose role withholds carrier compensation reads withheld: true and nothing else."
          },
          "commission_term_count": {
            "description": "Every matching term, beyond the first page.",
            "format": "int64",
            "type": "integer"
          },
          "commission_terms": {
            "description": "The market's commission and profit-share terms that meet the product under the one join rule, first page (100). A member denied carrier compensation reads them without their figures.",
            "items": {
              "$ref": "#/components/schemas/CatalogTermJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "market_entity_key": {
            "type": "string"
          },
          "product_types": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "products": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "market_entity_key",
          "products",
          "product_types",
          "commission_terms",
          "commission_term_count",
          "appetite",
          "appetite_count"
        ],
        "type": "object"
      },
      "MarketsAlias": {
        "additionalProperties": false,
        "properties": {
          "company_code": {
            "type": "string"
          },
          "company_id": {
            "type": "string"
          },
          "datasource_id": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "datasource_id",
          "company_id",
          "company_code",
          "name",
          "kind"
        ],
        "type": "object"
      },
      "MarketsAppetiteContext": {
        "additionalProperties": false,
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/MarketsAppetiteContextItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "total",
          "items"
        ],
        "type": "object"
      },
      "MarketsAppetiteContextItem": {
        "additionalProperties": false,
        "properties": {
          "actor_email": {
            "type": "string"
          },
          "business_class_label": {
            "type": "string"
          },
          "eligibility": {
            "type": "string"
          },
          "line_code": {
            "type": "string"
          },
          "route_ref": {
            "type": "string"
          },
          "route_scope": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "state_code": {
            "type": "string"
          },
          "state_scope": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          }
        },
        "required": [
          "business_class_label",
          "line_code",
          "state_scope",
          "route_scope",
          "eligibility",
          "source",
          "updated_at"
        ],
        "type": "object"
      },
      "MarketsAppetiteGrade": {
        "additionalProperties": false,
        "properties": {
          "grade": {
            "description": "The grade on the agency's own placements of the class: Excellent, Good, Fair, Weak or Not enough on file. The sentence leads with it; a client renders the sentence, never a copy of these words.",
            "type": "string"
          },
          "line": {
            "description": "The line graded: the asked line, or with none asked, the line the agency places the class's industry group (four-digit NAICS) on most.",
            "type": "string"
          },
          "sentence": {
            "description": "The grade with its counts in one sentence, for example Excellent: 23 clients placed in NAICS 4841 on commercial auto in 36 months; 41 on the line in IL. No count under 5 clients is printed.",
            "type": "string"
          }
        },
        "required": [
          "grade",
          "sentence",
          "line"
        ],
        "type": "object"
      },
      "MarketsClassAppetite": {
        "additionalProperties": false,
        "properties": {
          "dated": {
            "description": "The date of the guide document the line was read in, the date the market's page cites the guide by; null on an assertion and on an undated document.",
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "eligibility": {
            "enum": [
              "acceptable",
              "will_consider",
              "not_a_market"
            ],
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "line_codes": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "line_named": {
            "type": "boolean"
          },
          "match_grain": {
            "enum": [
              "class",
              "sector"
            ],
            "type": "string"
          },
          "matched_term": {
            "type": "string"
          },
          "preferred": {
            "$ref": "#/components/schemas/MarketsClassPreferred",
            "description": "A guide line on file that names the asked class a preferred, top or target class, with the guide's own words; null when no guide says so."
          },
          "publisher": {
            "type": [
              "string",
              "null"
            ]
          },
          "retrieved_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "source_blob_ref": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_kind": {
            "enum": [
              "guide",
              "assertion"
            ],
            "type": "string"
          },
          "states_named": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "verdict": {
            "enum": [
              "stated",
              "declined"
            ],
            "type": "string"
          }
        },
        "required": [
          "verdict",
          "eligibility",
          "line_named",
          "line_codes",
          "states_named",
          "source_kind",
          "source_blob_ref",
          "label",
          "match_grain",
          "matched_term",
          "retrieved_at",
          "publisher",
          "dated",
          "preferred"
        ],
        "type": "object"
      },
      "MarketsClassDetail": {
        "additionalProperties": false,
        "properties": {
          "asked": {
            "description": "The stated value: the closing hour on the business-day clock (23 is 11 PM, 24 midnight, 26 2 AM, 48 open around the clock), or annual sales in dollars.",
            "format": "double",
            "type": "number"
          },
          "fact": {
            "enum": [
              "closing_hour",
              "annual_sales"
            ],
            "type": "string"
          },
          "limits": {
            "description": "The limits on file that admit the stated value, each with its source line; empty when silent.",
            "items": {
              "$ref": "#/components/schemas/MarketsClassLimit"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "enum": [
              "admits",
              "silent"
            ],
            "type": "string"
          }
        },
        "required": [
          "fact",
          "asked",
          "status",
          "limits"
        ],
        "type": "object"
      },
      "MarketsClassLimit": {
        "additionalProperties": false,
        "properties": {
          "label": {
            "type": "string"
          },
          "operator": {
            "enum": [
              "<=",
              ">="
            ],
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/MarketsClassLimitSource"
          },
          "state": {
            "type": "string"
          },
          "value": {
            "format": "double",
            "type": "number"
          },
          "verbatim": {
            "description": "The source's own words.",
            "type": "string"
          }
        },
        "required": [
          "operator",
          "value",
          "label",
          "verbatim",
          "source"
        ],
        "type": "object"
      },
      "MarketsClassLimitSource": {
        "additionalProperties": false,
        "properties": {
          "as_of": {
            "type": "string"
          },
          "kind": {
            "enum": [
              "workbook",
              "testimony"
            ],
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "row": {
            "format": "int64",
            "type": "integer"
          },
          "sheet": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "label"
        ],
        "type": "object"
      },
      "MarketsClassLineJSON": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "description": "The line id (GET /records/products?view=lines).",
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "label"
        ],
        "type": "object"
      },
      "MarketsClassLinesJSON": {
        "additionalProperties": false,
        "properties": {
          "class_naics": {
            "type": "string"
          },
          "lines": {
            "description": "Most placed first. Each is a program line of the commercial placement pool (bonds aside) whose clients in the class number at least 40% of those on the class's most-placed line.",
            "items": {
              "$ref": "#/components/schemas/MarketsClassLineJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "read_at": {
            "description": "The NAICS code the lines were read at: the asked code, or the industry group, subsector or sector it backed off to when the asked code holds too few clients. Null when no lines are served.",
            "type": [
              "string",
              "null"
            ]
          },
          "read_at_title": {
            "description": "The Census 2022 title of read_at; null when read_at is null or names no 2022 class.",
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "description": "Why lines is empty: not_published, the org has no published book evidence the model reads; too_few_clients, no NAICS depth of the class holds enough placed clients. Null when lines are served.",
            "enum": [
              "not_published",
              "too_few_clients"
            ],
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "class_naics",
          "read_at",
          "read_at_title",
          "lines",
          "reason"
        ],
        "type": "object"
      },
      "MarketsClassPreferred": {
        "additionalProperties": false,
        "properties": {
          "label": {
            "description": "The guide's class text the words name, as written.",
            "type": "string"
          },
          "source_blob_ref": {
            "description": "The guide document the line was read in.",
            "type": [
              "string",
              "null"
            ]
          },
          "wording": {
            "description": "The guide's own words naming the class preferred, for example Top/Target Classes.",
            "type": "string"
          }
        },
        "required": [
          "wording",
          "label",
          "source_blob_ref"
        ],
        "type": "object"
      },
      "MarketsReachableRoutes": {
        "additionalProperties": false,
        "properties": {
          "on_file_count": {
            "format": "int64",
            "type": "integer"
          },
          "placed": {
            "items": {
              "$ref": "#/components/schemas/MarketsRoute"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "placed_count": {
            "format": "int64",
            "type": "integer"
          },
          "window_months": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "window_months",
          "placed_count",
          "on_file_count",
          "placed"
        ],
        "type": "object"
      },
      "MarketsRoute": {
        "additionalProperties": false,
        "properties": {
          "market_ref": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "policies": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "name",
          "market_ref",
          "policies"
        ],
        "type": "object"
      },
      "MarketsStateEvidence": {
        "additionalProperties": false,
        "properties": {
          "line_codes": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "state": {
            "type": "string"
          },
          "status": {
            "enum": [
              "listed",
              "excluded",
              "not_on_file"
            ],
            "type": "string"
          }
        },
        "required": [
          "state",
          "status",
          "line_codes"
        ],
        "type": "object"
      },
      "Match": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "description": "code: the code starts with q. title: every word of q is in the class's full name (its title and its parents' titles; Utilities &gt; Natural Gas Distribution). index_entry: every word is in one Census index entry of the class (text). title_words: every word is in the full name or the index entries, no one of them holding all.",
            "enum": [
              "code",
              "title",
              "index_entry",
              "title_words"
            ],
            "type": "string"
          },
          "score": {
            "description": "1 for a code match; for words, the mean over the query's words of 1 when the word is in the full name and 0.9 when only in an index entry (at least 0.9 for an index_entry match). On a list read the last word may be the start of a word, scored at 0.95 of a whole match. Equal scores keep the hierarchy's order.",
            "format": "double",
            "type": "number"
          },
          "text": {
            "description": "The title or index entry that matched.",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "score"
        ],
        "type": "object"
      },
      "MergedOfferingJSON": {
        "additionalProperties": false,
        "properties": {
          "am_best_rating": {
            "type": [
              "string",
              "null"
            ]
          },
          "appetite_strength": {
            "enum": [
              "preferred",
              "standard",
              "limited",
              "unknown"
            ],
            "type": "string"
          },
          "appointment": {
            "$ref": "#/components/schemas/CatalogAppointmentJSON"
          },
          "carrier_id": {
            "type": "string"
          },
          "carrier_name": {
            "type": "string"
          },
          "commission_new_fraction": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "commission_renewal_fraction": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "excluded_states": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "line_code": {
            "type": "string"
          },
          "lob": {
            "type": "string"
          },
          "market_provenance": {
            "$ref": "#/components/schemas/CatalogProvenanceJSON"
          },
          "market_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "product_name": {
            "type": "string"
          },
          "product_provenance": {
            "$ref": "#/components/schemas/CatalogProvenanceJSON"
          },
          "relationships": {
            "items": {
              "$ref": "#/components/schemas/CatalogRelationshipJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source_blob_ref": {
            "type": [
              "string",
              "null"
            ]
          },
          "state_scope": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "carrier_id",
          "carrier_name",
          "lob",
          "line_code",
          "product_name",
          "am_best_rating",
          "market_type",
          "appetite_strength",
          "commission_new_fraction",
          "commission_renewal_fraction",
          "state_scope",
          "excluded_states",
          "source_blob_ref",
          "product_provenance",
          "market_provenance",
          "appointment",
          "relationships"
        ],
        "type": "object"
      },
      "MinimumFacts": {
        "additionalProperties": false,
        "properties": {
          "missing": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "satisfied": {
            "type": "boolean"
          }
        },
        "required": [
          "satisfied",
          "missing"
        ],
        "type": "object"
      },
      "MotorCarrierFiling": {
        "additionalProperties": false,
        "properties": {
          "cancel_effective_date": {
            "description": "The day a cancellation takes or took effect, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "coverage": {
            "description": "What the filing covers: BIPD/Primary (liability), BIPD/Excess, CARGO, SURETY (a broker's bond), TRUST FUND.",
            "type": "string"
          },
          "coverage_usd": {
            "description": "The limit filed, in dollars; null when the filing records none (a bond or trust fund).",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "docket": {
            "description": "The authority docket the filing is for.",
            "type": "string"
          },
          "effective_date": {
            "description": "The day the filing took effect, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "form_code": {
            "description": "FMCSA's form: 91X or 91 liability, 34 cargo, 84 surety, 85 trust fund.",
            "type": "string"
          },
          "insurer": {
            "description": "The insurer as filed with FMCSA.",
            "type": "string"
          },
          "policy_number": {
            "description": "The policy or bond number filed.",
            "type": "string"
          },
          "status": {
            "description": "in_force, cancellation_pending (a cancellation takes effect after today, on cancel_effective_date), cancelled (from cancel_effective_date on), or not_yet_effective, as of today.",
            "enum": [
              "in_force",
              "cancellation_pending",
              "cancelled",
              "not_yet_effective"
            ],
            "type": "string"
          },
          "underlying_usd": {
            "description": "For an excess filing, the underlying limit, in dollars; null otherwise.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "insurer",
          "coverage",
          "form_code",
          "policy_number",
          "docket",
          "coverage_usd",
          "underlying_usd",
          "effective_date",
          "cancel_effective_date",
          "status"
        ],
        "type": "object"
      },
      "MotorCarrierRecord": {
        "additionalProperties": false,
        "properties": {
          "cargo": {
            "description": "The cargo classes it reports hauling.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "cdl_drivers": {
            "description": "Drivers holding a CDL, as reported.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "census_as_of": {
            "description": "The day FMCSA's census dataset was last refreshed, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "description": "The city of its physical address.",
            "type": [
              "string",
              "null"
            ]
          },
          "classification": {
            "description": "The operation classes it reports (AUTHORIZED FOR HIRE, PRIVATE PROPERTY, ...).",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "dba_name": {
            "description": "The name it does business as.",
            "type": [
              "string",
              "null"
            ]
          },
          "dockets": {
            "description": "Its operating authority docket numbers (MC-138328); none for a carrier without for-hire authority.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "drivers": {
            "description": "Drivers the carrier reported on its MCS-150, as of mcs150_date.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "hazmat": {
            "description": "True when it reports carrying hazardous materials.",
            "type": "boolean"
          },
          "id": {
            "description": "The USDOT number.",
            "type": "string"
          },
          "insurance": {
            "description": "The insurance filings FMCSA holds for its authority, newest effective date first; empty for a carrier without for-hire authority, which files none.",
            "items": {
              "$ref": "#/components/schemas/MotorCarrierFiling"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "insurance_as_of": {
            "description": "The day FMCSA's insurance dataset was last refreshed, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "insurance_source_url": {
            "description": "FMCSA's public insurance filings dataset the insurance rows are read from.",
            "type": "string"
          },
          "insurer_of_record": {
            "description": "The insurer of its in-force primary liability (BIPD) filing, the latest by effective date; null when FMCSA holds none.",
            "type": [
              "string",
              "null"
            ]
          },
          "legal_name": {
            "description": "The carrier's legal name as registered.",
            "type": "string"
          },
          "mcs150_date": {
            "description": "The day the carrier last filed its MCS-150 registration update, YYYY-MM-DD: the date its fleet and driver counts are as of.",
            "type": [
              "string",
              "null"
            ]
          },
          "mileage": {
            "description": "Miles it reported driving in mileage_year.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "mileage_year": {
            "description": "The year mileage covers.",
            "type": [
              "string",
              "null"
            ]
          },
          "operation": {
            "description": "Interstate, Intrastate hazmat or Intrastate non-hazmat.",
            "type": [
              "string",
              "null"
            ]
          },
          "power_units": {
            "description": "Power units (trucks and tractors) the carrier reported on its MCS-150, as of mcs150_date.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "safety_rating": {
            "description": "Its FMCSA safety rating; null when it has none.",
            "enum": [
              "satisfactory",
              "conditional",
              "unsatisfactory"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "safety_rating_date": {
            "description": "The day the rating was given, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "snapshot_url": {
            "description": "The carrier's SAFER Company Snapshot, FMCSA's public page for these values; cite it.",
            "type": "string"
          },
          "state": {
            "description": "The state of its physical address.",
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "description": "The USDOT registration's status.",
            "enum": [
              "active",
              "inactive",
              "pending"
            ],
            "type": "string"
          },
          "trucks": {
            "description": "Straight trucks among them, as reported.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "usdot_number": {
            "description": "The carrier's USDOT number.",
            "type": "string"
          }
        },
        "required": [
          "id",
          "usdot_number",
          "legal_name",
          "dba_name",
          "status",
          "operation",
          "classification",
          "power_units",
          "trucks",
          "drivers",
          "cdl_drivers",
          "city",
          "state",
          "dockets",
          "mcs150_date",
          "mileage",
          "mileage_year",
          "safety_rating",
          "safety_rating_date",
          "hazmat",
          "cargo",
          "insurer_of_record",
          "insurance",
          "census_as_of",
          "insurance_as_of",
          "snapshot_url",
          "insurance_source_url"
        ],
        "type": "object"
      },
      "NAICSLevelJSON": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "description": "The level's code: the Census sector key (a range for a spanning sector), the 3-digit subsector or the 4-digit industry group.",
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "title"
        ],
        "type": "object"
      },
      "NAICSSectorJSON": {
        "additionalProperties": false,
        "properties": {
          "key": {
            "description": "The Census sector key, a range for the three spanning sectors (31-33, 44-45, 48-49).",
            "type": "string"
          },
          "prefixes": {
            "description": "Every concrete 2-digit code prefix the sector covers.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "key",
          "title",
          "prefixes"
        ],
        "type": "object"
      },
      "NAICSTitleJSON": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "title"
        ],
        "type": "object"
      },
      "Note": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "description": "The account it is on, as an instance key.",
            "type": "string"
          },
          "at": {
            "description": "When it was written: the note's date, the remark's effective date, falling back to when it was entered; a memo's issue time.",
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "attach_status": {
            "description": "A memo's attachment state in the platform store.",
            "type": "string"
          },
          "author_code": {
            "description": "The employee code of who last changed a system row.",
            "type": "string"
          },
          "author_principal": {
            "description": "The platform principal who wrote a memo.",
            "type": "string"
          },
          "changed_at": {
            "description": "When a system row last changed.",
            "format": "date-time",
            "type": "string"
          },
          "claim_id": {
            "description": "The claim it is on, as an instance key.",
            "type": "string"
          },
          "entered_at": {
            "description": "When a system row was entered.",
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "description": "The row's id: {instance}:notes:{id} for a note, {instance}:policy_remarks:{id} or {instance}:claim_remarks:{id} for a remark, the platform store's id for a memo.",
            "type": "string"
          },
          "kind": {
            "description": "note: an AMS 360 note. remark: a policy's or a claim's remark. memo: a note written through the action ledger.",
            "enum": [
              "note",
              "remark",
              "memo"
            ],
            "type": "string"
          },
          "line_id": {
            "description": "The line of business a policy remark belongs to.",
            "type": "string"
          },
          "policy_id": {
            "description": "The policy term it is on, as an instance key; absent for a row on the account itself.",
            "type": "string"
          },
          "source": {
            "description": "system: read from the customer's system. store: held in the platform store.",
            "enum": [
              "system",
              "store"
            ],
            "type": "string"
          },
          "source_fields": {
            "additionalProperties": {},
            "description": "A seat bound to AMS 360 only: the live record's fields.",
            "type": "object"
          },
          "source_key": {
            "description": "A seat bound to AMS 360 only: the live record's key.",
            "type": "string"
          },
          "status": {
            "description": "The system row's own status, as the source codes it.",
            "type": "string"
          },
          "sticky": {
            "description": "A note the producer pinned as a standing instruction.",
            "type": "boolean"
          },
          "text": {
            "description": "What it says.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "kind",
          "source",
          "at",
          "text"
        ],
        "type": "object"
      },
      "NoteBlock": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "enum": [
              "note"
            ],
            "type": "string"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "text"
        ],
        "type": "object"
      },
      "NoticeRecord": {
        "additionalProperties": false,
        "properties": {
          "carrier": {
            "type": "string"
          },
          "date": {
            "type": "string"
          },
          "date_semantics": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "policy_id": {
            "type": "string"
          },
          "source": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "date",
          "date_semantics",
          "source"
        ],
        "type": "object"
      },
      "ObjectMetadata": {
        "additionalProperties": false,
        "properties": {
          "last_altered": {
            "format": "date-time",
            "type": "string"
          },
          "object": {
            "type": "string"
          }
        },
        "required": [
          "object",
          "last_altered"
        ],
        "type": "object"
      },
      "Offering": {
        "additionalProperties": false,
        "properties": {
          "agreement_count": {
            "format": "int64",
            "type": "integer"
          },
          "alternates": {
            "items": {
              "$ref": "#/components/schemas/SeatAlternate"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "attributes": {
            "additionalProperties": {},
            "type": "object"
          },
          "categories": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "category": {
            "type": "string"
          },
          "commission": {
            "format": "double",
            "type": "number"
          },
          "commission_known": {
            "type": "boolean"
          },
          "commission_tier": {
            "$ref": "#/components/schemas/CommissionTier"
          },
          "constraints": {
            "$ref": "#/components/schemas/FilterConstraints"
          },
          "counterparty_type": {
            "type": "string"
          },
          "coverage": {
            "$ref": "#/components/schemas/CoverageDetail"
          },
          "data_currency": {
            "$ref": "#/components/schemas/DataCurrency"
          },
          "extraction_extras": {
            "items": {
              "$ref": "#/components/schemas/ExtractionTerm"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "line_class": {
            "type": "string"
          },
          "market_extraction_extras": {
            "items": {
              "$ref": "#/components/schemas/ExtractionTerm"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "net_commission": {
            "format": "double",
            "type": "number"
          },
          "net_commission_known": {
            "type": "boolean"
          },
          "pricing_tier": {
            "type": "string"
          },
          "provider_id": {
            "type": "string"
          },
          "provider_name": {
            "type": "string"
          },
          "quality_rating": {
            "type": "string"
          },
          "risk_factor_checks": {
            "items": {
              "$ref": "#/components/schemas/RiskFactorCheck"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "scorecard": {
            "$ref": "#/components/schemas/OfferingScore"
          },
          "source_document": {
            "$ref": "#/components/schemas/SourceDocument"
          },
          "underwriting_paper": {
            "$ref": "#/components/schemas/UnderwritingPaper"
          }
        },
        "required": [
          "id",
          "provider_id",
          "provider_name",
          "category",
          "coverage",
          "constraints",
          "attributes",
          "quality_rating",
          "pricing_tier",
          "commission"
        ],
        "type": "object"
      },
      "OfferingScore": {
        "additionalProperties": false,
        "properties": {
          "book_placements": {
            "$ref": "#/components/schemas/SeatBookPlacements"
          },
          "claim_basis": {
            "type": "string"
          },
          "commission_estimate": {
            "$ref": "#/components/schemas/SeatCommission"
          },
          "conditions": {
            "$ref": "#/components/schemas/SeatConditions"
          },
          "datapoints": {
            "additionalProperties": {
              "$ref": "#/components/schemas/SeatDatapoint"
            },
            "type": "object"
          },
          "dimensions": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Dimension"
            },
            "type": "object"
          },
          "evidence": {
            "additionalProperties": {
              "$ref": "#/components/schemas/SeatAxisEvidence"
            },
            "type": "object"
          },
          "evidence_channels": {
            "$ref": "#/components/schemas/SeatEvidenceChannels"
          },
          "line": {
            "type": "string"
          },
          "market_entity_key": {
            "type": "string"
          },
          "premium": {
            "$ref": "#/components/schemas/SeatPremium"
          }
        },
        "required": [
          "market_entity_key",
          "line",
          "claim_basis",
          "dimensions"
        ],
        "type": "object"
      },
      "OfficeAppointmentRequestJSON": {
        "additionalProperties": false,
        "properties": {
          "agreement": {
            "enum": [
              "appointment",
              "broker_agreement"
            ],
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "office_agency_code": {
            "type": "string"
          },
          "requested_by": {
            "description": "The e-mail of the person who asked.",
            "type": "string"
          }
        },
        "required": [
          "id",
          "agreement",
          "office_agency_code",
          "requested_by",
          "created_at"
        ],
        "type": "object"
      },
      "OfficeAppointmentsUnavailableJSON": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "enum": [
              "warehouse_timeout",
              "warehouse_error",
              "office_unresolved"
            ],
            "type": "string"
          }
        },
        "required": [
          "reason"
        ],
        "type": "object"
      },
      "OmittedBlock": {
        "additionalProperties": false,
        "properties": {
          "block": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "rows": {
            "format": "int64",
            "type": "integer"
          },
          "sentence": {
            "type": "string"
          }
        },
        "required": [
          "block",
          "rows",
          "reason"
        ],
        "type": "object"
      },
      "OpenAttachmentFolderRequest": {
        "additionalProperties": false,
        "properties": {
          "end_user": {
            "type": "string"
          },
          "files": {
            "items": {
              "$ref": "#/components/schemas/Item"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "end_user",
          "name",
          "files"
        ],
        "type": "object"
      },
      "OpenedAttachmentFolder": {
        "additionalProperties": false,
        "properties": {
          "container": {
            "$ref": "#/components/schemas/ConversationAttachment"
          },
          "members": {
            "items": {
              "$ref": "#/components/schemas/AttachmentReservation"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "reused": {
            "type": "boolean"
          },
          "skipped": {
            "items": {
              "$ref": "#/components/schemas/AttachmentFolderSkip"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "container",
          "reused",
          "members",
          "skipped"
        ],
        "type": "object"
      },
      "Opportunity": {
        "additionalProperties": false,
        "properties": {
          "account_city": {
            "type": [
              "string",
              "null"
            ]
          },
          "account_industry": {
            "type": [
              "string",
              "null"
            ]
          },
          "account_naics_industry": {
            "type": [
              "string",
              "null"
            ]
          },
          "account_naics_industry_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "account_naics_sector": {
            "type": [
              "string",
              "null"
            ]
          },
          "account_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "account_owner_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "account_postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "account_record_type_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "account_source": {
            "type": [
              "string",
              "null"
            ]
          },
          "account_state": {
            "type": [
              "string",
              "null"
            ]
          },
          "agency_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "ams_account_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "close_date_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "closed_lost_opportunity_count": {
            "type": [
              "string",
              "null"
            ]
          },
          "closed_opportunity_count": {
            "type": [
              "string",
              "null"
            ]
          },
          "closed_won_opportunity_count": {
            "type": [
              "string",
              "null"
            ]
          },
          "created_date_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "crm_account_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "crm_opportunity_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "cycle_time_in_days": {
            "type": [
              "string",
              "null"
            ]
          },
          "days_in_stage_1_information_gathering": {
            "type": [
              "string",
              "null"
            ]
          },
          "days_in_stage_2_quoting": {
            "type": [
              "string",
              "null"
            ]
          },
          "days_in_stage_3_proposal": {
            "type": [
              "string",
              "null"
            ]
          },
          "days_in_stage_4_closed_won": {
            "type": [
              "string",
              "null"
            ]
          },
          "days_in_stage_5_closed_lost": {
            "type": [
              "string",
              "null"
            ]
          },
          "dim_crm_account_sk": {
            "type": [
              "string",
              "null"
            ]
          },
          "dim_crm_opportunity_sk": {
            "type": [
              "string",
              "null"
            ]
          },
          "dw_inserted_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "dw_source_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "dw_updated_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "first_meeting_count": {
            "type": [
              "string",
              "null"
            ]
          },
          "first_meeting_date_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "forecast_category_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "gone_quiet": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "has_entered_proposal_stage": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "is_closed": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "is_closed_lost": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "is_closed_won": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "is_cross_sell_opportunity": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "is_owned_by_account_owner": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "is_won": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "last_activity_date_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "last_interaction_date_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "lead_source": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_of_business": {
            "type": [
              "string",
              "null"
            ]
          },
          "loss_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "office_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "opportunity_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "opportunity_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "producer_job_title": {
            "type": [
              "string",
              "null"
            ]
          },
          "producer_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "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"
            ]
          },
          "record_type_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "record_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "revenue": {
            "type": [
              "string",
              "null"
            ]
          },
          "revenue_calculation_method": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_system": {
            "type": [
              "string",
              "null"
            ]
          },
          "stage_1_information_gathering_date_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "stage_2_quoting_date_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "stage_3_proposal_date_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "stage_4_closed_won_date_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "stage_5_closed_lost_date_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "stage_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "tenant_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "weighted_revenue": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "ams_account_id",
          "record_url",
          "dim_crm_opportunity_sk",
          "crm_opportunity_id",
          "source_system",
          "tenant_id",
          "record_type_name",
          "opportunity_name",
          "opportunity_type",
          "stage_name",
          "is_closed",
          "is_won",
          "is_closed_won",
          "is_closed_lost",
          "has_entered_proposal_stage",
          "is_cross_sell_opportunity",
          "is_owned_by_account_owner",
          "loss_reason",
          "forecast_category_name",
          "lead_source",
          "revenue_calculation_method",
          "dim_crm_account_sk",
          "crm_account_id",
          "account_name",
          "account_record_type_name",
          "account_source",
          "account_industry",
          "account_naics_industry_code",
          "account_naics_industry",
          "account_naics_sector",
          "account_city",
          "account_state",
          "account_postal_code",
          "account_owner_name",
          "producer_name",
          "producer_job_title",
          "agency_code",
          "office_name",
          "created_date_id",
          "close_date_id",
          "last_activity_date_id",
          "last_interaction_date_id",
          "first_meeting_date_id",
          "stage_1_information_gathering_date_id",
          "stage_2_quoting_date_id",
          "stage_3_proposal_date_id",
          "stage_4_closed_won_date_id",
          "stage_5_closed_lost_date_id",
          "closed_opportunity_count",
          "closed_won_opportunity_count",
          "closed_lost_opportunity_count",
          "first_meeting_count",
          "cycle_time_in_days",
          "days_in_stage_1_information_gathering",
          "days_in_stage_2_quoting",
          "days_in_stage_3_proposal",
          "days_in_stage_4_closed_won",
          "days_in_stage_5_closed_lost",
          "revenue",
          "weighted_revenue",
          "dw_source_id",
          "dw_inserted_at",
          "dw_updated_at",
          "line_of_business",
          "gone_quiet"
        ],
        "type": "object"
      },
      "OpportunityAnnotation": {
        "additionalProperties": false,
        "properties": {
          "note": {
            "type": "string"
          },
          "rating": {
            "type": "string"
          },
          "reasons": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "rating",
          "reasons",
          "note"
        ],
        "type": "object"
      },
      "OpportunityAnnotationRequest": {
        "additionalProperties": false,
        "properties": {
          "note": {
            "type": "string"
          },
          "rating": {
            "type": "string"
          },
          "reasons": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "revision": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "revision",
          "request_id"
        ],
        "type": "object"
      },
      "OpportunityAnnotationResponse": {
        "additionalProperties": false,
        "properties": {
          "annotation": {
            "$ref": "#/components/schemas/OpportunityAnnotation"
          },
          "receipt_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "revision": {
            "format": "int64",
            "type": "integer"
          },
          "triage": {}
        },
        "required": [
          "annotation",
          "revision",
          "receipt_id"
        ],
        "type": "object"
      },
      "OpportunityArrivedPolicy": {
        "additionalProperties": false,
        "properties": {
          "annual_premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "carrier": {
            "type": "string"
          },
          "effective_date": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "line": {
            "type": "string"
          },
          "observed_at": {
            "format": "date-time",
            "type": "string"
          },
          "policy_key": {
            "type": "string"
          },
          "policy_number": {
            "type": "string"
          }
        },
        "required": [
          "policy_key",
          "policy_number",
          "carrier",
          "kind",
          "line",
          "effective_date",
          "annual_premium",
          "observed_at"
        ],
        "type": "object"
      },
      "OpportunityCarried": {
        "additionalProperties": false,
        "properties": {
          "last_detected_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "not_detected_since": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "type": "string"
          }
        },
        "required": [
          "reason",
          "last_detected_at",
          "not_detected_since"
        ],
        "type": "object"
      },
      "OpportunityDismissal": {
        "additionalProperties": false,
        "properties": {
          "account_decision_reason": {
            "type": "string"
          },
          "action": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "since": {
            "format": "date-time",
            "type": "string"
          },
          "snooze_until": {
            "type": [
              "string",
              "null"
            ]
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "action",
          "reason",
          "note",
          "snooze_until",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "OpportunityDismissalRequest": {
        "additionalProperties": false,
        "properties": {
          "account_decision_reason": {
            "type": "string"
          },
          "action": {
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "request_id": {
            "type": "string"
          },
          "revision": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "snooze_until": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "snooze_until",
          "revision",
          "request_id"
        ],
        "type": "object"
      },
      "OpportunityDismissalResponse": {
        "additionalProperties": false,
        "properties": {
          "dismissal": {
            "$ref": "#/components/schemas/OpportunityDismissal"
          },
          "receipt_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "revision": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "dismissal",
          "revision",
          "receipt_id"
        ],
        "type": "object"
      },
      "OpportunityOrgWin": {
        "additionalProperties": false,
        "properties": {
          "account": {
            "$ref": "#/components/schemas/OpportunityWinAccount"
          },
          "helped": {
            "type": "string"
          },
          "linked": {
            "type": "boolean"
          },
          "on": {
            "format": "date-time",
            "type": "string"
          },
          "opportunity": {
            "$ref": "#/components/schemas/OpportunityWinSubject"
          },
          "opportunity_id": {
            "type": "string"
          },
          "policy": {
            "$ref": "#/components/schemas/OpportunityWonPolicy"
          },
          "premium": {
            "type": "string"
          },
          "producer": {
            "$ref": "#/components/schemas/OpportunityWinPerson"
          }
        },
        "required": [
          "opportunity_id",
          "on",
          "producer",
          "account",
          "opportunity",
          "premium",
          "policy",
          "linked",
          "helped"
        ],
        "type": "object"
      },
      "OpportunityPursuit": {
        "additionalProperties": false,
        "properties": {
          "closed_reason": {
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "since": {
            "format": "date-time",
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "won": {
            "$ref": "#/components/schemas/OpportunityWon"
          }
        },
        "required": [
          "since",
          "note",
          "won"
        ],
        "type": "object"
      },
      "OpportunitySignal": {
        "additionalProperties": false,
        "properties": {
          "account_key": {
            "type": "string"
          },
          "account_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "algorithmic_score": {
            "format": "double",
            "type": "number"
          },
          "annotation_ref": {
            "type": "string"
          },
          "argument": {
            "type": [
              "string",
              "null"
            ]
          },
          "as_of": {
            "format": "date-time",
            "type": "string"
          },
          "band": {
            "type": "string"
          },
          "brief": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Brief"
              },
              {
                "type": "null"
              }
            ]
          },
          "carried": {
            "$ref": "#/components/schemas/OpportunityCarried"
          },
          "caveats": {
            "type": [
              "string",
              "null"
            ]
          },
          "commission_in_play": {
            "type": [
              "string",
              "null"
            ]
          },
          "customer_id": {
            "type": "string"
          },
          "datasource": {
            "type": "string"
          },
          "dismissal": {
            "$ref": "#/components/schemas/OpportunityDismissal"
          },
          "evidence": {},
          "final_score": {
            "format": "double",
            "type": "number"
          },
          "flags": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "kind": {
            "enum": [
              "retain",
              "grow"
            ],
            "type": "string"
          },
          "lever": {
            "type": "string"
          },
          "line": {
            "type": [
              "string",
              "null"
            ]
          },
          "lob_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "moment_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "multiplier": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "naics_code": {
            "description": "The account's NAICS code as the warehouse holds it: the resolved client's, else the policy's CLIENT_NAICS_CODE when the account key is not ready, so it can be set while naics_industry is null. Null when the warehouse holds none.",
            "type": [
              "string",
              "null"
            ]
          },
          "naics_industry": {
            "type": [
              "string",
              "null"
            ]
          },
          "next_action": {
            "type": [
              "string",
              "null"
            ]
          },
          "observation_type": {
            "type": "string"
          },
          "opportunity_id": {
            "type": "string"
          },
          "premium_basis": {
            "type": "string"
          },
          "premium_in_play": {
            "type": [
              "string",
              "null"
            ]
          },
          "premium_typical_for_line": {
            "type": [
              "string",
              "null"
            ]
          },
          "pursuit": {
            "$ref": "#/components/schemas/OpportunityPursuit"
          },
          "reason": {
            "type": "string"
          },
          "register_rank": {
            "format": "int64",
            "type": "integer"
          },
          "renewal": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EngineOpportunityRenewal"
              },
              {
                "type": "null"
              }
            ]
          },
          "snooze": {
            "$ref": "#/components/schemas/OpportunitySnoozeOptions"
          },
          "verdict": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "snooze",
          "pursuit",
          "annotation_ref",
          "register_rank",
          "opportunity_id",
          "account_name",
          "account_key",
          "customer_id",
          "datasource",
          "naics_industry",
          "naics_code",
          "lever",
          "kind",
          "renewal",
          "observation_type",
          "band",
          "final_score",
          "algorithmic_score",
          "multiplier",
          "verdict",
          "flags",
          "reason",
          "argument",
          "next_action",
          "caveats",
          "brief",
          "line",
          "lob_code",
          "premium_in_play",
          "premium_basis",
          "premium_typical_for_line",
          "commission_in_play",
          "evidence",
          "moment_date",
          "as_of"
        ],
        "type": "object"
      },
      "OpportunitySignalsEnvelope": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/OpportunitySignal"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "$ref": "#/components/schemas/EngineOpportunityFacets",
            "description": "The chip counts, when facets=true, and the owner facets when facets names them. Counts are over the caller's admitted active signals, before the page filters other than the config cohort and the premium floor."
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "serving": {
            "$ref": "#/components/schemas/EngineOpportunityServing"
          },
          "slice": {
            "$ref": "#/components/schemas/EngineOpportunitySlice",
            "description": "The filtered set's premium, commission and counts."
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "view": {
            "$ref": "#/components/schemas/OpportunityView",
            "description": "The register view's filters this read applied: each hide filter's values with how many rows hold them among the rows every other filter keeps, each filter's default and applied value, and how many rows the view hides."
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "work_window": {
            "$ref": "#/components/schemas/RegisterWorkWindow"
          }
        },
        "required": [
          "serving",
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "OpportunitySnoozeOptions": {
        "additionalProperties": false,
        "properties": {
          "default_date": {
            "type": "string"
          },
          "max": {
            "type": "string"
          },
          "min": {
            "type": "string"
          },
          "picks": {
            "items": {
              "$ref": "#/components/schemas/OpportunitySnoozePick"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "min",
          "max",
          "default_date",
          "picks"
        ],
        "type": "object"
      },
      "OpportunitySnoozePick": {
        "additionalProperties": false,
        "properties": {
          "date": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "label",
          "date"
        ],
        "type": "object"
      },
      "OpportunityUnclaimedClose": {
        "additionalProperties": false,
        "properties": {
          "account": {
            "$ref": "#/components/schemas/OpportunityWinAccount"
          },
          "arrived": {
            "$ref": "#/components/schemas/OpportunityArrivedPolicy"
          },
          "opportunity": {
            "$ref": "#/components/schemas/OpportunityWinSubject"
          },
          "opportunity_id": {
            "type": "string"
          },
          "producer": {
            "$ref": "#/components/schemas/OpportunityWinPerson"
          },
          "pursuing_since": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "opportunity_id",
          "producer",
          "account",
          "opportunity",
          "pursuing_since",
          "arrived"
        ],
        "type": "object"
      },
      "OpportunityView": {
        "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"
          },
          "pursuing": {
            "description": "The Pursuing tab's count: how many of the caller's Pursuing rows this read's page filters keep, over the rows the caller may see. The lever and band hides are the ones the request names (never the saved view), as the Pursuing view reads them; the kind hide never applies, as that view lists every Yes. It is the total dismissed=pursuing returns under the same filters, a Yes on a signal the active run no longer serves included. Present only on the register read (facets=true, no work_view); absent with dismissed=only or pursuing, with new=true, for a read with no person and when the count could not be read.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "filters",
          "hidden"
        ],
        "type": "object"
      },
      "OpportunityWinAccount": {
        "additionalProperties": false,
        "properties": {
          "account_key": {
            "type": "string"
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "account_key",
          "name"
        ],
        "type": "object"
      },
      "OpportunityWinPerson": {
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string"
          },
          "principal_id": {
            "type": "string"
          }
        },
        "required": [
          "principal_id",
          "name"
        ],
        "type": "object"
      },
      "OpportunityWinRequest": {
        "additionalProperties": false,
        "properties": {
          "helped": {
            "type": "string"
          },
          "policy_key": {
            "type": [
              "string",
              "null"
            ]
          },
          "premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "request_id": {
            "type": "string"
          },
          "revision": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "policy_key",
          "premium",
          "revision",
          "request_id"
        ],
        "type": "object"
      },
      "OpportunityWinResponse": {
        "additionalProperties": false,
        "properties": {
          "receipt_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "revision": {
            "format": "int64",
            "type": "integer"
          },
          "win": {
            "$ref": "#/components/schemas/OpportunityWon"
          }
        },
        "required": [
          "win",
          "revision",
          "receipt_id"
        ],
        "type": "object"
      },
      "OpportunityWinSubject": {
        "additionalProperties": false,
        "properties": {
          "lever": {
            "type": "string"
          },
          "line": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_label": {
            "type": [
              "string",
              "null"
            ]
          },
          "observation_type": {
            "type": "string"
          }
        },
        "required": [
          "lever",
          "observation_type",
          "line",
          "line_label"
        ],
        "type": "object"
      },
      "OpportunityWinTotals": {
        "additionalProperties": false,
        "properties": {
          "linked_premium": {
            "type": "string"
          },
          "linked_wins": {
            "format": "int64",
            "type": "integer"
          },
          "premium": {
            "type": "string"
          },
          "pursuing": {
            "format": "int64",
            "type": "integer"
          },
          "unclaimed": {
            "format": "int64",
            "type": "integer"
          },
          "wins": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "wins",
          "premium",
          "linked_wins",
          "linked_premium",
          "unclaimed",
          "pursuing"
        ],
        "type": "object"
      },
      "OpportunityWinsReport": {
        "additionalProperties": false,
        "properties": {
          "totals": {
            "$ref": "#/components/schemas/OpportunityWinTotals"
          },
          "unclaimed": {
            "items": {
              "$ref": "#/components/schemas/OpportunityUnclaimedClose"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "wins": {
            "items": {
              "$ref": "#/components/schemas/OpportunityOrgWin"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "wins",
          "unclaimed",
          "totals"
        ],
        "type": "object"
      },
      "OpportunityWon": {
        "additionalProperties": false,
        "properties": {
          "helped": {
            "type": "string"
          },
          "linked": {
            "type": "boolean"
          },
          "on": {
            "format": "date-time",
            "type": "string"
          },
          "policy": {
            "$ref": "#/components/schemas/OpportunityWonPolicy"
          },
          "premium": {
            "type": "string"
          },
          "since": {
            "type": "string"
          }
        },
        "required": [
          "on",
          "premium",
          "policy",
          "helped",
          "linked",
          "since"
        ],
        "type": "object"
      },
      "OpportunityWonCandidate": {
        "additionalProperties": false,
        "properties": {
          "annual_premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "carrier": {
            "type": "string"
          },
          "claimed_by": {
            "$ref": "#/components/schemas/OpportunityWonCandidateBy"
          },
          "effective_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "expiration_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "kind": {
            "type": "string"
          },
          "line": {
            "type": "string"
          },
          "linked_by": {
            "type": "string"
          },
          "matches": {
            "type": "boolean"
          },
          "policy_key": {
            "type": "string"
          },
          "policy_number": {
            "type": "string"
          }
        },
        "required": [
          "expiration_date",
          "matches",
          "claimed_by",
          "policy_key",
          "policy_number",
          "carrier",
          "kind",
          "line",
          "effective_date",
          "annual_premium",
          "linked_by"
        ],
        "type": "object"
      },
      "OpportunityWonCandidateBy": {
        "additionalProperties": false,
        "properties": {
          "mine": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "principal_id": {
            "type": "string"
          }
        },
        "required": [
          "principal_id",
          "name",
          "mine"
        ],
        "type": "object"
      },
      "OpportunityWonCandidatesResponse": {
        "additionalProperties": false,
        "properties": {
          "line": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_label": {
            "type": [
              "string",
              "null"
            ]
          },
          "opportunity_id": {
            "type": "string"
          },
          "policies": {
            "items": {
              "$ref": "#/components/schemas/OpportunityWonCandidate"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "read_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "since": {
            "type": "string"
          },
          "truncated": {
            "type": "boolean"
          }
        },
        "required": [
          "opportunity_id",
          "line",
          "line_label",
          "since",
          "policies",
          "truncated",
          "read_at"
        ],
        "type": "object"
      },
      "OpportunityWonPolicy": {
        "additionalProperties": false,
        "properties": {
          "annual_premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "carrier": {
            "type": "string"
          },
          "effective_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "kind": {
            "type": "string"
          },
          "line": {
            "type": "string"
          },
          "linked_by": {
            "type": "string"
          },
          "policy_key": {
            "type": "string"
          },
          "policy_number": {
            "type": "string"
          }
        },
        "required": [
          "policy_key",
          "policy_number",
          "carrier",
          "kind",
          "line",
          "effective_date",
          "annual_premium",
          "linked_by"
        ],
        "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"
      },
      "OrgEvidence": {
        "additionalProperties": false,
        "properties": {
          "cells": {
            "items": {
              "$ref": "#/components/schemas/OrgEvidenceCell"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "level": {
            "type": "string"
          },
          "levels": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "premium_withheld": {
            "description": "True when the corpus is present: every cell's premium_sum and priced_policy_count, and the summary's org_premium_sum, are withheld from every seat and null. False when the corpus is absent.",
            "type": "boolean"
          },
          "present": {
            "type": "boolean"
          },
          "summary": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/OrgEvidenceSummary",
                "description": "The corpus manifest; null when the corpus is absent."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "present",
          "level",
          "levels",
          "cells",
          "summary",
          "premium_withheld"
        ],
        "type": "object"
      },
      "OrgEvidenceCell": {
        "additionalProperties": false,
        "properties": {
          "carrier_name_variants": {
            "format": "int64",
            "type": "integer"
          },
          "carrier_slug": {
            "type": "string"
          },
          "class_level": {
            "type": "string"
          },
          "class_prefix": {
            "type": "string"
          },
          "distinct_client_count": {
            "format": "int64",
            "type": "integer"
          },
          "lob_key": {
            "type": "string"
          },
          "policy_count": {
            "format": "int64",
            "type": "integer"
          },
          "premium_sum": {
            "description": "Always null: withheld, never zero.",
            "type": [
              "string",
              "null"
            ]
          },
          "priced_policy_count": {
            "description": "Always null: withheld, never zero.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "class_level",
          "class_prefix",
          "lob_key",
          "carrier_slug",
          "carrier_name_variants",
          "policy_count",
          "distinct_client_count",
          "priced_policy_count",
          "premium_sum"
        ],
        "type": "object"
      },
      "OrgEvidenceSummary": {
        "additionalProperties": false,
        "properties": {
          "carrier_null_policies": {
            "format": "int64",
            "type": "integer"
          },
          "cells_landed": {
            "format": "int64",
            "type": "integer"
          },
          "cells_suppressed_below_k": {
            "format": "int64",
            "type": "integer"
          },
          "corpus_terms": {
            "format": "int64",
            "type": "integer"
          },
          "derive_version": {
            "type": "string"
          },
          "derived_at": {
            "format": "date-time",
            "type": "string"
          },
          "excluded_other_type_policies": {
            "format": "int64",
            "type": "integer"
          },
          "excluded_personal_lines_policies": {
            "format": "int64",
            "type": "integer"
          },
          "min_cell_clients": {
            "format": "int64",
            "type": "integer"
          },
          "min_cell_policies": {
            "format": "int64",
            "type": "integer"
          },
          "org_distinct_carriers": {
            "format": "int64",
            "type": "integer"
          },
          "org_distinct_clients": {
            "format": "int64",
            "type": "integer"
          },
          "org_distinct_datasources": {
            "format": "int64",
            "type": "integer"
          },
          "org_distinct_lobs": {
            "format": "int64",
            "type": "integer"
          },
          "org_premium_sum": {
            "description": "Always null: withheld, never zero.",
            "type": [
              "string",
              "null"
            ]
          },
          "out_of_window_policies": {
            "format": "int64",
            "type": "integer"
          },
          "pin_at": {
            "format": "date-time",
            "type": "string"
          },
          "terms_total": {
            "format": "int64",
            "type": "integer"
          },
          "trailing_years": {
            "format": "int64",
            "type": "integer"
          },
          "unclassified_carrier_terms": {
            "description": "null means unmeasured, never zero.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "unclassified_type_policies": {
            "format": "int64",
            "type": "integer"
          },
          "version_rows_total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "derive_version",
          "derived_at",
          "pin_at",
          "trailing_years",
          "cells_landed",
          "cells_suppressed_below_k",
          "version_rows_total",
          "terms_total",
          "corpus_terms",
          "org_distinct_carriers",
          "org_distinct_clients",
          "org_distinct_lobs",
          "org_distinct_datasources",
          "org_premium_sum",
          "excluded_personal_lines_policies",
          "excluded_other_type_policies",
          "unclassified_type_policies",
          "out_of_window_policies",
          "carrier_null_policies",
          "unclassified_carrier_terms",
          "min_cell_policies",
          "min_cell_clients"
        ],
        "type": "object"
      },
      "OrgProduct": {
        "additionalProperties": false,
        "properties": {
          "aliases": {
            "items": {
              "$ref": "#/components/schemas/Alias"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "category": {
            "type": [
              "string",
              "null"
            ]
          },
          "category_missing": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "level": {
            "type": "string"
          },
          "line_of_business": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "operating_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "org_id": {
            "type": "string"
          },
          "product_count": {
            "format": "int64",
            "type": "integer"
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "type": [
              "string",
              "null"
            ]
          },
          "type_missing": {
            "type": "boolean"
          }
        },
        "required": [
          "org_id",
          "id",
          "name",
          "operating_name",
          "type",
          "type_missing",
          "category",
          "category_missing",
          "line_of_business",
          "status",
          "aliases",
          "level",
          "product_count"
        ],
        "type": "object"
      },
      "OutcomeRecorded": {
        "additionalProperties": false,
        "properties": {
          "event_id": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "event_id",
          "status"
        ],
        "type": "object"
      },
      "OutcomeRequest": {
        "additionalProperties": false,
        "properties": {
          "event_id": {
            "type": "string"
          },
          "event_type": {
            "type": "string"
          },
          "payload": {}
        },
        "required": [
          "event_id",
          "event_type",
          "payload"
        ],
        "type": "object"
      },
      "OverrideRequest": {
        "additionalProperties": false,
        "properties": {
          "offering_id": {
            "type": "string"
          },
          "requirement_id": {
            "type": "string"
          }
        },
        "required": [
          "requirement_id",
          "offering_id"
        ],
        "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"
      },
      "PacketBlob": {
        "additionalProperties": false,
        "properties": {
          "blob": {},
          "blob_type": {
            "type": "string"
          },
          "stage": {
            "type": "string"
          }
        },
        "required": [
          "stage",
          "blob_type",
          "blob"
        ],
        "type": "object"
      },
      "PacketMember": {
        "additionalProperties": false,
        "properties": {
          "attachment": {
            "description": "A conversation attachment: its id, its doc: address, or its file name as the conversation lists it. Read as the caller, inside conversation only.",
            "type": "string"
          },
          "conversation": {
            "description": "The conversation the attachment was sent in. Required with attachment.",
            "type": "string"
          },
          "document": {
            "description": "A ready Document of the org under app_id: a filled carrier form (supplemental-...), a filed copy or an upload, by its id. An id a same-turn revision replaced joins the copy that replaced it.",
            "type": "string"
          },
          "draft": {
            "description": "A document draft the caller can open (an ACORD form or a template draft), by the draft_id its fill answered. Its PDF is rendered as the draft reads now.",
            "type": "string"
          },
          "pages": {
            "description": "The physical pages of the file the packet takes, as a page, a range or a list (35-36,57,99): the original pages in page order, none re-rendered. Empty takes every page. A page past the file's last page refuses the packet.",
            "type": "string"
          },
          "record": {
            "description": "A filed Records document, by its Records id, read through the Records documents content route as the caller.",
            "type": "string"
          }
        },
        "type": "object"
      },
      "PacketPart": {
        "additionalProperties": false,
        "properties": {
          "name": {
            "description": "The member's file name.",
            "type": "string"
          },
          "pages": {
            "description": "The pages it adds.",
            "format": "int64",
            "type": "integer"
          },
          "ref": {
            "description": "The draft, document, record or attachment the request named.",
            "type": "string"
          },
          "selection": {
            "description": "The page list the member took from its file, when the request named one.",
            "type": "string"
          }
        },
        "required": [
          "ref",
          "name",
          "pages"
        ],
        "type": "object"
      },
      "PacketRequest": {
        "additionalProperties": false,
        "properties": {
          "app_id": {
            "description": "The app whose Documents hold the members and receive the packet.",
            "type": "string"
          },
          "members": {
            "description": "Every file the packet holds, in the order it prints them: 1 to 20, each naming exactly one of draft, document, record or attachment.",
            "items": {
              "$ref": "#/components/schemas/PacketMember"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "name": {
            "description": "The packet's file name. Default: Submission packet.pdf.",
            "type": "string"
          },
          "subject": {
            "description": "The Records record reference the packet is about, or seat:&lt;your user id&gt; for a packet about no account on file (a prospect): only that seat reads or downloads it.",
            "type": "string"
          },
          "turn": {
            "description": "The Assistant turn filing the packet. A new packet records it.",
            "type": "string"
          }
        },
        "required": [
          "app_id",
          "subject",
          "members"
        ],
        "type": "object"
      },
      "PacketView": {
        "additionalProperties": false,
        "properties": {
          "document": {
            "$ref": "#/components/schemas/DocumentGenerated"
          },
          "parts": {
            "description": "Every member, in the packet's order, each with the pages it adds.",
            "items": {
              "$ref": "#/components/schemas/PacketPart"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "stored": {
            "description": "False when this exact packet was already stored and its Document is answered.",
            "type": "boolean"
          }
        },
        "required": [
          "document",
          "stored",
          "parts"
        ],
        "type": "object"
      },
      "Page": {
        "additionalProperties": false,
        "properties": {
          "cursor": {
            "description": "The cursor that produced this page; null for the first page.",
            "type": [
              "string",
              "null"
            ]
          },
          "limit": {
            "description": "The page size the platform applied, after any coercion (see warnings).",
            "format": "int64",
            "type": "integer"
          },
          "max_limit": {
            "description": "The largest page size this collection serves for this request's view; a larger limit is coerced to it (see warnings). A reader that wants the whole set in one page reads at this ceiling. Absent where the collection states none.",
            "format": "int64",
            "type": "integer"
          },
          "next": {
            "description": "The cursor of the following page; null at the end of the collection.",
            "type": [
              "string",
              "null"
            ]
          },
          "offset": {
            "description": "The rows skipped before this page, echoed only when the request sent offset (a register's page jump).",
            "format": "int64",
            "type": "integer"
          },
          "prev": {
            "description": "The cursor of the preceding page; null on the first page.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "cursor",
          "next",
          "prev",
          "limit"
        ],
        "type": "object"
      },
      "PageBreakBlock": {
        "additionalProperties": false,
        "properties": {
          "hard": {
            "type": "boolean"
          },
          "kind": {
            "enum": [
              "pageBreak"
            ],
            "type": "string"
          }
        },
        "required": [
          "kind"
        ],
        "type": "object"
      },
      "Part": {
        "additionalProperties": false,
        "properties": {
          "attributes": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Value"
            },
            "type": "object"
          },
          "deductibles": {
            "items": {
              "$ref": "#/components/schemas/Entry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "limits": {
            "items": {
              "$ref": "#/components/schemas/Entry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "part": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "part",
          "attributes",
          "limits",
          "deductibles"
        ],
        "type": "object"
      },
      "Partial": {
        "additionalProperties": false,
        "properties": {
          "principal_id": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          }
        },
        "required": [
          "principal_id",
          "reason"
        ],
        "type": "object"
      },
      "PatchConversationRequest": {
        "additionalProperties": false,
        "properties": {
          "end_user": {
            "description": "The end user the conversation belongs to.",
            "type": "string"
          },
          "scope": {
            "description": "A JSON object; {} clears it."
          },
          "status": {
            "enum": [
              "active",
              "archived"
            ],
            "type": "string"
          },
          "title": {
            "description": "At most 300 characters.",
            "type": "string"
          },
          "title_source": {
            "description": "Who wrote the title. user (the default) is a person's rename, never replaced by the platform. provisional is a placeholder the platform replaces with a name for the conversation's work. Requires title.",
            "enum": [
              "user",
              "provisional"
            ],
            "type": "string"
          }
        },
        "required": [
          "end_user"
        ],
        "type": "object"
      },
      "PatchStepRequest": {
        "additionalProperties": false,
        "properties": {
          "config": {
            "description": "The step's whole config, checked against config_schema from GET /engines/{engineSlug}/steps."
          },
          "label": {
            "description": "A new display label, 1 to 60 characters. Pipeline steps only.",
            "type": "string"
          }
        },
        "required": [
          "config"
        ],
        "type": "object"
      },
      "PatchStepResponse": {
        "additionalProperties": false,
        "properties": {
          "config_hash": {
            "description": "The draft hash after the write.",
            "type": "string"
          },
          "engine_slug": {
            "type": "string"
          },
          "step": {
            "$ref": "#/components/schemas/EngineStep"
          }
        },
        "required": [
          "engine_slug",
          "config_hash",
          "step"
        ],
        "type": "object"
      },
      "PeopleAccount": {
        "additionalProperties": false,
        "properties": {
          "client_manager": {
            "type": [
              "string",
              "null"
            ]
          },
          "date": {
            "description": "When the account moved (became new, was lost, or did not renew).",
            "type": "string"
          },
          "id": {
            "description": "The account's instance key.",
            "type": "string"
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "premium": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "client_manager",
          "premium",
          "date"
        ],
        "type": "object"
      },
      "PeopleRollupRecord": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/BookPeopleRollup"
          },
          "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"
            ]
          },
          "view": {
            "$ref": "#/components/schemas/View",
            "description": "The Reports view filters this read applied (the renewing window), each with its default and applied value, and the owner rows with a policy in force they hide. Absent when the subject's source is absent."
          },
          "warnings": {
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "PersonPresentation": {
        "additionalProperties": false,
        "properties": {
          "access": {
            "enum": [
              "seated",
              "held",
              "none"
            ],
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "mismatch": {
            "type": "boolean"
          },
          "state": {
            "enum": [
              "held",
              "seated",
              "seated_mismatched",
              "not_signed_in",
              "no_seat"
            ],
            "type": "string"
          },
          "tone": {
            "enum": [
              "neutral",
              "positive",
              "warning",
              "danger",
              null
            ],
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "state",
          "label",
          "tone",
          "access",
          "mismatch"
        ],
        "type": "object"
      },
      "Placement": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "description": "The account's id (its instance key); null when the term names no customer.",
            "type": [
              "string",
              "null"
            ]
          },
          "ams360_datasource": {
            "type": "string"
          },
          "carrier_changed": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "carrier_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "client_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "full_term_premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "line": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "description": "The policy term's id (its instance key); null when the term carries no AMS 360 policy id.",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "prior_carrier_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "prior_premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "term_effective_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "term_expiration_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "term_index": {
            "format": "int64",
            "type": "integer"
          },
          "term_key": {
            "description": "The term's signature, stable while its customer, number, line and dates are.",
            "type": "string"
          },
          "term_kind": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "policy_id",
          "account_id",
          "term_key",
          "ams360_datasource",
          "client_name",
          "policy_number",
          "carrier_name",
          "line",
          "term_effective_date",
          "term_expiration_date",
          "full_term_premium",
          "prior_carrier_name",
          "prior_premium",
          "carrier_changed",
          "term_kind",
          "term_index"
        ],
        "type": "object"
      },
      "PlacementBasisTerms": {
        "additionalProperties": false,
        "properties": {
          "deductible": {
            "type": [
              "string",
              "null"
            ]
          },
          "expiration": {
            "type": [
              "string",
              "null"
            ]
          },
          "limits": {
            "type": [
              "string",
              "null"
            ]
          },
          "premium": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "premium",
          "expiration",
          "limits",
          "deductible"
        ],
        "type": "object"
      },
      "PlacementCardAxis": {
        "additionalProperties": false,
        "properties": {
          "evidenceBand": {
            "enum": [
              "success",
              "warning",
              "default"
            ],
            "type": "string"
          }
        },
        "required": [
          "evidenceBand"
        ],
        "type": "object"
      },
      "PlacementCardBasis": {
        "additionalProperties": false,
        "properties": {
          "broadHistory": {
            "type": [
              "string",
              "null"
            ]
          },
          "caveat": {
            "type": [
              "string",
              "null"
            ]
          },
          "evidence": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "lineCode": {
            "type": "string"
          },
          "strategyId": {
            "type": "string"
          },
          "targetId": {
            "type": "string"
          },
          "terms": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PlacementBasisTerms"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "strategyId",
          "lineCode",
          "targetId",
          "broadHistory",
          "terms",
          "caveat",
          "evidence"
        ],
        "type": "object"
      },
      "PlacementCardSeat": {
        "additionalProperties": false,
        "properties": {
          "answerStatus": {
            "enum": [
              "move",
              "new",
              "missing",
              "stay"
            ],
            "type": "string"
          },
          "axes": {
            "additionalProperties": {
              "$ref": "#/components/schemas/PlacementCardAxis"
            },
            "type": "object"
          },
          "choiceAnswerStatus": {
            "enum": [
              "move",
              "new",
              "missing",
              "stay"
            ],
            "type": "string"
          },
          "grade": {
            "enum": [
              "Excellent",
              "Good",
              "Fair",
              "Weak",
              null
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "heldAnswerStatus": {
            "enum": [
              "missing",
              "stay"
            ],
            "type": "string"
          },
          "lineCode": {
            "type": "string"
          },
          "marketCellStatus": {
            "type": [
              "string",
              "null"
            ]
          },
          "policyNoun": {
            "type": "string"
          },
          "policyNounPlural": {
            "type": "string"
          },
          "poolEntryId": {
            "type": "string"
          },
          "routeClass": {
            "enum": [
              "direct",
              "mga",
              "untyped",
              "intermediary"
            ],
            "type": "string"
          },
          "routeStatus": {
            "enum": [
              "on_current_policy",
              "direct_on_file",
              "direct_bound_in_book",
              "wholesale_named",
              "unverified"
            ],
            "type": "string"
          },
          "targetId": {
            "type": "string"
          }
        },
        "required": [
          "choiceAnswerStatus",
          "poolEntryId",
          "lineCode",
          "targetId",
          "policyNoun",
          "policyNounPlural",
          "grade",
          "answerStatus",
          "heldAnswerStatus",
          "marketCellStatus",
          "routeClass",
          "routeStatus",
          "axes"
        ],
        "type": "object"
      },
      "PlacementCardView": {
        "additionalProperties": false,
        "properties": {
          "bases": {
            "items": {
              "$ref": "#/components/schemas/PlacementCardBasis"
            },
            "type": "array"
          },
          "evidenceStrategy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PlacementEvidenceStrategy"
              },
              {
                "type": "null"
              }
            ]
          },
          "seats": {
            "items": {
              "$ref": "#/components/schemas/PlacementCardSeat"
            },
            "type": "array"
          },
          "strategyOrder": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "strategyPlans": {
            "items": {
              "$ref": "#/components/schemas/PlacementStrategyPlan"
            },
            "type": "array"
          }
        },
        "required": [
          "strategyOrder",
          "evidenceStrategy",
          "seats",
          "strategyPlans",
          "bases"
        ],
        "type": "object"
      },
      "PlacementEvidenceDimension": {
        "additionalProperties": false,
        "properties": {
          "claimBasis": {
            "enum": [
              "evidence_backed",
              "mixed",
              "modeled_prior",
              "withheld"
            ],
            "type": "string"
          },
          "displayName": {
            "description": "The axis's producer name (Appetite, Retention, ...); any other key reads as its words.",
            "type": "string"
          },
          "grain": {
            "enum": [
              "option",
              "market_line"
            ],
            "type": "string"
          },
          "justification": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "level": {
            "format": "double",
            "type": "number"
          },
          "method": {
            "type": "string"
          },
          "producerLevel": {
            "type": "string"
          },
          "reasoning": {
            "type": "string"
          },
          "suppressed": {
            "type": "boolean"
          }
        },
        "required": [
          "key",
          "displayName",
          "level",
          "label",
          "justification",
          "method",
          "suppressed"
        ],
        "type": "object"
      },
      "PlacementEvidenceLine": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "type": "string"
          },
          "alternates": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "basis": {
            "type": "string"
          },
          "holds_incumbent": {
            "type": "boolean"
          },
          "line": {
            "type": "string"
          },
          "market_id": {
            "type": "string"
          },
          "situation": {
            "type": "string"
          },
          "submit_also": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "line",
          "situation",
          "holds_incumbent",
          "action",
          "market_id",
          "alternates",
          "submit_also",
          "basis"
        ],
        "type": "object"
      },
      "PlacementEvidenceStrategy": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "intent": {
            "type": "string"
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/PlacementEvidenceLine"
            },
            "type": "array"
          },
          "trade_off": {
            "type": "string"
          },
          "why": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "intent",
          "lines",
          "trade_off",
          "why"
        ],
        "type": "object"
      },
      "PlacementFeedbackReplay": {
        "additionalProperties": false,
        "properties": {
          "complete": {
            "description": "true when this response holds the run's whole stream: it was the first page and no page follows.",
            "type": "boolean"
          },
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/PlacementFeedbackRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "complete",
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "PlacementFeedbackRequest": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": "string"
          },
          "data": {},
          "event": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "run_id": {
            "type": "string"
          },
          "supersedes_event_id": {
            "type": "string"
          },
          "target": {
            "$ref": "#/components/schemas/PlacementFeedbackTarget"
          },
          "user_id": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "user_id",
          "account_id",
          "run_id",
          "event",
          "data"
        ],
        "type": "object"
      },
      "PlacementFeedbackRow": {
        "additionalProperties": false,
        "properties": {
          "AccountID": {
            "type": "string"
          },
          "Axis": {
            "type": "string"
          },
          "BuildEngineConfigVersionHash": {
            "type": [
              "string",
              "null"
            ]
          },
          "BuildEngineVersion": {
            "type": "string"
          },
          "Composition": {},
          "EngineRank": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "EventID": {
            "type": "string"
          },
          "EventType": {
            "type": "string"
          },
          "OccurredAt": {
            "format": "date-time",
            "type": "string"
          },
          "OrgID": {
            "type": "string"
          },
          "Payload": {},
          "PlacementID": {
            "type": "string"
          },
          "RunID": {
            "type": "string"
          },
          "SupersedesEventID": {
            "type": "string"
          },
          "TargetKind": {
            "type": "string"
          },
          "TargetRef": {
            "type": "string"
          },
          "Triage": {},
          "UpdatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "UserID": {
            "type": "string"
          }
        },
        "required": [
          "Triage",
          "OrgID",
          "EventID",
          "EventType",
          "RunID",
          "AccountID",
          "PlacementID",
          "UserID",
          "BuildEngineVersion",
          "TargetKind",
          "TargetRef",
          "Axis",
          "SupersedesEventID",
          "BuildEngineConfigVersionHash",
          "EngineRank",
          "Payload",
          "Composition",
          "OccurredAt",
          "UpdatedAt"
        ],
        "type": "object"
      },
      "PlacementFeedbackTarget": {
        "additionalProperties": false,
        "properties": {
          "axis": {
            "type": "string"
          },
          "item_ref": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          }
        },
        "required": [
          "kind"
        ],
        "type": "object"
      },
      "PlacementLaunchRequest": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": "string"
          },
          "input": {},
          "submission_id": {
            "type": "string"
          }
        },
        "required": [
          "account_id"
        ],
        "type": "object"
      },
      "PlacementLaunchResponse": {
        "additionalProperties": false,
        "properties": {
          "error": {
            "type": "string"
          },
          "output": {}
        },
        "required": [
          "output"
        ],
        "type": "object"
      },
      "PlacementLaunchesBody": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/WorkbenchPlacementLaunch"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "meta": {
            "$ref": "#/components/schemas/AppStoreMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "PlacementMarketAppointment": {
        "additionalProperties": false,
        "properties": {
          "since": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "status",
          "since"
        ],
        "type": "object"
      },
      "PlacementMarketFact": {
        "additionalProperties": false,
        "properties": {
          "key": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "key"
        ],
        "type": "object"
      },
      "PlacementMarketHit": {
        "additionalProperties": false,
        "properties": {
          "am_best_rating": {
            "type": [
              "string",
              "null"
            ]
          },
          "entity_key": {
            "type": "string"
          },
          "market_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "standing": {
            "$ref": "#/components/schemas/PlacementMarketStanding"
          }
        },
        "required": [
          "entity_key",
          "name",
          "market_type",
          "am_best_rating",
          "standing"
        ],
        "type": "object"
      },
      "PlacementMarketStanding": {
        "additionalProperties": false,
        "properties": {
          "appointment": {
            "$ref": "#/components/schemas/PlacementMarketAppointment"
          },
          "facts": {
            "items": {
              "$ref": "#/components/schemas/PlacementMarketFact"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "kind": {
            "enum": [
              "graded",
              "not_graded",
              "set_aside",
              "not_considered"
            ],
            "type": "string"
          },
          "poolEntryId": {
            "type": "string"
          },
          "rank": {
            "format": "int64",
            "type": "integer"
          },
          "reason": {
            "type": "string"
          },
          "scope": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "sentence": {
            "type": "string"
          },
          "writingCarrier": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "sentence"
        ],
        "type": "object"
      },
      "PlacementMarketsPage": {
        "additionalProperties": false,
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/PlacementMarketHit"
            },
            "type": "array"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "total_matched": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total_matched",
          "page"
        ],
        "type": "object"
      },
      "PlacementPageLaunch": {
        "additionalProperties": false,
        "properties": {
          "runId": {
            "type": [
              "string",
              "null"
            ]
          },
          "startedAt": {
            "type": "string"
          }
        },
        "required": [
          "runId",
          "startedAt"
        ],
        "type": "object"
      },
      "PlacementPageMarketResult": {
        "additionalProperties": false,
        "properties": {
          "accountId": {
            "type": "string"
          },
          "computedAt": {
            "type": "string"
          },
          "computedAtHead": {
            "type": [
              "string",
              "null"
            ]
          },
          "decline": {},
          "id": {
            "type": "string"
          },
          "inputHash": {
            "type": "string"
          },
          "matches": {
            "items": {
              "$ref": "#/components/schemas/PlacementPageMatch"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "recommendation": {
            "type": "boolean"
          },
          "riskProfileFingerprint": {
            "type": [
              "string",
              "null"
            ]
          },
          "run": {
            "$ref": "#/components/schemas/PlacementPageRun"
          },
          "servedHead": {
            "type": [
              "string",
              "null"
            ]
          },
          "stale": {
            "type": "boolean"
          },
          "supersededAt": {
            "type": [
              "string",
              "null"
            ]
          },
          "trigger": {
            "$ref": "#/components/schemas/PlacementPageTrigger"
          }
        },
        "required": [
          "id",
          "accountId",
          "inputHash",
          "computedAt",
          "computedAtHead",
          "servedHead",
          "stale",
          "riskProfileFingerprint",
          "matches",
          "trigger",
          "recommendation",
          "run",
          "supersededAt"
        ],
        "type": "object"
      },
      "PlacementPageMatch": {
        "additionalProperties": false,
        "properties": {
          "carrierEntityKey": {
            "type": "string"
          },
          "carrierName": {
            "type": "string"
          },
          "evidence": {
            "items": {
              "$ref": "#/components/schemas/PlacementEvidenceDimension"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "line": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          }
        },
        "required": [
          "carrierEntityKey",
          "carrierName",
          "reason",
          "evidence"
        ],
        "type": "object"
      },
      "PlacementPageRead": {
        "additionalProperties": false,
        "properties": {
          "launch": {
            "$ref": "#/components/schemas/PlacementPageLaunch"
          },
          "result": {
            "$ref": "#/components/schemas/PlacementPageMarketResult"
          },
          "runId": {
            "type": [
              "string",
              "null"
            ]
          },
          "runState": {
            "$ref": "#/components/schemas/RunState"
          },
          "state": {
            "enum": [
              "completed",
              "degraded",
              "failed",
              "cancelled",
              "unknown",
              "running",
              "marker_missing",
              "assembled_nothing"
            ],
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "runId",
          "launch",
          "state",
          "result"
        ],
        "type": "object"
      },
      "PlacementPageRerunContext": {
        "additionalProperties": false,
        "properties": {
          "limits": {},
          "lines": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "placementScope": {},
          "version": {
            "enum": [
              "1"
            ],
            "type": "string"
          }
        },
        "required": [
          "version",
          "lines"
        ],
        "type": "object"
      },
      "PlacementPageRun": {
        "additionalProperties": false,
        "properties": {
          "basis": {
            "enum": [
              "full",
              "qualified"
            ],
            "type": "string"
          },
          "bookEvidenceCoverage": {},
          "currentProgram": {},
          "evidencedCarrierCount": {
            "format": "int64",
            "type": "integer"
          },
          "fieldStatement": {
            "type": "string"
          },
          "honesty": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "inputsReport": {},
          "note": {
            "type": "string"
          },
          "runId": {
            "type": "string"
          },
          "snapshot": {},
          "url": {
            "type": "string"
          }
        },
        "required": [
          "runId",
          "url",
          "snapshot",
          "evidencedCarrierCount"
        ],
        "type": "object"
      },
      "PlacementPageTrigger": {
        "additionalProperties": false,
        "properties": {
          "days": {},
          "expirationDate": {
            "type": "string"
          },
          "policyId": {
            "type": "string"
          },
          "type": {
            "enum": [
              "renewal_window_opened"
            ],
            "type": "string"
          }
        },
        "required": [
          "type",
          "policyId"
        ],
        "type": "object"
      },
      "PlacementPlan": {
        "additionalProperties": false,
        "properties": {
          "as_of": {
            "type": "string"
          },
          "stages": {
            "items": {
              "$ref": "#/components/schemas/PlacementPlanStage"
            },
            "type": "array"
          }
        },
        "required": [
          "as_of",
          "stages"
        ],
        "type": "object"
      },
      "PlacementPlanSeat": {
        "additionalProperties": false,
        "properties": {
          "counterpartyId": {
            "type": "string"
          },
          "line": {
            "type": "string"
          },
          "marketEntityKey": {
            "type": "string"
          },
          "offeringId": {
            "type": "string"
          },
          "scopeId": {
            "type": "string"
          },
          "source": {
            "enum": [
              "run",
              "catalog"
            ],
            "type": "string"
          },
          "targetId": {
            "type": "string"
          },
          "writingCarrierId": {
            "type": [
              "string",
              "null"
            ]
          },
          "writingPaperIds": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "line",
          "offeringId",
          "marketEntityKey",
          "counterpartyId",
          "writingCarrierId",
          "writingPaperIds",
          "source"
        ],
        "type": "object"
      },
      "PlacementPlanStage": {
        "additionalProperties": false,
        "properties": {
          "countdown": {
            "type": "boolean"
          },
          "date": {
            "type": [
              "string",
              "null"
            ]
          },
          "days_away": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "key": {
            "enum": [
              "readyBy",
              "chooseBy",
              "submitBy",
              "quotesDue",
              "presentBy",
              "bindBy"
            ],
            "type": "string"
          },
          "rule": {
            "type": "string"
          },
          "stage_index": {
            "format": "int64",
            "type": "integer"
          },
          "standing": {
            "enum": [
              "late",
              "past_unrecorded",
              "due_soon",
              "on_track",
              "history",
              "done",
              "undated"
            ],
            "type": "string"
          },
          "step": {
            "enum": [
              "done",
              "current",
              "upcoming"
            ],
            "type": "string"
          }
        },
        "required": [
          "key",
          "stage_index",
          "date",
          "rule",
          "step",
          "days_away",
          "standing",
          "countdown"
        ],
        "type": "object"
      },
      "PlacementRecordedRead": {
        "additionalProperties": false,
        "properties": {
          "output": {
            "additionalProperties": true,
            "description": "placement.get's envelope without incumbents. found=false carries note and runStatus; found=true carries the recorded run's facts and the card projection's keys beside them.",
            "properties": {
              "accountId": {
                "description": "The admitted account key (found only).",
                "type": "string"
              },
              "accountName": {
                "description": "The account's name.",
                "type": "string"
              },
              "found": {
                "description": "Whether a recorded run answers the account (or the named submission).",
                "type": "boolean"
              },
              "freshRunFailure": {
                "description": "Set when a fresh run failed before this recorded run was read (found only).",
                "type": [
                  "string",
                  "null"
                ]
              },
              "note": {
                "description": "What to say when nothing is recorded (not found only).",
                "type": "string"
              },
              "placementProgress": {
                "description": "The latest launch: startedAt, status, runState, and terminal, reason, failure, acceptanceUncertain or launchReference when they apply. Never its run id.",
                "type": [
                  "object",
                  "null"
                ]
              },
              "renewalContext": {
                "description": "Whether the run answers a renewal (found only).",
                "type": "boolean"
              },
              "runOutput": {
                "additionalProperties": true,
                "properties": {
                  "cardView": {
                    "$ref": "#/components/schemas/PlacementCardView"
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "runRecordedAt": {
                "description": "The run's completedAt, else its updatedAt (found only).",
                "type": "string"
              },
              "runStale": {
                "description": "True when a pending launch is past its window or the run predates the served book or an account change.",
                "type": "boolean"
              },
              "runState": {
                "$ref": "#/components/schemas/RunState",
                "description": "What a reader does with the run's status (a named run only)."
              },
              "runStatus": {
                "description": "running, acceptance_uncertain or the submission's run status (not found only).",
                "type": [
                  "string",
                  "null"
                ]
              },
              "runTrigger": {
                "description": "What recorded the run (found only).",
                "type": "string"
              },
              "staleness": {
                "description": "servedHeadAt, accountLastChangedAt, predatesServedHead and predatesAccountChange (found only).",
                "type": "object"
              }
            },
            "required": [
              "found",
              "accountName",
              "runStale",
              "placementProgress"
            ],
            "type": "object"
          }
        },
        "required": [
          "output"
        ],
        "type": "object"
      },
      "PlacementRenewalExcludedTerm": {
        "additionalProperties": false,
        "properties": {
          "carrierName": {
            "type": [
              "string",
              "null"
            ]
          },
          "expirationDate": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "line": {
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "policyId": {
            "type": "string"
          },
          "policyNumber": {
            "type": [
              "string",
              "null"
            ]
          },
          "premium": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "reason": {
            "enum": [
              "line_not_placeable"
            ],
            "type": "string"
          }
        },
        "required": [
          "reason",
          "note",
          "policyId",
          "line",
          "label",
          "policyNumber",
          "carrierName",
          "expirationDate",
          "premium"
        ],
        "type": "object"
      },
      "PlacementRenewalScope": {
        "additionalProperties": false,
        "properties": {
          "covered": {
            "items": {
              "$ref": "#/components/schemas/PlacementRenewalTerm"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "excluded": {
            "items": {
              "$ref": "#/components/schemas/PlacementRenewalExcludedTerm"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "expirationDate": {
            "type": "string"
          },
          "linesOfBusiness": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "note": {
            "type": "string"
          },
          "renewingPolicyId": {
            "type": "string"
          },
          "terms": {
            "items": {
              "$ref": "#/components/schemas/PlacementRenewalTerm"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "expirationDate",
          "renewingPolicyId",
          "terms",
          "covered",
          "excluded",
          "linesOfBusiness",
          "note"
        ],
        "type": "object"
      },
      "PlacementRenewalTerm": {
        "additionalProperties": false,
        "properties": {
          "carrierName": {
            "type": [
              "string",
              "null"
            ]
          },
          "expirationDate": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "line": {
            "type": "string"
          },
          "policyId": {
            "type": "string"
          },
          "policyNumber": {
            "type": [
              "string",
              "null"
            ]
          },
          "premium": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "policyId",
          "line",
          "label",
          "policyNumber",
          "carrierName",
          "expirationDate",
          "premium"
        ],
        "type": "object"
      },
      "PlacementRunArchived": {
        "additionalProperties": false,
        "properties": {
          "archived_at": {
            "description": "When the run was first archived.",
            "format": "date-time",
            "type": "string"
          },
          "run_id": {
            "description": "The archived run.",
            "type": "string"
          }
        },
        "required": [
          "run_id",
          "archived_at"
        ],
        "type": "object"
      },
      "PlacementRunContext": {
        "additionalProperties": false,
        "properties": {
          "accountId": {
            "type": [
              "string",
              "null"
            ]
          },
          "rerunContext": {
            "$ref": "#/components/schemas/PlacementPageRerunContext"
          },
          "runId": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "accountId",
          "runId",
          "rerunContext"
        ],
        "type": "object"
      },
      "PlacementRunSnapshotRead": {
        "additionalProperties": false,
        "properties": {
          "runId": {
            "type": "string"
          },
          "run_state": {
            "$ref": "#/components/schemas/RunState"
          },
          "snapshot": {
            "additionalProperties": true,
            "description": "The placement run snapshot (WB PlacementRunSnapshot). A run with no result yet is thin: no placements or recommendations.",
            "properties": {
              "cancelled": {
                "description": "Set when the run was cancelled.",
                "type": "boolean"
              },
              "completedAt": {
                "description": "The run's completed_at.",
                "type": "string"
              },
              "engineSlug": {
                "description": "The placement engine's slug.",
                "type": "string"
              },
              "error": {
                "description": "The run's error, when it failed.",
                "type": "string"
              },
              "placements": {
                "description": "The run's placements.",
                "items": {
                  "type": "object"
                },
                "type": "array"
              },
              "provider": {
                "description": "Always nexio.",
                "type": "string"
              },
              "recommendations": {
                "description": "The run's ranked carrier recommendations.",
                "items": {
                  "type": "object"
                },
                "type": "array"
              },
              "runId": {
                "description": "The run.",
                "type": "string"
              },
              "startedAt": {
                "description": "The run's created_at.",
                "type": "string"
              },
              "status": {
                "description": "completed, degraded, failed or running. A cancelled run is failed with cancelled true.",
                "type": "string"
              },
              "updatedAt": {
                "description": "When the snapshot was built.",
                "type": "string"
              }
            },
            "required": [
              "provider",
              "runId",
              "engineSlug",
              "status",
              "placements",
              "recommendations"
            ],
            "type": "object"
          }
        },
        "required": [
          "runId",
          "run_state",
          "snapshot"
        ],
        "type": "object"
      },
      "PlacementRunSubject": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          }
        },
        "required": [
          "kind"
        ],
        "type": "object"
      },
      "PlacementRunSubjectResponse": {
        "additionalProperties": false,
        "properties": {
          "run_id": {
            "type": "string"
          },
          "subject": {
            "$ref": "#/components/schemas/PlacementRunSubject"
          }
        },
        "required": [
          "run_id",
          "subject"
        ],
        "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"
      },
      "PlacementStrategyPlan": {
        "additionalProperties": false,
        "properties": {
          "seats": {
            "items": {
              "$ref": "#/components/schemas/PlacementPlanSeat"
            },
            "type": "array"
          },
          "strategyId": {
            "type": "string"
          }
        },
        "required": [
          "strategyId",
          "seats"
        ],
        "type": "object"
      },
      "PlacementsHistoryRollup": {
        "additionalProperties": false,
        "properties": {
          "facets": {
            "$ref": "#/components/schemas/BookPlacementHistoryFacets",
            "description": "The filtered placements that changed carrier, and by term kind."
          },
          "placements": {
            "description": "The filtered placement count.",
            "format": "int64",
            "type": "integer"
          },
          "slice": {
            "$ref": "#/components/schemas/BookPlacementHistorySlice",
            "description": "The filtered placements' premium."
          }
        },
        "type": "object"
      },
      "PlaybookProvenance": {
        "additionalProperties": false,
        "properties": {
          "claims": {
            "items": {
              "$ref": "#/components/schemas/PlaybookProvenanceClaim"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "coverage": {
            "$ref": "#/components/schemas/PlaybookProvenanceCoverage"
          },
          "record": {
            "$ref": "#/components/schemas/PlaybookProvenanceRecord"
          },
          "sections": {
            "items": {
              "$ref": "#/components/schemas/PlaybookProvenanceSection"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "unresolved": {
            "items": {
              "$ref": "#/components/schemas/PlaybookProvenanceClaim"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "record",
          "sections",
          "claims",
          "unresolved",
          "coverage"
        ],
        "type": "object"
      },
      "PlaybookProvenanceCitation": {
        "additionalProperties": false,
        "properties": {
          "excerpt": {
            "type": "string"
          },
          "field": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "matchedBy": {
            "type": "string"
          },
          "recordId": {
            "type": [
              "string",
              "null"
            ]
          },
          "recordTitle": {
            "type": "string"
          },
          "score": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "similarity": {
            "format": "double",
            "type": "number"
          }
        },
        "required": [
          "recordId",
          "recordTitle",
          "field",
          "key",
          "score",
          "excerpt",
          "matchedBy",
          "similarity"
        ],
        "type": "object"
      },
      "PlaybookProvenanceClaim": {
        "additionalProperties": false,
        "properties": {
          "citations": {
            "items": {
              "$ref": "#/components/schemas/PlaybookProvenanceCitation"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "line": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "resolved": {
            "type": "boolean"
          },
          "sectionId": {
            "type": "string"
          },
          "sectionTitle": {
            "type": "string"
          },
          "subject": {
            "type": [
              "string",
              "null"
            ]
          },
          "target": {
            "type": "string"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "sectionId",
          "sectionTitle",
          "target",
          "text",
          "subject",
          "line",
          "citations",
          "resolved"
        ],
        "type": "object"
      },
      "PlaybookProvenanceCoverage": {
        "additionalProperties": false,
        "properties": {
          "classification": {
            "$ref": "#/components/schemas/PlaybookProvenanceRate"
          },
          "coverage": {
            "$ref": "#/components/schemas/PlaybookProvenanceRate"
          },
          "expansion": {
            "$ref": "#/components/schemas/PlaybookProvenanceRate"
          },
          "measured": {
            "$ref": "#/components/schemas/PlaybookProvenanceRate"
          },
          "prose": {
            "$ref": "#/components/schemas/PlaybookProvenanceRate"
          }
        },
        "required": [
          "coverage",
          "expansion",
          "classification",
          "prose",
          "measured"
        ],
        "type": "object"
      },
      "PlaybookProvenanceRate": {
        "additionalProperties": false,
        "properties": {
          "rate": {
            "format": "double",
            "type": "number"
          },
          "resolved": {
            "format": "int64",
            "type": "integer"
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "total",
          "resolved",
          "rate"
        ],
        "type": "object"
      },
      "PlaybookProvenanceRecord": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "title"
        ],
        "type": "object"
      },
      "PlaybookProvenanceRequest": {
        "additionalProperties": false,
        "properties": {
          "additional_naics_codes": {
            "description": "Up to two six-digit codes of a blend. Codes that are not six digits, repeat or equal the primary code are ignored.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "markdown": {
            "description": "The playbook markdown the reader shows, personalized or not.",
            "minLength": 1,
            "type": "string"
          },
          "naics_code": {
            "description": "The primary class's NAICS code.",
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "naics_code",
          "markdown"
        ],
        "type": "object"
      },
      "PlaybookProvenanceSection": {
        "additionalProperties": false,
        "properties": {
          "claims": {
            "items": {
              "$ref": "#/components/schemas/PlaybookProvenanceClaim"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "sectionId": {
            "type": "string"
          },
          "sectionTitle": {
            "type": "string"
          }
        },
        "required": [
          "sectionId",
          "sectionTitle",
          "claims"
        ],
        "type": "object"
      },
      "PlaybookRunRequest": {
        "additionalProperties": false,
        "properties": {
          "additional_naics_codes": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "naics_code": {
            "type": "string"
          },
          "requested_class": {
            "type": "string"
          }
        },
        "required": [
          "naics_code"
        ],
        "type": "object"
      },
      "PlaybookRunResponse": {
        "additionalProperties": false,
        "properties": {
          "output": {},
          "sources": {}
        },
        "required": [
          "output",
          "sources"
        ],
        "type": "object"
      },
      "Policy": {
        "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_attribution": {
            "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_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"
          },
          "standard_policy_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "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": [
          "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"
      },
      "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"
      },
      "PolicyAccountRenewalStep": {
        "additionalProperties": false,
        "properties": {
          "complete": {
            "description": "False if the bounded account relation or its page step read is unread. A null row then does not mean absent work.",
            "type": "boolean"
          },
          "row": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Policy",
                "description": "The Records-selected account renewal, or null when complete and no action remains. A term whose standing or step facts are unread is selected when no earlier term has an action, with its rollups.renewal_step.row.renewal parts unreachable, so its step is unknown."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "row",
          "complete"
        ],
        "type": "object"
      },
      "PolicyAccountRenewalWorkspace": {
        "additionalProperties": false,
        "properties": {
          "policy_id": {
            "type": "string"
          },
          "renewal": {
            "$ref": "#/components/schemas/EngineRenewal",
            "description": "The renewal of the selected term: the account's terms that renew together, the members the seat may read, their lines and the terms the placement does not carry. Any member's policy id selects it. Null when the account has no term to select."
          },
          "renewal_id": {
            "description": "The renewal the selected term belongs to; the same for every member's term. Empty when the account has no term to select.",
            "type": "string"
          },
          "workspace": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EngineRenewalWorkspace"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "policy_id",
          "renewal_id",
          "renewal",
          "workspace"
        ],
        "type": "object"
      },
      "PolicyActivityList": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/PolicyActivityRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "view": {
            "$ref": "#/components/schemas/View",
            "description": "The register's filters with each kind's count, the default and applied values, and how many rows they hide."
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "PolicyActivityRow": {
        "additionalProperties": false,
        "properties": {
          "assignee": {
            "description": "Who holds it: an AMS 360 employee code or a Workbench person.",
            "type": [
              "string",
              "null"
            ]
          },
          "body": {
            "description": "A task's description; null on other rows.",
            "type": [
              "string",
              "null"
            ]
          },
          "completed": {
            "description": "When it was completed.",
            "type": [
              "string",
              "null"
            ]
          },
          "date": {
            "description": "The date the row is ordered by: when it happened, a task's completion or its creation; null when the source dates it nowhere.",
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "due": {
            "description": "A follow-up's or a task's due date.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The row's id in the register, unique across its sources.",
            "type": "string"
          },
          "kind": {
            "description": "The kind a person filters by (hide.kind); the view block lists every kind with its label.",
            "type": "string"
          },
          "label": {
            "description": "What the row is, as a person reads it: Follow-up, Note, Remark, Email, Task, Policy check and the rest.",
            "type": "string"
          },
          "priority": {
            "type": [
              "string",
              "null"
            ]
          },
          "record_id": {
            "description": "The row's own record: the AMS 360 activity's instance key, the Workbench activity's id or the task's id.",
            "type": "string"
          },
          "source": {
            "description": "Where the row is held: AMS 360, the Workbench's activity or its tasks.",
            "enum": [
              "ams360",
              "workbench_activity",
              "workbench_task"
            ],
            "type": "string"
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "description": "The row's text, or its label when it carries none.",
            "type": "string"
          },
          "workflow": {
            "description": "policy-check on a policy check task; null otherwise.",
            "enum": [
              "policy-check"
            ],
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "source",
          "record_id",
          "kind",
          "label",
          "title",
          "body",
          "date",
          "due",
          "priority",
          "assignee",
          "completed",
          "status",
          "workflow"
        ],
        "type": "object"
      },
      "PolicyAdmission": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "description": "The account the policy belongs to.",
            "type": "string"
          },
          "id": {
            "description": "The policy's id.",
            "type": "string"
          }
        },
        "required": [
          "id",
          "account_id"
        ],
        "type": "object"
      },
      "PolicyBinder": {
        "additionalProperties": false,
        "properties": {
          "authorized_representative": {
            "type": [
              "string",
              "null"
            ]
          },
          "binder_effective_date": {
            "description": "A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "binder_expiration_date": {
            "description": "A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "editable": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "effective_date": {
            "description": "The policy version's effective date: the term's or an endorsement's. A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "form_id": {
            "description": "The electronic form the binder is printed on.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The row's id: {instance}:{segment}:{policy}:{policy version}:{key}.",
            "type": "string"
          },
          "interests": {
            "description": "The additional interests the binder names.",
            "items": {
              "$ref": "#/components/schemas/PolicyBinderInterests"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "kind": {
            "description": "The row's kind: binder.",
            "type": "string"
          },
          "line_id": {
            "description": "The policy line the row belongs to, when it belongs to one.",
            "type": [
              "string",
              "null"
            ]
          },
          "note": {
            "type": [
              "string",
              "null"
            ]
          },
          "number": {
            "type": [
              "string",
              "null"
            ]
          },
          "original_binder_id": {
            "description": "The binder this one extends.",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "description": "The policy's id.",
            "type": "string"
          },
          "print_note": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "reference_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "signature_image_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "signature_short_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "signed_by": {
            "description": "The employee code of who signs the binder.",
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "description": "Active, extended, or another binder status.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "kind",
          "policy_id",
          "line_id",
          "effective_date",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "number",
          "status",
          "binder_effective_date",
          "binder_expiration_date",
          "description",
          "reference_number",
          "original_binder_id",
          "authorized_representative",
          "signed_by",
          "signature_image_id",
          "signature_short_name",
          "editable",
          "note",
          "print_note",
          "form_id",
          "interests"
        ],
        "type": "object"
      },
      "PolicyBinderInterests": {
        "additionalProperties": false,
        "properties": {
          "address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "contact": {
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "fax": {
            "type": [
              "string",
              "null"
            ]
          },
          "fax_area_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "fax_extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "form_detail_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The interests row's id.",
            "type": "string"
          },
          "interest": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "name_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "note": {
            "type": [
              "string",
              "null"
            ]
          },
          "postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "print_note": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "reference_number": {
            "description": "The loan or reference number.",
            "type": [
              "string",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "interest",
          "name",
          "name_2",
          "contact",
          "address_1",
          "address_2",
          "city",
          "state",
          "postal_code",
          "email",
          "fax_area_code",
          "fax",
          "fax_extension",
          "reference_number",
          "note",
          "print_note",
          "form_detail_id"
        ],
        "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"
      },
      "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"
      },
      "PolicyChange": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "description": "The account the request is for. Derived: the account's id, {instance}:customer:{the input}.",
            "type": [
              "string",
              "null"
            ]
          },
          "agency_contact": {
            "description": "The agency contact's employee code.",
            "type": [
              "string",
              "null"
            ]
          },
          "agency_message": {
            "type": [
              "string",
              "null"
            ]
          },
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "company_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "confirmed": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "created_at": {
            "description": "An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "created_by": {
            "description": "The employee code of who created the request.",
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "description": "The policy version's effective date: the term's or an endorsement's. A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The row's id: {instance}:{segment}:{policy}:{policy version}:{key}.",
            "type": "string"
          },
          "interests": {
            "description": "The additional interests the change request names.",
            "items": {
              "$ref": "#/components/schemas/PolicyChangeInterests"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "kind": {
            "description": "The row's kind: change_request.",
            "type": "string"
          },
          "line_id": {
            "description": "The policy line the row belongs to, when it belongs to one.",
            "type": [
              "string",
              "null"
            ]
          },
          "note": {
            "type": [
              "string",
              "null"
            ]
          },
          "number": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "description": "The policy's id.",
            "type": "string"
          },
          "regarding": {
            "type": [
              "string",
              "null"
            ]
          },
          "request_type": {
            "description": "First request, or a follow-up.",
            "type": [
              "string",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "kind",
          "policy_id",
          "line_id",
          "effective_date",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "number",
          "request_type",
          "regarding",
          "created_by",
          "created_at",
          "confirmed",
          "company_code",
          "account_id",
          "agency_contact",
          "agency_message",
          "note",
          "interests"
        ],
        "type": "object"
      },
      "PolicyChangeInterests": {
        "additionalProperties": false,
        "properties": {
          "address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "attention": {
            "type": [
              "string",
              "null"
            ]
          },
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The interests row's id.",
            "type": "string"
          },
          "interest": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "name_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "interest",
          "name",
          "name_2",
          "attention",
          "address_1",
          "address_2",
          "city",
          "state",
          "postal_code"
        ],
        "type": "object"
      },
      "PolicyChecklist": {
        "additionalProperties": false,
        "properties": {
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "complete": {
            "description": "Every step is closed or not applicable.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "effective_date": {
            "description": "The policy version's effective date: the term's or an endorsement's. A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "employee_code": {
            "description": "The employee the checklist is assigned to.",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The row's id: {instance}:{segment}:{policy}:{policy version}:{key}.",
            "type": "string"
          },
          "initiated_at": {
            "description": "An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "kind": {
            "description": "The row's kind: checklist.",
            "type": "string"
          },
          "line_id": {
            "description": "The policy line the row belongs to, when it belongs to one.",
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "description": "The agency checklist it was started from.",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "description": "The policy's id.",
            "type": "string"
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "steps": {
            "description": "The checklist's steps.",
            "items": {
              "$ref": "#/components/schemas/PolicyChecklistSteps"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "kind",
          "policy_id",
          "line_id",
          "effective_date",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "name",
          "employee_code",
          "initiated_at",
          "complete",
          "steps"
        ],
        "type": "object"
      },
      "PolicyChecklistSteps": {
        "additionalProperties": false,
        "properties": {
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "closed_at": {
            "description": "When the system recorded the step closed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "closed_by": {
            "description": "The employee code of who closed it.",
            "type": [
              "string",
              "null"
            ]
          },
          "closed_on": {
            "description": "When the user closed the step or marked it not applicable. A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "days_to_complete": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The steps row's id.",
            "type": "string"
          },
          "not_applicable_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "number": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "step": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue",
                "description": "The kind of step, as the agency's setup lists it."
              },
              {
                "type": "null"
              }
            ]
          },
          "target_date": {
            "description": "A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "number",
          "step",
          "description",
          "days_to_complete",
          "target_date",
          "closed_on",
          "closed_at",
          "closed_by",
          "not_applicable_reason"
        ],
        "type": "object"
      },
      "PolicyClass": {
        "additionalProperties": false,
        "properties": {
          "attached_id": {
            "description": "The record the class is attached to.",
            "type": [
              "string",
              "null"
            ]
          },
          "attached_type": {
            "description": "The kind of record the class is attached to, as AMS 360 numbers its tables.",
            "type": [
              "string",
              "null"
            ]
          },
          "basis": {
            "description": "The premium or rating basis (gross sales, payroll, each).",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "code": {
            "description": "The class code.",
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "description": "The classification, or the activities and duties the class covers.",
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "description": "The policy version's effective date: the term's or an endorsement's. A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "employees": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "estimated_exposure": {
            "description": "The estimated annual remuneration. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "exposure": {
            "description": "The exposure on the basis: the liability exposure, or the workers compensation verified annual remuneration.",
            "type": [
              "string",
              "null"
            ]
          },
          "full_time_employees": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The row's id: {instance}:{segment}:{policy}:{policy version}:{key}.",
            "type": "string"
          },
          "included_excluded": {
            "description": "The partners, officers and relatives the workers compensation line includes or excludes.",
            "items": {
              "$ref": "#/components/schemas/PolicyClassIncludedExcluded"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "kind": {
            "description": "The row's kind: liability, workers_comp.",
            "type": "string"
          },
          "line_id": {
            "description": "The policy line the row belongs to, when it belongs to one.",
            "type": [
              "string",
              "null"
            ]
          },
          "location_id": {
            "description": "The location the class is rated at, a row of the policy's locations. Derived: the id of the row of another collection on the same policy version: the arg is its id segment, the inputs its key.",
            "type": [
              "string",
              "null"
            ]
          },
          "part_time_employees": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "description": "The policy's id.",
            "type": "string"
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "schedule_order": {
            "description": "The item's order in the source schedule, shared by all its versions.",
            "format": "int64",
            "type": "integer"
          },
          "schedule_state": {
            "description": "The item's elected position: current, removed or superseded. Latest effective date wins; removal wins a same-date tie.",
            "enum": [
              "current",
              "removed",
              "superseded"
            ],
            "type": "string"
          },
          "state": {
            "description": "The state the class is rated in.",
            "type": [
              "string",
              "null"
            ]
          },
          "territory": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "kind",
          "policy_id",
          "line_id",
          "effective_date",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "schedule_state",
          "schedule_order",
          "location_id",
          "code",
          "description",
          "basis",
          "exposure",
          "estimated_exposure",
          "territory",
          "state",
          "employees",
          "full_time_employees",
          "part_time_employees",
          "attached_type",
          "attached_id",
          "included_excluded"
        ],
        "type": "object"
      },
      "PolicyClassIncludedExcluded": {
        "additionalProperties": false,
        "properties": {
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "date_of_birth": {
            "description": "A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The included excluded row's id.",
            "type": "string"
          },
          "included": {
            "description": "Inc when the individual is included, Exc when excluded.",
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "ownership_percent": {
            "type": [
              "string",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "description": "Title, or relationship to the owners.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "included",
          "name",
          "title",
          "date_of_birth",
          "ownership_percent"
        ],
        "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"
      },
      "PolicyCoverageRecord": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "description": "The account's instance key.",
            "type": "string"
          },
          "acted_by": {
            "type": "string"
          },
          "actor_id": {
            "type": "string"
          },
          "can_edit": {
            "type": "boolean"
          },
          "coverage_answer": {
            "$ref": "#/components/schemas/Answer"
          },
          "coverage_record": {
            "$ref": "#/components/schemas/Record"
          },
          "datasource": {
            "type": "string"
          },
          "history": {
            "items": {
              "$ref": "#/components/schemas/PolicyCoverageRecordRevision"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "id": {
            "description": "The policy term's instance key, {instance}:policy_term:{policy id}.",
            "type": "string"
          },
          "operation": {
            "type": "string"
          },
          "policy_id": {
            "type": "string"
          },
          "removed": {
            "type": "boolean"
          },
          "reviewer_grants_enabled": {
            "type": "boolean"
          },
          "revision": {
            "format": "int64",
            "type": "integer"
          },
          "term_changed": {
            "type": "boolean"
          },
          "term_snapshot": {
            "$ref": "#/components/schemas/PolicyCoverageTermSnapshot"
          },
          "updated_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "account_id",
          "datasource",
          "policy_id",
          "revision",
          "coverage_record",
          "removed",
          "updated_at",
          "term_snapshot",
          "term_changed",
          "coverage_answer",
          "can_edit",
          "reviewer_grants_enabled"
        ],
        "type": "object"
      },
      "PolicyCoverageRecordRevision": {
        "additionalProperties": false,
        "properties": {
          "acted_by": {
            "type": "string"
          },
          "actor_id": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "operation": {
            "type": "string"
          },
          "record": {
            "$ref": "#/components/schemas/Record"
          },
          "revision": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "revision",
          "operation",
          "actor_id",
          "created_at",
          "record"
        ],
        "type": "object"
      },
      "PolicyCoverageTermSnapshot": {
        "additionalProperties": false,
        "properties": {
          "effective_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "expiration_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_number": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "policy_number",
          "effective_date",
          "expiration_date"
        ],
        "type": "object"
      },
      "PolicyCoveragesSchemeBody": {
        "additionalProperties": false,
        "properties": {
          "coverage_state": {
            "description": "known when actual coverage facts are returned; unknown when the source exposes none. unknown does not mean uninsured.",
            "enum": [
              "known",
              "unknown"
            ],
            "type": "string"
          },
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/BookPolicyCoverage"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "coverage_state",
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "PolicyDiff": {
        "additionalProperties": false,
        "properties": {
          "datasets": {
            "items": {
              "$ref": "#/components/schemas/PolicyDiffEntry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "denied_fields": {
            "items": {
              "$ref": "#/components/schemas/PolicyDiffEntry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "documents": {
            "items": {
              "$ref": "#/components/schemas/PolicyDiffEntry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "surfaces": {
            "items": {
              "$ref": "#/components/schemas/PolicyDiffEntry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "workflows": {
            "items": {
              "$ref": "#/components/schemas/PolicyDiffEntry"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "PolicyDiffEntry": {
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string"
          },
          "published": {
            "type": "string"
          },
          "reference": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "published",
          "reference"
        ],
        "type": "object"
      },
      "PolicyDriver": {
        "additionalProperties": false,
        "properties": {
          "address": {
            "description": "The driver's street address.",
            "type": [
              "string",
              "null"
            ]
          },
          "assigned_vehicle_number": {
            "description": "The number of the vehicle the driver is assigned to.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "commercial_driver_since": {
            "description": "The year the driver began driving commercially.",
            "type": [
              "string",
              "null"
            ]
          },
          "date_hired": {
            "description": "A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "date_of_birth": {
            "description": "A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "defensive_driving_date": {
            "description": "The date the driver completed an approved defensive driving course. A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "deferred_driver": {
            "description": "The Massachusetts auto deferred driver indication.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "driver_training": {
            "description": "A youthful driver passed a driver training program.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "effective_date": {
            "description": "The policy version's effective date: the term's or an endorsement's. A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "employer": {
            "type": [
              "string",
              "null"
            ]
          },
          "employer_address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "employer_address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "employer_city": {
            "type": [
              "string",
              "null"
            ]
          },
          "employer_postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "employer_state": {
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "excluded": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "first_name": {
            "description": "Derived: the given name in a one-column name: after the comma in 'Last, First', otherwise every word but the last.",
            "type": [
              "string",
              "null"
            ]
          },
          "good_driver": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "good_student": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "id": {
            "description": "The row's id: {instance}:{segment}:{policy}:{policy version}:{key}.",
            "type": "string"
          },
          "kind": {
            "description": "The row's kind: business_auto, personal_auto.",
            "type": "string"
          },
          "last_name": {
            "description": "Derived: the family name in a one-column name: before the comma in 'Last, First', otherwise the last word.",
            "type": [
              "string",
              "null"
            ]
          },
          "license_class": {
            "type": [
              "string",
              "null"
            ]
          },
          "license_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "license_state": {
            "type": [
              "string",
              "null"
            ]
          },
          "license_status": {
            "description": "The driver's status: licensed, unlicensed or excluded.",
            "type": [
              "string",
              "null"
            ]
          },
          "licensed_date": {
            "description": "The date the driver became licensed. A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "line_id": {
            "description": "The policy line the row belongs to, when it belongs to one.",
            "type": [
              "string",
              "null"
            ]
          },
          "marital_status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue"
              },
              {
                "type": "null"
              }
            ]
          },
          "marketing_record": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogMarketingRecord",
                "description": "The marketing record the row was read from, when the policy itself holds none of the collection's rows and its renewal schedule sits on the customer's marketing records; null otherwise."
              },
              {
                "type": "null"
              }
            ]
          },
          "mature_driver": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "middle_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "description": "The driver's full name. Derived: the inputs (given, middle and family names) joined with single spaces, blanks skipped.",
            "type": [
              "string",
              "null"
            ]
          },
          "number": {
            "description": "The driver's number on the schedule.",
            "type": [
              "string",
              "null"
            ]
          },
          "occupation": {
            "type": [
              "string",
              "null"
            ]
          },
          "other_license_date": {
            "description": "The other license date the Massachusetts auto application asks for. A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "description": "The policy's id.",
            "type": "string"
          },
          "postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "relationship": {
            "description": "The driver's relationship to the named insured.",
            "type": [
              "string",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "schedule_order": {
            "description": "The item's order in the source schedule, shared by all its versions.",
            "format": "int64",
            "type": "integer"
          },
          "schedule_state": {
            "description": "The item's elected position: current, removed or superseded. Latest effective date wins; removal wins a same-date tie.",
            "enum": [
              "current",
              "removed",
              "superseded"
            ],
            "type": "string"
          },
          "sex": {
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          },
          "student_away": {
            "description": "A student more than 100 miles from home.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "transfer_code": {
            "description": "A business auto transfer marker AMS 360 does not document.",
            "type": [
              "string",
              "null"
            ]
          },
          "usage": {
            "description": "The vehicles a personal auto driver uses, and how.",
            "items": {
              "$ref": "#/components/schemas/PolicyDriverUsage"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "vehicle_use_percent": {
            "description": "The share of the assigned vehicle's use this driver accounts for. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "year_employed": {
            "type": [
              "string",
              "null"
            ]
          },
          "year_licensed": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "kind",
          "policy_id",
          "line_id",
          "effective_date",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "marketing_record",
          "schedule_state",
          "schedule_order",
          "number",
          "name",
          "first_name",
          "middle_name",
          "last_name",
          "date_of_birth",
          "sex",
          "marital_status",
          "license_number",
          "license_state",
          "license_class",
          "year_licensed",
          "licensed_date",
          "other_license_date",
          "license_status",
          "date_hired",
          "commercial_driver_since",
          "vehicle_use_percent",
          "assigned_vehicle_number",
          "excluded",
          "address",
          "city",
          "state",
          "postal_code",
          "employer",
          "employer_address_1",
          "employer_address_2",
          "employer_city",
          "employer_state",
          "employer_postal_code",
          "year_employed",
          "occupation",
          "relationship",
          "defensive_driving_date",
          "deferred_driver",
          "driver_training",
          "good_driver",
          "good_student",
          "mature_driver",
          "student_away",
          "transfer_code",
          "usage"
        ],
        "type": "object"
      },
      "PolicyDriverUsage": {
        "additionalProperties": false,
        "properties": {
          "attached_type": {
            "description": "The kind of record the usage row is attached to, as AMS 360 numbers its tables.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The usage row's id.",
            "type": "string"
          },
          "most_used": {
            "description": "This is the vehicle the driver uses most.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "other": {
            "type": [
              "string",
              "null"
            ]
          },
          "owner": {
            "description": "The driver owns the vehicle.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "principal_operator": {
            "description": "The driver is the vehicle's principal (governing) operator.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "use_percent": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "vehicle_id": {
            "description": "The vehicle used, a row of the policy's vehicles. Derived: the id of the row of another collection on the same policy version: the arg is its id segment, the inputs its key.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "vehicle_id",
          "attached_type",
          "use_percent",
          "principal_operator",
          "owner",
          "most_used",
          "other"
        ],
        "type": "object"
      },
      "PolicyEquipment": {
        "additionalProperties": false,
        "properties": {
          "amount": {
            "description": "The amount of insurance. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "amount_text": {
            "description": "The amount of insurance as entered, when it is not a number.",
            "type": [
              "string",
              "null"
            ]
          },
          "capacity": {
            "type": [
              "string",
              "null"
            ]
          },
          "category": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue",
                "description": "The data processing equipment category."
              },
              {
                "type": "null"
              }
            ]
          },
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "classification": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PolicyEquipmentClassification",
                "description": "The equipment category the equipment is scheduled under, and its totals. Null when the row has none."
              },
              {
                "type": "null"
              }
            ]
          },
          "coinsurance_percent": {
            "type": [
              "string",
              "null"
            ]
          },
          "customer_number": {
            "description": "The number the customer gave the equipment.",
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "description": "What the equipment is, or the unscheduled grouping (miscellaneous hand tools).",
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "description": "The policy version's effective date: the term's or an endorsement's. A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "floater": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PolicyEquipmentFloater",
                "description": "The equipment floater the equipment is on. Null when the row has none."
              },
              {
                "type": "null"
              }
            ]
          },
          "full_value": {
            "description": "What it would cost today to replace the equipment with the same model. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The row's id: {instance}:{segment}:{policy}:{policy version}:{key}.",
            "type": "string"
          },
          "kind": {
            "description": "The row's kind: scheduled, unscheduled, data_processing.",
            "type": "string"
          },
          "line_id": {
            "description": "The policy line the row belongs to, when it belongs to one.",
            "type": [
              "string",
              "null"
            ]
          },
          "manufacturer": {
            "type": [
              "string",
              "null"
            ]
          },
          "maximum_item": {
            "description": "The most any one unscheduled item is insured for. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "maximum_item_text": {
            "type": [
              "string",
              "null"
            ]
          },
          "model": {
            "type": [
              "string",
              "null"
            ]
          },
          "new_or_used": {
            "type": [
              "string",
              "null"
            ]
          },
          "number": {
            "description": "The item's number on the schedule.",
            "type": [
              "string",
              "null"
            ]
          },
          "ownership": {
            "description": "Owned or leased, as the schedule records it (L leased, O owned on data processing equipment).",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "description": "The policy's id.",
            "type": "string"
          },
          "property_id": {
            "description": "The data processing premises section it belongs to, a row of a location's property. Derived: the id of the row of another collection on the same policy version: the arg is its id segment, the inputs its key.",
            "type": [
              "string",
              "null"
            ]
          },
          "purchase_date": {
            "description": "A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "schedule_order": {
            "description": "The item's order in the source schedule, shared by all its versions.",
            "format": "int64",
            "type": "integer"
          },
          "schedule_state": {
            "description": "The item's elected position: current, removed or superseded. Latest effective date wins; removal wins a same-date tie.",
            "enum": [
              "current",
              "removed",
              "superseded"
            ],
            "type": "string"
          },
          "serial": {
            "description": "The serial or identification number.",
            "type": [
              "string",
              "null"
            ]
          },
          "storage": {
            "description": "Where the floater's equipment is stored, and how.",
            "items": {
              "$ref": "#/components/schemas/PolicyEquipmentStorage"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "valuation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue",
                "description": "Actual cash value, replacement cost or another valuation."
              },
              {
                "type": "null"
              }
            ]
          },
          "value": {
            "description": "The equipment's value.",
            "type": [
              "string",
              "null"
            ]
          },
          "value_date": {
            "description": "A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "year": {
            "description": "The model year.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "kind",
          "policy_id",
          "line_id",
          "effective_date",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "schedule_state",
          "schedule_order",
          "number",
          "customer_number",
          "description",
          "category",
          "manufacturer",
          "model",
          "year",
          "serial",
          "new_or_used",
          "ownership",
          "purchase_date",
          "capacity",
          "amount",
          "amount_text",
          "value",
          "full_value",
          "value_date",
          "valuation",
          "maximum_item",
          "maximum_item_text",
          "coinsurance_percent",
          "property_id",
          "floater",
          "classification",
          "storage"
        ],
        "type": "object"
      },
      "PolicyEquipmentClassification": {
        "additionalProperties": false,
        "properties": {
          "category": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue"
              },
              {
                "type": "null"
              }
            ]
          },
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "coinsurance_percent": {
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "floater_id": {
            "description": "The floater the classification is on, the floater part's id. Derived: the id of the row of another collection on the same policy version: the arg is its id segment, the inputs its key.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The classification row's id.",
            "type": "string"
          },
          "location_id": {
            "description": "The inland marine location, a row of the policy's locations. Derived: the id of the row of another collection on the same policy version: the arg is its id segment, the inputs its key.",
            "type": [
              "string",
              "null"
            ]
          },
          "premium_id": {
            "description": "The premium row the classification is rated on.",
            "type": [
              "string",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "schedule_code": {
            "description": "Whether the classification is further defined by a schedule of items.",
            "type": [
              "string",
              "null"
            ]
          },
          "subcategory": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue"
              },
              {
                "type": "null"
              }
            ]
          },
          "total_amount": {
            "description": "The total amount of insurance.",
            "type": [
              "string",
              "null"
            ]
          },
          "total_items": {
            "type": [
              "string",
              "null"
            ]
          },
          "valuation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "category",
          "subcategory",
          "schedule_code",
          "total_amount",
          "total_items",
          "coinsurance_percent",
          "valuation",
          "location_id",
          "premium_id",
          "floater_id"
        ],
        "type": "object"
      },
      "PolicyEquipmentFloater": {
        "additionalProperties": false,
        "properties": {
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The floater row's id.",
            "type": "string"
          },
          "operation_type": {
            "description": "The type of operation the floater covers.",
            "type": [
              "string",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "territory": {
            "description": "The territory of operation.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "operation_type",
          "territory"
        ],
        "type": "object"
      },
      "PolicyEquipmentStorage": {
        "additionalProperties": false,
        "properties": {
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The storage row's id.",
            "type": "string"
          },
          "location_id": {
            "description": "Derived: the id of the row of another collection on the same policy version: the arg is its id segment, the inputs its key.",
            "type": [
              "string",
              "null"
            ]
          },
          "maximum_inside": {
            "description": "The most kept inside the building.",
            "type": [
              "string",
              "null"
            ]
          },
          "maximum_outside": {
            "description": "The most kept outside.",
            "type": [
              "string",
              "null"
            ]
          },
          "months_in_storage": {
            "type": [
              "string",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "security": {
            "description": "The type of security.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "location_id",
          "months_in_storage",
          "maximum_inside",
          "maximum_outside",
          "security"
        ],
        "type": "object"
      },
      "PolicyFormsSchedule": {
        "additionalProperties": false,
        "properties": {
          "capabilities": {
            "description": "Capability states from the merged forms schedule. Null when the coverage record could not be read.",
            "items": {
              "$ref": "#/components/schemas/AnswerCapability"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "company_context": {
            "items": {
              "$ref": "#/components/schemas/BookPolicyCompanyContext"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "coverage_forms": {
            "items": {
              "$ref": "#/components/schemas/BookPolicyForm"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "electronic_forms": {
            "items": {
              "$ref": "#/components/schemas/BookElectronicForm"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "form_types": {
            "items": {
              "$ref": "#/components/schemas/BookPolicyFormType"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "policy_forms": {
            "items": {
              "$ref": "#/components/schemas/BookPolicyForm"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "question_answers": {
            "items": {
              "$ref": "#/components/schemas/BookPolicyQuestionAnswer"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "capabilities",
          "policy_forms",
          "coverage_forms",
          "form_types",
          "electronic_forms",
          "question_answers",
          "company_context"
        ],
        "type": "object"
      },
      "PolicyInterest": {
        "additionalProperties": false,
        "properties": {
          "address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "attached_id": {
            "description": "The record it is attached to.",
            "type": [
              "string",
              "null"
            ]
          },
          "attached_type": {
            "description": "The kind of record it is attached to, as AMS 360 numbers its tables.",
            "type": [
              "string",
              "null"
            ]
          },
          "bonded": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "building_id": {
            "description": "The building it is attached to, a row of a location's buildings. Derived: the id of the row of another collection on the same policy version: the arg is its id segment, the inputs its key.",
            "type": [
              "string",
              "null"
            ]
          },
          "certificate_issued": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "certificate_issued_date": {
            "description": "A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "certificate_required": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "certificate_required_date": {
            "description": "A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "contact": {
            "type": [
              "string",
              "null"
            ]
          },
          "crossed_out_endeavor": {
            "description": "The certificate crosses out 'endeavor to'.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "crossed_out_failure": {
            "description": "The certificate crosses out 'but failure to do so'.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "crossed_out_workers_comp": {
            "description": "The certificate crosses out the workers compensation wording.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "delivery_method": {
            "description": "How documents go to the interest: E email, F fax, P print and mail.",
            "type": [
              "string",
              "null"
            ]
          },
          "description_of_operations": {
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "description": "The policy version's effective date: the term's or an endorsement's. A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "farm_item_id": {
            "description": "The farm item it is attached to.",
            "type": [
              "string",
              "null"
            ]
          },
          "fax": {
            "type": [
              "string",
              "null"
            ]
          },
          "fax_area_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "fax_extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "final_payment_date": {
            "description": "A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The row's id: {instance}:{segment}:{policy}:{policy version}:{key}.",
            "type": "string"
          },
          "interest": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue",
                "description": "The kind of interest: mortgagee, loss payee, additional insured, lienholder."
              },
              {
                "type": "null"
              }
            ]
          },
          "item_description": {
            "description": "The scheduled item's description.",
            "type": [
              "string",
              "null"
            ]
          },
          "job_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "job_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "kind": {
            "description": "The row's kind: commercial.",
            "type": "string"
          },
          "licensed": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "line_id": {
            "description": "The policy line the row belongs to, when it belongs to one.",
            "type": [
              "string",
              "null"
            ]
          },
          "location_id": {
            "description": "The location it is attached to, a row of the policy's locations. Derived: the id of the row of another collection on the same policy version: the arg is its id segment, the inputs its key.",
            "type": [
              "string",
              "null"
            ]
          },
          "master_id": {
            "description": "The agency's master record of the interest.",
            "type": [
              "string",
              "null"
            ]
          },
          "master_type": {
            "description": "The kind of master record, as AMS 360 numbers its tables.",
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "name_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "notice_days": {
            "description": "Days of written notice of cancellation.",
            "type": [
              "string",
              "null"
            ]
          },
          "other_item": {
            "description": "The item it is interested in when that is not a location, building, vehicle, boat or scheduled item.",
            "type": [
              "string",
              "null"
            ]
          },
          "payor": {
            "description": "The interest pays the premium.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "phone_area_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "phone_extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "description": "The policy's id.",
            "type": "string"
          },
          "policy_issued": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "policy_issued_date": {
            "description": "A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_required": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "policy_required_date": {
            "description": "A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "project_end_date": {
            "description": "A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "rank": {
            "description": "The interest's rank (a first or second mortgagee).",
            "type": [
              "string",
              "null"
            ]
          },
          "reference_number": {
            "description": "The number the interest assigns the applicant, such as a loan number.",
            "type": [
              "string",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "kind",
          "policy_id",
          "line_id",
          "effective_date",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "interest",
          "name",
          "name_2",
          "contact",
          "address_1",
          "address_2",
          "city",
          "state",
          "postal_code",
          "phone_area_code",
          "phone",
          "phone_extension",
          "fax_area_code",
          "fax",
          "fax_extension",
          "email",
          "delivery_method",
          "rank",
          "reference_number",
          "location_id",
          "building_id",
          "farm_item_id",
          "attached_type",
          "attached_id",
          "other_item",
          "item_description",
          "master_id",
          "master_type",
          "payor",
          "bonded",
          "licensed",
          "certificate_required",
          "certificate_required_date",
          "certificate_issued",
          "certificate_issued_date",
          "policy_required",
          "policy_required_date",
          "policy_issued",
          "policy_issued_date",
          "notice_days",
          "crossed_out_endeavor",
          "crossed_out_failure",
          "crossed_out_workers_comp",
          "description_of_operations",
          "job_number",
          "job_type",
          "project_end_date",
          "final_payment_date"
        ],
        "type": "object"
      },
      "PolicyLine": {
        "additionalProperties": false,
        "properties": {
          "acord_form_version_id": {
            "description": "The ACORD form and version the line is entered on.",
            "type": [
              "string",
              "null"
            ]
          },
          "annual_policies": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PolicyLineAnnualPolicies",
                "description": "The annual policies the line issues. Null when the row has none."
              },
              {
                "type": "null"
              }
            ]
          },
          "application_created_date": {
            "description": "The effective date the line's form was first opened. A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "description": "The description the user entered for the line.",
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "description": "The policy version's effective date: the term's or an endorsement's. A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "entry_abstraction": {
            "description": "The line's AMS 360 data-entry form, as the agency's line setup (AFW_LOBSETUP.DLABSTRACTIONLOBS) gives it for the line's code: DLBAUTO, DLTRKRS, DLGARAGE, DLAUTOP, DLINMRC, DLLob and the like. Null when the setup has no row for the code, gives the code itself, or gives the code more than one form.",
            "type": [
              "string",
              "null"
            ]
          },
          "entry_form": {
            "description": "The line's data entry form.",
            "type": [
              "string",
              "null"
            ]
          },
          "expiration_date": {
            "description": "When the line was deleted; a far future date while it stands. A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The row's id: {instance}:{segment}:{policy}:{policy version}:{key}.",
            "type": "string"
          },
          "kind": {
            "description": "The row's kind: line.",
            "type": "string"
          },
          "line_changed_date": {
            "description": "When the line was copied or renewed from another policy. A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "line_id": {
            "description": "The policy line the row belongs to, when it belongs to one.",
            "type": [
              "string",
              "null"
            ]
          },
          "line_of_business": {
            "description": "The line of business, as the agency's line setup names it.",
            "type": [
              "string",
              "null"
            ]
          },
          "owned_auto": {
            "description": "Whether the line holds owned vehicles, read from its data-entry form. Derived: whether the line's AMS 360 data-entry form (its line setup's DLABSTRACTIONLOBS) holds a vehicle schedule: true for the business auto, truckers, garage and private passenger auto forms (DLBAUTO, DLTRKRS, DLGARAGE, DLAUTOP), false for every other form AMS 360 names, and null for a form the closed map does not know or a line with no setup.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "plan_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "description": "The policy's id.",
            "type": "string"
          },
          "rating_dates": {
            "description": "When the policy was last rated, per state and line.",
            "items": {
              "$ref": "#/components/schemas/PolicyLineRatingDates"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "sequence": {
            "description": "The order the line was entered in. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "sort_number": {
            "description": "The line's display order. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "state_plan_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "writing_company_code": {
            "description": "The writing company's code, defaulted to the parent company's.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "kind",
          "policy_id",
          "line_id",
          "effective_date",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "line_of_business",
          "entry_abstraction",
          "owned_auto",
          "description",
          "plan_type",
          "state_plan_type",
          "writing_company_code",
          "entry_form",
          "acord_form_version_id",
          "sort_number",
          "sequence",
          "application_created_date",
          "expiration_date",
          "line_changed_date",
          "annual_policies",
          "rating_dates"
        ],
        "type": "object"
      },
      "PolicyLineAnnualPolicies": {
        "additionalProperties": false,
        "properties": {
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The annual policies row's id.",
            "type": "string"
          },
          "motorcycle": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "trailer": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "motorcycle",
          "trailer"
        ],
        "type": "object"
      },
      "PolicyLineRatingDates": {
        "additionalProperties": false,
        "properties": {
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The rating dates row's id.",
            "type": "string"
          },
          "rated_on": {
            "description": "A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "sequence": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "state",
          "rated_on",
          "sequence"
        ],
        "type": "object"
      },
      "PolicyList": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/Policy"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "figures_only": {
            "description": "true when the request sent figures_only: the answer holds the figures alone. data is empty because no row was read, not because the register is empty.",
            "type": "boolean"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "rollups": {
            "$ref": "#/components/schemas/PolicyListRollups",
            "description": "Present only for the rollups the request named in rollups=, each computed by the same read as the page."
          },
          "rows_only": {
            "description": "true when the request sent rows_only: the answer holds the page's rows and page.next alone. total, facets, view and rollups are absent because they were not read, not because they are 0 or empty.",
            "type": "boolean"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "view": {
            "$ref": "#/components/schemas/View",
            "description": "view=full: the register's view filters, hide.status and hide.world, each with its options (every value, its label and the policies it returns under every other filter), its default and the value this read applied, and how many policies they hide. A read with hide.product also counts the policies it hides in hidden.by_filter[hide.product] and in hidden.total. Absent on other views and on a live read."
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "work_window": {
            "$ref": "#/components/schemas/RegisterWorkWindow"
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "PolicyListRollups": {
        "additionalProperties": false,
        "properties": {
          "register": {
            "$ref": "#/components/schemas/PolicyRegisterRollup",
            "description": "The policy register's side figures over the page's filters and subject (rollups=register, view=full)."
          },
          "renewal_step": {
            "$ref": "#/components/schemas/PolicyAccountRenewalStep",
            "description": "Account next renewal selected from a complete bounded account page. Requires account_id and the unfiltered first policy page in expiry order."
          },
          "renewal_workspace": {
            "$ref": "#/components/schemas/PolicyAccountRenewalWorkspace",
            "description": "The selected account policy and its declared renewal workspace, independent of a published plan row."
          },
          "renewals": {
            "$ref": "#/components/schemas/PolicyRenewalsRollup",
            "description": "Renewal counts and figures over the page's filters and subject, from the same register read (rollups=renewals, view=renewal)."
          }
        },
        "type": "object"
      },
      "PolicyLocation": {
        "additionalProperties": false,
        "properties": {
          "address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "annual_revenue": {
            "description": "Annual revenue at the location. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "building_id": {
            "description": "The building an inland marine location is, a row of a location's buildings. Derived: the id of the row of another collection on the same policy version: the arg is its id segment, the inputs its key.",
            "type": [
              "string",
              "null"
            ]
          },
          "building_number": {
            "description": "The building number an inland marine location names.",
            "type": [
              "string",
              "null"
            ]
          },
          "buildings": {
            "description": "The buildings at the location.",
            "items": {
              "$ref": "#/components/schemas/PolicyLocationBuildings"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "country": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue",
                "description": "The ISO country code of the premises."
              },
              {
                "type": "null"
              }
            ]
          },
          "county": {
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "description": "The policy version's effective date: the term's or an endorsement's. A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "foreign": {
            "description": "The premises is outside the United States and its territories.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "id": {
            "description": "The row's id: {instance}:{segment}:{policy}:{policy version}:{key}.",
            "type": "string"
          },
          "interests": {
            "description": "The additional interests (mortgagees, loss payees, additional insureds) on the premises or its buildings.",
            "items": {
              "$ref": "#/components/schemas/PolicyLocationInterests"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "kind": {
            "description": "The row's kind: premises, inland_marine.",
            "type": "string"
          },
          "line_id": {
            "description": "The policy line the row belongs to, when it belongs to one.",
            "type": [
              "string",
              "null"
            ]
          },
          "number": {
            "description": "The location's number on the policy.",
            "type": [
              "string",
              "null"
            ]
          },
          "operations": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PolicyLocationOperations",
                "description": "The nature of the business the policy describes, which applies at every location. Null when the row has none."
              },
              {
                "type": "null"
              }
            ]
          },
          "policy_id": {
            "description": "The policy's id.",
            "type": "string"
          },
          "postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "premises_id": {
            "description": "The commercial premises an inland marine location is, a row of the policy's locations. Derived: the id of the row of another collection on the same policy version: the arg is its id segment, the inputs its key.",
            "type": [
              "string",
              "null"
            ]
          },
          "property": {
            "description": "The commercial property application for the premises (ACORD 140): one per building or premises it describes.",
            "items": {
              "$ref": "#/components/schemas/PolicyLocationProperty"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "schedule_order": {
            "description": "The item's order in the source schedule, shared by all its versions.",
            "format": "int64",
            "type": "integer"
          },
          "schedule_state": {
            "description": "The item's elected position: current, removed or superseded. Latest effective date wins; removal wins a same-date tie.",
            "enum": [
              "current",
              "removed",
              "superseded"
            ],
            "type": "string"
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          },
          "subjects": {
            "description": "The subjects of insurance on the premises' property application: what is insured (building, business personal property, business income) and for how much.",
            "items": {
              "$ref": "#/components/schemas/PolicyLocationSubjects"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "value_reports": {
            "description": "The value reporting declarations on the premises' property application.",
            "items": {
              "$ref": "#/components/schemas/PolicyLocationValueReports"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "kind",
          "policy_id",
          "line_id",
          "effective_date",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "schedule_state",
          "schedule_order",
          "number",
          "address_1",
          "address_2",
          "city",
          "state",
          "postal_code",
          "county",
          "country",
          "foreign",
          "annual_revenue",
          "building_number",
          "premises_id",
          "building_id",
          "operations",
          "buildings",
          "property",
          "subjects",
          "value_reports",
          "interests"
        ],
        "type": "object"
      },
      "PolicyLocationBuildings": {
        "additionalProperties": false,
        "properties": {
          "address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "annual_revenue": {
            "description": "Annual revenue at the building. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "area_open_to_public": {
            "description": "Square feet of the building open to the public. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "city_limits": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue",
                "description": "Inside or outside the city limits."
              },
              {
                "type": "null"
              }
            ]
          },
          "county": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "description": "What the building is (a warehouse, an office).",
            "type": [
              "string",
              "null"
            ]
          },
          "employees": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "full_time_employees": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The buildings row's id.",
            "type": "string"
          },
          "interest": {
            "description": "The applicant's interest in the building (owner, tenant).",
            "type": [
              "string",
              "null"
            ]
          },
          "leased_to_others": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "number": {
            "description": "The building's number at the location.",
            "type": [
              "string",
              "null"
            ]
          },
          "occupied_area": {
            "description": "Square feet of the building the named insured occupies. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "operations": {
            "description": "The business the applicant performs in the building and how it is conducted.",
            "type": [
              "string",
              "null"
            ]
          },
          "part_occupied": {
            "description": "The space the applicant occupies (100%, All).",
            "type": [
              "string",
              "null"
            ]
          },
          "part_time_employees": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "percent_occupied": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "same_as_location": {
            "description": "X when the building's address is the location's, N when it is its own.",
            "type": [
              "string",
              "null"
            ]
          },
          "schedule_order": {
            "description": "The item's order in the source schedule, shared by all its versions.",
            "format": "int64",
            "type": "integer"
          },
          "schedule_state": {
            "description": "The item's elected position: current, removed or superseded. Latest effective date wins; removal wins a same-date tie.",
            "enum": [
              "current",
              "removed",
              "superseded"
            ],
            "type": "string"
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          },
          "total_area": {
            "description": "Square feet of the building insurance is requested for. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "year_built": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "number",
          "description",
          "operations",
          "address_1",
          "address_2",
          "city",
          "state",
          "postal_code",
          "county",
          "same_as_location",
          "city_limits",
          "interest",
          "leased_to_others",
          "year_built",
          "total_area",
          "occupied_area",
          "area_open_to_public",
          "part_occupied",
          "percent_occupied",
          "employees",
          "full_time_employees",
          "part_time_employees",
          "annual_revenue",
          "schedule_state",
          "schedule_order"
        ],
        "type": "object"
      },
      "PolicyLocationInterests": {
        "additionalProperties": false,
        "properties": {
          "building_id": {
            "description": "Derived: the id of the row of another collection on the same policy version: the arg is its id segment, the inputs its key.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The interests row's id.",
            "type": "string"
          },
          "interest": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "name_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "rank": {
            "description": "The interest's rank (a first or second mortgagee).",
            "type": [
              "string",
              "null"
            ]
          },
          "reference_number": {
            "description": "The number the interest assigns the applicant, such as a loan number.",
            "type": [
              "string",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "building_id",
          "interest",
          "name",
          "name_2",
          "rank",
          "reference_number"
        ],
        "type": "object"
      },
      "PolicyLocationOperations": {
        "additionalProperties": false,
        "properties": {
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "description": "The description of the nature of the business.",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The operations row's id.",
            "type": "string"
          },
          "merged_on_download": {
            "description": "A carrier download merges into, rather than replaces, the description.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "description",
          "merged_on_download"
        ],
        "type": "object"
      },
      "PolicyLocationProperty": {
        "additionalProperties": false,
        "properties": {
          "alarm_contact": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue"
              },
              {
                "type": "null"
              }
            ]
          },
          "alarm_extent": {
            "description": "Extent of the alarm protection.",
            "type": [
              "string",
              "null"
            ]
          },
          "alarm_grade": {
            "type": [
              "string",
              "null"
            ]
          },
          "basements": {
            "type": [
              "string",
              "null"
            ]
          },
          "boiler_insured_elsewhere": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "boiler_on_premises": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "building_code_grade": {
            "description": "The ISO building code grade.",
            "type": [
              "string",
              "null"
            ]
          },
          "building_id": {
            "description": "The building the section describes, a row of the location's buildings. Derived: the id of the row of another collection on the same policy version: the arg is its id segment, the inputs its key.",
            "type": [
              "string",
              "null"
            ]
          },
          "burglar_alarm_certificate": {
            "description": "The burglar alarm certificate number.",
            "type": [
              "string",
              "null"
            ]
          },
          "burglar_alarm_expiration": {
            "description": "The burglar alarm certificate's expiration.",
            "type": [
              "string",
              "null"
            ]
          },
          "burglar_alarm_installed_by": {
            "description": "Who installed and services the burglar alarm.",
            "type": [
              "string",
              "null"
            ]
          },
          "burglar_alarm_other": {
            "description": "Other burglar alarm details (police are contacted).",
            "type": [
              "string",
              "null"
            ]
          },
          "burglar_alarm_type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue"
              },
              {
                "type": "null"
              }
            ]
          },
          "business_type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue",
                "description": "The type of business that most closely describes the operations."
              },
              {
                "type": "null"
              }
            ]
          },
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "construction": {
            "description": "Construction type (frame, masonry).",
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "equipment_amount": {
            "description": "Electronic data processing equipment: scheduled total amount.",
            "type": [
              "string",
              "null"
            ]
          },
          "equipment_items": {
            "description": "Electronic data processing equipment: number of scheduled items.",
            "type": [
              "string",
              "null"
            ]
          },
          "equipment_value": {
            "description": "Electronic data processing equipment: scheduled total value.",
            "type": [
              "string",
              "null"
            ]
          },
          "fire_alarm_manufacturer": {
            "type": [
              "string",
              "null"
            ]
          },
          "fire_alarm_type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue"
              },
              {
                "type": "null"
              }
            ]
          },
          "fire_district": {
            "description": "The fire district's name and five character code.",
            "type": [
              "string",
              "null"
            ]
          },
          "fire_district_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "fire_protection": {
            "description": "The type of fire protection (standpipe).",
            "type": [
              "string",
              "null"
            ]
          },
          "fire_station_distance": {
            "description": "Feet to the nearest fire station.",
            "type": [
              "string",
              "null"
            ]
          },
          "front_distance": {
            "type": [
              "string",
              "null"
            ]
          },
          "front_exposure": {
            "description": "The exposure in front of the premises and its distance.",
            "type": [
              "string",
              "null"
            ]
          },
          "fungus_exclusion": {
            "type": [
              "string",
              "null"
            ]
          },
          "fungus_exclusion_form_date": {
            "description": "A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "fungus_exclusion_form_owner": {
            "type": [
              "string",
              "null"
            ]
          },
          "fungus_exclusion_form_used": {
            "type": [
              "string",
              "null"
            ]
          },
          "guards": {
            "description": "Number of security guards.",
            "type": [
              "string",
              "null"
            ]
          },
          "heating_update_year": {
            "type": [
              "string",
              "null"
            ]
          },
          "heating_updated": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "hydrant_distance": {
            "description": "Feet to the nearest hydrant.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The property row's id.",
            "type": "string"
          },
          "inland_marine_location_id": {
            "description": "The inland marine location the section describes. Derived: the id of the row of another collection on the same policy version: the arg is its id segment, the inputs its key.",
            "type": [
              "string",
              "null"
            ]
          },
          "left_distance": {
            "description": "Feet to the structure or use on the left.",
            "type": [
              "string",
              "null"
            ]
          },
          "left_exposure": {
            "type": [
              "string",
              "null"
            ]
          },
          "manufacturing_area": {
            "description": "Square feet used for manufacturing.",
            "type": [
              "string",
              "null"
            ]
          },
          "merchandise_area": {
            "description": "Square feet used for merchandise.",
            "type": [
              "string",
              "null"
            ]
          },
          "open_sides": {
            "description": "Open sides of the structure, 0 to 9.",
            "type": [
              "string",
              "null"
            ]
          },
          "other_coverages": {
            "description": "Additional coverages, restrictions, endorsements and rating information.",
            "type": [
              "string",
              "null"
            ]
          },
          "other_occupancies": {
            "type": [
              "string",
              "null"
            ]
          },
          "other_update_year": {
            "type": [
              "string",
              "null"
            ]
          },
          "other_update_year_entered": {
            "description": "The year other updates were made, as entered on the application.",
            "type": [
              "string",
              "null"
            ]
          },
          "other_updated": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "plumbing_update_year": {
            "type": [
              "string",
              "null"
            ]
          },
          "plumbing_updated": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "protection_class": {
            "type": [
              "string",
              "null"
            ]
          },
          "rear_distance": {
            "description": "Feet to the structure or use to the rear.",
            "type": [
              "string",
              "null"
            ]
          },
          "rear_exposure": {
            "type": [
              "string",
              "null"
            ]
          },
          "right_distance": {
            "description": "Feet to the structure or use on the right.",
            "type": [
              "string",
              "null"
            ]
          },
          "right_exposure": {
            "type": [
              "string",
              "null"
            ]
          },
          "roof_type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue"
              },
              {
                "type": "null"
              }
            ]
          },
          "roof_update_year": {
            "type": [
              "string",
              "null"
            ]
          },
          "roof_updated": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "sprinklered": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "sprinklered_percent": {
            "type": [
              "string",
              "null"
            ]
          },
          "stories": {
            "type": [
              "string",
              "null"
            ]
          },
          "tax_code": {
            "description": "The city, county or state tax code.",
            "type": [
              "string",
              "null"
            ]
          },
          "total_area": {
            "description": "Total area in square feet.",
            "type": [
              "string",
              "null"
            ]
          },
          "wind_class": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue"
              },
              {
                "type": "null"
              }
            ]
          },
          "wiring_update_year": {
            "type": [
              "string",
              "null"
            ]
          },
          "wiring_updated": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "year_built": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "building_id",
          "inland_marine_location_id",
          "description",
          "business_type",
          "construction",
          "year_built",
          "stories",
          "basements",
          "open_sides",
          "total_area",
          "manufacturing_area",
          "merchandise_area",
          "building_code_grade",
          "roof_type",
          "wind_class",
          "protection_class",
          "fire_district",
          "fire_district_code",
          "fire_station_distance",
          "hydrant_distance",
          "fire_protection",
          "sprinklered",
          "sprinklered_percent",
          "fire_alarm_type",
          "fire_alarm_manufacturer",
          "burglar_alarm_type",
          "burglar_alarm_installed_by",
          "burglar_alarm_certificate",
          "burglar_alarm_expiration",
          "burglar_alarm_other",
          "alarm_contact",
          "alarm_grade",
          "alarm_extent",
          "guards",
          "heating_updated",
          "heating_update_year",
          "plumbing_updated",
          "plumbing_update_year",
          "roof_updated",
          "roof_update_year",
          "wiring_updated",
          "wiring_update_year",
          "other_updated",
          "other_update_year",
          "other_update_year_entered",
          "boiler_on_premises",
          "boiler_insured_elsewhere",
          "other_occupancies",
          "front_distance",
          "front_exposure",
          "left_distance",
          "left_exposure",
          "right_distance",
          "right_exposure",
          "rear_distance",
          "rear_exposure",
          "other_coverages",
          "tax_code",
          "equipment_items",
          "equipment_amount",
          "equipment_value",
          "fungus_exclusion",
          "fungus_exclusion_form_date",
          "fungus_exclusion_form_owner",
          "fungus_exclusion_form_used"
        ],
        "type": "object"
      },
      "PolicyLocationSubjects": {
        "additionalProperties": false,
        "properties": {
          "amount": {
            "description": "The amount of insurance. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "amount_text": {
            "description": "The amount of insurance as the application words it, when it is not a number.",
            "type": [
              "string",
              "null"
            ]
          },
          "blanket_number": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "blanket_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "class_code": {
            "description": "The CSP class code.",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "full_value": {
            "description": "The 100 percent value. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The subjects row's id.",
            "type": "string"
          },
          "isotel_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "on_form_159": {
            "description": "Included on the ACORD 159.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "on_statement_of_values": {
            "description": "Included on the ACORD 139 statement of values.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "period_of_rest": {
            "description": "The period of rest per day limit.",
            "type": [
              "string",
              "null"
            ]
          },
          "property_id": {
            "description": "The property application section it belongs to, a row of the location's property. Derived: the id of the row of another collection on the same policy version: the arg is its id segment, the inputs its key.",
            "type": [
              "string",
              "null"
            ]
          },
          "rating_type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue"
              },
              {
                "type": "null"
              }
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "sequence": {
            "description": "The order the subject was entered in. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "subject": {
            "description": "What is insured, as the application names it (Building, Business Personal Property, Business Income).",
            "type": [
              "string",
              "null"
            ]
          },
          "subject_description": {
            "description": "The words the agency's AMS 360 coverage code list gives the subject, when the subject is one of its codes (a carrier download writes the code, not the words): Off premises for OFF. Null when the subject is not a code as the list spells it, when the list describes the code by the code itself, or when it describes the code more than one way.",
            "type": [
              "string",
              "null"
            ]
          },
          "valuation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue",
                "description": "Actual cash value or replacement cost."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "property_id",
          "subject",
          "subject_description",
          "amount",
          "amount_text",
          "full_value",
          "valuation",
          "rating_type",
          "blanket_number",
          "blanket_type",
          "class_code",
          "isotel_number",
          "period_of_rest",
          "on_statement_of_values",
          "on_form_159",
          "sequence"
        ],
        "type": "object"
      },
      "PolicyLocationValueReports": {
        "additionalProperties": false,
        "properties": {
          "acquired_location_amount": {
            "description": "The amount required for reporting new locations.",
            "type": [
              "string",
              "null"
            ]
          },
          "aggregate_limit": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "building_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "declared_location": {
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The value reports row's id.",
            "type": "string"
          },
          "premises": {
            "description": "The location and building number.",
            "type": [
              "string",
              "null"
            ]
          },
          "premises_limit": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "premises_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "property_id": {
            "description": "Derived: the id of the row of another collection on the same policy version: the arg is its id segment, the inputs its key.",
            "type": [
              "string",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "subject": {
            "description": "What is insured, as the application names it.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "property_id",
          "premises_number",
          "building_number",
          "premises",
          "subject",
          "premises_limit",
          "aggregate_limit",
          "declared_location",
          "acquired_location_amount"
        ],
        "type": "object"
      },
      "PolicyPremium": {
        "additionalProperties": false,
        "properties": {
          "acres": {
            "description": "The most acres on the initial farm premises.",
            "type": [
              "string",
              "null"
            ]
          },
          "aggregate_applies_to": {
            "description": "What the general aggregate limit applies to.",
            "type": [
              "string",
              "null"
            ]
          },
          "aggregate_applies_to_other": {
            "type": [
              "string",
              "null"
            ]
          },
          "annualized_estimated_revenue": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "annualized_premium": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "attached_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "attached_type": {
            "description": "The kind of record the row is attached to, as AMS 360 numbers its tables.",
            "type": [
              "string",
              "null"
            ]
          },
          "billed_premium": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "breakouts": {
            "description": "The line premium's split across the agency's divisions, branches, departments and groups.",
            "items": {
              "$ref": "#/components/schemas/PolicyPremiumBreakouts"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "charge_category": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue"
              },
              {
                "type": "null"
              }
            ]
          },
          "charge_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "charge_recipient": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue"
              },
              {
                "type": "null"
              }
            ]
          },
          "code": {
            "description": "The ISO, AAIS or company code of the coverage or class.",
            "type": [
              "string",
              "null"
            ]
          },
          "coinsurance_percent": {
            "type": [
              "string",
              "null"
            ]
          },
          "companies": {
            "description": "The subscription companies the line premium is split among.",
            "items": {
              "$ref": "#/components/schemas/PolicyPremiumCompanies"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "company_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "company_type": {
            "description": "The kind of company the premium is written for.",
            "type": [
              "string",
              "null"
            ]
          },
          "corrected": {
            "description": "A correction of a posted row.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "coverage_description": {
            "description": "The words the agency's AMS 360 coverage code list gives the coverage, when the coverage is one of its codes (EQ Bldg for EQBDG). Null when the coverage is not a code as the list spells it, when the list describes the code by the code itself, or when it describes the code more than one way.",
            "type": [
              "string",
              "null"
            ]
          },
          "coverage_group": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "coverage_level": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue"
              },
              {
                "type": "null"
              }
            ]
          },
          "coverage_listed": {
            "description": "Whether the agency's AMS 360 coverage code list holds the coverage as one of its codes, however it describes it: TSMPR is, a coverage spelled BAILEE is not. Derived: whether the lookup's code list holds the value as one of its codes, whatever words it gives the code: true for a code it holds (even one it describes by the code itself or more than one way), false for a value it does not hold, and null for a blank value.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "coverage_type": {
            "description": "B blanket, S specific, or another type.",
            "type": [
              "string",
              "null"
            ]
          },
          "crime_rate_group": {
            "type": [
              "string",
              "null"
            ]
          },
          "crop_dusting_cost": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "custom_farming_receipts": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "customers": {
            "description": "The sub-customers the line premium is billed to.",
            "items": {
              "$ref": "#/components/schemas/PolicyPremiumCustomers"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "day_care_one_to_three": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "deductible": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "deductible_2": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "deductible_3": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "deductible_applies_to": {
            "description": "As the agency's codes describe it.",
            "type": [
              "string",
              "null"
            ]
          },
          "deductible_basis": {
            "description": "As the agency's codes describe it.",
            "type": [
              "string",
              "null"
            ]
          },
          "deductible_premium_adjustment": {
            "description": "The flood deductible's premium reduction or increase. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "deductible_type": {
            "description": "As the agency's codes describe it.",
            "type": [
              "string",
              "null"
            ]
          },
          "deductible_type_2": {
            "description": "As the agency's codes describe it.",
            "type": [
              "string",
              "null"
            ]
          },
          "deductible_type_3": {
            "description": "As the agency's codes describe it.",
            "type": [
              "string",
              "null"
            ]
          },
          "default_vehicle_coverages": {
            "description": "Whether a business auto line's vehicle coverages default.",
            "type": [
              "string",
              "null"
            ]
          },
          "dependent_contributing_location": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "dependent_leader_location": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "dependent_manufacturing_location": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "dependent_recipient_location": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "domestic_worker_inservant": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "domestic_worker_outservant": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "domestic_workers": {
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "description": "The policy version's effective date: the term's or an endorsement's. A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "employee_benefits_note": {
            "type": [
              "string",
              "null"
            ]
          },
          "employees_covered": {
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "equipment_level": {
            "description": "Where data processing equipment sits: A above ground, B below.",
            "type": [
              "string",
              "null"
            ]
          },
          "estimated_revenue": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "exposure": {
            "type": [
              "string",
              "null"
            ]
          },
          "forms_and_conditions": {
            "type": [
              "string",
              "null"
            ]
          },
          "full_term_premium": {
            "description": "The premium as if the endorsement were in effect for the whole term. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "full_time_employees": {
            "type": [
              "string",
              "null"
            ]
          },
          "garage_operations": {
            "description": "L limited, U unlimited.",
            "type": [
              "string",
              "null"
            ]
          },
          "how_billed": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "description": "The row's id: {instance}:{segment}:{policy}:{policy version}:{key}.",
            "type": "string"
          },
          "included_in_totals": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "inflation_guard_percent": {
            "type": [
              "string",
              "null"
            ]
          },
          "installment_treatment": {
            "description": "How a non-premium charge is spread over the installments.",
            "type": [
              "string",
              "null"
            ]
          },
          "insured_loss_participation_percent": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "kind": {
            "description": "The row's kind: line, coverage, total.",
            "type": "string"
          },
          "limit_1": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "limit_1_text": {
            "type": [
              "string",
              "null"
            ]
          },
          "limit_2": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "limit_2_text": {
            "type": [
              "string",
              "null"
            ]
          },
          "limit_3": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "limit_3_text": {
            "type": [
              "string",
              "null"
            ]
          },
          "limit_4": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "limit_4_text": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_id": {
            "description": "The policy line the row belongs to, when it belongs to one.",
            "type": [
              "string",
              "null"
            ]
          },
          "line_of_business": {
            "type": [
              "string",
              "null"
            ]
          },
          "livestock_head": {
            "type": [
              "string",
              "null"
            ]
          },
          "location_id": {
            "description": "The location the coverage is rated at. Derived: the id of the row of another collection on the same policy version: the arg is its id segment, the inputs its key.",
            "type": [
              "string",
              "null"
            ]
          },
          "loss_payment_limit": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue",
                "description": "Extra expense: the percentages of the limit paid per period."
              },
              {
                "type": "null"
              }
            ]
          },
          "miscellaneous": {
            "type": [
              "string",
              "null"
            ]
          },
          "number_of_days": {
            "type": [
              "string",
              "null"
            ]
          },
          "off_premises_communication": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "off_premises_power": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "off_premises_water": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "on_application": {
            "description": "The row prints on its ACORD form.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "part_time_employees": {
            "type": [
              "string",
              "null"
            ]
          },
          "payroll": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "percent_of_risk": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "plan_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "description": "The policy's id.",
            "type": "string"
          },
          "posted": {
            "description": "Posted to the general ledger.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "premium": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "rate": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "rate_description": {
            "type": [
              "string",
              "null"
            ]
          },
          "rating_basis": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue"
              },
              {
                "type": "null"
              }
            ]
          },
          "reconciled": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue"
              },
              {
                "type": "null"
              }
            ]
          },
          "refrigeration_maintenance": {
            "description": "The spoilage coverage includes a refrigeration maintenance agreement.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "restoration_days": {
            "description": "Days of the period of restoration.",
            "type": [
              "string",
              "null"
            ]
          },
          "retroactive_date": {
            "description": "A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "roadside_stand_sales": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "seasonal": {
            "description": "An additional non-farm premises is seasonal.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "sequence": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          },
          "suspended": {
            "description": "Has billing transactions not yet posted.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "territory": {
            "type": [
              "string",
              "null"
            ]
          },
          "tiered_commission_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "total_asset_value": {
            "description": "ERISA: the plan's total asset value. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "total_group": {
            "description": "The form group the total prints in. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "transaction": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PolicyPremiumTransaction",
                "description": "The policy transaction the line premium belongs to. Null when the row has none."
              },
              {
                "type": "null"
              }
            ]
          },
          "valuation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue"
              },
              {
                "type": "null"
              }
            ]
          },
          "waiting_period_days": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "writing_company_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "written_premium": {
            "description": "The premium for the time the endorsement is in effect. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "zone": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "kind",
          "policy_id",
          "line_id",
          "effective_date",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "description",
          "coverage_description",
          "coverage_listed",
          "line_of_business",
          "premium",
          "written_premium",
          "billed_premium",
          "full_term_premium",
          "annualized_premium",
          "estimated_revenue",
          "annualized_estimated_revenue",
          "charge_code",
          "charge_category",
          "company_code",
          "writing_company_code",
          "company_type",
          "plan_type",
          "how_billed",
          "included_in_totals",
          "corrected",
          "posted",
          "suspended",
          "reconciled",
          "charge_recipient",
          "installment_treatment",
          "percent_of_risk",
          "tiered_commission_id",
          "sequence",
          "location_id",
          "attached_type",
          "attached_id",
          "code",
          "coverage_group",
          "coverage_level",
          "coverage_type",
          "state",
          "territory",
          "zone",
          "exposure",
          "rating_basis",
          "rate",
          "rate_description",
          "limit_1",
          "limit_1_text",
          "limit_2",
          "limit_2_text",
          "limit_3",
          "limit_3_text",
          "limit_4",
          "limit_4_text",
          "deductible",
          "deductible_type",
          "deductible_2",
          "deductible_type_2",
          "deductible_3",
          "deductible_type_3",
          "deductible_basis",
          "deductible_applies_to",
          "deductible_premium_adjustment",
          "coinsurance_percent",
          "valuation",
          "inflation_guard_percent",
          "waiting_period_days",
          "restoration_days",
          "number_of_days",
          "loss_payment_limit",
          "insured_loss_participation_percent",
          "forms_and_conditions",
          "retroactive_date",
          "aggregate_applies_to",
          "aggregate_applies_to_other",
          "payroll",
          "full_time_employees",
          "part_time_employees",
          "employees_covered",
          "employee_benefits_note",
          "domestic_workers",
          "domestic_worker_inservant",
          "domestic_worker_outservant",
          "crime_rate_group",
          "total_asset_value",
          "equipment_level",
          "garage_operations",
          "off_premises_communication",
          "off_premises_power",
          "off_premises_water",
          "refrigeration_maintenance",
          "dependent_contributing_location",
          "dependent_leader_location",
          "dependent_manufacturing_location",
          "dependent_recipient_location",
          "day_care_one_to_three",
          "seasonal",
          "acres",
          "livestock_head",
          "crop_dusting_cost",
          "custom_farming_receipts",
          "roadside_stand_sales",
          "miscellaneous",
          "on_application",
          "total_group",
          "default_vehicle_coverages",
          "transaction",
          "companies",
          "customers",
          "breakouts"
        ],
        "type": "object"
      },
      "PolicyPremiumBreakouts": {
        "additionalProperties": false,
        "properties": {
          "billed_premium": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "branch_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "department_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "division_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "group_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The breakouts row's id.",
            "type": "string"
          },
          "override": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "percent": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "posted": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "premium": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "division_code",
          "branch_code",
          "department_code",
          "group_code",
          "percent",
          "premium",
          "billed_premium",
          "override",
          "posted"
        ],
        "type": "object"
      },
      "PolicyPremiumCompanies": {
        "additionalProperties": false,
        "properties": {
          "billed_premium": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "company_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "company_type": {
            "description": "N insurance, B brokerage.",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "group_percent": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The companies row's id.",
            "type": "string"
          },
          "notes": {
            "type": [
              "string",
              "null"
            ]
          },
          "parent_group_percent": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "participation_percent": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "plan_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_number": {
            "description": "The subscription company's policy number.",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_percent": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "posted": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "premium": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "risk_percent": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "sort_order": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "writing_company_code": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "company_code",
          "writing_company_code",
          "company_type",
          "policy_number",
          "plan_type",
          "premium",
          "billed_premium",
          "participation_percent",
          "policy_percent",
          "risk_percent",
          "group_percent",
          "parent_group_percent",
          "sort_order",
          "posted",
          "notes"
        ],
        "type": "object"
      },
      "PolicyPremiumCustomers": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "description": "Derived: the account's id, {instance}:customer:{the input}.",
            "type": [
              "string",
              "null"
            ]
          },
          "billed_premium": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "company_premium_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The customers row's id.",
            "type": "string"
          },
          "inactive_date": {
            "description": "A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "notes": {
            "type": [
              "string",
              "null"
            ]
          },
          "posted": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "premium": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "account_id",
          "company_premium_id",
          "premium",
          "billed_premium",
          "inactive_date",
          "posted",
          "notes"
        ],
        "type": "object"
      },
      "PolicyPremiumTransaction": {
        "additionalProperties": false,
        "properties": {
          "annualized_estimated_revenue": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "annualized_premium": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "billed_non_premium": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "billing_method": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue"
              },
              {
                "type": "null"
              }
            ]
          },
          "binder_replaced_on": {
            "description": "A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "cancellation_reason": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue"
              },
              {
                "type": "null"
              }
            ]
          },
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "estimated_revenue_percent": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The transaction row's id.",
            "type": "string"
          },
          "installment_day": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "payment_plan_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "posted": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "premium_billed_on_effective_date": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "replaced_binder_effective_date": {
            "description": "A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "source": {
            "description": "Where the transaction row was entered from.",
            "type": [
              "string",
              "null"
            ]
          },
          "transaction_type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue"
              },
              {
                "type": "null"
              }
            ]
          },
          "uploaded": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "transaction_type",
          "description",
          "billing_method",
          "cancellation_reason",
          "premium_billed_on_effective_date",
          "billed_non_premium",
          "annualized_premium",
          "annualized_estimated_revenue",
          "estimated_revenue_percent",
          "installment_day",
          "payment_plan_id",
          "posted",
          "uploaded",
          "source",
          "replaced_binder_effective_date",
          "binder_replaced_on"
        ],
        "type": "object"
      },
      "PolicyPriorCarrier": {
        "additionalProperties": false,
        "properties": {
          "carrier_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "converted_policy_dates": {
            "description": "Dates the conversion from AMS for Windows could not read.",
            "type": [
              "string",
              "null"
            ]
          },
          "converted_retroactive_date": {
            "description": "A retroactive date the conversion could not read.",
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "description": "The policy version's effective date: the term's or an endorsement's. A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The row's id: {instance}:{segment}:{policy}:{policy version}:{key}.",
            "type": "string"
          },
          "kind": {
            "description": "The row's kind: prior_carrier.",
            "type": "string"
          },
          "limit_1": {
            "description": "Limit 1 on the prior policy, when it is a number. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "limit_10": {
            "description": "Limit 10 on the prior policy, when it is a number. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "limit_10_text": {
            "description": "Limit 10 as entered.",
            "type": [
              "string",
              "null"
            ]
          },
          "limit_11": {
            "description": "Limit 11 on the prior policy, when it is a number. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "limit_11_text": {
            "description": "Limit 11 as entered.",
            "type": [
              "string",
              "null"
            ]
          },
          "limit_1_text": {
            "description": "Limit 1 as entered.",
            "type": [
              "string",
              "null"
            ]
          },
          "limit_2": {
            "description": "Limit 2 on the prior policy, when it is a number. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "limit_2_text": {
            "description": "Limit 2 as entered.",
            "type": [
              "string",
              "null"
            ]
          },
          "limit_3": {
            "description": "Limit 3 on the prior policy, when it is a number. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "limit_3_text": {
            "description": "Limit 3 as entered.",
            "type": [
              "string",
              "null"
            ]
          },
          "limit_4": {
            "description": "Limit 4 on the prior policy, when it is a number. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "limit_4_text": {
            "description": "Limit 4 as entered.",
            "type": [
              "string",
              "null"
            ]
          },
          "limit_5": {
            "description": "Limit 5 on the prior policy, when it is a number. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "limit_5_text": {
            "description": "Limit 5 as entered.",
            "type": [
              "string",
              "null"
            ]
          },
          "limit_6": {
            "description": "Limit 6 on the prior policy, when it is a number. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "limit_6_text": {
            "description": "Limit 6 as entered.",
            "type": [
              "string",
              "null"
            ]
          },
          "limit_7": {
            "description": "Limit 7 on the prior policy, when it is a number. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "limit_7_text": {
            "description": "Limit 7 as entered.",
            "type": [
              "string",
              "null"
            ]
          },
          "limit_8": {
            "description": "Limit 8 on the prior policy, when it is a number. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "limit_8_text": {
            "description": "Limit 8 as entered.",
            "type": [
              "string",
              "null"
            ]
          },
          "limit_9": {
            "description": "Limit 9 on the prior policy, when it is a number. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "limit_9_text": {
            "description": "Limit 9 as entered.",
            "type": [
              "string",
              "null"
            ]
          },
          "line_id": {
            "description": "The policy line the row belongs to, when it belongs to one.",
            "type": [
              "string",
              "null"
            ]
          },
          "line_of_business": {
            "type": [
              "string",
              "null"
            ]
          },
          "modification_factor": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "naic_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "occurrence": {
            "description": "Occurrence (true) or claims made (false).",
            "type": [
              "boolean",
              "null"
            ]
          },
          "other": {
            "type": [
              "string",
              "null"
            ]
          },
          "plan_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_effective_date": {
            "description": "A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_expiration_date": {
            "description": "A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "description": "The policy's id.",
            "type": "string"
          },
          "policy_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "premium": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "premium_text": {
            "description": "The premium as entered.",
            "type": [
              "string",
              "null"
            ]
          },
          "producer": {
            "description": "The prior carrier's producer.",
            "type": [
              "string",
              "null"
            ]
          },
          "retroactive_date": {
            "description": "A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "with_carrier_since": {
            "description": "The year the insured joined the prior carrier.",
            "type": [
              "string",
              "null"
            ]
          },
          "year_number": {
            "description": "The column of the ACORD 125 prior carrier section the row prints in. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "kind",
          "policy_id",
          "line_id",
          "effective_date",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "carrier_name",
          "naic_code",
          "line_of_business",
          "policy_number",
          "policy_type",
          "plan_type",
          "policy_effective_date",
          "policy_expiration_date",
          "premium",
          "premium_text",
          "occurrence",
          "retroactive_date",
          "modification_factor",
          "producer",
          "with_carrier_since",
          "year_number",
          "other",
          "converted_policy_dates",
          "converted_retroactive_date",
          "limit_1",
          "limit_1_text",
          "limit_2",
          "limit_2_text",
          "limit_3",
          "limit_3_text",
          "limit_4",
          "limit_4_text",
          "limit_5",
          "limit_5_text",
          "limit_6",
          "limit_6_text",
          "limit_7",
          "limit_7_text",
          "limit_8",
          "limit_8_text",
          "limit_9",
          "limit_9_text",
          "limit_10",
          "limit_10_text",
          "limit_11",
          "limit_11_text"
        ],
        "type": "object"
      },
      "PolicyPropertyItem": {
        "additionalProperties": false,
        "properties": {
          "amount": {
            "description": "The amount of insurance or the item's value. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "amount_text": {
            "description": "The limit as entered, when it is not a number.",
            "type": [
              "string",
              "null"
            ]
          },
          "annual_jobs": {
            "type": [
              "string",
              "null"
            ]
          },
          "appraised": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "average_jobs": {
            "description": "Average jobs of this type at any one time.",
            "type": [
              "string",
              "null"
            ]
          },
          "building_id": {
            "description": "The building the item is in, a row of a location's buildings. Derived: the id of the row of another collection on the same policy version: the arg is its id segment, the inputs its key.",
            "type": [
              "string",
              "null"
            ]
          },
          "category_id": {
            "description": "The farm category the item is in.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "completion_date": {
            "description": "A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "custom_use": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "duration_months": {
            "description": "Average months from first entry to transfer of risk.",
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "description": "The policy version's effective date: the term's or an endorsement's. A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "hay_off_premises": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "id": {
            "description": "The row's id: {instance}:{segment}:{policy}:{policy version}:{key}.",
            "type": "string"
          },
          "inside_or_outside": {
            "description": "Whether the sign is inside or outside the building.",
            "type": [
              "string",
              "null"
            ]
          },
          "kind": {
            "description": "The row's kind: scheduled_property, glass, sign, paper, receivable, farm_item, job, job_type.",
            "type": "string"
          },
          "line_id": {
            "description": "The policy line the row belongs to, when it belongs to one.",
            "type": [
              "string",
              "null"
            ]
          },
          "location_id": {
            "description": "The location the item is at, a row of the policy's locations. Derived: the id of the row of another collection on the same policy version: the arg is its id segment, the inputs its key.",
            "type": [
              "string",
              "null"
            ]
          },
          "material_cost_percent": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "maximum_cost": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "maximum_jobs": {
            "type": [
              "string",
              "null"
            ]
          },
          "minimum_cost": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "number": {
            "description": "The item's number on its schedule.",
            "type": [
              "string",
              "null"
            ]
          },
          "off_premises": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "operation_id": {
            "description": "The builders risk operation the job belongs to.",
            "type": [
              "string",
              "null"
            ]
          },
          "owner_supplied_property": {
            "description": "The property the owner supplies at the job. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "period": {
            "description": "The month and year an outstanding receivable is for.",
            "type": [
              "string",
              "null"
            ]
          },
          "plate_area": {
            "type": [
              "string",
              "null"
            ]
          },
          "plate_length": {
            "type": [
              "string",
              "null"
            ]
          },
          "plate_quantity": {
            "type": [
              "string",
              "null"
            ]
          },
          "plate_width": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "description": "The policy's id.",
            "type": "string"
          },
          "recreational_vehicle_on_premises": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "schedule_id": {
            "description": "The scheduled personal property summary the item belongs to.",
            "type": [
              "string",
              "null"
            ]
          },
          "schedule_order": {
            "description": "The item's order in the source schedule, shared by all its versions.",
            "format": "int64",
            "type": "integer"
          },
          "schedule_state": {
            "description": "The item's elected position: current, removed or superseded. Latest effective date wins; removal wins a same-date tie.",
            "enum": [
              "current",
              "removed",
              "superseded"
            ],
            "type": "string"
          },
          "serial": {
            "type": [
              "string",
              "null"
            ]
          },
          "start_date": {
            "description": "A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "unit_price": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "units": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "use_and_position": {
            "description": "The glass's use and position (ground floor show window).",
            "type": [
              "string",
              "null"
            ]
          },
          "valuation_date": {
            "description": "A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "kind",
          "policy_id",
          "line_id",
          "effective_date",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "schedule_state",
          "schedule_order",
          "number",
          "description",
          "amount",
          "amount_text",
          "location_id",
          "building_id",
          "serial",
          "appraised",
          "valuation_date",
          "schedule_id",
          "plate_quantity",
          "plate_length",
          "plate_width",
          "plate_area",
          "use_and_position",
          "inside_or_outside",
          "period",
          "category_id",
          "units",
          "unit_price",
          "custom_use",
          "off_premises",
          "hay_off_premises",
          "recreational_vehicle_on_premises",
          "operation_id",
          "start_date",
          "completion_date",
          "owner_supplied_property",
          "minimum_cost",
          "maximum_cost",
          "material_cost_percent",
          "duration_months",
          "average_jobs",
          "maximum_jobs",
          "annual_jobs"
        ],
        "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"
      },
      "PolicyRegisterRollup": {
        "additionalProperties": false,
        "properties": {
          "accounts_by_state": {
            "description": "In-force accounts by state, unmoved by filters.",
            "items": {
              "$ref": "#/components/schemas/BookFacetCount"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "accounts_by_tenant": {
            "description": "In-force accounts by source instance, unmoved by filters.",
            "items": {
              "$ref": "#/components/schemas/BookFacetCount"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "book": {
            "$ref": "#/components/schemas/BookTotals",
            "description": "The whole book's totals at the read pin, unmoved by filters."
          },
          "expiring": {
            "$ref": "#/components/schemas/BookExpiringBuckets",
            "description": "In-force policies expiring within 30, 60 and 90 days of the read pin, unmoved by filters."
          },
          "policies": {
            "description": "The filtered policy count.",
            "format": "int64",
            "type": "integer"
          },
          "policies_by_datasource": {
            "description": "In-force policies by source instance, unmoved by filters.",
            "items": {
              "$ref": "#/components/schemas/BookFacetCount"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "policies_by_line": {
            "description": "In-force policies by line of business, unmoved by filters.",
            "items": {
              "$ref": "#/components/schemas/BookFacetCount"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "renewal_window": {
            "$ref": "#/components/schemas/BookRenewalWindow",
            "description": "The definition the expiring counts are measured under."
          },
          "slice": {
            "$ref": "#/components/schemas/BookPolicyRegisterSlice",
            "description": "The filtered policies' premium, priced and unpriced, and their distinct clients."
          }
        },
        "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"
      },
      "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"
      },
      "PolicyRenewalStage": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "label"
        ],
        "type": "object"
      },
      "PolicyRenewalStep": {
        "additionalProperties": false,
        "properties": {
          "ams": {
            "$ref": "#/components/schemas/BookRenewalAMSStep"
          },
          "auto_id_on": {
            "type": [
              "string",
              "null"
            ]
          },
          "certificate_on": {
            "type": [
              "string",
              "null"
            ]
          },
          "datasource": {
            "type": "string"
          },
          "id": {
            "description": "The term's policy id, as the request named it (its instance key).",
            "type": "string"
          },
          "open_step": {
            "$ref": "#/components/schemas/BookRenewalOpenStep"
          },
          "policy_id": {
            "type": "string"
          },
          "since": {
            "description": "The date the steps are read from.",
            "format": "date",
            "type": "string"
          },
          "workbench": {
            "$ref": "#/components/schemas/BookRenewalWorkbenchStep"
          }
        },
        "required": [
          "id",
          "since",
          "datasource",
          "policy_id",
          "ams",
          "open_step",
          "auto_id_on",
          "certificate_on",
          "workbench"
        ],
        "type": "object"
      },
      "PolicyRenewalSteps": {
        "additionalProperties": false,
        "properties": {
          "steps": {
            "items": {
              "$ref": "#/components/schemas/PolicyRenewalStep"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "steps"
        ],
        "type": "object"
      },
      "PolicyRenewalsRollup": {
        "additionalProperties": false,
        "properties": {
          "bands": {
            "description": "The window's fixed day bands: per band, the policies expiring in it and the accounts whose nearest renewal falls in it.",
            "items": {
              "$ref": "#/components/schemas/BookRenewalRegisterBand"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "book": {
            "$ref": "#/components/schemas/BookTotals",
            "description": "The whole book's totals at the read pin, unmoved by filters."
          },
          "closed_count": {
            "description": "Closed lines in the owner cohort.",
            "format": "int64",
            "type": "integer"
          },
          "desk_coverage": {
            "$ref": "#/components/schemas/BookRenewalRegisterDeskCoverage"
          },
          "facets": {
            "$ref": "#/components/schemas/BookRenewalRegisterFacets",
            "description": "The old register summary's facets over the same filtered renewals, member for member (risk, stage, desk, world, bands, producer, client_manager, org, line, carrier, status, nature): one read with the figures above."
          },
          "nearest_days": {
            "format": "int64",
            "type": "integer"
          },
          "nearest_expiration": {
            "type": "string"
          },
          "renewal_open_counts": {
            "$ref": "#/components/schemas/BookRenewalOpenCounts",
            "description": "The open and finished renewals counted with every filter but renewal_open itself (facet semantics): a read filtered to renewal_open=true still says how many are finished. renewals_open and renewals_finished stay counted after the filter."
          },
          "renewal_window": {
            "$ref": "#/components/schemas/BookRenewalWindow",
            "description": "The definition the window is measured under."
          },
          "renewals": {
            "description": "The filtered renewal count (the old register's total).",
            "format": "int64",
            "type": "integer"
          },
          "renewals_finished": {
            "description": "The filtered renewals that are finished: renewals less renewals_open.",
            "format": "int64",
            "type": "integer"
          },
          "renewals_open": {
            "description": "The filtered renewals that are open work: the rows whose renewal_open is true.",
            "format": "int64",
            "type": "integer"
          },
          "retention_cycle_days": {
            "description": "The producer calendar days a mark counts for: a row's marked_this_cycle is true when its newest mark is younger than this. One served number; a client states it from here and keeps no copy.",
            "format": "int64",
            "type": "integer"
          },
          "slice": {
            "$ref": "#/components/schemas/BookRenewalRegisterSlice",
            "description": "The filtered renewals' accounts and premium."
          },
          "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": {
            "additionalProperties": {
              "format": "int64",
              "type": "integer"
            },
            "description": "What the status truth rule did to the in-window rows, by reason.",
            "type": "object"
          }
        },
        "required": [
          "retention_cycle_days",
          "state_source"
        ],
        "type": "object"
      },
      "PolicyTransactionRecord": {
        "additionalProperties": false,
        "properties": {
          "annualized_premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "billed_commission": {
            "type": [
              "string",
              "null"
            ]
          },
          "billed_premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "charge_category": {
            "type": [
              "string",
              "null"
            ]
          },
          "charge_description": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "estimated_revenue": {
            "type": [
              "string",
              "null"
            ]
          },
          "full_term_premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "premium_line_id": {
            "description": "The premium line's AMS 360 id, on a row read from the AMS 360 Data API: its billed commission is the commission-lines row with this id, and billed_commission is null here. Absent on a warehouse row, which carries its billed commission.",
            "type": "string"
          },
          "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"
            ]
          },
          "renewal_review_relevant": {
            "description": "Whether this transaction names renewal or non-renewal within the policy term. Served on the Records transaction read; absent when the term was not read.",
            "type": "boolean"
          },
          "transaction_category": {
            "type": [
              "string",
              "null"
            ]
          },
          "transaction_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "transaction_type_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "written_premium": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "effective_date",
          "transaction_type_code",
          "transaction_type",
          "transaction_category",
          "charge_category",
          "charge_description",
          "premium",
          "billed_premium",
          "written_premium",
          "annualized_premium",
          "full_term_premium",
          "estimated_revenue",
          "billed_commission",
          "description"
        ],
        "type": "object"
      },
      "PolicyUnderwriting": {
        "additionalProperties": false,
        "properties": {
          "answer": {
            "description": "The answer: yes or no for a yes_no question, otherwise the text the application holds.",
            "type": "string"
          },
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "description": "The policy version's effective date: the term's or an endorsement's. A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "group_id": {
            "description": "The application section row the answer belongs to: the answers of one section row share it.",
            "type": "string"
          },
          "id": {
            "description": "The row's id: {instance}:{segment}:{policy}:{policy version}:{key}.",
            "type": "string"
          },
          "kind": {
            "description": "The answer's kind: yes_no, text, number or date.",
            "type": "string"
          },
          "line": {
            "description": "The line of business the section belongs to.",
            "type": "string"
          },
          "line_id": {
            "description": "The policy line the row belongs to, when it belongs to one.",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_id": {
            "description": "The policy's id.",
            "type": "string"
          },
          "question": {
            "description": "The question.",
            "type": "string"
          },
          "question_id": {
            "description": "The question's id within its section.",
            "type": "string"
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "section": {
            "description": "The application section the question is in.",
            "type": "string"
          }
        },
        "required": [
          "id",
          "kind",
          "policy_id",
          "line_id",
          "effective_date",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "group_id",
          "section",
          "line",
          "question_id",
          "question",
          "answer"
        ],
        "type": "object"
      },
      "PolicyVehicle": {
        "additionalProperties": false,
        "properties": {
          "age_group": {
            "type": [
              "string",
              "null"
            ]
          },
          "airbag_type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue"
              },
              {
                "type": "null"
              }
            ]
          },
          "annual_miles": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "anti_theft_credit": {
            "type": [
              "string",
              "null"
            ]
          },
          "anti_theft_device": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue"
              },
              {
                "type": "null"
              }
            ]
          },
          "antilock_brakes": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue"
              },
              {
                "type": "null"
              }
            ]
          },
          "applies_to": {
            "description": "The line the exposure is written for: B business auto, T truckers.",
            "type": [
              "string",
              "null"
            ]
          },
          "body_type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue"
              },
              {
                "type": "null"
              }
            ]
          },
          "bumper_discount": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "carpool": {
            "description": "The carpool discount applies.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "class": {
            "description": "The vehicle's rating class: the industry classification code on a business auto vehicle.",
            "type": [
              "string",
              "null"
            ]
          },
          "collision_symbol": {
            "description": "The ISO symbol for collision.",
            "type": [
              "string",
              "null"
            ]
          },
          "commuting_weeks_per_month": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "company_number": {
            "description": "The number the insurance company gave the vehicle.",
            "type": [
              "string",
              "null"
            ]
          },
          "comprehensive_symbol": {
            "description": "The ISO symbol for comprehensive (other than collision).",
            "type": [
              "string",
              "null"
            ]
          },
          "cost_new": {
            "description": "The original cost of the vehicle and its equipment. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "cost_of_hire": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "count_50_to_200_miles": {
            "description": "Vehicles of this type operating 50 to 200 miles out.",
            "type": [
              "string",
              "null"
            ]
          },
          "count_over_200_miles": {
            "description": "Vehicles of this type operating over 200 miles out.",
            "type": [
              "string",
              "null"
            ]
          },
          "count_within_50_miles": {
            "description": "Vehicles of this type operating within 50 miles.",
            "type": [
              "string",
              "null"
            ]
          },
          "coverage_symbols": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PolicyVehicleCoverageSymbols",
                "description": "The business auto line's covered auto symbols (ACORD 127): which coverages apply to which symbols. Null when the row has none."
              },
              {
                "type": "null"
              }
            ]
          },
          "customer_number": {
            "description": "The number the customer or the agency gave the vehicle.",
            "type": [
              "string",
              "null"
            ]
          },
          "days_driven_to_work": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "days_hired": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date": {
            "description": "The policy version's effective date: the term's or an endorsement's. A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "employee_individual_liability": {
            "description": "Individual liability for employees using their autos in the business.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "engine_size": {
            "description": "Engine displacement in cubic centimeters. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "excluded_from_auto_update": {
            "description": "The vehicle is excluded from automatic updates.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "existing_damage": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "exposure_class": {
            "description": "The ISO class of a hired, non-owned or drive-other-car exposure.",
            "type": [
              "string",
              "null"
            ]
          },
          "far_zone": {
            "description": "For a zone-rated vehicle, the zone of the farthest terminal it travels to. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "farthest_terminal": {
            "description": "The town and state of the terminal farthest from where the vehicle is garaged.",
            "type": [
              "string",
              "null"
            ]
          },
          "fleet": {
            "description": "The vehicle is part of a fleet.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "garage": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PolicyVehicleGarage",
                "description": "Where the business auto vehicle is garaged. Null when the row has none."
              },
              {
                "type": "null"
              }
            ]
          },
          "garage_location": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PolicyVehicleGarageLocation",
                "description": "The premises the business auto vehicle's garage is at, where the garaging street address lives when the garage row holds none of its own. Null when the row has none."
              },
              {
                "type": "null"
              }
            ]
          },
          "garaging": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue",
                "description": "Whether and where the vehicle is garaged."
              },
              {
                "type": "null"
              }
            ]
          },
          "gross_weight": {
            "description": "Gross vehicle weight or gross combination weight.",
            "type": [
              "string",
              "null"
            ]
          },
          "group_count": {
            "description": "How many of the group the non-owned exposure counts. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "group_percent": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "group_type": {
            "description": "Who the non-owned exposure counts: employees, partners, volunteers and so on.",
            "type": [
              "string",
              "null"
            ]
          },
          "hired_liability_rate": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "hired_physical_damage_rate": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "hired_vehicle_count": {
            "description": "Estimated vehicles under hired physical damage coverage. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "horsepower": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The row's id: {instance}:{segment}:{policy}:{policy version}:{key}.",
            "type": "string"
          },
          "if_any_basis": {
            "description": "Hired autos are covered on an if-any basis.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "individuals_covered": {
            "description": "Drive other car: individuals covered.",
            "type": [
              "string",
              "null"
            ]
          },
          "individuals_employed": {
            "description": "Drive other car: individuals employed.",
            "type": [
              "string",
              "null"
            ]
          },
          "industry_code": {
            "description": "The SIC code of the vehicle's business use.",
            "type": [
              "string",
              "null"
            ]
          },
          "intermediate_count": {
            "description": "Vehicles of this type operated in an intermediate area. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "is_new": {
            "description": "The vehicle was bought new.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "kind": {
            "description": "The row's kind: business_auto, personal_auto, umbrella_vehicle_type, hired_auto, non_owned_auto, drive_other_car, trucking_vehicle_type.",
            "type": "string"
          },
          "leased": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "leased_count": {
            "type": [
              "string",
              "null"
            ]
          },
          "leased_date": {
            "description": "A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "license_plate": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_id": {
            "description": "The policy line the row belongs to, when it belongs to one.",
            "type": [
              "string",
              "null"
            ]
          },
          "local_count": {
            "description": "Vehicles of this type operated in a local area. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "long_distance_count": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "long_term_lease_count": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "make": {
            "type": [
              "string",
              "null"
            ]
          },
          "marketing_record": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogMarketingRecord",
                "description": "The marketing record the row was read from, when the policy itself holds none of the collection's rows and its renewal schedule sits on the customer's marketing records; null otherwise."
              },
              {
                "type": "null"
              }
            ]
          },
          "miles_to_work": {
            "description": "Miles one way to work. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "minimum_premium_charged": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "model": {
            "type": [
              "string",
              "null"
            ]
          },
          "multi_car_discount": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "near_zone": {
            "description": "For a zone-rated vehicle, the zone of the nearest terminal it travels to. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "new_or_used": {
            "description": "New or used, as the business auto schedule records it (AMS 360 marks the column unused).",
            "type": [
              "string",
              "null"
            ]
          },
          "non_owned": {
            "description": "The vehicle is not owned by the insured.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "non_owned_count": {
            "type": [
              "string",
              "null"
            ]
          },
          "note_1": {
            "description": "Free text about the vehicle, line 1.",
            "type": [
              "string",
              "null"
            ]
          },
          "note_2": {
            "description": "Free text about the vehicle, line 2.",
            "type": [
              "string",
              "null"
            ]
          },
          "note_3": {
            "description": "Free text about the vehicle, line 3.",
            "type": [
              "string",
              "null"
            ]
          },
          "number": {
            "description": "The vehicle's number on the schedule.",
            "type": [
              "string",
              "null"
            ]
          },
          "odometer": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "on_application": {
            "description": "The exposure prints on the ACORD application.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "owned_by_company_count": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "owned_count": {
            "type": [
              "string",
              "null"
            ]
          },
          "passive_restraint": {
            "type": [
              "string",
              "null"
            ]
          },
          "performance": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue"
              },
              {
                "type": "null"
              }
            ]
          },
          "policy_id": {
            "description": "The policy's id.",
            "type": "string"
          },
          "primary": {
            "description": "The hired auto coverage is primary.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "primary_rating_factor": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "property_hauled": {
            "type": [
              "string",
              "null"
            ]
          },
          "purchase_date": {
            "description": "A date, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "radius": {
            "description": "The radius of operation code.",
            "type": [
              "string",
              "null"
            ]
          },
          "rating_factor": {
            "description": "The sum of the primary and secondary classification rating factors. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "recovery_device": {
            "type": [
              "string",
              "null"
            ]
          },
          "registration_state": {
            "description": "The state the vehicle is licensed or registered in.",
            "type": [
              "string",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "salvaged": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "schedule_order": {
            "description": "The item's order in the source schedule, shared by all its versions.",
            "format": "int64",
            "type": "integer"
          },
          "schedule_state": {
            "description": "The item's elected position: current, removed or superseded. Latest effective date wins; removal wins a same-date tie.",
            "enum": [
              "current",
              "removed",
              "superseded"
            ],
            "type": "string"
          },
          "seating_capacity": {
            "description": "Passenger seats available.",
            "type": [
              "string",
              "null"
            ]
          },
          "secondary_rating_factor": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "social_service_agency": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "special_class_code": {
            "description": "The class code for a vehicle with a special use. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "special_use": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue",
                "description": "The vehicle's special purpose, when it has one."
              },
              {
                "type": "null"
              }
            ]
          },
          "state": {
            "description": "The state the hired, non-owned or drive-other-car exposure is rated in.",
            "type": [
              "string",
              "null"
            ]
          },
          "symbol": {
            "description": "The vehicle's rating symbol.",
            "type": [
              "string",
              "null"
            ]
          },
          "symbol_or_age": {
            "description": "The vehicle's rating symbol or age group.",
            "type": [
              "string",
              "null"
            ]
          },
          "territory": {
            "description": "The rating territory, or a zone-rated trucking vehicle type's territory or zone.",
            "type": [
              "string",
              "null"
            ]
          },
          "total_premium": {
            "description": "An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "transfer_code": {
            "description": "A business auto transfer marker AMS 360 marks unused.",
            "type": [
              "string",
              "null"
            ]
          },
          "trip_lease_count": {
            "description": "Average vehicles of this type leased per trip each month. An exact number, as decimal text.",
            "type": [
              "string",
              "null"
            ]
          },
          "use": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogCodeValue",
                "description": "The vehicle's primary use."
              },
              {
                "type": "null"
              }
            ]
          },
          "vehicle_type": {
            "description": "The type of vehicle an umbrella's auto exposure or a trucker's equipment schedule counts.",
            "type": [
              "string",
              "null"
            ]
          },
          "vin": {
            "description": "The vehicle identification number.",
            "type": [
              "string",
              "null"
            ]
          },
          "year": {
            "description": "The model year.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "kind",
          "policy_id",
          "line_id",
          "effective_date",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "marketing_record",
          "schedule_state",
          "schedule_order",
          "number",
          "customer_number",
          "company_number",
          "year",
          "make",
          "model",
          "vin",
          "body_type",
          "license_plate",
          "registration_state",
          "cost_new",
          "horsepower",
          "engine_size",
          "purchase_date",
          "class",
          "use",
          "territory",
          "radius",
          "farthest_terminal",
          "near_zone",
          "far_zone",
          "industry_code",
          "special_class_code",
          "special_use",
          "symbol_or_age",
          "gross_weight",
          "seating_capacity",
          "rating_factor",
          "primary_rating_factor",
          "secondary_rating_factor",
          "fleet",
          "excluded_from_auto_update",
          "new_or_used",
          "is_new",
          "transfer_code",
          "age_group",
          "airbag_type",
          "antilock_brakes",
          "anti_theft_credit",
          "anti_theft_device",
          "collision_symbol",
          "comprehensive_symbol",
          "symbol",
          "garaging",
          "bumper_discount",
          "carpool",
          "existing_damage",
          "leased",
          "leased_date",
          "multi_car_discount",
          "non_owned",
          "salvaged",
          "annual_miles",
          "miles_to_work",
          "days_driven_to_work",
          "commuting_weeks_per_month",
          "odometer",
          "note_1",
          "note_2",
          "note_3",
          "passive_restraint",
          "performance",
          "recovery_device",
          "total_premium",
          "vehicle_type",
          "count_within_50_miles",
          "count_50_to_200_miles",
          "count_over_200_miles",
          "leased_count",
          "non_owned_count",
          "owned_by_company_count",
          "local_count",
          "intermediate_count",
          "long_distance_count",
          "long_term_lease_count",
          "trip_lease_count",
          "owned_count",
          "property_hauled",
          "state",
          "exposure_class",
          "applies_to",
          "on_application",
          "cost_of_hire",
          "hired_liability_rate",
          "hired_physical_damage_rate",
          "if_any_basis",
          "minimum_premium_charged",
          "primary",
          "days_hired",
          "hired_vehicle_count",
          "group_type",
          "group_count",
          "employee_individual_liability",
          "social_service_agency",
          "group_percent",
          "individuals_covered",
          "individuals_employed",
          "garage",
          "garage_location",
          "coverage_symbols"
        ],
        "type": "object"
      },
      "PolicyVehicleCoverageSymbols": {
        "additionalProperties": false,
        "properties": {
          "additional_coverage_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "additional_coverage_1_symbol_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "additional_coverage_1_symbol_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "additional_coverage_1_symbol_3": {
            "type": [
              "string",
              "null"
            ]
          },
          "additional_coverage_1_symbol_4": {
            "type": [
              "string",
              "null"
            ]
          },
          "additional_coverage_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "additional_coverage_2_symbol_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "additional_coverage_2_symbol_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "additional_coverage_2_symbol_3": {
            "type": [
              "string",
              "null"
            ]
          },
          "additional_coverage_2_symbol_4": {
            "type": [
              "string",
              "null"
            ]
          },
          "additional_coverage_3": {
            "type": [
              "string",
              "null"
            ]
          },
          "additional_coverage_3_symbol_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "additional_coverage_3_symbol_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "additional_coverage_3_symbol_3": {
            "type": [
              "string",
              "null"
            ]
          },
          "additional_coverage_3_symbol_4": {
            "type": [
              "string",
              "null"
            ]
          },
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "endorsements": {
            "description": "Endorsements, forms and conditions.",
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The coverage symbols row's id.",
            "type": "string"
          },
          "liability_other_description": {
            "type": [
              "string",
              "null"
            ]
          },
          "property_protection_symbol": {
            "type": [
              "string",
              "null"
            ]
          },
          "property_protection_symbol_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "symbols": {
            "description": "The coverages and covered auto symbols that apply.",
            "items": {
              "$ref": "#/components/schemas/CatalogGridCell"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "liability_other_description",
          "property_protection_symbol",
          "property_protection_symbol_2",
          "additional_coverage_1",
          "additional_coverage_1_symbol_1",
          "additional_coverage_1_symbol_2",
          "additional_coverage_1_symbol_3",
          "additional_coverage_1_symbol_4",
          "additional_coverage_2",
          "additional_coverage_2_symbol_1",
          "additional_coverage_2_symbol_2",
          "additional_coverage_2_symbol_3",
          "additional_coverage_2_symbol_4",
          "additional_coverage_3",
          "additional_coverage_3_symbol_1",
          "additional_coverage_3_symbol_2",
          "additional_coverage_3_symbol_3",
          "additional_coverage_3_symbol_4",
          "endorsements",
          "symbols"
        ],
        "type": "object"
      },
      "PolicyVehicleGarage": {
        "additionalProperties": false,
        "properties": {
          "address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "attached_id": {
            "description": "The record the garage row is attached to.",
            "type": [
              "string",
              "null"
            ]
          },
          "attached_type": {
            "description": "The kind of record the garage row is attached to, as AMS 360 numbers its tables.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The garage row's id.",
            "type": "string"
          },
          "inland_marine_location_id": {
            "description": "The inland marine location the garage is at. Derived: the id of the row of another collection on the same policy version: the arg is its id segment, the inputs its key.",
            "type": [
              "string",
              "null"
            ]
          },
          "location_id": {
            "description": "The premises the garage is at, a row of the policy's locations. Derived: the id of the row of another collection on the same policy version: the arg is its id segment, the inputs its key.",
            "type": [
              "string",
              "null"
            ]
          },
          "number": {
            "type": [
              "string",
              "null"
            ]
          },
          "postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          },
          "tax_code": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "number",
          "description",
          "address_1",
          "address_2",
          "city",
          "state",
          "postal_code",
          "tax_code",
          "location_id",
          "inland_marine_location_id",
          "attached_type",
          "attached_id"
        ],
        "type": "object"
      },
      "PolicyVehicleGarageLocation": {
        "additionalProperties": false,
        "properties": {
          "address_1": {
            "type": [
              "string",
              "null"
            ]
          },
          "address_2": {
            "type": [
              "string",
              "null"
            ]
          },
          "changed_at": {
            "description": "When the row last changed. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "changed_by": {
            "description": "The employee code of who last changed the row.",
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "country": {
            "type": [
              "string",
              "null"
            ]
          },
          "county": {
            "type": [
              "string",
              "null"
            ]
          },
          "entered_at": {
            "description": "When the row was entered. An ISO 8601 timestamp.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The garage location row's id.",
            "type": "string"
          },
          "number": {
            "type": [
              "string",
              "null"
            ]
          },
          "postal_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "row_status": {
            "description": "The row's state on its policy version: A added, C changed, D deleted.",
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "entered_at",
          "changed_at",
          "changed_by",
          "row_status",
          "number",
          "address_1",
          "address_2",
          "city",
          "state",
          "postal_code",
          "county",
          "country"
        ],
        "type": "object"
      },
      "PolicyVersionSummary": {
        "additionalProperties": false,
        "properties": {
          "published_at": {
            "format": "date-time",
            "type": "string"
          },
          "published_by": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "version": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "version",
          "published_by",
          "reason",
          "published_at"
        ],
        "type": "object"
      },
      "PortfolioCollectionsAging": {
        "additionalProperties": false,
        "properties": {
          "current": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "d31": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "d61": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "d90": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "system": {
            "type": "string"
          }
        },
        "required": [
          "system",
          "current",
          "d31",
          "d61",
          "d90"
        ],
        "type": "object"
      },
      "PortfolioCollectionsBody": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/PortfolioCollectionsRead"
          },
          "meta": {
            "$ref": "#/components/schemas/AppStoreMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "PortfolioCollectionsManager": {
        "additionalProperties": false,
        "properties": {
          "label": {
            "type": "string"
          },
          "properties": {
            "format": "int64",
            "type": "integer"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "value",
          "label",
          "properties"
        ],
        "type": "object"
      },
      "PortfolioCollectionsRead": {
        "additionalProperties": false,
        "properties": {
          "aging": {
            "items": {
              "$ref": "#/components/schemas/PortfolioCollectionsAging"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "limit": {
            "format": "int64",
            "type": "integer"
          },
          "manager": {
            "type": [
              "string",
              "null"
            ]
          },
          "managers": {
            "items": {
              "$ref": "#/components/schemas/PortfolioCollectionsManager"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "page": {
            "format": "int64",
            "type": "integer"
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/PortfolioCollectionsRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/PortfolioScope"
          },
          "summary": {
            "$ref": "#/components/schemas/PortfolioCollectionsSummary"
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "manager",
          "page",
          "limit",
          "total",
          "managers",
          "summary",
          "aging",
          "rows",
          "scope"
        ],
        "type": "object"
      },
      "PortfolioCollectionsRow": {
        "additionalProperties": false,
        "properties": {
          "accounts": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "asOf": {
            "type": "string"
          },
          "current": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "d31": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "d61": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "d90": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "manager": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "net": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "propertyId": {
            "type": "string"
          },
          "reportType": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "system": {
            "type": "string"
          },
          "total": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "propertyId",
          "name",
          "slug",
          "manager",
          "system",
          "reportType",
          "asOf",
          "total",
          "net",
          "current",
          "d31",
          "d61",
          "d90",
          "accounts"
        ],
        "type": "object"
      },
      "PortfolioCollectionsSummary": {
        "additionalProperties": false,
        "properties": {
          "accounts": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "delinquent": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "net": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "prepayments": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "delinquent",
          "net",
          "prepayments",
          "accounts"
        ],
        "type": "object"
      },
      "PortfolioFund": {
        "additionalProperties": false,
        "properties": {
          "label": {
            "type": "string"
          },
          "properties": {
            "format": "int64",
            "type": "integer"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "value",
          "label",
          "properties"
        ],
        "type": "object"
      },
      "PortfolioLeasingBody": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/PortfolioLeasingRead"
          },
          "meta": {
            "$ref": "#/components/schemas/AppStoreMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "PortfolioLeasingConcession": {
        "additionalProperties": false,
        "properties": {
          "amount": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "asOf": {
            "type": [
              "string",
              "null"
            ]
          },
          "leases": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "occupancy": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "slug": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "slug",
          "asOf",
          "leases",
          "amount",
          "occupancy"
        ],
        "type": "object"
      },
      "PortfolioLeasingExpiry": {
        "additionalProperties": false,
        "properties": {
          "asOf": {
            "type": [
              "string",
              "null"
            ]
          },
          "expiring": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "withOffers": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "name",
          "slug",
          "asOf",
          "expiring",
          "withOffers"
        ],
        "type": "object"
      },
      "PortfolioLeasingPSF": {
        "additionalProperties": false,
        "properties": {
          "asOf": {
            "type": [
              "string",
              "null"
            ]
          },
          "leaseRentPsf": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "marketRentPsf": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "slug",
          "asOf",
          "leaseRentPsf",
          "marketRentPsf"
        ],
        "type": "object"
      },
      "PortfolioLeasingPortfolio": {
        "additionalProperties": false,
        "properties": {
          "lossToLeaseMonthly": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "netExposurePct": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "occupancyPct": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "occupancyPct",
          "netExposurePct",
          "lossToLeaseMonthly"
        ],
        "type": "object"
      },
      "PortfolioLeasingRead": {
        "additionalProperties": false,
        "properties": {
          "concessions": {
            "items": {
              "$ref": "#/components/schemas/PortfolioLeasingConcession"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "coverage": {
            "items": {
              "$ref": "#/components/schemas/PortfolioSectionCoverage"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "expiring": {
            "items": {
              "$ref": "#/components/schemas/PortfolioLeasingExpiry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "leaseTermRents": {
            "items": {
              "$ref": "#/components/schemas/PortfolioLeasingTermRent"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "portfolio": {
            "$ref": "#/components/schemas/PortfolioLeasingPortfolio"
          },
          "psf": {
            "items": {
              "$ref": "#/components/schemas/PortfolioLeasingPSF"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "renewals": {
            "$ref": "#/components/schemas/PortfolioLeasingRenewals"
          },
          "scope": {
            "$ref": "#/components/schemas/PortfolioScope"
          },
          "trade": {
            "items": {
              "$ref": "#/components/schemas/PortfolioLeasingTrade"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "scope",
          "coverage",
          "portfolio",
          "renewals",
          "trade",
          "psf",
          "concessions",
          "leaseTermRents",
          "expiring"
        ],
        "type": "object"
      },
      "PortfolioLeasingRenewals": {
        "additionalProperties": false,
        "properties": {
          "accepted": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "countedBy": {
            "type": "string"
          },
          "moveOutNotices": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "offersSent": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "renewed": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "viewed": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "offersSent",
          "viewed",
          "accepted",
          "renewed",
          "moveOutNotices",
          "countedBy"
        ],
        "type": "object"
      },
      "PortfolioLeasingTermRent": {
        "additionalProperties": false,
        "properties": {
          "asOf": {
            "type": [
              "string",
              "null"
            ]
          },
          "avgLeaseRent": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "avgMarketRent": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "leases": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "slug",
          "asOf",
          "leases",
          "avgLeaseRent",
          "avgMarketRent"
        ],
        "type": "object"
      },
      "PortfolioLeasingTrade": {
        "additionalProperties": false,
        "properties": {
          "changePct": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "communities": {
            "format": "int64",
            "type": "integer"
          },
          "label": {
            "type": "string"
          },
          "leases": {
            "format": "double",
            "type": "number"
          }
        },
        "required": [
          "label",
          "leases",
          "communities",
          "changePct"
        ],
        "type": "object"
      },
      "PortfolioLinkedCounts": {
        "additionalProperties": false,
        "properties": {
          "all": {
            "format": "int64",
            "type": "integer"
          },
          "linked": {
            "format": "int64",
            "type": "integer"
          },
          "unlinked": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "all",
          "linked",
          "unlinked"
        ],
        "type": "object"
      },
      "PortfolioManager": {
        "additionalProperties": false,
        "properties": {
          "label": {
            "type": "string"
          },
          "properties": {
            "format": "int64",
            "type": "integer"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "value",
          "label",
          "properties"
        ],
        "type": "object"
      },
      "PortfolioManagerGroup": {
        "additionalProperties": false,
        "properties": {
          "delinquencyBalance": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "delinquencyReporting": {
            "format": "int64",
            "type": "integer"
          },
          "lossToLeaseMonthly": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "lossToLeaseReporting": {
            "format": "int64",
            "type": "integer"
          },
          "manager": {
            "type": "string"
          },
          "occupancyPct": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "occupancyReporting": {
            "format": "int64",
            "type": "integer"
          },
          "properties": {
            "format": "int64",
            "type": "integer"
          },
          "systems": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "units": {
            "format": "double",
            "type": "number"
          },
          "unitsReporting": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "manager",
          "systems",
          "properties",
          "units",
          "unitsReporting",
          "occupancyPct",
          "occupancyReporting",
          "lossToLeaseMonthly",
          "lossToLeaseReporting",
          "delinquencyBalance",
          "delinquencyReporting"
        ],
        "type": "object"
      },
      "PortfolioOperationsBody": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/PortfolioOperationsRead"
          },
          "meta": {
            "$ref": "#/components/schemas/AppStoreMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "PortfolioOperationsHeadline": {
        "additionalProperties": false,
        "properties": {
          "down": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "makeReadyReporting": {
            "format": "int64",
            "type": "integer"
          },
          "modelAdmin": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "notReady": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "over60": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "turns": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "vacantUnits": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "vacantUnits",
          "modelAdmin",
          "down",
          "notReady",
          "over60",
          "turns",
          "makeReadyReporting"
        ],
        "type": "object"
      },
      "PortfolioOperationsRead": {
        "additionalProperties": false,
        "properties": {
          "coverage": {
            "items": {
              "$ref": "#/components/schemas/PortfolioSectionCoverage"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "headline": {
            "$ref": "#/components/schemas/PortfolioOperationsHeadline"
          },
          "reasons": {
            "$ref": "#/components/schemas/PortfolioOperationsReadReasonsStruct"
          },
          "scope": {
            "$ref": "#/components/schemas/PortfolioScope"
          },
          "turns": {
            "items": {
              "$ref": "#/components/schemas/PortfolioOperationsTurn"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "vacancies": {
            "items": {
              "$ref": "#/components/schemas/PortfolioOperationsRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "workOrders": {
            "items": {
              "$ref": "#/components/schemas/PortfolioOperationsWorkOrder"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "scope",
          "coverage",
          "headline",
          "vacancies",
          "turns",
          "workOrders",
          "reasons"
        ],
        "type": "object"
      },
      "PortfolioOperationsReadReasonsStruct": {
        "additionalProperties": false,
        "properties": {
          "moveOut": {
            "items": {
              "$ref": "#/components/schemas/PortfolioReason"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "vacancy": {
            "items": {
              "$ref": "#/components/schemas/PortfolioReason"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "vacancy",
          "moveOut"
        ],
        "type": "object"
      },
      "PortfolioOperationsRow": {
        "additionalProperties": false,
        "properties": {
          "asOf": {
            "type": [
              "string",
              "null"
            ]
          },
          "days": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "down": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "notReady": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "over60": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "slug": {
            "type": "string"
          },
          "units": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "vacant": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "name",
          "slug",
          "asOf",
          "units",
          "vacant",
          "over60",
          "notReady",
          "down",
          "days"
        ],
        "type": "object"
      },
      "PortfolioOperationsTurn": {
        "additionalProperties": false,
        "properties": {
          "asOf": {
            "type": [
              "string",
              "null"
            ]
          },
          "days": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "turns": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "name",
          "slug",
          "asOf",
          "turns",
          "days"
        ],
        "type": "object"
      },
      "PortfolioOperationsWorkOrder": {
        "additionalProperties": false,
        "properties": {
          "asOf": {
            "type": [
              "string",
              "null"
            ]
          },
          "completed": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "opened": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "pending": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "slug": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "slug",
          "asOf",
          "opened",
          "completed",
          "pending"
        ],
        "type": "object"
      },
      "PortfolioPlanBody": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/PortfolioPlanRead"
          },
          "meta": {
            "$ref": "#/components/schemas/AppStoreMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "PortfolioPlanChartRow": {
        "additionalProperties": false,
        "properties": {
          "label": {
            "type": "string"
          },
          "plan": {
            "format": "double",
            "type": "number"
          },
          "today": {
            "format": "double",
            "type": "number"
          }
        },
        "required": [
          "label",
          "today",
          "plan"
        ],
        "type": "object"
      },
      "PortfolioPlanRead": {
        "additionalProperties": false,
        "properties": {
          "asOf": {
            "type": "string"
          },
          "confirmedRows": {
            "items": {
              "$ref": "#/components/schemas/PortfolioPlanRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "noiRows": {
            "items": {
              "$ref": "#/components/schemas/PortfolioPlanRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "rentChart": {
            "items": {
              "$ref": "#/components/schemas/PortfolioPlanChartRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "returnRows": {
            "items": {
              "$ref": "#/components/schemas/PortfolioPlanRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/PortfolioScope"
          },
          "summary": {
            "$ref": "#/components/schemas/PortfolioPlanSummary"
          },
          "unconfirmedRows": {
            "items": {
              "$ref": "#/components/schemas/PortfolioPlanRow"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "scope",
          "asOf",
          "confirmedRows",
          "unconfirmedRows",
          "noiRows",
          "returnRows",
          "rentChart",
          "summary"
        ],
        "type": "object"
      },
      "PortfolioPlanRow": {
        "additionalProperties": false,
        "properties": {
          "closingDate": {
            "type": [
              "string",
              "null"
            ]
          },
          "currentRent": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "effectiveLeases": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "effectiveRent": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "effectiveRentNote": {
            "type": [
              "string",
              "null"
            ]
          },
          "grossIrr": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "grossMultiple": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "marketRent": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "matchedBy": {
            "type": [
              "string",
              "null"
            ]
          },
          "modelLink": {
            "type": "string"
          },
          "modelName": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "netIrr": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "netMultiple": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "planNoi": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "planRent": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "planYear": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "rentBasis": {
            "type": [
              "string",
              "null"
            ]
          },
          "rentGapAnnual": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "rentGapMonthly": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "reportAsOf": {
            "type": [
              "string",
              "null"
            ]
          },
          "slug": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "startingRent": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "t12Months": {
            "format": "int64",
            "type": "integer"
          },
          "t12Noi": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "t12PlanYear": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "units": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "unitsFrom": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "slug",
          "name",
          "source",
          "modelName",
          "modelLink",
          "matchedBy",
          "closingDate",
          "units",
          "unitsFrom",
          "planYear",
          "startingRent",
          "planRent",
          "marketRent",
          "effectiveRent",
          "effectiveRentNote",
          "currentRent",
          "rentBasis",
          "rentGapMonthly",
          "rentGapAnnual",
          "effectiveLeases",
          "t12Noi",
          "t12PlanYear",
          "planNoi",
          "grossIrr",
          "netIrr",
          "grossMultiple",
          "netMultiple",
          "reportAsOf",
          "t12Months"
        ],
        "type": "object"
      },
      "PortfolioPlanSummary": {
        "additionalProperties": false,
        "properties": {
          "belowPlan": {
            "format": "int64",
            "type": "integer"
          },
          "compared": {
            "format": "int64",
            "type": "integer"
          },
          "confirmed": {
            "format": "int64",
            "type": "integer"
          },
          "grossIrr": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "linked": {
            "format": "int64",
            "type": "integer"
          },
          "netIrr": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "netMultiple": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "placed": {
            "format": "int64",
            "type": "integer"
          },
          "unconfirmed": {
            "format": "int64",
            "type": "integer"
          },
          "unconfirmedCompared": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "linked",
          "confirmed",
          "unconfirmed",
          "placed",
          "compared",
          "belowPlan",
          "unconfirmedCompared",
          "netIrr",
          "grossIrr",
          "netMultiple"
        ],
        "type": "object"
      },
      "PortfolioPropertiesBody": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/PortfolioPropertiesRead"
          },
          "meta": {
            "$ref": "#/components/schemas/AppStoreMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "PortfolioPropertiesRead": {
        "additionalProperties": false,
        "properties": {
          "columns": {
            "$ref": "#/components/schemas/PortfolioPropertyColumns"
          },
          "direction": {
            "type": "string"
          },
          "limit": {
            "format": "int64",
            "type": "integer"
          },
          "linked": {
            "type": "string"
          },
          "linkedCounts": {
            "$ref": "#/components/schemas/PortfolioLinkedCounts"
          },
          "managers": {
            "items": {
              "$ref": "#/components/schemas/PortfolioManagerGroup"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "page": {
            "format": "int64",
            "type": "integer"
          },
          "psf": {
            "items": {
              "$ref": "#/components/schemas/PortfolioPropertyPSF"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "reports": {
            "items": {
              "$ref": "#/components/schemas/PortfolioReport"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/PortfolioPropertySummary"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/PortfolioScope"
          },
          "sort": {
            "type": "string"
          },
          "total": {
            "format": "int64",
            "type": "integer"
          },
          "units": {
            "format": "double",
            "type": "number"
          }
        },
        "required": [
          "scope",
          "page",
          "limit",
          "total",
          "sort",
          "direction",
          "linked",
          "rows",
          "managers",
          "units",
          "psf",
          "linkedCounts",
          "columns",
          "reports"
        ],
        "type": "object"
      },
      "PortfolioPropertyColumns": {
        "additionalProperties": false,
        "properties": {
          "delinquency": {
            "type": "boolean"
          },
          "exposure": {
            "type": "boolean"
          },
          "ltl": {
            "type": "boolean"
          },
          "market": {
            "type": "boolean"
          },
          "occupancy": {
            "type": "boolean"
          },
          "psf": {
            "type": "boolean"
          },
          "tradeout": {
            "type": "boolean"
          }
        },
        "required": [
          "occupancy",
          "exposure",
          "market",
          "psf",
          "ltl",
          "tradeout",
          "delinquency"
        ],
        "type": "object"
      },
      "PortfolioPropertyPSF": {
        "additionalProperties": false,
        "properties": {
          "label": {
            "type": "string"
          },
          "lease": {
            "format": "double",
            "type": "number"
          },
          "market": {
            "format": "double",
            "type": "number"
          }
        },
        "required": [
          "label",
          "lease",
          "market"
        ],
        "type": "object"
      },
      "PortfolioPropertySummary": {
        "additionalProperties": false,
        "properties": {
          "avgDaysVacant": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "delinquencyBalance": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "down": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "entrataReports": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "estVacancyLossToDate": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "exposurePct": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "hasT12": {
            "type": "boolean"
          },
          "leaseRentPsf": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "leasedPct": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "lossToLeaseMonthly": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "manager": {
            "type": [
              "string",
              "null"
            ]
          },
          "marketRent": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "marketRentPsf": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "modelLink": {
            "type": [
              "string",
              "null"
            ]
          },
          "modelMatchedBy": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "occupancyPct": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "slug": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "tradeOutChangePct": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "tradeOutLeases": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "underwritingModel": {
            "type": [
              "string",
              "null"
            ]
          },
          "units": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "vacant": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "slug",
          "name",
          "source",
          "manager",
          "units",
          "occupancyPct",
          "leasedPct",
          "exposurePct",
          "vacant",
          "down",
          "avgDaysVacant",
          "marketRent",
          "marketRentPsf",
          "leaseRentPsf",
          "lossToLeaseMonthly",
          "estVacancyLossToDate",
          "tradeOutChangePct",
          "tradeOutLeases",
          "delinquencyBalance",
          "underwritingModel",
          "modelLink",
          "modelMatchedBy",
          "hasT12",
          "entrataReports"
        ],
        "type": "object"
      },
      "PortfolioReason": {
        "additionalProperties": false,
        "properties": {
          "label": {
            "type": "string"
          },
          "value": {
            "format": "double",
            "type": "number"
          }
        },
        "required": [
          "label",
          "value"
        ],
        "type": "object"
      },
      "PortfolioReport": {
        "additionalProperties": false,
        "properties": {
          "asOf": {
            "type": "string"
          },
          "properties": {
            "format": "int64",
            "type": "integer"
          },
          "reportType": {
            "type": "string"
          }
        },
        "required": [
          "reportType",
          "asOf",
          "properties"
        ],
        "type": "object"
      },
      "PortfolioScope": {
        "additionalProperties": false,
        "properties": {
          "fund": {
            "type": [
              "string",
              "null"
            ]
          },
          "funds": {
            "items": {
              "$ref": "#/components/schemas/PortfolioFund"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "manager": {
            "type": [
              "string",
              "null"
            ]
          },
          "managers": {
            "items": {
              "$ref": "#/components/schemas/PortfolioManager"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "properties": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "manager",
          "managers",
          "fund",
          "funds",
          "properties"
        ],
        "type": "object"
      },
      "PortfolioSectionCoverage": {
        "additionalProperties": false,
        "properties": {
          "asOf": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "periodEnd": {
            "type": [
              "string",
              "null"
            ]
          },
          "periodStart": {
            "type": [
              "string",
              "null"
            ]
          },
          "properties": {
            "format": "int64",
            "type": "integer"
          },
          "reportType": {
            "type": "string"
          }
        },
        "required": [
          "reportType",
          "properties",
          "asOf",
          "periodStart",
          "periodEnd"
        ],
        "type": "object"
      },
      "PortfolioToday": {
        "additionalProperties": false,
        "properties": {
          "attention": {
            "items": {
              "$ref": "#/components/schemas/PortfolioTodayAttention"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "communitiesReporting": {
            "format": "int64",
            "type": "integer"
          },
          "occupancy": {
            "items": {
              "$ref": "#/components/schemas/PortfolioTodayOccupancy"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "occupancyTotal": {
            "format": "int64",
            "type": "integer"
          },
          "portfolio": {
            "$ref": "#/components/schemas/PortfolioTodayPortfolio"
          },
          "realPageUnits": {
            "format": "double",
            "type": "number"
          },
          "renewals": {
            "$ref": "#/components/schemas/PortfolioTodayRenewals"
          },
          "sources": {
            "$ref": "#/components/schemas/PortfolioTodaySources"
          },
          "tradeOut": {
            "items": {
              "$ref": "#/components/schemas/PortfolioTodayTradeOut"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "tradeOutReporting": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "communitiesReporting",
          "attention",
          "tradeOut",
          "tradeOutReporting",
          "occupancy",
          "occupancyTotal",
          "realPageUnits",
          "portfolio",
          "renewals",
          "sources"
        ],
        "type": "object"
      },
      "PortfolioTodayAttention": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "type": "string"
          },
          "dollars": {
            "format": "double",
            "type": "number"
          },
          "meta": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "slug": {
            "type": [
              "string",
              "null"
            ]
          },
          "tone": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "meta",
          "reason",
          "value",
          "action",
          "tone",
          "slug",
          "dollars"
        ],
        "type": "object"
      },
      "PortfolioTodayBody": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/PortfolioTodayRead"
          },
          "meta": {
            "$ref": "#/components/schemas/AppStoreMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "PortfolioTodayCoverage": {
        "additionalProperties": false,
        "properties": {
          "activityProperties": {
            "format": "int64",
            "type": "integer"
          },
          "concessionProperties": {
            "format": "int64",
            "type": "integer"
          },
          "exposureProperties": {
            "format": "int64",
            "type": "integer"
          },
          "lossToLeaseProperties": {
            "format": "int64",
            "type": "integer"
          },
          "occupancyProperties": {
            "format": "int64",
            "type": "integer"
          },
          "vacancyRentProperties": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "occupancyProperties",
          "exposureProperties",
          "lossToLeaseProperties",
          "vacancyRentProperties",
          "concessionProperties",
          "activityProperties"
        ],
        "type": "object"
      },
      "PortfolioTodayOccupancy": {
        "additionalProperties": false,
        "properties": {
          "asOf": {
            "type": [
              "string",
              "null"
            ]
          },
          "avgDaysVacant": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "exposurePct": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "lossToLeaseMonthly": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "occupancyPct": {
            "format": "double",
            "type": "number"
          },
          "slug": {
            "type": "string"
          },
          "tone": {
            "type": "string"
          },
          "units": {
            "format": "double",
            "type": "number"
          },
          "vacant": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "name",
          "slug",
          "units",
          "occupancyPct",
          "exposurePct",
          "vacant",
          "avgDaysVacant",
          "lossToLeaseMonthly",
          "asOf",
          "tone"
        ],
        "type": "object"
      },
      "PortfolioTodayPortfolio": {
        "additionalProperties": false,
        "properties": {
          "concessions": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "lossToLeaseMonthly": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "netExposurePct": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "occupancyPct": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "vacantAtMarketMonthly": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "occupancyPct",
          "netExposurePct",
          "lossToLeaseMonthly",
          "vacantAtMarketMonthly",
          "concessions"
        ],
        "type": "object"
      },
      "PortfolioTodayRead": {
        "additionalProperties": false,
        "properties": {
          "coverage": {
            "$ref": "#/components/schemas/PortfolioTodayCoverage"
          },
          "managers": {
            "items": {
              "$ref": "#/components/schemas/PortfolioManagerGroup"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "reports": {
            "items": {
              "$ref": "#/components/schemas/PortfolioReport"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/PortfolioScope"
          },
          "today": {
            "$ref": "#/components/schemas/PortfolioToday"
          }
        },
        "required": [
          "scope",
          "today",
          "managers",
          "reports",
          "coverage"
        ],
        "type": "object"
      },
      "PortfolioTodayRenewals": {
        "additionalProperties": false,
        "properties": {
          "accepted": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "countedBy": {
            "type": "string"
          },
          "moveOutNotices": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "offersSent": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "renewed": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "viewed": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "offersSent",
          "viewed",
          "accepted",
          "renewed",
          "moveOutNotices",
          "countedBy"
        ],
        "type": "object"
      },
      "PortfolioTodaySources": {
        "additionalProperties": false,
        "properties": {
          "entrata": {
            "format": "int64",
            "type": "integer"
          },
          "linkedModels": {
            "format": "int64",
            "type": "integer"
          },
          "models": {
            "format": "int64",
            "type": "integer"
          },
          "modelsConfirmed": {
            "format": "int64",
            "type": "integer"
          },
          "modelsUnconfirmed": {
            "format": "int64",
            "type": "integer"
          },
          "realPage": {
            "format": "int64",
            "type": "integer"
          },
          "receivedModels": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "realPage",
          "entrata",
          "models",
          "receivedModels",
          "linkedModels",
          "modelsConfirmed",
          "modelsUnconfirmed"
        ],
        "type": "object"
      },
      "PortfolioTodayTradeOut": {
        "additionalProperties": false,
        "properties": {
          "changePct": {
            "format": "double",
            "type": "number"
          },
          "currentEffective": {
            "format": "double",
            "type": "number"
          },
          "leases": {
            "format": "double",
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "priorEffective": {
            "format": "double",
            "type": "number"
          },
          "slug": {
            "type": [
              "string",
              "null"
            ]
          },
          "tone": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "leases",
          "priorEffective",
          "currentEffective",
          "changePct",
          "tone",
          "slug"
        ],
        "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"
      },
      "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"
      },
      "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"
      },
      "PreviewBlocker": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "details": {},
          "fix": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "pointer": {
            "description": "A JSON pointer into the draft config (GET /engines/{engineSlug}/config, member config).",
            "type": "string"
          }
        },
        "required": [
          "code",
          "message",
          "pointer",
          "fix"
        ],
        "type": "object"
      },
      "PreviewStep": {
        "additionalProperties": false,
        "properties": {
          "changed": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "reasons": {
            "description": "What differs from the latest release in this step: added, removed, config changed, label changed. Empty when unchanged.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "label",
          "changed",
          "reasons"
        ],
        "type": "object"
      },
      "PreviewVersionResponse": {
        "additionalProperties": false,
        "properties": {
          "blockers": {
            "items": {
              "$ref": "#/components/schemas/PreviewBlocker"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "bump": {
            "type": "string"
          },
          "config_hash": {
            "description": "The draft this preview describes. Send it as expected_config_hash on POST /engines/{engineSlug}/versions.",
            "type": "string"
          },
          "current_version": {
            "type": "string"
          },
          "has_changes": {
            "type": "boolean"
          },
          "next_version": {
            "type": "string"
          },
          "publishable": {
            "type": "boolean"
          },
          "reasons": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "steps": {
            "description": "Every draft step, with whether it differs from the latest release. reasons covers the whole Engine.",
            "items": {
              "$ref": "#/components/schemas/PreviewStep"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "has_changes",
          "current_version",
          "next_version",
          "bump",
          "reasons",
          "publishable",
          "blockers",
          "config_hash",
          "steps"
        ],
        "type": "object"
      },
      "PrincipalIdentity": {
        "additionalProperties": false,
        "properties": {
          "auth_method": {
            "description": "Optional AuthKit authentication method of the sign-in this call reports (SSO, Password, MagicAuth, GoogleOAuth, ...), case-insensitive. An org that allows only some methods refuses a sign-in with any other, with a missing one or with an unknown one.",
            "maxLength": 64,
            "type": "string"
          },
          "auth_organization_id": {
            "type": "string"
          },
          "auth_session_id": {
            "description": "Optional AuthKit session id (sid) of the sign-in this call reports. Recorded on the audit event for correlation; never a credential.",
            "maxLength": 128,
            "pattern": "^session_[A-Za-z0-9]+$",
            "type": "string"
          },
          "auth_user_id": {
            "type": "string"
          },
          "display_name": {
            "description": "Optional AuthKit first and last name. Blank preserves a stored name.",
            "maxLength": 256,
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "email_verified": {
            "type": "boolean"
          },
          "external_id": {
            "type": "string"
          }
        },
        "required": [
          "auth_user_id",
          "email",
          "email_verified",
          "external_id",
          "auth_organization_id"
        ],
        "type": "object"
      },
      "PrincipalResolution": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "type": "string"
          },
          "principal": {
            "type": "string"
          },
          "source": {
            "enum": [
              "migration_receipt",
              "raw"
            ],
            "type": "string"
          }
        },
        "required": [
          "principal",
          "email",
          "source"
        ],
        "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"
      },
      "PrivacyPolicy": {
        "additionalProperties": false,
        "properties": {
          "mode": {
            "type": "string"
          }
        },
        "required": [
          "mode"
        ],
        "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"
      },
      "ProblemError": {
        "additionalProperties": false,
        "properties": {
          "location": {
            "description": "Where the input was, for example query.limit.",
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "value": {}
        },
        "required": [
          "message"
        ],
        "type": "object"
      },
      "ProcedureDocument": {
        "additionalProperties": false,
        "properties": {
          "doc": {
            "description": "The document, as stored."
          },
          "id": {
            "description": "The procedure id.",
            "type": "string"
          },
          "match": {
            "$ref": "#/components/schemas/ProcedureMatch",
            "description": "Where the search's words landed; present on a read with q."
          },
          "org_id": {
            "description": "The org whose own document this is; null for the default every org reads.",
            "type": [
              "string",
              "null"
            ]
          },
          "procedure_id": {
            "description": "The procedure id (the old route's key, kept for readers of it).",
            "type": "string"
          }
        },
        "required": [
          "id",
          "procedure_id",
          "org_id",
          "doc"
        ],
        "type": "object"
      },
      "ProcedureDocumentList": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/ProcedureDocument"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "view": {
            "$ref": "#/components/schemas/View",
            "description": "The register view filters this read applied, each option's count and how many documents they hide. Present on a read with no cursor."
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "ProcedureDocumentSeed": {
        "additionalProperties": false,
        "properties": {
          "doc": {
            "description": "The document, a JSON object."
          },
          "org_id": {
            "description": "Must name the org the key belongs to.",
            "type": "string"
          }
        },
        "required": [
          "org_id",
          "doc"
        ],
        "type": "object"
      },
      "ProcedureMatch": {
        "additionalProperties": false,
        "properties": {
          "rank": {
            "description": "Where the words landed: 5 title, old procedure id or a section's title, 4 purpose, 3 a step title, 2 a step's What to do, 1 Workbench text.",
            "format": "int64",
            "type": "integer"
          },
          "section_id": {
            "description": "The section whose title carried the words: a procedure of its own inside the document (the Broker of Record procedure inside Cancellation).",
            "type": "string"
          },
          "section_title": {
            "type": "string"
          },
          "step_id": {
            "description": "The best-matching step, when a step carried the words and the head did not.",
            "type": [
              "string",
              "null"
            ]
          },
          "step_title": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "rank",
          "step_id",
          "step_title"
        ],
        "type": "object"
      },
      "ProcedureSource": {
        "additionalProperties": false,
        "properties": {
          "body": {
            "type": "string"
          },
          "id": {
            "description": "The source id.",
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "org_id": {
            "description": "The org whose own source this is; null for the default every org reads.",
            "type": [
              "string",
              "null"
            ]
          },
          "source_id": {
            "description": "The source id (the old route's key, kept for readers of it).",
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "source_id",
          "org_id",
          "kind",
          "title",
          "body"
        ],
        "type": "object"
      },
      "ProcedureSourceSeed": {
        "additionalProperties": false,
        "properties": {
          "body": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "org_id": {
            "description": "Must name the org the key belongs to.",
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "org_id",
          "kind",
          "title",
          "body"
        ],
        "type": "object"
      },
      "ProducerCodeCandidate": {
        "additionalProperties": false,
        "properties": {
          "ams360_datasource": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "hint": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "observed_name": {
            "type": "string"
          },
          "original_ams360_datasource": {
            "type": "string"
          },
          "owners": {
            "items": {
              "$ref": "#/components/schemas/BookAMSEmployeeRecord"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "selected_owner": {
            "$ref": "#/components/schemas/BookProducerCodeOwner"
          },
          "shared": {
            "type": "boolean"
          },
          "source": {
            "type": "string"
          },
          "unexpired": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "ams360_datasource",
          "code",
          "source",
          "kind",
          "observed_name",
          "unexpired",
          "shared"
        ],
        "type": "object"
      },
      "ProductAccessGrantPreview": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WorkbenchProductAccessGrant"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "ProductGrantRequest": {
        "additionalProperties": false,
        "properties": {
          "requested_at": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "status",
          "requested_at"
        ],
        "type": "object"
      },
      "ProductGroupRange": {
        "additionalProperties": false,
        "properties": {
          "max": {
            "format": "double",
            "type": "number"
          },
          "min": {
            "format": "double",
            "type": "number"
          }
        },
        "required": [
          "min",
          "max"
        ],
        "type": "object"
      },
      "ProductsListResponse": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/ListOrgProduct"
          },
          {
            "$ref": "#/components/schemas/LineVocabularyList"
          }
        ],
        "description": "The organization's products, or with view=lines the insurance line vocabulary."
      },
      "ProfileAssignment": {
        "additionalProperties": false,
        "properties": {
          "principal_email": {
            "type": "string"
          },
          "profile_slug": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "revoked_at": {
            "format": "date-time",
            "type": "string"
          },
          "set_at": {
            "format": "date-time",
            "type": "string"
          },
          "set_by": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "version": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "principal_email",
          "profile_slug",
          "status",
          "set_by",
          "reason",
          "set_at",
          "version"
        ],
        "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"
      },
      "ProgramAssemblyStage": {
        "additionalProperties": false,
        "properties": {
          "bytes": {
            "format": "int64",
            "type": "integer"
          },
          "duration_ms": {
            "format": "double",
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "rows": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "name",
          "duration_ms"
        ],
        "type": "object"
      },
      "ProgramChainRun": {
        "additionalProperties": false,
        "properties": {
          "reused": {
            "type": "boolean"
          },
          "run_id": {
            "type": "string"
          },
          "run_state": {
            "$ref": "#/components/schemas/RunState"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "run_id",
          "status",
          "run_state"
        ],
        "type": "object"
      },
      "ProgramExcludedTerms": {
        "additionalProperties": false,
        "properties": {
          "marketing_placeholders": {
            "format": "int64",
            "type": "integer"
          },
          "note": {
            "type": "string"
          },
          "submission_shells": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "submission_shells",
          "marketing_placeholders"
        ],
        "type": "object"
      },
      "ProgramFeederStatus": {
        "additionalProperties": false,
        "properties": {
          "abstain_reason": {
            "type": "string"
          },
          "abstained": {
            "type": "boolean"
          },
          "attached": {
            "format": "int64",
            "type": "integer"
          },
          "behind_head": {
            "type": "boolean"
          },
          "behind_head_note": {
            "type": "string"
          },
          "coherence_note": {
            "type": "string"
          },
          "coherent": {
            "type": "boolean"
          },
          "corpus": {
            "type": "string"
          },
          "derive_version": {
            "type": "string"
          },
          "grain": {
            "type": "string"
          },
          "present": {
            "type": "boolean"
          },
          "rows_dropped": {
            "format": "int64",
            "type": "integer"
          },
          "rows_read": {
            "format": "int64",
            "type": "integer"
          },
          "selection_rule": {
            "type": "string"
          },
          "source_batch_set_id": {
            "type": "string"
          },
          "source_pin": {
            "format": "date-time",
            "type": "string"
          },
          "unsatisfied": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "corpus",
          "present",
          "rows_read",
          "attached",
          "coherent",
          "abstained"
        ],
        "type": "object"
      },
      "ProgramRefusal": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "reason"
        ],
        "type": "object"
      },
      "ProposalChangeBasis": {
        "additionalProperties": false,
        "properties": {
          "covered": {
            "format": "int64",
            "type": "integer"
          },
          "of": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "covered",
          "of"
        ],
        "type": "object"
      },
      "ProposalComparison": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "description": "The proposal's account, null when it names none.",
            "type": [
              "string",
              "null"
            ]
          },
          "as_of": {
            "description": "RFC3339 instant the proposal, its quotes and the expiring program were read.",
            "type": "string"
          },
          "commission_on_file": {
            "description": "True when at least one option states what we make; false when none does and every quote an option names was read; null when none does and a quote was not read, or when the role withholds carrier compensation.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "expiring_commission": {
            "description": "Sum of the expiring terms' stated commission; null when none states one or the role withholds carrier compensation.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "expiring_total": {
            "description": "Sum of the priced expiring lines; null when no line is priced.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "expiring_total_complete": {
            "description": "True when every expiring term is priced.",
            "type": "boolean"
          },
          "lines": {
            "description": "Rows: the expiring lines by descending premium (unpriced last), then each line only an option carries.",
            "items": {
              "$ref": "#/components/schemas/ProposalExpiringLine"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "options": {
            "description": "The proposal's options in their own rank order.",
            "items": {
              "$ref": "#/components/schemas/ProposalOptionColumn"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "proposal_id": {
            "description": "The proposal the comparison is of.",
            "type": "string"
          },
          "recommended_option_id": {
            "description": "The one option ranked first; null when the ranks name no single first.",
            "type": [
              "string",
              "null"
            ]
          },
          "submission_id": {
            "description": "The cycle (submission) the options' quotes are read from, null when it names none.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "proposal_id",
          "account_id",
          "submission_id",
          "as_of",
          "lines",
          "expiring_total",
          "expiring_total_complete",
          "expiring_commission",
          "options",
          "recommended_option_id",
          "commission_on_file"
        ],
        "type": "object"
      },
      "ProposalExpiringLine": {
        "additionalProperties": false,
        "properties": {
          "carrier_names": {
            "description": "The line's expiring carriers, in record order.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "label": {
            "type": "string"
          },
          "line_code": {
            "description": "Canonical line code, the row's identity in every column.",
            "type": "string"
          },
          "premium": {
            "description": "Sum of the priced terms on the line; null when no term on it is priced.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "unpriced_terms": {
            "description": "Terms on the line that state no premium; above zero means premium is partial.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "line_code",
          "label",
          "premium",
          "unpriced_terms",
          "carrier_names"
        ],
        "type": "object"
      },
      "ProposalMoneyDelta": {
        "additionalProperties": false,
        "properties": {
          "amount": {
            "format": "double",
            "type": "number"
          },
          "basis": {
            "$ref": "#/components/schemas/ProposalChangeBasis"
          },
          "fraction": {
            "description": "Share of the expiring figure; null when expiring is zero.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "amount",
          "fraction",
          "basis"
        ],
        "type": "object"
      },
      "ProposalOptionCell": {
        "additionalProperties": false,
        "properties": {
          "carrier_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "package_lead": {
            "description": "True on the one row where a multi-line package prints its premium.",
            "type": "boolean"
          },
          "package_premium": {
            "description": "The package's own premium, on the lead row only.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "packaged_with": {
            "description": "Labels of the other lines the same carrier quote covers.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "premium": {
            "description": "This line's own premium; null when the line is priced inside a package or not priced.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "carrier_name",
          "premium",
          "packaged_with",
          "package_lead",
          "package_premium"
        ],
        "type": "object"
      },
      "ProposalOptionColumn": {
        "additionalProperties": false,
        "properties": {
          "cells": {
            "additionalProperties": {
              "$ref": "#/components/schemas/ProposalOptionCell"
            },
            "description": "By line code; a line the option never names is absent.",
            "type": "object"
          },
          "change_against_expiring": {
            "$ref": "#/components/schemas/ProposalMoneyDelta",
            "description": "Null unless both the option and the expiring lines it carries are complete."
          },
          "commission": {
            "description": "The recorded option commission, else the sum of its quotes' commission.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "commission_complete": {
            "description": "False when a contributing commission figure is missing.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "commission_rate": {
            "description": "The rate every contributing quote states, when they all state the same one.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "fully_quoted": {
            "description": "The proposal's own flag: false when a line has no real quote behind it.",
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "rank": {
            "description": "The option's place in the proposal's own ranking.",
            "format": "double",
            "type": "number"
          },
          "reasoning": {
            "description": "The producer's written reason, verbatim.",
            "type": "string"
          },
          "total": {
            "description": "The recorded option total, else the sum of its priced quotes; null when nothing is priced.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "total_complete": {
            "description": "False when a carrier quote on the option states no premium.",
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "name",
          "rank",
          "reasoning",
          "fully_quoted",
          "total",
          "total_complete",
          "commission",
          "commission_complete",
          "commission_rate",
          "change_against_expiring",
          "cells"
        ],
        "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"
      },
      "Provenance": {
        "additionalProperties": false,
        "properties": {
          "acted_by": {
            "type": "string"
          },
          "ams_at_confirm": {
            "$ref": "#/components/schemas/AMSAtConfirm"
          },
          "carried_from": {
            "$ref": "#/components/schemas/CarriedFrom"
          },
          "confirmed_at": {
            "format": "date-time",
            "type": "string"
          },
          "confirmed_by": {
            "type": "string"
          },
          "document": {
            "$ref": "#/components/schemas/DocumentRef"
          },
          "entered_at": {
            "format": "date-time",
            "type": "string"
          },
          "entered_by": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "state": {
            "type": "string"
          }
        },
        "required": [
          "source",
          "state",
          "entered_by",
          "entered_at",
          "ams_at_confirm"
        ],
        "type": "object"
      },
      "PublicDeliveryDetailResponse": {
        "additionalProperties": false,
        "properties": {
          "attempts": {
            "items": {
              "$ref": "#/components/schemas/PublicWebhookAttemptSummaryResponse"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "delivery": {
            "$ref": "#/components/schemas/PublicWebhookDeliveryResponse"
          }
        },
        "required": [
          "delivery",
          "attempts"
        ],
        "type": "object"
      },
      "PublicDeliveryListResponse": {
        "additionalProperties": false,
        "properties": {
          "deliveries": {
            "items": {
              "$ref": "#/components/schemas/PublicWebhookDeliveryResponse"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "next_cursor": {
            "type": "string"
          }
        },
        "required": [
          "deliveries"
        ],
        "type": "object"
      },
      "PublicPublishVersionRequest": {
        "additionalProperties": false,
        "properties": {
          "changelog": {
            "type": "string"
          },
          "expected_config_hash": {
            "description": "Required. The config_hash from POST /engines/{engineSlug}/versions/preview. A draft that moved since answers 412 draft_changed.",
            "type": "string"
          },
          "is_breaking_from_previous_major": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "version",
          "changelog",
          "is_breaking_from_previous_major",
          "expected_config_hash"
        ],
        "type": "object"
      },
      "PublicPublishVersionResponse": {
        "additionalProperties": false,
        "properties": {
          "already_released": {
            "type": "boolean"
          },
          "bump": {
            "type": "string"
          },
          "changelog": {
            "type": "string"
          },
          "cold_start_eval_set_id": {
            "type": "string"
          },
          "config_hash": {
            "type": "string"
          },
          "gate_verified": {
            "type": "boolean"
          },
          "is_breaking_from_previous_major": {
            "type": "boolean"
          },
          "published_by": {
            "type": "string"
          },
          "published_by_actor": {
            "$ref": "#/components/schemas/PublishedByActor"
          },
          "reasons": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "released_at": {
            "type": "string"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "version",
          "released_at",
          "changelog",
          "is_breaking_from_previous_major",
          "gate_verified"
        ],
        "type": "object"
      },
      "PublicWebhookAttemptSummaryResponse": {
        "additionalProperties": false,
        "properties": {
          "attempt_ordinal": {
            "format": "int64",
            "type": "integer"
          },
          "completed_at": {
            "type": "string"
          },
          "duration_ms": {
            "format": "int64",
            "type": "integer"
          },
          "error_class": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "next_retry_at": {
            "type": "string"
          },
          "outcome": {
            "type": "string"
          },
          "resend_generation": {
            "format": "int64",
            "type": "integer"
          },
          "started_at": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "status_class": {
            "type": "string"
          },
          "status_code": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "resend_generation",
          "attempt_ordinal",
          "started_at",
          "state"
        ],
        "type": "object"
      },
      "PublicWebhookDeliveryResponse": {
        "additionalProperties": false,
        "properties": {
          "attempt_count": {
            "format": "int64",
            "type": "integer"
          },
          "completed_at": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "endpoint_id": {
            "type": "string"
          },
          "event_id": {
            "type": "string"
          },
          "event_type": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "last_attempt_at": {
            "type": "string"
          },
          "last_error": {
            "type": "string"
          },
          "last_status_code": {
            "format": "int64",
            "type": "integer"
          },
          "max_attempts": {
            "format": "int64",
            "type": "integer"
          },
          "next_attempt_at": {
            "type": "string"
          },
          "next_attempt_trigger": {
            "type": "string"
          },
          "run_id": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "target_url": {
            "type": "string"
          },
          "webhook_version": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "event_id",
          "endpoint_id",
          "run_id",
          "event_type",
          "webhook_version",
          "target_url",
          "status",
          "attempt_count",
          "max_attempts",
          "next_attempt_at",
          "next_attempt_trigger",
          "created_at"
        ],
        "type": "object"
      },
      "PublishConversationInstanceVersionRequest": {
        "additionalProperties": false,
        "properties": {
          "changelog": {
            "type": "string"
          },
          "waive_reason": {
            "type": "string"
          },
          "waived_by": {
            "type": "string"
          }
        },
        "required": [
          "changelog"
        ],
        "type": "object"
      },
      "PublishedByActor": {
        "additionalProperties": false,
        "properties": {
          "display_name": {
            "description": "The recorded name or email; null when none is recorded.",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "The actor id the version records.",
            "type": "string"
          },
          "type": {
            "description": "person, key, service or system.",
            "enum": [
              "person",
              "key",
              "service",
              "system"
            ],
            "type": "string"
          }
        },
        "required": [
          "type",
          "id",
          "display_name"
        ],
        "type": "object"
      },
      "QuoteCommissionCheck": {
        "additionalProperties": false,
        "properties": {
          "basis": {
            "description": "The agreement rate applied: renewal for the incumbent's own renewal quote, else new.",
            "enum": [
              "new",
              "renewal"
            ],
            "type": "string"
          },
          "carrier": {
            "description": "The agreement's carrier when one was resolved, else the carrier the quote names.",
            "type": "string"
          },
          "contracted_floor_pct": {
            "description": "The lowest contracted rate across the quoted lines, in whole percent; null when none applies.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "contracted_lines": {
            "description": "The agreement lines the floor was read from, or the state-dependent lines with no band for the risk's state.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "delta_pct": {
            "description": "quoted_pct minus contracted_floor_pct in percentage points; null when either is null. A shortfall no larger than the check's flag_tolerance_pct passes.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "detail": {
            "description": "The verdict as one sentence a producer reads.",
            "type": "string"
          },
          "disclosed_states": {
            "description": "The states the agreement does disclose for those lines, when state_dependent; otherwise empty.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "market_entity_key": {
            "description": "The contracted agreement's market key; null when no agreement was resolved.",
            "type": [
              "string",
              "null"
            ]
          },
          "quote_id": {
            "type": "string"
          },
          "quote_number": {
            "type": "string"
          },
          "quoted_pct": {
            "description": "The quote's commission in whole percent; null when it states none.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "state": {
            "description": "The state whose band the floor was read from; null when the check was not scoped to a state.",
            "type": [
              "string",
              "null"
            ]
          },
          "state_dependent": {
            "description": "True when the agreement's rate on the quoted lines varies by state and no band names the risk's state; the status is then rate_not_found.",
            "type": "boolean"
          },
          "status": {
            "description": "pass, flagged (below the contracted floor), not_stated (the quote states no rate), rate_not_found (no single contracted rate applies here) or terms_unavailable (the catalog could not be read; not checked is not passed).",
            "enum": [
              "pass",
              "flagged",
              "not_stated",
              "rate_not_found",
              "terms_unavailable"
            ],
            "type": "string"
          },
          "submission_id": {
            "type": "string"
          },
          "timestamp": {
            "description": "The quote's receivedAt, else the submission's quotedAt, else its updatedAt, as recorded.",
            "type": "string"
          }
        },
        "required": [
          "quote_id",
          "submission_id",
          "quote_number",
          "timestamp",
          "status",
          "quoted_pct",
          "contracted_floor_pct",
          "delta_pct",
          "basis",
          "carrier",
          "market_entity_key",
          "contracted_lines",
          "state",
          "state_dependent",
          "disclosed_states",
          "detail"
        ],
        "type": "object"
      },
      "QuoteComparisonFile": {
        "additionalProperties": false,
        "properties": {
          "content_type": {
            "description": "application/pdf.",
            "type": "string"
          },
          "data": {
            "description": "Base64 encoded file bytes.",
            "type": "string"
          },
          "filename": {
            "description": "The file's name: Quote comparison - &lt;account, or the carriers joined with vs&gt; - &lt;YYYY-MM-DD&gt;.pdf.",
            "type": "string"
          },
          "page_count": {
            "description": "The pages the file holds.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "filename",
          "content_type",
          "page_count",
          "data"
        ],
        "type": "object"
      },
      "QuoteComparisonResponse": {
        "additionalProperties": false,
        "properties": {
          "error": {
            "type": "string"
          },
          "output": {
            "oneOf": [
              {
                "not": {
                  "required": [
                    "kind"
                  ]
                },
                "type": "object"
              },
              {
                "additionalProperties": false,
                "properties": {
                  "accountId": {
                    "type": "string"
                  },
                  "accountName": {
                    "type": "string"
                  },
                  "comparisonId": {
                    "type": "string"
                  },
                  "destinations": {
                    "items": {
                      "$ref": "#/components/schemas/ComparisonDestination"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "events": {
                    "items": {
                      "$ref": "#/components/schemas/FiledComparisonEvent"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "kind": {
                    "enum": [
                      "filed",
                      "choose_destination"
                    ],
                    "type": "string"
                  },
                  "nextCursor": {
                    "type": "string"
                  },
                  "quoteIds": {
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "scopeKey": {
                    "type": "string"
                  },
                  "submissionId": {
                    "type": "string"
                  }
                },
                "required": [
                  "events",
                  "kind",
                  "accountId",
                  "accountName"
                ],
                "type": "object"
              }
            ]
          },
          "snapshot_quotes": {},
          "source_status": {
            "enum": [
              "current",
              "changed",
              "historical",
              "unavailable"
            ],
            "type": "string"
          },
          "source_status_as_of": {
            "type": "string"
          },
          "source_status_reason": {
            "type": "string"
          },
          "sources": {}
        },
        "required": [
          "output"
        ],
        "type": "object"
      },
      "RankedPlacement": {
        "additionalProperties": false,
        "properties": {
          "cluster_label": {
            "type": "string"
          },
          "overall_level": {
            "format": "double",
            "type": "number"
          },
          "rank": {
            "format": "int64",
            "type": "integer"
          },
          "run_position": {
            "$ref": "#/components/schemas/RunPosition"
          }
        },
        "required": [
          "rank",
          "overall_level"
        ],
        "type": "object"
      },
      "ReadAssessment": {
        "additionalProperties": false,
        "properties": {
          "error": {
            "$ref": "#/components/schemas/ReadError"
          },
          "execution_status": {
            "enum": [
              "queued",
              "running"
            ],
            "type": "string"
          },
          "freshness": {
            "enum": [
              "current",
              "stale",
              "unverified"
            ],
            "type": "string"
          },
          "in_flight": {
            "type": "boolean"
          },
          "input_hash": {
            "type": "string"
          },
          "prior_run_id": {
            "type": "string"
          },
          "reason": {
            "enum": [
              "current",
              "source_unverified",
              "snapshot_missing",
              "identity_missing",
              "clock_missing",
              "clock_invalid",
              "age_exceeded",
              "input_changed"
            ],
            "type": "string"
          },
          "reused": {
            "type": "boolean"
          },
          "snapshot": {
            "$ref": "#/components/schemas/ReadSnapshot"
          },
          "stale": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "status": {
            "enum": [
              "processing",
              "completed",
              "failed"
            ],
            "type": "string"
          }
        },
        "required": [
          "status",
          "input_hash",
          "stale",
          "freshness",
          "reason",
          "in_flight"
        ],
        "type": "object"
      },
      "ReadAssumption": {
        "additionalProperties": false,
        "properties": {
          "evidence": {
            "items": {
              "$ref": "#/components/schemas/ReadEvidenceEntry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "reason": {
            "type": "string"
          },
          "statement": {
            "type": "string"
          }
        },
        "required": [
          "statement",
          "reason",
          "evidence"
        ],
        "type": "object"
      },
      "ReadBlocker": {
        "additionalProperties": false,
        "properties": {
          "field_path": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          }
        },
        "required": [
          "field_path",
          "reason"
        ],
        "type": "object"
      },
      "ReadControl": {
        "additionalProperties": false,
        "properties": {
          "description": {
            "type": "string"
          },
          "evidence": {
            "items": {
              "$ref": "#/components/schemas/ReadEvidenceEntry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "hazard": {
            "type": "string"
          },
          "missingFacts": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "enum": [
              "documented",
              "partial",
              "unknown"
            ],
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "status",
          "title",
          "description",
          "evidence"
        ],
        "type": "object"
      },
      "ReadError": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "enum": [
              "book_unreadable",
              "account_not_found",
              "risk_submission_exceeds_bounds",
              "assessment_failed",
              "assessment_output_invalid",
              "source_proof_unavailable",
              "assessment_abstained",
              "risk_profile_subject_mismatch",
              "run_not_found",
              "risk_profile_unavailable"
            ],
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "message"
        ],
        "type": "object"
      },
      "ReadEvidenceEntry": {
        "additionalProperties": false,
        "properties": {
          "label": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "recordId": {
            "type": "string"
          },
          "ref": {
            "type": "string"
          },
          "sourceType": {
            "type": "string"
          }
        },
        "required": [
          "ref",
          "path",
          "recordId",
          "sourceType",
          "label"
        ],
        "type": "object"
      },
      "ReadEvidenceIssue": {
        "additionalProperties": false,
        "properties": {
          "blocks": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "fieldPath": {
            "type": "string"
          },
          "issueType": {
            "enum": [
              "missing",
              "conflicting",
              "stale"
            ],
            "type": "string"
          },
          "recordIds": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "fieldPath",
          "issueType",
          "description",
          "recordIds"
        ],
        "type": "object"
      },
      "ReadEvidenceItem": {
        "additionalProperties": false,
        "properties": {
          "description": {
            "type": "string"
          },
          "evidence": {
            "items": {
              "$ref": "#/components/schemas/ReadEvidenceEntry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "title",
          "description",
          "evidence"
        ],
        "type": "object"
      },
      "ReadExposure": {
        "additionalProperties": false,
        "properties": {
          "basisAttribute": {
            "type": "string"
          },
          "basisDisplay": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "evidence": {
            "items": {
              "$ref": "#/components/schemas/ReadEvidenceEntry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "value": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReadExposureValue"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "name",
          "category",
          "basisAttribute",
          "basisDisplay",
          "evidence"
        ],
        "type": "object"
      },
      "ReadExposureValue": {
        "additionalProperties": false,
        "properties": {
          "display": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "number": {
            "type": "string"
          },
          "unit": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "number",
          "unit",
          "display"
        ],
        "type": "object"
      },
      "ReadGround": {
        "additionalProperties": false,
        "properties": {
          "evidence": {
            "items": {
              "$ref": "#/components/schemas/ReadEvidenceEntry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "fieldPath": {
            "type": [
              "string",
              "null"
            ]
          },
          "kind": {
            "type": "string"
          },
          "statement": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "statement",
          "fieldPath",
          "evidence"
        ],
        "type": "object"
      },
      "ReadHazard": {
        "additionalProperties": false,
        "properties": {
          "controls": {
            "items": {
              "$ref": "#/components/schemas/ReadHazardControl"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "description": {
            "type": "string"
          },
          "evidence": {
            "items": {
              "$ref": "#/components/schemas/ReadEvidenceEntry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "exposureAreas": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "exposureId": {
            "type": "string"
          },
          "frequency": {
            "type": [
              "string",
              "null"
            ]
          },
          "grounds": {
            "items": {
              "$ref": "#/components/schemas/ReadGround"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "key": {
            "type": "string"
          },
          "rank": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "severity": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": "string"
          },
          "why": {
            "type": "string"
          }
        },
        "required": [
          "exposureAreas",
          "severity",
          "frequency",
          "rank",
          "grounds",
          "controls",
          "title",
          "description",
          "evidence"
        ],
        "type": "object"
      },
      "ReadHazardChange": {
        "additionalProperties": false,
        "properties": {
          "change": {
            "enum": [
              "new",
              "unchanged",
              "reassessed",
              "withdrawn"
            ],
            "type": "string"
          },
          "key": {
            "type": "string"
          }
        },
        "required": [
          "key",
          "change"
        ],
        "type": "object"
      },
      "ReadHazardControl": {
        "additionalProperties": false,
        "properties": {
          "evidence": {
            "items": {
              "$ref": "#/components/schemas/ReadEvidenceEntry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "status": {
            "enum": [
              "in_place",
              "recommended"
            ],
            "type": "string"
          }
        },
        "required": [
          "name",
          "status",
          "evidence"
        ],
        "type": "object"
      },
      "ReadMaterialChange": {
        "additionalProperties": false,
        "properties": {
          "description": {
            "type": "string"
          },
          "effectiveDate": {
            "type": [
              "string",
              "null"
            ]
          },
          "evidence": {
            "items": {
              "$ref": "#/components/schemas/ReadEvidenceEntry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "effectiveDate",
          "title",
          "description",
          "evidence"
        ],
        "type": "object"
      },
      "ReadRating": {
        "additionalProperties": false,
        "properties": {
          "basis": {
            "type": "string"
          },
          "evidence": {
            "items": {
              "$ref": "#/components/schemas/ReadEvidenceEntry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "frequency": {
            "type": [
              "string",
              "null"
            ]
          },
          "hazard": {
            "type": "string"
          },
          "missingFacts": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "severity": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "hazard",
          "frequency",
          "severity",
          "basis",
          "evidence"
        ],
        "type": "object"
      },
      "ReadReadiness": {
        "additionalProperties": false,
        "properties": {
          "blockers": {
            "items": {
              "$ref": "#/components/schemas/ReadBlocker"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "rationale": {
            "type": "string"
          },
          "status": {
            "enum": [
              "ready",
              "ready_with_assumptions",
              "blocked"
            ],
            "type": "string"
          }
        },
        "required": [
          "status",
          "rationale",
          "blockers"
        ],
        "type": "object"
      },
      "ReadSnapshot": {
        "additionalProperties": false,
        "properties": {
          "assessmentContract": {
            "type": "string"
          },
          "assumptions": {
            "items": {
              "$ref": "#/components/schemas/ReadAssumption"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "concentrations": {
            "items": {
              "$ref": "#/components/schemas/ReadEvidenceItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "contractVersion": {
            "type": "string"
          },
          "controls": {
            "items": {
              "$ref": "#/components/schemas/ReadControl"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "evidenceIssues": {
            "items": {
              "$ref": "#/components/schemas/ReadEvidenceIssue"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "exposures": {
            "items": {
              "$ref": "#/components/schemas/ReadExposure"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "frequencySeverity": {
            "items": {
              "$ref": "#/components/schemas/ReadRating"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "hazardChanges": {
            "items": {
              "$ref": "#/components/schemas/ReadHazardChange"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "hazards": {
            "items": {
              "$ref": "#/components/schemas/ReadHazard"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "lossSignals": {
            "items": {
              "$ref": "#/components/schemas/ReadEvidenceItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "materialChanges": {
            "items": {
              "$ref": "#/components/schemas/ReadMaterialChange"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "priorRunId": {
            "type": "string"
          },
          "readiness": {
            "$ref": "#/components/schemas/ReadReadiness"
          },
          "reused": {
            "type": "boolean"
          },
          "riskSynopsis": {
            "type": "string"
          },
          "riskSynopsisEvidence": {
            "items": {
              "$ref": "#/components/schemas/ReadEvidenceEntry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "runId": {
            "type": "string"
          },
          "sourcesUnverified": {
            "type": "boolean"
          },
          "summary": {
            "type": "string"
          },
          "toConfirm": {
            "items": {
              "$ref": "#/components/schemas/ReadToConfirm"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "vintage": {
            "enum": [
              "v1",
              "v2",
              "v4"
            ],
            "type": "string"
          }
        },
        "required": [
          "contractVersion",
          "vintage",
          "runId",
          "summary",
          "riskSynopsis",
          "riskSynopsisEvidence",
          "toConfirm",
          "hazards",
          "frequencySeverity",
          "concentrations",
          "controls",
          "lossSignals",
          "materialChanges",
          "assumptions",
          "evidenceIssues",
          "readiness"
        ],
        "type": "object"
      },
      "ReadToConfirm": {
        "additionalProperties": false,
        "properties": {
          "exposureId": {
            "type": [
              "string",
              "null"
            ]
          },
          "fieldPath": {
            "type": "string"
          },
          "kind": {
            "enum": [
              "missing",
              "conflict"
            ],
            "type": "string"
          },
          "sentence": {
            "type": "string"
          }
        },
        "required": [
          "sentence",
          "fieldPath",
          "kind",
          "exposureId"
        ],
        "type": "object"
      },
      "Record": {
        "additionalProperties": false,
        "properties": {
          "forms": {
            "items": {
              "$ref": "#/components/schemas/Form"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "forms_complete": {
            "$ref": "#/components/schemas/Attested"
          },
          "parts": {
            "items": {
              "$ref": "#/components/schemas/Part"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "schema_version": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "schema_version",
          "parts",
          "forms"
        ],
        "type": "object"
      },
      "RecordAMS360WriteResult": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AMS360WriteResult"
          },
          "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"
      },
      "RecordAccessSeatLookupResult": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccessSeatLookupResult"
          },
          "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"
      },
      "RecordAccount": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/Account"
          },
          "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"
      },
      "RecordAccountClassKnowledge": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountClassKnowledge"
          },
          "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"
      },
      "RecordAccountContactsRollup": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountContactsRollup"
          },
          "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"
      },
      "RecordAccountCurrentProgram": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountCurrentProgram"
          },
          "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"
      },
      "RecordAccountFactsRollup": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountFactsRollup"
          },
          "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"
      },
      "RecordAccountLossSummary": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountLossSummary"
          },
          "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"
      },
      "RecordAccountMemoryForgotten": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountMemoryForgotten"
          },
          "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"
      },
      "RecordAccountNotesRead": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountNotesRead"
          },
          "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"
      },
      "RecordAccountPolicySchedules": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountPolicySchedules"
          },
          "missing_count": {
            "description": "For a hierarchy record, source records missing that level after source filters and before name/ID filters.",
            "format": "int64",
            "type": "integer"
          },
          "request_id": {
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "unreachable": {
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "data",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "RecordAccountProgramEvidence": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountProgramEvidence"
          },
          "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"
      },
      "RecordAccountRegisterRollup": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountRegisterRollup"
          },
          "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"
      },
      "RecordAccountRetentionRollup": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountRetentionRollup"
          },
          "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"
      },
      "RecordAccountRiskEvidence": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountRiskEvidence"
          },
          "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"
      },
      "RecordAccountRiskProfile": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountRiskProfile"
          },
          "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"
      },
      "RecordAssistantHomeEventRequest": {
        "additionalProperties": false,
        "properties": {
          "conversation_id": {
            "description": "start_taken: the conversation the start opened, the end user's own.",
            "type": "string"
          },
          "end_user": {
            "description": "The end user the event is about, at most 256 characters. When Nexio-Act-As is sent it must name the same person.",
            "type": "string"
          },
          "event": {
            "enum": [
              "home_shown",
              "start_taken"
            ],
            "type": "string"
          },
          "home_id": {
            "description": "The id (a UUID) the app gave the home when it showed it.",
            "type": "string"
          },
          "level": {
            "description": "home_shown: the level the home was shown at.",
            "enum": [
              "lead",
              "offer",
              "quiet"
            ],
            "type": "string"
          },
          "start": {
            "$ref": "#/components/schemas/AssistantHomeStart",
            "description": "start_taken: the start the person took."
          },
          "starts": {
            "description": "home_shown: the starts the home offered, at most 10. An empty list is a home that offered none.",
            "items": {
              "$ref": "#/components/schemas/AssistantHomeStart"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "end_user",
          "event",
          "home_id"
        ],
        "type": "object"
      },
      "RecordAuthorizedToolkit": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AuthorizedToolkit"
          },
          "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"
      },
      "RecordBookAccountFactPage": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/BookAccountFactPage"
          },
          "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"
      },
      "RecordBookAccountRollup": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/BookAccountRollup"
          },
          "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"
      },
      "RecordBookCodeVocabulary": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/BookCodeVocabulary"
          },
          "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"
      },
      "RecordBookEmployeeDetail": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/BookEmployeeDetail"
          },
          "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"
      },
      "RecordBookEmployeeLicensure": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/BookEmployeeLicensure"
          },
          "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"
      },
      "RecordBookFacets": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/BookFacets"
          },
          "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"
      },
      "RecordBookGoalsRollup": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/BookGoalsRollup"
          },
          "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"
      },
      "RecordBookPeopleMovement": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/BookPeopleMovement"
          },
          "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"
      },
      "RecordBookPolicyApplicant": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/BookPolicyApplicant"
          },
          "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"
      },
      "RecordBookPolicyCommission": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/BookPolicyCommission"
          },
          "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"
      },
      "RecordBookPolicyExposureSchedule": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/BookPolicyExposureSchedule"
          },
          "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"
      },
      "RecordBookPolicyParties": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/BookPolicyParties"
          },
          "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"
      },
      "RecordBookPolicyServicing": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/BookPolicyServicing"
          },
          "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"
      },
      "RecordBookProductionRollup": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/BookProductionRollup"
          },
          "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"
      },
      "RecordBookStaffRollup": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/BookStaffRollup"
          },
          "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"
      },
      "RecordCRMStages": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CRMStages"
          },
          "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"
      },
      "RecordCatalogMarketDetailJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CatalogMarketDetailJSON"
          },
          "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"
      },
      "RecordClaimDetail": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ClaimDetail"
          },
          "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"
      },
      "RecordClaimFile": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ClaimFile"
          },
          "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"
      },
      "RecordClassCandidatesJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ClassCandidatesJSON"
          },
          "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"
      },
      "RecordClassKnowledgeDetailJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ClassKnowledgeDetailJSON"
          },
          "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"
      },
      "RecordCommissionRollup": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CommissionRollup"
          },
          "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"
      },
      "RecordContingencyCarrierPlan": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ContingencyCarrierPlan"
          },
          "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"
      },
      "RecordContingencyFlows": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ContingencyFlows"
          },
          "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"
      },
      "RecordContingencyPlan": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ContingencyPlan"
          },
          "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"
      },
      "RecordContingencyProgramDetail": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ContingencyProgramDetail"
          },
          "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"
      },
      "RecordContingencyStatus": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ContingencyStatus"
          },
          "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"
      },
      "RecordDealsDue": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DealsDue"
          },
          "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"
      },
      "RecordDealsView": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DealsView"
          },
          "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"
      },
      "RecordDocumentContentGrant": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DocumentContentGrant"
          },
          "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"
      },
      "RecordDocumentWire": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DocumentWire"
          },
          "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"
      },
      "RecordEffectiveProducts": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/EffectiveProducts"
          },
          "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"
      },
      "RecordFormTemplate": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/FormTemplate"
          },
          "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"
      },
      "RecordInvoiceAging": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InvoiceAging"
          },
          "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"
      },
      "RecordInvoiceBalance": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InvoiceBalance"
          },
          "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"
      },
      "RecordMachine": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/Machine"
          },
          "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"
      },
      "RecordMarketDocumentContentJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/MarketDocumentContentJSON"
          },
          "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"
      },
      "RecordMarketIntelligenceRead": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/MarketIntelligenceRead"
          },
          "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"
      },
      "RecordMarketMarksJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/MarketMarksJSON"
          },
          "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"
      },
      "RecordMarketProductionRecord": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/MarketProductionRecord"
          },
          "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"
      },
      "RecordMarketTermsAndAppetiteJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/MarketTermsAndAppetiteJSON"
          },
          "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"
      },
      "RecordOrgEvidence": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/OrgEvidence"
          },
          "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"
      },
      "RecordOrgProduct": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/OrgProduct"
          },
          "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"
      },
      "RecordPageAnswer": {
        "additionalProperties": false,
        "properties": {
          "calls": {
            "additionalProperties": {
              "format": "int64",
              "type": "integer"
            },
            "type": "object"
          },
          "data": {
            "additionalProperties": {},
            "type": "object"
          },
          "revision": {
            "type": "string"
          },
          "sections": {
            "additionalProperties": {
              "$ref": "#/components/schemas/SectionState"
            },
            "type": "object"
          }
        },
        "required": [
          "data",
          "sections",
          "revision",
          "calls"
        ],
        "type": "object"
      },
      "RecordPageEndFrame": {
        "additionalProperties": false,
        "properties": {
          "calls": {
            "additionalProperties": {
              "format": "int64",
              "type": "integer"
            },
            "type": "object"
          },
          "data": {
            "additionalProperties": {},
            "description": "The data of those sections that are ready or empty.",
            "type": "object"
          },
          "revision": {
            "type": "string"
          },
          "sections": {
            "additionalProperties": {
              "$ref": "#/components/schemas/SectionState"
            },
            "description": "Every section no section frame carried, by name.",
            "type": "object"
          },
          "type": {
            "enum": [
              "page"
            ],
            "type": "string"
          }
        },
        "required": [
          "type",
          "sections",
          "data",
          "revision",
          "calls"
        ],
        "type": "object"
      },
      "RecordPageFrame": {
        "description": "One frame of the stream, discriminated by type.",
        "discriminator": {
          "mapping": {
            "page": "#/components/schemas/RecordPageEndFrame",
            "section": "#/components/schemas/RecordPageSectionFrame"
          },
          "propertyName": "type"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/RecordPageEndFrame"
          },
          {
            "$ref": "#/components/schemas/RecordPageSectionFrame"
          }
        ]
      },
      "RecordPageSectionFrame": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "The section's data, present only when its state is ready or empty."
          },
          "name": {
            "description": "The section's name, as the page declares it.",
            "type": "string"
          },
          "section": {
            "$ref": "#/components/schemas/SectionState"
          },
          "type": {
            "enum": [
              "section"
            ],
            "type": "string"
          }
        },
        "required": [
          "type",
          "name",
          "section"
        ],
        "type": "object"
      },
      "RecordPlacementsHistoryRollup": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/PlacementsHistoryRollup"
          },
          "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"
      },
      "RecordPolicyAdmission": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/PolicyAdmission"
          },
          "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"
      },
      "RecordPolicyCoverageRecord": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/PolicyCoverageRecord"
          },
          "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"
      },
      "RecordPolicyFormsSchedule": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/PolicyFormsSchedule"
          },
          "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"
      },
      "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"
      },
      "RecordPolicyRegisterRollup": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/PolicyRegisterRollup"
          },
          "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"
      },
      "RecordPolicyRenewalSteps": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/PolicyRenewalSteps"
          },
          "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"
      },
      "RecordProcedureDocument": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ProcedureDocument"
          },
          "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"
      },
      "RecordProcedureSource": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ProcedureSource"
          },
          "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"
      },
      "RecordProjection": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountSOV"
          },
          "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"
      },
      "RecordProposalComparison": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ProposalComparison"
          },
          "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"
      },
      "RecordRecordsDiscovery": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/RecordsDiscovery"
          },
          "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"
      },
      "RecordRegisterView": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/RegisterView"
          },
          "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"
      },
      "RecordResourceWire": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ResourceWire"
          },
          "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"
      },
      "RecordRetentionMarksRollup": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/RetentionMarksRollup"
          },
          "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"
      },
      "RecordRetentionRenewalsRollup": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/RetentionRenewalsRollup"
          },
          "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"
      },
      "RecordRetentionRollup": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/RetentionRollup"
          },
          "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"
      },
      "RecordSeatEntitlement": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/SeatEntitlement"
          },
          "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"
      },
      "RecordSeatStatus": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/SeatStatus"
          },
          "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"
      },
      "RecordSourcePlan": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/SourcePlan"
          },
          "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"
      },
      "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"
      },
      "RecordSubmissionCommissionCheck": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/SubmissionCommissionCheck"
          },
          "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"
      },
      "RecordSubmissionContext": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/SubmissionContext"
          },
          "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"
      },
      "RecordSubmissionMarkets": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/SubmissionMarkets"
          },
          "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"
      },
      "RecordSummaryRollup": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/SummaryRollup"
          },
          "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"
      },
      "RecordWorkbenchCertificateRow": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/WorkbenchCertificateRow"
          },
          "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"
      },
      "RecordWorkbenchRow": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/WorkbenchRow"
          },
          "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"
      },
      "RecordWorkbenchTaskRow": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/WorkbenchTaskRow"
          },
          "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"
      },
      "RecordWorkspaceRecord": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/WorkspaceRecord"
          },
          "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"
      },
      "RecordsActionBody": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "type": "string"
          },
          "dry_run": {
            "type": "boolean"
          },
          "expected_updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "input": {}
        },
        "required": [
          "action",
          "input"
        ],
        "type": "object"
      },
      "RecordsActionOutcome": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "type": "string"
          },
          "dry_run": {
            "type": "boolean"
          },
          "key": {
            "type": "string"
          },
          "output": {},
          "replayed": {
            "type": "boolean"
          },
          "subject": {
            "type": "string"
          }
        },
        "required": [
          "action",
          "key",
          "subject"
        ],
        "type": "object"
      },
      "RecordsActionResultBody": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/RecordsActionOutcome"
          },
          "request_id": {
            "type": "string"
          }
        },
        "required": [
          "data",
          "request_id"
        ],
        "type": "object"
      },
      "RecordsDiscovery": {
        "additionalProperties": false,
        "properties": {
          "actions": {
            "description": "The Records operations no one family owns (the action ledger, a write's operation) which this seat may call.",
            "items": {
              "$ref": "#/components/schemas/RecordsDiscoveryOperation"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "families": {
            "description": "The families the seat may use, by family name.",
            "items": {
              "$ref": "#/components/schemas/RecordsDiscoveryFamily"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "families",
          "actions"
        ],
        "type": "object"
      },
      "RecordsDiscoveryAction": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "description": "The action's name, as POST /actions takes it.",
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "execution": {
            "description": "What a call needs beyond the grant: an action runs only on a direct or automated grant.",
            "enum": [
              "direct",
              "automated"
            ],
            "type": "string"
          },
          "input": {
            "additionalProperties": {},
            "description": "The JSON Schema of the action's input.",
            "type": "object"
          }
        },
        "required": [
          "action",
          "input",
          "execution"
        ],
        "type": "object"
      },
      "RecordsDiscoveryFamily": {
        "additionalProperties": false,
        "properties": {
          "actions": {
            "description": "The Records actions the family exposes which this seat may run, while the org serves Records actions.",
            "items": {
              "$ref": "#/components/schemas/RecordsDiscoveryAction"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "collection": {
            "description": "The family's public collection under /records, when it has one.",
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "family": {
            "description": "The family's name in the org's set; its schema carries the same name as x-records-family.",
            "type": "string"
          },
          "operations": {
            "description": "The operations that read or write the family which this seat may call.",
            "items": {
              "$ref": "#/components/schemas/RecordsDiscoveryOperation"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "schema": {
            "additionalProperties": {},
            "description": "The JSON Schema (2020-12) of one row as the seat reads it: the published family schema without the properties a read withholds from this seat (a denied field class, or a class the family declares credit-scoped).",
            "type": "object"
          }
        },
        "required": [
          "family",
          "schema",
          "operations"
        ],
        "type": "object"
      },
      "RecordsDiscoveryOperation": {
        "additionalProperties": false,
        "properties": {
          "execution": {
            "description": "What a call needs beyond the grant: nothing (direct, automated), the confirmed payload hash (confirm) or an approval (approval_required).",
            "enum": [
              "direct",
              "automated",
              "confirm",
              "approval_required"
            ],
            "type": "string"
          },
          "kind": {
            "enum": [
              "read",
              "write"
            ],
            "type": "string"
          },
          "method": {
            "enum": [
              "GET",
              "POST",
              "PATCH",
              "PUT",
              "DELETE"
            ],
            "type": "string"
          },
          "operation_id": {
            "description": "The contract's operation id; the SDK's typed call for it.",
            "type": "string"
          },
          "parameters": {
            "description": "The operation's declared path and query parameters, by name. A parameter not listed is refused with INVALID_ARGUMENT. A write's body is in the contract, not here.",
            "items": {
              "$ref": "#/components/schemas/RecordsDiscoveryParameter"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "path": {
            "description": "The contract path, with its path parameters.",
            "type": "string"
          },
          "requires_view": {
            "description": "true when the seat may read the operation only through one of views.",
            "type": "boolean"
          },
          "views": {
            "description": "The view= values this seat may read, for an operation whose views have their own access rule.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "operation_id",
          "method",
          "path",
          "kind",
          "execution"
        ],
        "type": "object"
      },
      "RecordsDiscoveryParameter": {
        "additionalProperties": false,
        "properties": {
          "in": {
            "enum": [
              "path",
              "query"
            ],
            "type": "string"
          },
          "name": {
            "description": "The parameter's name as the request spells it.",
            "type": "string"
          },
          "required": {
            "type": "boolean"
          },
          "schema": {
            "additionalProperties": {},
            "description": "The parameter's JSON Schema as the contract publishes it: its type, its declared values (enum) and its description.",
            "type": "object"
          }
        },
        "required": [
          "name",
          "in",
          "schema"
        ],
        "type": "object"
      },
      "RecordsDocumentMemberJSON": {
        "additionalProperties": false,
        "properties": {
          "address": {
            "description": "The member Document's doc: address.",
            "type": "string"
          },
          "filename": {
            "type": "string"
          },
          "media_type": {
            "type": "string"
          },
          "path": {
            "description": "The member's path in its container, the value of the member query parameter.",
            "type": "string"
          },
          "route": {
            "description": "The Records route that reads the member's pages.",
            "type": "string"
          },
          "size_bytes": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "path",
          "filename",
          "media_type",
          "size_bytes",
          "address",
          "route"
        ],
        "type": "object"
      },
      "RecordsDocumentPageJSON": {
        "additionalProperties": false,
        "properties": {
          "address": {
            "description": "The unit's doc: citation address. Absent for a seat bound to a live source, whose reads register nothing.",
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "page": {
            "description": "The unit's number from 1: a page of a paged file, a sheet of a workbook, the text of a text file.",
            "format": "int64",
            "type": "integer"
          },
          "readable": {
            "description": "Whether the unit has text to deliver; a scanned page without text is not readable.",
            "type": "boolean"
          },
          "text": {
            "description": "The unit's text; empty when it has none to deliver.",
            "type": "string"
          }
        },
        "required": [
          "page",
          "label",
          "readable",
          "text"
        ],
        "type": "object"
      },
      "RecordsDocumentPagesData": {
        "additionalProperties": false,
        "properties": {
          "address": {
            "description": "The document version's doc: address. Absent for a seat bound to a live source.",
            "type": "string"
          },
          "derivation": {
            "type": "string"
          },
          "filename": {
            "type": "string"
          },
          "id": {
            "description": "The document's Records id, as requested.",
            "type": "string"
          },
          "member": {
            "description": "The member path read, when the request named one.",
            "type": "string"
          },
          "members": {
            "description": "A container's members (a filed email's body and attachments, an Outlook message's, a zip's files). Absent for a file that is not a container.",
            "items": {
              "$ref": "#/components/schemas/RecordsDocumentMemberJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "page_count": {
            "description": "The document's unit count: pages, sheets or text units.",
            "format": "int64",
            "type": "integer"
          },
          "pages": {
            "items": {
              "$ref": "#/components/schemas/RecordsDocumentPageJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "description": "ready when the file parsed; failed when its format cannot be read, with no pages.",
            "type": "string"
          }
        },
        "required": [
          "id",
          "filename",
          "page_count",
          "derivation",
          "status",
          "pages"
        ],
        "type": "object"
      },
      "RecordsDocumentPagesJSON": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/RecordsDocumentPagesData"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "RecordsSearchBody": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/RecordsSearchHit"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "views": {
            "description": "One entry per view the search ran for the seat, with its family, source and status. The search is complete only when this is non-empty and every view is complete.",
            "items": {
              "$ref": "#/components/schemas/RecordsSearchView"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "views",
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "RecordsSearchHit": {
        "additionalProperties": false,
        "properties": {
          "collection": {
            "description": "Its public collection under /records.",
            "type": "string"
          },
          "exact": {
            "description": "True when the hit's name is the query under the match rule its search view registers for the hit's kind. A view lists its exact hits first, so a partial view that answers any hit that is not exact has answered every exact one.",
            "type": "boolean"
          },
          "family": {
            "description": "The family the record belongs to.",
            "type": "string"
          },
          "id": {
            "description": "The record id, as GET /records/{collection}/{id} takes it: the id the collection's list serves for the record.",
            "type": "string"
          },
          "in_force": {
            "description": "True when the account holds a policy in force that the seat can read. On an equal match an account in force ranks above one with none.",
            "type": "boolean"
          },
          "inactive": {
            "description": "True when AMS 360 marks the account inactive. An inactive account ranks below an active one that matched as well.",
            "type": "boolean"
          },
          "match": {
            "description": "How an account hit's names matched the query, best first: exact (the name is the query), number (the query is its AMS 360 customer number, or part of one of its policy numbers), words (every word typed starts a word of a name), contains (every word typed is inside a name), all_but_one (all but one of 3 or more words typed), near (a word typed is one letter away from a word of a name; read only when nothing matched better). Hits arrive in this order. Absent on a policy hit.",
            "enum": [
              "exact",
              "number",
              "words",
              "contains",
              "all_but_one",
              "near"
            ],
            "type": "string"
          },
          "name": {
            "description": "The record's name, as the collection's list serves it.",
            "type": "string"
          },
          "path": {
            "description": "The record's read path.",
            "type": "string"
          },
          "prospect": {
            "description": "True when AMS 360 holds the account as a prospect. A prospect ranks below a customer that matched as well.",
            "type": "boolean"
          }
        },
        "required": [
          "family",
          "collection",
          "id",
          "name",
          "exact",
          "path"
        ],
        "type": "object"
      },
      "RecordsSearchView": {
        "additionalProperties": false,
        "properties": {
          "family": {
            "description": "The family whose source answers this view's name search.",
            "type": "string"
          },
          "reason": {
            "description": "Why the view is not complete: limit_reached for a partial view, the unreachable gap's reason otherwise.",
            "type": "string"
          },
          "source": {
            "description": "The registry source id that searched the view; empty when no source served it.",
            "type": "string"
          },
          "status": {
            "description": "complete when the source answered with fewer rows than the limit, so the view's hits are every match the seat may open; partial when the source answered at the limit and more may match; unreachable when no source could search the view for this seat (its gap is in unreachable).",
            "enum": [
              "complete",
              "partial",
              "unreachable"
            ],
            "type": "string"
          }
        },
        "required": [
          "family",
          "source",
          "status"
        ],
        "type": "object"
      },
      "Reference": {
        "additionalProperties": false,
        "properties": {
          "product_grain": {
            "enum": [
              "product",
              "type"
            ],
            "type": "string"
          },
          "product_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "product_source_text": {
            "type": "string"
          },
          "product_unmatched_reason": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "product_id",
          "product_grain",
          "product_source_text",
          "product_unmatched_reason"
        ],
        "type": "object"
      },
      "RefusedDetail": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "type": "string"
          }
        },
        "required": [
          "reason"
        ],
        "type": "object"
      },
      "RegisterProductGroup": {
        "additionalProperties": false,
        "properties": {
          "avoided": {
            "type": "boolean"
          },
          "commission_new_range": {
            "$ref": "#/components/schemas/ProductGroupRange",
            "description": "Lowest and highest new-business commission among the line's variants, as fractions; null when none states one."
          },
          "commission_renewal_range": {
            "$ref": "#/components/schemas/ProductGroupRange",
            "description": "Lowest and highest renewal commission among the line's variants, as fractions; null when none states one."
          },
          "conditions": {
            "description": "Distinct applicable-when conditions across variants; a condition that only re-lists a variant's own states is left out.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "held_count": {
            "description": "Variants whose answer the platform holds for review.",
            "format": "int64",
            "type": "integer"
          },
          "label": {
            "type": "string"
          },
          "line_class": {
            "type": "string"
          },
          "line_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "programs": {
            "description": "Distinct programs across variants.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "schedules": {
            "description": "Effective dates (YYYY-MM-DD) of the schedules marked governing this line, oldest first; empty when none is marked.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source_refs": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "states": {
            "description": "The union of the states the variants' terms name.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "undisclosed_count": {
            "description": "Variants that state no commission at all and are not held for review.",
            "format": "int64",
            "type": "integer"
          },
          "variants": {
            "items": {
              "$ref": "#/components/schemas/MarketProductVariant"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "commission_new_range",
          "commission_renewal_range",
          "undisclosed_count",
          "held_count",
          "schedules",
          "states",
          "conditions",
          "programs",
          "label",
          "line_code",
          "line_class",
          "variants",
          "source_refs",
          "avoided"
        ],
        "type": "object"
      },
      "RegisterView": {
        "additionalProperties": false,
        "properties": {
          "columns": {
            "$ref": "#/components/schemas/Columns",
            "description": "Absent for a register that shows no table."
          },
          "filters": {
            "additionalProperties": {
              "additionalProperties": {
                "oneOf": [
                  {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  {
                    "type": "integer"
                  },
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "string"
                  }
                ]
              },
              "description": "Filter values by key: a list of values for a hide or keep filter, a string for a select, a whole number of days for a day window or of dollars for an amount (0 is off), a boolean for a toggle.",
              "type": "object"
            },
            "description": "Saved filters by scope, then by key: what the register's list applies when a request names no view filter. A list that reads one view saves under all; markets saves under the question it is asked (line, state or all). A filter left out reads its default.",
            "type": "object"
          },
          "updated_at": {
            "description": "When the view last changed; null when nothing is saved.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "filters",
          "updated_at"
        ],
        "type": "object"
      },
      "RegisterViewWrite": {
        "additionalProperties": false,
        "properties": {
          "columns": {
            "description": "The columns to show, in order: keys of columns.available. Absent leaves them unchanged; a key the seat may not read, or the register does not serve, is refused with 422.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "filters": {
            "additionalProperties": {
              "additionalProperties": {
                "anyOf": [
                  {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  {
                    "type": "integer"
                  },
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": "Filter values to change, by key: a list of values for a hide or keep filter, a string for a select, a whole number of days for a day window or of dollars for an amount (0 is off), a boolean for a toggle, or null to return the filter to its default. A filter left out stays as saved.",
              "type": "object"
            },
            "description": "The filters to change, by scope, then by key: each must be a scope the register saves under and a filter its list serves there, with a value it takes, or null to return the filter to its default; any other scope, key or value is refused with 422. Every filter and scope left out stays as saved.",
            "type": "object"
          }
        },
        "type": "object"
      },
      "RegisterWorkWindow": {
        "additionalProperties": false,
        "properties": {
          "bands": {
            "description": "The today work view's day bands of the renewal window (0 to 30, 30 to 60, 60 to 120, 120 to the window's end): per band, the policies of the view's selection expiring in it, the accounts whose nearest selected renewal does, and those of them still open that the status rule left unbanded. The same counts as rollups.renewals.facets.bands on the same read; present on every today read, absent on every other view.",
            "items": {
              "$ref": "#/components/schemas/BookRenewalRegisterBand"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "days_from": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "days_to": {
            "description": "Exclusive upper day boundary.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "limit": {
            "format": "int64",
            "type": "integer"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "days_from",
          "days_to",
          "limit"
        ],
        "type": "object"
      },
      "RelatedBook": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": [
              "string",
              "null"
            ]
          },
          "in_force_accounts": {
            "format": "int64",
            "type": "integer"
          },
          "in_force_policies": {
            "format": "int64",
            "type": "integer"
          },
          "kind": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "code",
          "name",
          "in_force_policies",
          "in_force_accounts"
        ],
        "type": "object"
      },
      "RelatedBooks": {
        "additionalProperties": false,
        "properties": {
          "books": {
            "items": {
              "$ref": "#/components/schemas/RelatedBook"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "books"
        ],
        "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"
      },
      "RenewalEntry": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "description": "The account's id (its instance key); null when the renewal chain names no customer.",
            "type": [
              "string",
              "null"
            ]
          },
          "ams360_datasource": {
            "type": [
              "string",
              "null"
            ]
          },
          "assign_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "assigned_to": {
            "type": [
              "string",
              "null"
            ]
          },
          "assigned_to_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "comments": {
            "description": "The producer's working note on the entry.",
            "type": [
              "string",
              "null"
            ]
          },
          "complete_flag": {
            "description": "is_complete read as AMS 360's yes or no: true or false, null when the entry lands no flag or a value that is neither. is_complete keeps the source text.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "full_term_premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "has_note": {
            "type": "boolean"
          },
          "id": {
            "description": "The entry's instance key, {instance}:renewal_entry:{renewal list row id}.",
            "type": "string"
          },
          "is_complete": {
            "type": [
              "string",
              "null"
            ]
          },
          "list_comments": {
            "description": "The note on the entry's renewal list.",
            "type": [
              "string",
              "null"
            ]
          },
          "list_description": {
            "type": [
              "string",
              "null"
            ]
          },
          "list_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "list_status": {
            "type": [
              "string",
              "null"
            ]
          },
          "not_renewable": {
            "type": [
              "string",
              "null"
            ]
          },
          "not_renewable_flag": {
            "description": "not_renewable read as AMS 360's yes or no: true or false, null when the term lands no flag or a value that is neither. not_renewable keeps the source text.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "policy_id": {
            "description": "The policy term's id (its instance key); null when the entry names a policy the book does not carry.",
            "type": [
              "string",
              "null"
            ]
          },
          "policy_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "renewal_list_row_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "renewal_policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "run_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "source_policy_id": {
            "description": "The policy id the source system gives the entry (the old policy_id).",
            "type": [
              "string",
              "null"
            ]
          },
          "stage": {
            "type": [
              "string",
              "null"
            ]
          },
          "term_effective_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "term_expiration_date": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "policy_id",
          "account_id",
          "ams360_datasource",
          "source_policy_id",
          "policy_number",
          "renewal_list_row_id",
          "renewal_policy_id",
          "list_id",
          "list_description",
          "list_status",
          "assigned_to",
          "assigned_to_name",
          "assign_date",
          "run_date",
          "stage",
          "is_complete",
          "comments",
          "list_comments",
          "has_note",
          "term_effective_date",
          "term_expiration_date",
          "not_renewable",
          "full_term_premium",
          "complete_flag",
          "not_renewable_flag"
        ],
        "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"
      },
      "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"
      },
      "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"
      },
      "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"
      },
      "Reservation": {
        "additionalProperties": false,
        "properties": {
          "blob": {
            "$ref": "#/components/schemas/AppStoreBlob"
          },
          "uploadExpiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "uploadUrl": {
            "type": "string"
          }
        },
        "required": [
          "blob"
        ],
        "type": "object"
      },
      "ReserveAttachmentRequest": {
        "additionalProperties": false,
        "properties": {
          "content_type": {
            "type": "string"
          },
          "end_user": {
            "type": "string"
          },
          "filename": {
            "type": "string"
          },
          "size_bytes": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "end_user",
          "filename",
          "content_type",
          "size_bytes"
        ],
        "type": "object"
      },
      "ReservedDocument": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": "string"
          },
          "content_type": {
            "type": "string"
          },
          "document_id": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "size_bytes": {
            "format": "int64",
            "type": "integer"
          },
          "upload_expires_at": {
            "format": "date-time",
            "type": "string"
          },
          "upload_url": {
            "type": "string"
          }
        },
        "required": [
          "document_id",
          "account_id",
          "name",
          "kind",
          "content_type",
          "size_bytes"
        ],
        "type": "object"
      },
      "Resolution": {
        "additionalProperties": false,
        "properties": {
          "detail": {
            "description": "The reason in a sentence.",
            "type": "string"
          },
          "input": {
            "description": "The input as given.",
            "type": "string"
          },
          "notes": {
            "description": "How the input was read, when a person could read it another way (a four-digit code that is also a SIC code, a code read in an older vintage).",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "reason": {
            "description": "Why there is no match.",
            "enum": [
              "empty_input",
              "not_a_code",
              "unknown_code",
              "wrong_width",
              "no_words_matched",
              "too_many_words"
            ],
            "type": "string"
          },
          "status": {
            "description": "matched: one target. ambiguous: several targets and none chosen: a split concordance lists every one; words list the best five of total. no_match: no target; reason says why.",
            "enum": [
              "matched",
              "ambiguous",
              "no_match"
            ],
            "type": "string"
          },
          "system": {
            "description": "The system the input was read in: naics2022, naics2017, naics2012, naics2007, naics2002, naics1997, sic1987 or words; naics when no NAICS vintage held a code read as any NAICS.",
            "type": "string"
          },
          "targets": {
            "items": {
              "$ref": "#/components/schemas/Target"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "description": "The number of targets the input reaches. Equal to the length of targets, except for words, whose targets are the best five of total.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "input",
          "system",
          "status",
          "total",
          "notes",
          "targets"
        ],
        "type": "object"
      },
      "ResourceWire": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": "string"
          },
          "actor_name": {
            "type": "string"
          },
          "app_id": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "data": {},
          "document_id": {
            "type": "string"
          },
          "engine_run_id": {
            "type": "string"
          },
          "extraction_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "item_key": {
            "type": "string"
          },
          "notice_id": {
            "type": "string"
          },
          "policy_id": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "user_id": {
            "type": "string"
          }
        },
        "required": [
          "app_id",
          "id",
          "data",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "RestoreVersionResponse": {
        "additionalProperties": false,
        "properties": {
          "restored_from": {
            "description": "The version whose config is now the draft.",
            "type": "string"
          }
        },
        "required": [
          "restored_from"
        ],
        "type": "object"
      },
      "RetentionDivisionMember": {
        "additionalProperties": false,
        "properties": {
          "agency_code": {
            "type": "string"
          },
          "division_code": {
            "type": "string"
          }
        },
        "required": [
          "agency_code",
          "division_code"
        ],
        "type": "object"
      },
      "RetentionLostCount": {
        "additionalProperties": false,
        "properties": {
          "label": {
            "description": "The reason's words as the org declares them; empty with an empty reason.",
            "type": "string"
          },
          "marks": {
            "description": "How many rows of this read are Lost with this reason.",
            "format": "int64",
            "type": "integer"
          },
          "reason": {
            "description": "The lost reason code; empty for Lost marks recorded with a note only.",
            "type": "string"
          }
        },
        "required": [
          "reason",
          "label",
          "marks"
        ],
        "type": "object"
      },
      "RetentionMark": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "description": "The account's instance key.",
            "type": "string"
          },
          "account_name": {
            "description": "The client's name; empty when the account's client row names none.",
            "type": "string"
          },
          "expected_revenue": {
            "type": [
              "string",
              "null"
            ]
          },
          "last_action": {
            "$ref": "#/components/schemas/BookRetentionLastAction",
            "description": "The last action on this renewal: the latest of this mark, a note on the client, or a task on the client completed, by the rule the renewals register's last_action_at uses, so its at equals that value for the same client and period. Served on the account's retention read and the account picture."
          },
          "marked_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "marked_by": {
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "outlook": {
            "type": "string"
          },
          "period": {
            "type": "string"
          },
          "policies": {
            "description": "The account's policy terms the seat may read that expire in the period's month, by expiration date then number. Empty when none is on record.",
            "items": {
              "$ref": "#/components/schemas/BookRetentionMarkPolicy"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "reason": {
            "description": "A Lost mark's reason code, one of the org's lost reasons (GET /records/machines/renewal_outcome, the lost value's reasons), as AMS 360 codes it. Empty on every other mark and on a Lost mark recorded with a note only.",
            "type": "string"
          },
          "reason_label": {
            "description": "The reason's words as the org declares them; empty when the mark carries no reason.",
            "type": "string"
          },
          "revision": {
            "format": "int64",
            "type": "integer"
          },
          "touches": {
            "description": "Every mark and take-back on this renewal, newest first, as the action ledger recorded them: the current mark is the first. Served on the account's retention read and the account picture.",
            "items": {
              "$ref": "#/components/schemas/BookRetentionMarkTouch"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "account_id",
          "account_name",
          "policies",
          "period",
          "outlook",
          "note",
          "reason",
          "reason_label",
          "expected_revenue",
          "marked_by",
          "marked_at",
          "revision"
        ],
        "type": "object"
      },
      "RetentionMarket": {
        "additionalProperties": false,
        "properties": {
          "divisions": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "line": {
            "type": "string"
          },
          "members": {
            "items": {
              "$ref": "#/components/schemas/RetentionDivisionMember"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "platform": {
            "type": "string"
          }
        },
        "required": [
          "platform",
          "name",
          "line",
          "divisions"
        ],
        "type": "object"
      },
      "RetentionMarksRollup": {
        "additionalProperties": false,
        "properties": {
          "lost_by_reason": {
            "description": "The Lost rows counted by reason, in the order the org declares its lost reasons, each reason with at least one mark; a Lost mark recorded with a note only counts under an empty reason, last.",
            "items": {
              "$ref": "#/components/schemas/RetentionLostCount"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "rows": {
            "description": "One row per account and renewal period, by period, then account name. A mark on an account the subject may not open is left out.",
            "items": {
              "$ref": "#/components/schemas/RetentionMark"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "rows",
          "lost_by_reason"
        ],
        "type": "object"
      },
      "RetentionPlatformMarkets": {
        "additionalProperties": false,
        "properties": {
          "markets": {
            "items": {
              "$ref": "#/components/schemas/RetentionMarket"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "platform": {
            "type": "string"
          }
        },
        "required": [
          "platform",
          "markets"
        ],
        "type": "object"
      },
      "RetentionRenewalsRollup": {
        "additionalProperties": false,
        "properties": {
          "client_manager": {
            "type": "string"
          },
          "excluded": {
            "type": "boolean"
          },
          "focus": {
            "type": "string"
          },
          "markets": {
            "items": {
              "$ref": "#/components/schemas/RetentionMarket"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "min": {
            "format": "int64",
            "type": "integer"
          },
          "months": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "platform": {
            "type": "string"
          },
          "platform_markets": {
            "items": {
              "$ref": "#/components/schemas/RetentionPlatformMarkets"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "platforms": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "preset": {
            "type": "string"
          },
          "producer": {
            "type": "string"
          },
          "review": {
            "$ref": "#/components/schemas/BookRetentionReview",
            "description": "A preset or an owner subject only: the focus renewals (one per account and month) and how many carry a mark made in the last 14 days, counted over the whole focus set before the cap."
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/BookRetentionRenewalRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "sort": {
            "enum": [
              "month",
              "revenue",
              "lastAction"
            ],
            "type": "string"
          },
          "total": {
            "description": "The rows the read's selection, q and view filters keep, counted before the cap.",
            "format": "int64",
            "type": "integer"
          },
          "truncated": {
            "description": "Rows past the read's cap were left out: total is more than the rows served.",
            "type": "boolean"
          },
          "view": {
            "$ref": "#/components/schemas/View",
            "description": "The view filters this read applied, each outlook's count and the rows the filters hide, all counted before the cap over the rows the selection and q keep."
          }
        },
        "required": [
          "rows",
          "platform",
          "platforms",
          "platform_markets",
          "markets",
          "months",
          "min",
          "preset",
          "producer",
          "client_manager",
          "focus",
          "excluded",
          "truncated",
          "total",
          "view"
        ],
        "type": "object"
      },
      "RetentionRollup": {
        "additionalProperties": false,
        "properties": {
          "by": {
            "type": "string"
          },
          "focus": {
            "type": "string"
          },
          "market": {
            "type": "string"
          },
          "months": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "period": {
            "type": "string"
          },
          "platform": {
            "type": "string"
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/BookRetentionRollupRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "totals": {
            "$ref": "#/components/schemas/BookRetentionRollupTotals"
          }
        },
        "required": [
          "rows",
          "totals",
          "by",
          "focus",
          "period",
          "platform",
          "market",
          "months"
        ],
        "type": "object"
      },
      "RiskFactorCheck": {
        "additionalProperties": false,
        "properties": {
          "account_value": {},
          "factor": {
            "type": "string"
          },
          "market_value": {},
          "reason": {
            "type": "string"
          },
          "shape": {
            "type": "string"
          },
          "source_path": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "factor",
          "status",
          "shape",
          "account_value",
          "market_value",
          "source_path"
        ],
        "type": "object"
      },
      "RiskItemAddedItem": {
        "additionalProperties": false,
        "properties": {
          "exposureArea": {
            "type": [
              "string",
              "null"
            ]
          },
          "frequency": {
            "enum": [
              "low",
              "moderate",
              "high"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "note": {
            "type": [
              "string",
              "null"
            ]
          },
          "severity": {
            "enum": [
              "low",
              "moderate",
              "high"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "title",
          "note",
          "exposureArea",
          "severity",
          "frequency"
        ],
        "type": "object"
      },
      "RiskItemDisposition": {
        "additionalProperties": false,
        "properties": {
          "accountId": {
            "type": "string"
          },
          "actorUserId": {
            "type": "string"
          },
          "addedItem": {
            "$ref": "#/components/schemas/RiskItemAddedItem"
          },
          "change": {
            "$ref": "#/components/schemas/RiskItemDispositionChange"
          },
          "createdAt": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "itemKey": {
            "type": "string"
          },
          "itemKind": {
            "enum": [
              "engine_hazard",
              "class_hazard",
              "producer_added",
              "program_line"
            ],
            "type": "string"
          },
          "previousStatus": {
            "enum": [
              "confirmed",
              "flagged",
              "dismissed"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "sourceRef": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "enum": [
              "confirmed",
              "flagged",
              "dismissed"
            ],
            "type": "string"
          },
          "updatedAt": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "accountId",
          "itemKey",
          "itemKind",
          "status",
          "reason",
          "sourceRef",
          "change",
          "actorUserId",
          "previousStatus",
          "addedItem",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "RiskItemDispositionChange": {
        "additionalProperties": false,
        "properties": {
          "value": {
            "type": "string"
          }
        },
        "required": [
          "value"
        ],
        "type": "object"
      },
      "RoadmapProgramRow": {
        "additionalProperties": false,
        "properties": {
          "data": {},
          "updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "version_number": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "data",
          "version_number",
          "updated_at"
        ],
        "type": "object"
      },
      "RunByKeyResponse": {
        "additionalProperties": false,
        "properties": {
          "run_id": {
            "type": "string"
          },
          "run_state": {
            "$ref": "#/components/schemas/RunState"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "run_id",
          "status",
          "run_state"
        ],
        "type": "object"
      },
      "RunCancelAccepted": {
        "additionalProperties": false,
        "properties": {
          "cancel_requested_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "run_id": {
            "type": "string"
          },
          "run_state": {
            "$ref": "#/components/schemas/RunState"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "run_id",
          "status",
          "run_state",
          "cancel_requested_at"
        ],
        "type": "object"
      },
      "RunCancelRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "type": "string"
          }
        },
        "required": [
          "reason"
        ],
        "type": "object"
      },
      "RunEngineRef": {
        "additionalProperties": false,
        "properties": {
          "engine_type": {
            "type": "string"
          },
          "response_type": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          }
        },
        "required": [
          "slug",
          "engine_type",
          "response_type"
        ],
        "type": "object"
      },
      "RunHeader": {
        "additionalProperties": false,
        "properties": {
          "completed_at": {
            "format": "date-time",
            "type": "string"
          },
          "cost_rollup": {
            "$ref": "#/components/schemas/CostRollup"
          },
          "engine_config_version_hash": {
            "type": "string"
          },
          "engine_id": {
            "type": "string"
          },
          "engine_type": {
            "type": "string"
          },
          "environment": {
            "type": "string"
          },
          "error_details": {},
          "id": {
            "type": "string"
          },
          "parent_run_id": {
            "type": "string"
          },
          "started_at": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "submitted_by": {
            "type": "string"
          },
          "submitted_by_label": {
            "type": "string"
          },
          "trace_id": {
            "type": "string"
          },
          "triggered_by_run_id": {
            "type": "string"
          },
          "warning_details": {}
        },
        "required": [
          "id",
          "status",
          "started_at",
          "environment",
          "cost_rollup"
        ],
        "type": "object"
      },
      "RunPosition": {
        "additionalProperties": false,
        "properties": {
          "basis": {
            "type": "string"
          },
          "field_best": {
            "format": "double",
            "type": "number"
          },
          "field_worst": {
            "format": "double",
            "type": "number"
          },
          "margin": {
            "format": "double",
            "type": "number"
          },
          "percentile": {
            "format": "double",
            "type": "number"
          },
          "population": {
            "format": "int64",
            "type": "integer"
          },
          "population_unit": {
            "type": "string"
          },
          "tied": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "percentile",
          "tied",
          "population",
          "population_unit",
          "basis",
          "field_best",
          "field_worst"
        ],
        "type": "object"
      },
      "RunSolution": {
        "additionalProperties": false,
        "properties": {
          "bundle": {},
          "cluster_label": {
            "type": "string"
          },
          "consolidation_discount": {
            "format": "double",
            "type": "number"
          },
          "est_cost_high": {
            "format": "int64",
            "type": "integer"
          },
          "est_cost_low": {
            "format": "int64",
            "type": "integer"
          },
          "headline": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "narrative": {},
          "offerings": {},
          "provider_count": {
            "format": "int64",
            "type": "integer"
          },
          "rank": {
            "format": "int64",
            "type": "integer"
          },
          "requirements_met": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "scorecard": {}
        },
        "required": [
          "id",
          "offerings",
          "requirements_met",
          "provider_count",
          "scorecard"
        ],
        "type": "object"
      },
      "RunState": {
        "additionalProperties": false,
        "properties": {
          "failed": {
            "description": "The run ended on a fault. A run that was stopped on purpose settles without one.",
            "type": "boolean"
          },
          "label": {
            "description": "The status in a professional's words.",
            "type": "string"
          },
          "settled": {
            "description": "The status will not change again.",
            "type": "boolean"
          },
          "success": {
            "description": "The run ended with its answer.",
            "type": "boolean"
          },
          "tone": {
            "description": "The tone the status shows with.",
            "enum": [
              "neutral",
              "info",
              "positive",
              "warning",
              "danger"
            ],
            "type": "string"
          }
        },
        "required": [
          "settled",
          "success",
          "failed",
          "label",
          "tone"
        ],
        "type": "object"
      },
      "RunStatusResponse": {
        "additionalProperties": false,
        "properties": {
          "attempt": {
            "format": "int64",
            "type": "integer"
          },
          "completed_at": {
            "type": "string"
          },
          "completed_deterministic_at": {
            "type": "string"
          },
          "computed_at_head": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "duration_ms": {
            "format": "int64",
            "type": "integer"
          },
          "engine_config_version_hash": {
            "type": "string"
          },
          "engine_type": {
            "type": "string"
          },
          "engine_version": {
            "type": "string"
          },
          "environment": {
            "type": "string"
          },
          "error": {
            "type": "string"
          },
          "error_details": {},
          "handoffs": {
            "items": {
              "$ref": "#/components/schemas/RunWorkerMove"
            },
            "type": "array"
          },
          "input": {},
          "last_parked_until": {
            "type": "string"
          },
          "output": {},
          "output_phase": {
            "type": "string"
          },
          "park_reason": {
            "type": "string"
          },
          "parked_until": {
            "type": "string"
          },
          "run_id": {
            "type": "string"
          },
          "run_state": {
            "$ref": "#/components/schemas/RunState"
          },
          "served_head": {
            "type": "string"
          },
          "solutions": {
            "items": {
              "$ref": "#/components/schemas/RunSolution"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "stage": {
            "type": "string"
          },
          "stale": {
            "type": "boolean"
          },
          "started_at": {
            "type": "string"
          },
          "status": {
            "description": "The run's status: queued, processing, then one terminal status (completed, degraded, failed, cancelled).",
            "enum": [
              "queued",
              "processing",
              "completed",
              "degraded",
              "failed",
              "cancelled"
            ],
            "type": "string"
          },
          "step": {
            "type": "string"
          },
          "total_duration_ms": {
            "format": "int64",
            "type": "integer"
          },
          "trace_id": {
            "type": "string"
          },
          "warnings": {},
          "work_items": {
            "$ref": "#/components/schemas/RunWorkItems"
          }
        },
        "required": [
          "run_id",
          "status",
          "run_state",
          "environment",
          "attempt",
          "created_at"
        ],
        "type": "object"
      },
      "RunWorkItems": {
        "additionalProperties": false,
        "properties": {
          "problems": {
            "items": {
              "$ref": "#/components/schemas/WorkItemProblem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "required": {
            "format": "int64",
            "type": "integer"
          },
          "required_cancelled": {
            "format": "int64",
            "type": "integer"
          },
          "required_complete": {
            "format": "int64",
            "type": "integer"
          },
          "required_failed": {
            "format": "int64",
            "type": "integer"
          },
          "required_incomplete": {
            "format": "int64",
            "type": "integer"
          },
          "suggested_terminal": {
            "type": "string"
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "total",
          "required",
          "required_complete",
          "required_incomplete",
          "required_failed",
          "required_cancelled",
          "suggested_terminal"
        ],
        "type": "object"
      },
      "RunWorkerMove": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "format": "date-time",
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "resumed_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "stage": {
            "type": [
              "string",
              "null"
            ]
          },
          "step": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "at",
          "reason",
          "stage",
          "step",
          "resumed_at",
          "message"
        ],
        "type": "object"
      },
      "SatisfiedBy": {
        "additionalProperties": false,
        "properties": {
          "document_ids": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source_path": {
            "type": "string"
          },
          "template_id": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "Schema": {
        "additionalProperties": false,
        "properties": {
          "children": {
            "items": {
              "$ref": "#/components/schemas/Schema"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "description": {
            "type": "string"
          },
          "enum_values": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "nullable": {
            "type": "boolean"
          },
          "omit_from_example": {
            "type": "boolean"
          },
          "privacy": {
            "$ref": "#/components/schemas/FieldPrivacy"
          },
          "privacy_policy": {
            "$ref": "#/components/schemas/PrivacyPolicy"
          },
          "required": {
            "type": "boolean"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "type",
          "required"
        ],
        "type": "object"
      },
      "SchemeActionCommand": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "description": "The account the command addresses, as its instance key ({instance}:customer:{id}). A bk1_ account key is accepted for the length of the cutover train. Exactly one of account_id, policy_id, or catalog_entity_type with catalog_id.",
            "type": "string"
          },
          "basis": {
            "$ref": "#/components/schemas/BookBasisJSON",
            "description": "The read the command was issued against."
          },
          "catalog_entity_type": {
            "description": "A catalog entity's type, with catalog_id.",
            "type": "string"
          },
          "catalog_id": {
            "description": "A catalog entity's id, with catalog_entity_type.",
            "type": "string"
          },
          "command": {
            "description": "The dotted command name (note.add, task.create, ...).",
            "type": "string"
          },
          "id": {
            "description": "The command id, a UUID. Minted when absent.",
            "type": "string"
          },
          "idempotency_key": {
            "description": "The command's own replay key, a UUID. Absent: derived from the request's Idempotency-Key, the actor and the command's position, so a retry of the same request replays.",
            "type": "string"
          },
          "issued_at": {
            "format": "date-time",
            "type": "string"
          },
          "payload": {
            "description": "The command's payload, validated against its schema revision."
          },
          "policy_id": {
            "description": "The policy term the command addresses, as its instance key ({instance}:policy_term:{id}). The old generation's policy key is refused.",
            "type": "string"
          },
          "schema_rev": {
            "description": "The command's schema revision.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "command",
          "schema_rev",
          "payload"
        ],
        "type": "object"
      },
      "SchemeActionsAppendBody": {
        "additionalProperties": false,
        "properties": {
          "actor_principal": {
            "description": "The member the commands are attributed to. The credential must prove this member: the organization's key proves no member and is refused (403 CAPABILITY_DENIED, reason KEY_IDENTITY_REFUSED). When Nexio-Act-As is sent it must name the same member.",
            "type": "string"
          },
          "actor_type": {
            "enum": [
              "producer",
              "agent"
            ],
            "type": "string"
          },
          "commands": {
            "description": "One to 20 commands, appended together or not at all.",
            "items": {
              "$ref": "#/components/schemas/SchemeActionCommand"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "actor_principal",
          "actor_type",
          "commands"
        ],
        "type": "object"
      },
      "Seat": {
        "additionalProperties": false,
        "properties": {
          "ams_groups": {
            "items": {
              "$ref": "#/components/schemas/BookScopeAMSGroup"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "boundary_unit": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "employee_number": {
            "type": "string"
          },
          "exceptions": {
            "items": {
              "$ref": "#/components/schemas/DirectoryException"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "families": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "hr": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SeatHR"
              },
              {
                "type": "null"
              }
            ]
          },
          "hr_mismatch_flags": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "hr_state": {
            "type": "string"
          },
          "label_source": {
            "type": "string"
          },
          "last_resolve": {
            "$ref": "#/components/schemas/SeatResolve"
          },
          "link": {
            "$ref": "#/components/schemas/SeatLink"
          },
          "name": {
            "type": "string"
          },
          "presentation": {
            "$ref": "#/components/schemas/PersonPresentation"
          },
          "role": {
            "type": "string"
          },
          "seen_at": {
            "format": "date-time",
            "type": "string"
          },
          "system_grants": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "presentation",
          "email",
          "seen_at",
          "hr",
          "hr_mismatch_flags"
        ],
        "type": "object"
      },
      "SeatAlternate": {
        "additionalProperties": false,
        "properties": {
          "offering_id": {
            "type": "string"
          },
          "provider_name": {
            "type": "string"
          },
          "scorecard": {
            "$ref": "#/components/schemas/OfferingScore"
          },
          "selectable": {
            "type": "boolean"
          },
          "standing": {
            "type": "string"
          }
        },
        "required": [
          "offering_id",
          "provider_name",
          "scorecard",
          "standing",
          "selectable"
        ],
        "type": "object"
      },
      "SeatAxisEvidence": {
        "additionalProperties": false,
        "properties": {
          "facts": {
            "items": {
              "$ref": "#/components/schemas/SeatFact"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "sources": {
            "items": {
              "$ref": "#/components/schemas/SeatEvidenceSource"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "facts",
          "sources"
        ],
        "type": "object"
      },
      "SeatBookPlacements": {
        "additionalProperties": false,
        "properties": {
          "class_label": {
            "type": "string"
          },
          "count": {
            "format": "int64",
            "type": "integer"
          },
          "grain": {
            "type": "string"
          },
          "identity_grain": {
            "type": "string"
          },
          "identity_members": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "line_grain": {
            "type": "string"
          },
          "line_key": {
            "type": "string"
          },
          "line_placements": {
            "format": "int64",
            "type": "integer"
          },
          "line_placements_unit": {
            "type": "string"
          },
          "line_source": {
            "$ref": "#/components/schemas/SeatEvidenceSource"
          },
          "rank": {
            "format": "int64",
            "type": "integer"
          },
          "rank_population": {
            "format": "int64",
            "type": "integer"
          },
          "rank_unit": {
            "type": "string"
          },
          "unit": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "SeatCandidate": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "datasource": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "employee_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "via": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "name",
          "datasource",
          "employee_id",
          "status",
          "via"
        ],
        "type": "object"
      },
      "SeatCommission": {
        "additionalProperties": false,
        "properties": {
          "disclosure_only": {
            "type": "boolean"
          },
          "fiscal_year": {
            "type": "string"
          },
          "net_new_business_annual_cents": {
            "format": "int64",
            "type": "integer"
          },
          "net_new_business_rate": {
            "format": "double",
            "type": "number"
          },
          "new_business_annual_cents": {
            "format": "int64",
            "type": "integer"
          },
          "new_business_rate": {
            "format": "double",
            "type": "number"
          },
          "observed_annual_cents": {
            "format": "int64",
            "type": "integer"
          },
          "premium_basis": {
            "type": "string"
          },
          "rate_unit": {
            "type": "string"
          },
          "renewal_annual_cents": {
            "format": "int64",
            "type": "integer"
          },
          "renewal_rate": {
            "format": "double",
            "type": "number"
          },
          "source": {
            "type": "string"
          },
          "source_count": {
            "format": "int64",
            "type": "integer"
          },
          "source_label": {
            "type": "string"
          },
          "unit": {
            "type": "string"
          }
        },
        "required": [
          "unit",
          "rate_unit",
          "disclosure_only"
        ],
        "type": "object"
      },
      "SeatCondition": {
        "additionalProperties": false,
        "properties": {
          "account_value": {
            "type": "string"
          },
          "applies": {
            "type": "boolean"
          },
          "fact_key": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "missing_fact": {
            "type": "string"
          },
          "operator": {
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/SeatConditionSource"
          },
          "status": {
            "type": "string"
          },
          "verbatim": {
            "type": "string"
          }
        },
        "required": [
          "key",
          "label",
          "verbatim",
          "fact_key",
          "source",
          "status",
          "applies"
        ],
        "type": "object"
      },
      "SeatConditionCounts": {
        "additionalProperties": false,
        "properties": {
          "check": {
            "format": "int64",
            "type": "integer"
          },
          "meets": {
            "format": "int64",
            "type": "integer"
          },
          "unknown": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "meets",
          "check",
          "unknown"
        ],
        "type": "object"
      },
      "SeatConditionGroup": {
        "additionalProperties": false,
        "properties": {
          "notes": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source": {
            "$ref": "#/components/schemas/SeatConditionSource"
          },
          "verdicts": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "source",
          "verdicts",
          "notes"
        ],
        "type": "object"
      },
      "SeatConditionSource": {
        "additionalProperties": false,
        "properties": {
          "actor_email": {
            "type": "string"
          },
          "as_of": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "row": {
            "format": "int64",
            "type": "integer"
          },
          "sha256": {
            "type": "string"
          },
          "sheet": {
            "type": "string"
          },
          "state": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "label"
        ],
        "type": "object"
      },
      "SeatConditions": {
        "additionalProperties": false,
        "properties": {
          "counts": {
            "$ref": "#/components/schemas/SeatConditionCounts"
          },
          "groups": {
            "items": {
              "$ref": "#/components/schemas/SeatConditionGroup"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/SeatCondition"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "items",
          "counts",
          "groups"
        ],
        "type": "object"
      },
      "SeatDatapoint": {
        "additionalProperties": false,
        "properties": {
          "as_of": {
            "type": "string"
          },
          "computed_at": {
            "type": "string"
          },
          "exclusion_reason": {
            "type": "string"
          },
          "existing_keys": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "lookup_key": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "rung": {
            "type": "string"
          },
          "sample": {
            "$ref": "#/components/schemas/DatapointSample"
          },
          "sample_size": {
            "format": "int64",
            "type": "integer"
          },
          "source": {
            "type": "string"
          },
          "source_path": {
            "type": "string"
          },
          "tier": {
            "type": "string"
          },
          "unit": {
            "type": "string"
          },
          "value": {}
        },
        "required": [
          "tier",
          "source",
          "as_of"
        ],
        "type": "object"
      },
      "SeatEntitlement": {
        "additionalProperties": false,
        "properties": {
          "entitlement": {
            "$ref": "#/components/schemas/Entitlement"
          },
          "execution": {
            "$ref": "#/components/schemas/SeatExecutionView"
          },
          "scope": {
            "$ref": "#/components/schemas/SeatScopeState"
          }
        },
        "required": [
          "execution"
        ],
        "type": "object"
      },
      "SeatEvidenceChannels": {
        "additionalProperties": false,
        "properties": {
          "channels": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "read": {
            "type": "boolean"
          }
        },
        "required": [
          "read",
          "channels"
        ],
        "type": "object"
      },
      "SeatEvidenceSource": {
        "additionalProperties": false,
        "properties": {
          "as_of": {
            "type": "string"
          },
          "batch_id": {
            "type": "string"
          },
          "corpus": {
            "type": "string"
          },
          "derive_version": {
            "type": "string"
          },
          "specificity": {
            "$ref": "#/components/schemas/EvidenceSpecificity"
          },
          "trailing_years": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "corpus"
        ],
        "type": "object"
      },
      "SeatExecutionScope": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "enum": [
              "none",
              "own",
              "assigned",
              "org"
            ],
            "type": "string"
          },
          "principal": {
            "type": "string"
          }
        },
        "required": [
          "kind"
        ],
        "type": "object"
      },
      "SeatExecutionView": {
        "additionalProperties": false,
        "properties": {
          "admitted": {
            "type": "boolean"
          },
          "book_scope_actions": {
            "additionalProperties": {
              "type": "boolean"
            },
            "type": "object"
          },
          "closed_to_act_as_grant": {
            "description": "An operator whose only View as authority is the act_as grant may not View as this seat: it holds operator authority, or the workbench_admin grant at any access level (viewAsTargetAuthority).",
            "type": "boolean"
          },
          "held": {
            "type": "boolean"
          },
          "opens_leader_report": {
            "type": "boolean"
          },
          "operator_administrator": {
            "description": "This seat holds operator authority: Platform scope, or the workbench_admin grant with the access surface at write (operatorAuthority). The act_as grant alone never sets it.",
            "type": "boolean"
          },
          "retention_level": {
            "enum": [
              "corporate",
              "platform",
              "market"
            ],
            "type": "string"
          },
          "scope": {
            "$ref": "#/components/schemas/SeatExecutionScope"
          },
          "view_as_operator": {
            "description": "This seat may View as another member (viewAsOperatorAllowed's rule, actAsAuthority). Starting still checks the target.",
            "type": "boolean"
          }
        },
        "required": [
          "book_scope_actions",
          "view_as_operator",
          "operator_administrator",
          "closed_to_act_as_grant",
          "held",
          "admitted",
          "scope",
          "retention_level",
          "opens_leader_report"
        ],
        "type": "object"
      },
      "SeatFact": {
        "additionalProperties": false,
        "properties": {
          "corpus": {
            "type": "string"
          },
          "denominator": {
            "format": "int64",
            "type": "integer"
          },
          "denominator_unit": {
            "type": "string"
          },
          "grain": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "ranked": {
            "type": "boolean"
          },
          "unit": {
            "type": "string"
          },
          "value": {
            "format": "double",
            "type": "number"
          }
        },
        "required": [
          "key",
          "value",
          "unit",
          "corpus",
          "ranked"
        ],
        "type": "object"
      },
      "SeatHR": {
        "additionalProperties": false,
        "properties": {
          "employee_id": {
            "type": "string"
          },
          "hr_role": {
            "type": "string"
          },
          "is_producer": {
            "type": "boolean"
          },
          "job_title": {
            "type": "string"
          },
          "management_level": {
            "format": "int64",
            "type": "integer"
          },
          "manager_id": {
            "type": "string"
          },
          "manager_name": {
            "type": "string"
          },
          "market": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "platform": {
            "type": "string"
          },
          "rls_scope": {
            "type": "string"
          }
        },
        "required": [
          "hr_role",
          "employee_id",
          "job_title",
          "is_producer",
          "management_level",
          "manager_name",
          "platform",
          "market",
          "rls_scope"
        ],
        "type": "object"
      },
      "SeatIdentity": {
        "additionalProperties": false,
        "properties": {
          "carrier_group_ids": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "counterparty_id": {
            "type": "string"
          },
          "counterparty_name": {
            "type": "string"
          },
          "counterparty_type": {
            "type": "string"
          },
          "line_code": {
            "type": "string"
          },
          "line_name": {
            "type": "string"
          },
          "market_entity_key": {
            "type": "string"
          },
          "market_ref": {
            "type": "string"
          },
          "market_ref_unresolved": {
            "type": "string"
          },
          "market_ref_via": {
            "type": "string"
          },
          "route_kind": {
            "type": "string"
          },
          "route_market_ref": {
            "type": "string"
          },
          "route_market_ref_unresolved": {
            "type": "string"
          },
          "writing_carrier_id": {
            "type": "string"
          },
          "writing_carrier_name": {
            "type": "string"
          },
          "writing_paper_ids": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "counterparty_id",
          "counterparty_name",
          "counterparty_type",
          "writing_carrier_id",
          "writing_carrier_name",
          "line_code",
          "line_name"
        ],
        "type": "object"
      },
      "SeatLeader": {
        "additionalProperties": false,
        "properties": {
          "default_market": {
            "type": "string"
          },
          "employee_id": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "market": {
            "type": "string"
          },
          "platform": {
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "source"
        ],
        "type": "object"
      },
      "SeatLink": {
        "additionalProperties": false,
        "properties": {
          "candidates": {
            "items": {
              "$ref": "#/components/schemas/SeatCandidate"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "datasource": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "employee_code": {
            "type": "string"
          },
          "employee_id": {
            "type": "string"
          },
          "first_seen_at": {
            "format": "date-time",
            "type": "string"
          },
          "last_seen_at": {
            "format": "date-time",
            "type": "string"
          },
          "linked_at": {
            "format": "date-time",
            "type": "string"
          },
          "linked_by": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "version": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "email",
          "state",
          "candidates",
          "first_seen_at",
          "last_seen_at",
          "version"
        ],
        "type": "object"
      },
      "SeatLinkedRecord": {
        "additionalProperties": false,
        "properties": {
          "access_keys": {
            "format": "int64",
            "type": "integer"
          },
          "boundary_unit": {
            "type": "string"
          },
          "datasource": {
            "type": "string"
          },
          "employee_code": {
            "type": "string"
          },
          "employee_id": {
            "type": "string"
          },
          "groups": {
            "format": "int64",
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "served_datasource": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "datasource",
          "served_datasource",
          "employee_id",
          "employee_code",
          "name",
          "status",
          "access_keys",
          "groups"
        ],
        "type": "object"
      },
      "SeatLookupAnswer": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "datasource": {
            "type": "string"
          },
          "principals": {
            "items": {
              "$ref": "#/components/schemas/SeatLookupPrincipal"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "state": {
            "description": "matched is one principal, ambiguous several, unmatched none with every read complete, unavailable a read that did not complete.",
            "enum": [
              "matched",
              "unmatched",
              "ambiguous",
              "unavailable"
            ],
            "type": "string"
          }
        },
        "required": [
          "datasource",
          "code",
          "state",
          "principals"
        ],
        "type": "object"
      },
      "SeatLookupKey": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "description": "The AMS 360 employee code the Records row carries, verbatim.",
            "type": "string"
          },
          "datasource": {
            "description": "The served AMS 360 datasource the Records row carries.",
            "type": "string"
          }
        },
        "required": [
          "datasource",
          "code"
        ],
        "type": "object"
      },
      "SeatLookupPrincipal": {
        "additionalProperties": false,
        "properties": {
          "name": {
            "description": "The AMS 360 name of the record the principal's seat settled on; empty when the register carries none.",
            "type": "string"
          },
          "principal": {
            "description": "The principal whose derived seat holds the code.",
            "type": "string"
          }
        },
        "required": [
          "principal",
          "name"
        ],
        "type": "object"
      },
      "SeatPremium": {
        "additionalProperties": false,
        "properties": {
          "annual_cents": {
            "format": "int64",
            "type": "integer"
          },
          "basis": {
            "type": "string"
          },
          "batch_set_id": {
            "type": "string"
          },
          "line_key": {
            "type": "string"
          },
          "policy_count": {
            "format": "int64",
            "type": "integer"
          },
          "reader_copy": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "term_months": {
            "format": "int64",
            "type": "integer"
          },
          "unit": {
            "type": "string"
          }
        },
        "required": [
          "unit",
          "basis",
          "source"
        ],
        "type": "object"
      },
      "SeatPreview": {
        "additionalProperties": false,
        "properties": {
          "ams_groups": {
            "items": {
              "$ref": "#/components/schemas/BookScopeAMSGroup"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "boundary_unit": {
            "type": "string"
          },
          "datasource": {
            "type": "string"
          },
          "employee_code": {
            "type": "string"
          },
          "employee_id": {
            "type": "string"
          },
          "families": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "label_source": {
            "type": "string"
          },
          "leader": {
            "$ref": "#/components/schemas/SeatLeader"
          },
          "linked": {
            "$ref": "#/components/schemas/SeatLinkedRecord"
          },
          "name": {
            "type": "string"
          },
          "policy_source": {
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "via": {
            "type": "string"
          }
        },
        "required": [
          "via",
          "datasource",
          "employee_id",
          "employee_code",
          "name",
          "status",
          "role",
          "families",
          "ams_groups",
          "policy_source"
        ],
        "type": "object"
      },
      "SeatProfile": {
        "additionalProperties": false,
        "properties": {
          "assignment_version": {
            "format": "int64",
            "type": "integer"
          },
          "display_name": {
            "type": "string"
          },
          "operator": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "version": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "slug",
          "display_name",
          "version",
          "assignment_version"
        ],
        "type": "object"
      },
      "SeatResolutionBasis": {
        "additionalProperties": false,
        "properties": {
          "asked": {
            "description": "The key or name the deciding catalog read asked for.",
            "type": "string"
          },
          "derived": {
            "enum": [
              "seat_market_resolution"
            ],
            "type": "string"
          }
        },
        "required": [
          "derived",
          "asked"
        ],
        "type": "object"
      },
      "SeatResolve": {
        "additionalProperties": false,
        "properties": {
          "datasource": {
            "type": "string"
          },
          "employee_code": {
            "type": "string"
          },
          "employee_id": {
            "type": "string"
          },
          "label_source": {
            "type": "string"
          },
          "leader": {
            "$ref": "#/components/schemas/SeatLeader"
          },
          "policy_source": {
            "type": "string"
          },
          "principal": {
            "type": "string"
          },
          "resolved_at": {
            "format": "date-time",
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "via": {
            "type": "string"
          }
        },
        "required": [
          "resolved_at"
        ],
        "type": "object"
      },
      "SeatScopeState": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "description": "The served scope's kind (All, Platform, Self, Assigned, ...). Empty when refused.",
            "type": "string"
          },
          "refused": {
            "description": "The refusal code when the seat's scope does not resolve. Empty when it resolves.",
            "type": "string"
          }
        },
        "type": "object"
      },
      "SeatStatus": {
        "additionalProperties": false,
        "properties": {
          "ams360_base_url": {
            "type": "string"
          },
          "ams360_customer_url": {
            "type": "string"
          },
          "ams360_writes": {
            "description": "The AMS 360 saves this person's own session may make on the org's book connection; absent for every other caller, under View as, and when the connection accepts none.",
            "items": {
              "enum": [
                "attachment",
                "activity",
                "follow_up",
                "follow_up_update",
                "customer_create",
                "contact_update",
                "renewal_close",
                "policy_activity"
              ],
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "binding": {
            "$ref": "#/components/schemas/BookBindingJSON"
          },
          "entitlement": {
            "$ref": "#/components/schemas/Entitlement"
          },
          "execution": {
            "$ref": "#/components/schemas/SeatExecutionView"
          },
          "has_published": {
            "type": "boolean"
          },
          "renewal_horizon_days": {
            "description": "The org renewal look-ahead in days, shared by Renewals, Today and the Assistant.",
            "format": "int64",
            "minimum": 1,
            "type": "integer"
          },
          "scope": {
            "$ref": "#/components/schemas/BookScopeJSON"
          },
          "serving": {
            "$ref": "#/components/schemas/BookStatusServingJSON"
          },
          "status": {
            "$ref": "#/components/schemas/BookStatus"
          }
        },
        "required": [
          "execution",
          "has_published",
          "renewal_horizon_days",
          "status",
          "serving"
        ],
        "type": "object"
      },
      "SeatTerms": {
        "additionalProperties": false,
        "properties": {
          "focus_label": {
            "description": "The line group the seat reads: its line's group, else the first commercial group; null when the market has none.",
            "type": [
              "string",
              "null"
            ]
          },
          "issuing_company": {
            "description": "The first applying row's issuing company; null when none names one. Served as the row names it, even when it equals the market's name; the seat card prints it only when it differs.",
            "type": [
              "string",
              "null"
            ]
          },
          "line": {
            "description": "The catalog line code the seat asked for; null for a program-wide seat, which reads every commercial line.",
            "type": [
              "string",
              "null"
            ]
          },
          "line_row_count": {
            "description": "The commercial rows on the seat's line (every commercial row for a program-wide seat), in any state.",
            "format": "int64",
            "type": "integer"
          },
          "market_short_name": {
            "description": "The market the way a producer says it on a card: the market's served short_name. The seat card prints issuing_company as Paper only when it differs from this name.",
            "type": "string"
          },
          "product_ids": {
            "description": "The served product rows that apply to the seat: commercial, on the seat's line, applying in its state. The seat's commission and program are read from these rows only.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "program": {
            "description": "The first applying row's program; null when none names one.",
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "description": "The seat's two-letter state; empty when none was asked.",
            "type": "string"
          },
          "state_standing": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/StateStanding",
                "description": "How the seat's state stands on the market; null when no state was asked."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "market_short_name",
          "line",
          "state",
          "state_standing",
          "product_ids",
          "line_row_count",
          "focus_label",
          "program",
          "issuing_company"
        ],
        "type": "object"
      },
      "SeatTermsBasis": {
        "additionalProperties": false,
        "properties": {
          "derived": {
            "enum": [
              "market_seat_terms"
            ],
            "type": "string"
          },
          "rows_read": {
            "description": "The commercial rows on the seat's line the standing was decided from.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "derived",
          "rows_read"
        ],
        "type": "object"
      },
      "SecFilingFact": {
        "additionalProperties": false,
        "properties": {
          "concept": {
            "description": "The XBRL concept the value is filed under; for total_debt the concepts summed, joined with \" + \".",
            "type": "string"
          },
          "measure": {
            "description": "The value's meaning.",
            "enum": [
              "revenue",
              "net_income",
              "total_assets",
              "total_liabilities",
              "stockholders_equity",
              "cash",
              "total_debt"
            ],
            "type": "string"
          },
          "parts": {
            "description": "The values total_debt adds: noncurrent long-term debt and current debt.",
            "items": {
              "$ref": "#/components/schemas/SecFilingFactPart"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "period_end": {
            "description": "The period's last day, or the balance sheet date.",
            "type": "string"
          },
          "period_start": {
            "description": "The first day of the period, for a value over a period (revenue, net income).",
            "type": [
              "string",
              "null"
            ]
          },
          "unit": {
            "description": "The unit, USD for dollars.",
            "type": "string"
          },
          "value": {
            "description": "The value as filed, in unit.",
            "format": "double",
            "type": "number"
          }
        },
        "required": [
          "measure",
          "value",
          "unit",
          "concept",
          "period_start",
          "period_end",
          "parts"
        ],
        "type": "object"
      },
      "SecFilingFactPart": {
        "additionalProperties": false,
        "properties": {
          "concept": {
            "type": "string"
          },
          "value": {
            "format": "double",
            "type": "number"
          }
        },
        "required": [
          "concept",
          "value"
        ],
        "type": "object"
      },
      "SecFilingRecord": {
        "additionalProperties": false,
        "properties": {
          "accession_number": {
            "description": "The filing's accession number; cite it with the filing date.",
            "type": "string"
          },
          "cik": {
            "description": "The filer's ten digit Central Index Key.",
            "type": "string"
          },
          "company_name": {
            "description": "The filer's name on EDGAR.",
            "type": "string"
          },
          "description": {
            "description": "EDGAR's description of the primary document.",
            "type": [
              "string",
              "null"
            ]
          },
          "document_url": {
            "description": "The filing's primary document on EDGAR.",
            "type": [
              "string",
              "null"
            ]
          },
          "filing_date": {
            "description": "The day the filing was filed, YYYY-MM-DD.",
            "type": "string"
          },
          "filing_url": {
            "description": "The filing's index page on EDGAR.",
            "type": "string"
          },
          "financials": {
            "description": "The financial statement values the filing's XBRL company facts carry for its own period (an annual report's fiscal year, a quarterly report's quarter); filled for 10-K, 10-Q, 20-F and 40-F filings of the first three filers on the page, and the warning FINANCIALS_NOT_READ names a page with more. A measure the filing does not tag is left out.",
            "items": {
              "$ref": "#/components/schemas/SecFilingFact"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "form": {
            "description": "The form filed: 10-K, 10-Q, 8-K, DEF 14A, ...",
            "type": "string"
          },
          "id": {
            "description": "&lt;cik&gt;:&lt;accession_number&gt;.",
            "type": "string"
          },
          "items": {
            "description": "The 8-K items the filing reports (2.02 results, 8.01 other events, ...).",
            "type": [
              "string",
              "null"
            ]
          },
          "legal_proceedings": {
            "description": "The first row's legal proceedings disclosure, quoted from the filing: an annual report's Item 3, and the note of the financial statements Item 3 points to.",
            "items": {
              "$ref": "#/components/schemas/SecFilingSection"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "matched_document_url": {
            "description": "The file a full-text search matched: the primary document or an exhibit.",
            "type": [
              "string",
              "null"
            ]
          },
          "passages": {
            "description": "On the first row of a full-text search, the passages of the matched file around each place it contains q, quoted.",
            "items": {
              "$ref": "#/components/schemas/SecFilingSection"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "report_date": {
            "description": "The last day of the period the filing reports, YYYY-MM-DD.",
            "type": [
              "string",
              "null"
            ]
          },
          "tickers": {
            "description": "The filer's ticker symbols.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "cik",
          "accession_number",
          "company_name",
          "tickers",
          "form",
          "filing_date",
          "report_date",
          "description",
          "items",
          "document_url",
          "filing_url",
          "matched_document_url",
          "financials",
          "legal_proceedings",
          "passages"
        ],
        "type": "object"
      },
      "SecFilingSection": {
        "additionalProperties": false,
        "properties": {
          "heading": {
            "description": "The filing's own heading for the passage, or the words searched.",
            "type": "string"
          },
          "source_url": {
            "description": "The document the passage is quoted from.",
            "type": "string"
          },
          "text": {
            "description": "The passage as filed.",
            "type": "string"
          },
          "truncated": {
            "description": "True when the filing's text continues past the passage.",
            "type": "boolean"
          }
        },
        "required": [
          "heading",
          "text",
          "truncated",
          "source_url"
        ],
        "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"
      },
      "SectionState": {
        "additionalProperties": false,
        "properties": {
          "as_of": {
            "format": "date-time",
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "state": {
            "type": "string"
          }
        },
        "required": [
          "state",
          "source"
        ],
        "type": "object"
      },
      "SelectionPutRequest": {
        "additionalProperties": false,
        "properties": {
          "account_ref": {
            "type": "string"
          },
          "composition": {
            "items": {
              "$ref": "#/components/schemas/SelectionSeatRequest"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "overrides": {
            "items": {
              "$ref": "#/components/schemas/OverrideRequest"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "placement_ref": {
            "type": "string"
          },
          "slate": {
            "items": {
              "$ref": "#/components/schemas/SelectionSlateEntry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "stage": {
            "type": "string"
          }
        },
        "required": [
          "account_ref",
          "placement_ref",
          "stage"
        ],
        "type": "object"
      },
      "SelectionResponse": {
        "additionalProperties": false,
        "properties": {
          "account_ref": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "overrides": {
            "items": {
              "$ref": "#/components/schemas/OverrideRequest"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "placement": {
            "$ref": "#/components/schemas/ComposedPlacementResponse"
          },
          "placement_ref": {
            "type": "string"
          },
          "run_id": {
            "type": "string"
          },
          "slate": {
            "items": {
              "$ref": "#/components/schemas/SelectionSlateEntry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "stage": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "run_id",
          "account_ref",
          "placement_ref",
          "stage",
          "overrides",
          "slate",
          "created_at",
          "placement"
        ],
        "type": "object"
      },
      "SelectionSeatRequest": {
        "additionalProperties": false,
        "properties": {
          "market_entity_key": {
            "type": "string"
          },
          "offering_id": {
            "type": "string"
          },
          "requirement_id": {
            "type": "string"
          },
          "writing_paper_ids": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "requirement_id",
          "offering_id"
        ],
        "type": "object"
      },
      "SelectionSlateEntry": {
        "additionalProperties": false,
        "properties": {
          "line": {
            "type": "string"
          },
          "market_entity_key": {
            "type": "string"
          },
          "offering_id": {
            "type": "string"
          },
          "overridden": {
            "type": "boolean"
          },
          "requirement_id": {
            "type": "string"
          },
          "scope_id": {
            "type": "string"
          },
          "target_id": {
            "type": "string"
          }
        },
        "required": [
          "line",
          "market_entity_key",
          "overridden"
        ],
        "type": "object"
      },
      "ServedToolCallJSON": {
        "additionalProperties": false,
        "properties": {
          "approval": {
            "description": "Present on a gated call whose card is its whole answer: waiting while the card asks, closed_by_stop when a stop closed it before a decision, declined when the person declined it and nothing ran. An approved gate is drawn as its call.",
            "enum": [
              "waiting",
              "closed_by_stop",
              "declined"
            ],
            "type": "string"
          },
          "id": {
            "description": "The tool call's id: the tool_use block's id.",
            "type": "string"
          },
          "state": {
            "description": "The call's state: running while the latest turn works on it, waiting for its approval, then completed (a refusal included), failed, no_result (nothing was recorded and nothing works on it), stopped_did_not_run or stopped_may_have_run.",
            "enum": [
              "running",
              "waiting",
              "completed",
              "failed",
              "no_result",
              "stopped_did_not_run",
              "stopped_may_have_run"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "state"
        ],
        "type": "object"
      },
      "SetConversationBranchRequest": {
        "additionalProperties": false,
        "properties": {
          "end_user": {
            "type": "string"
          },
          "message_id": {
            "type": "string"
          }
        },
        "required": [
          "end_user",
          "message_id"
        ],
        "type": "object"
      },
      "SignInAnswer": {
        "additionalProperties": false,
        "properties": {
          "default_grant": {
            "$ref": "#/components/schemas/SignInGrantStep",
            "description": "POST /access/product-access's answer. Absent when no default grant was written."
          },
          "products": {
            "$ref": "#/components/schemas/SignInProductsStep",
            "description": "GET /access/products/effective's answer, after any default grant. Absent when the seat was not admitted."
          },
          "receipt": {
            "$ref": "#/components/schemas/SignInStep",
            "description": "POST /access/principals/resolve's status. A 403 with reason sign_in_method_not_allowed ends the sign-in: no other step runs. Any other refusal here stops nothing."
          },
          "seat": {
            "$ref": "#/components/schemas/SignInSeatStep",
            "description": "GET /records/seats/current/entitlement's answer. Status 0 when the receipt refused the sign-in's method."
          }
        },
        "required": [
          "receipt",
          "seat"
        ],
        "type": "object"
      },
      "SignInGrantStep": {
        "additionalProperties": false,
        "properties": {
          "created": {
            "type": "boolean"
          },
          "problem": {
            "$ref": "#/components/schemas/Problem"
          },
          "status": {
            "description": "The step route's HTTP status. 0: the step did not answer.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "status"
        ],
        "type": "object"
      },
      "SignInProductsStep": {
        "additionalProperties": false,
        "properties": {
          "problem": {
            "$ref": "#/components/schemas/Problem"
          },
          "record": {
            "$ref": "#/components/schemas/RecordEffectiveProducts"
          },
          "status": {
            "description": "The step route's HTTP status. 0: the step did not answer.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "status"
        ],
        "type": "object"
      },
      "SignInRequest": {
        "additionalProperties": false,
        "properties": {
          "default_grant": {
            "$ref": "#/components/schemas/WorkbenchProductAccessRequest",
            "description": "The default grant the caller's policy allows, as POST /access/product-access takes it. Written only when the seat is admitted and the principal holds no grant for the product."
          },
          "identity": {
            "$ref": "#/components/schemas/PrincipalIdentity",
            "description": "The AuthKit-verified user the sign-in receipt records, as POST /access/principals/resolve takes it. Absent: no receipt is written."
          }
        },
        "type": "object"
      },
      "SignInSeatStep": {
        "additionalProperties": false,
        "properties": {
          "problem": {
            "$ref": "#/components/schemas/Problem"
          },
          "record": {
            "$ref": "#/components/schemas/RecordSeatEntitlement"
          },
          "status": {
            "description": "The step route's HTTP status. 0: the step did not answer.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "status"
        ],
        "type": "object"
      },
      "SignInStep": {
        "additionalProperties": false,
        "properties": {
          "problem": {
            "$ref": "#/components/schemas/Problem"
          },
          "status": {
            "description": "The step route's HTTP status. 0: the step did not answer.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "status"
        ],
        "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"
      },
      "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"
      },
      "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"
      },
      "SourceDocument": {
        "additionalProperties": false,
        "properties": {
          "agreement_count": {
            "format": "int64",
            "type": "integer"
          },
          "blob_key": {
            "type": "string"
          },
          "connection_id": {
            "type": "string"
          },
          "document_id": {
            "type": "string"
          },
          "document_name": {
            "type": "string"
          },
          "evidence_role": {
            "type": "string"
          }
        },
        "required": [
          "document_id",
          "blob_key",
          "connection_id"
        ],
        "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"
      },
      "SourcePlan": {
        "additionalProperties": false,
        "properties": {
          "connection_id": {
            "type": "string"
          },
          "families": {
            "items": {
              "$ref": "#/components/schemas/BookSourcesFamilyJSON"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "instance": {
            "type": "string"
          },
          "instance_id": {
            "type": "string"
          },
          "system": {
            "type": "string"
          }
        },
        "required": [
          "connection_id",
          "system",
          "instance",
          "families"
        ],
        "type": "object"
      },
      "SourceReason": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "ref": {
            "type": "string"
          }
        },
        "required": [
          "kind"
        ],
        "type": "object"
      },
      "SourceRecord": {
        "additionalProperties": false,
        "properties": {
          "fields": {
            "additionalProperties": {},
            "type": "object"
          },
          "id": {
            "type": "string"
          },
          "source_key": {
            "type": "string"
          },
          "source_parent_key": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "source_key",
          "fields"
        ],
        "type": "object"
      },
      "SourceSnapshot": {
        "additionalProperties": false,
        "properties": {
          "completeness": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "version",
          "id",
          "completeness"
        ],
        "type": "object"
      },
      "StateStanding": {
        "additionalProperties": false,
        "properties": {
          "as_of": {
            "description": "The latest effective_from of the rows read (RFC 3339, UTC): the newest served fact the standing rests on; null when no row was read.",
            "type": [
              "string",
              "null"
            ]
          },
          "basis": {
            "$ref": "#/components/schemas/SeatTermsBasis"
          },
          "reasons": {
            "items": {
              "$ref": "#/components/schemas/StateStandingReason"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "value": {
            "enum": [
              "excluded",
              "excluded_on_some",
              "named_eligible",
              "all_licensed",
              "verify_first"
            ],
            "type": "string"
          }
        },
        "required": [
          "value",
          "reasons",
          "basis",
          "as_of"
        ],
        "type": "object"
      },
      "StateStandingReason": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "enum": [
              "excluded_state",
              "named_state",
              "all_licensed",
              "not_named"
            ],
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/StateStandingReasonSource"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "text",
          "source"
        ],
        "type": "object"
      },
      "StateStandingReasonSource": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "enum": [
              "catalog_product"
            ],
            "type": "string"
          },
          "ref": {
            "description": "The served product id; empty when the reason is that no row names the state.",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "ref"
        ],
        "type": "object"
      },
      "Step": {
        "additionalProperties": false,
        "properties": {
          "from": {
            "description": "The code before the step.",
            "type": "string"
          },
          "source": {
            "description": "The Census file the table was read from.",
            "type": "string"
          },
          "table": {
            "description": "The concordance table id, e.g. naics2017_naics2022.",
            "type": "string"
          },
          "to": {
            "description": "The code after the step.",
            "type": "string"
          },
          "url": {
            "description": "Where the Census publishes that file.",
            "type": "string"
          }
        },
        "required": [
          "table",
          "source",
          "url",
          "from",
          "to"
        ],
        "type": "object"
      },
      "StopTurnRequest": {
        "additionalProperties": false,
        "properties": {
          "end_user": {
            "description": "The end user the conversation belongs to.",
            "type": "string"
          },
          "sealed_through": {
            "description": "The seal's N: the last seq the stopping screen drew. Absent means everything appended so far.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "end_user"
        ],
        "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"
      },
      "SubjectMember": {
        "additionalProperties": false,
        "properties": {
          "display_name": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "scope": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "display_name",
          "scope"
        ],
        "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"
      },
      "SubmissionCommissionCheck": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "description": "The account the submission is for; null when it names none.",
            "type": [
              "string",
              "null"
            ]
          },
          "assessments": {
            "description": "One verdict per quote that is not declined, in quote id order. A declined quote has none.",
            "items": {
              "$ref": "#/components/schemas/QuoteCommissionCheck"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "flag_tolerance_pct": {
            "description": "The org's configured tolerance in percentage points: a quote whose shortfall below the contracted floor is larger than this is flagged. An org that has configured none reads the registered default of 0.1.",
            "format": "double",
            "type": "number"
          },
          "risk_state": {
            "description": "The two-letter state of the account's primary address, which decides which commission band each quote is measured against. Null when the account is not a book account, is not found or is not visible to this seat: every band on a line is then read, and no verdict names a state.",
            "type": [
              "string",
              "null"
            ]
          },
          "submission_id": {
            "description": "The workspace submission checked.",
            "type": "string"
          }
        },
        "required": [
          "submission_id",
          "account_id",
          "flag_tolerance_pct",
          "risk_state",
          "assessments"
        ],
        "type": "object"
      },
      "SubmissionContext": {
        "additionalProperties": false,
        "properties": {
          "binders": {
            "items": {
              "$ref": "#/components/schemas/BookBinderRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "gaps": {
            "$ref": "#/components/schemas/BookSubmissionsGaps"
          },
          "groups": {
            "items": {
              "$ref": "#/components/schemas/BookSubmissionGroupRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "quotes": {
            "items": {
              "$ref": "#/components/schemas/BookQuoteRow"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "submissions": {
            "items": {
              "$ref": "#/components/schemas/BookSubmissionRow"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "gaps",
          "groups",
          "submissions",
          "binders",
          "quotes"
        ],
        "type": "object"
      },
      "SubmissionMarketRollup": {
        "additionalProperties": false,
        "properties": {
          "bound": {
            "description": "Selected-quote binds; null when quote access is unavailable.",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "declined": {
            "format": "int64",
            "type": "integer"
          },
          "market_entity_key": {
            "type": "string"
          },
          "quoted": {
            "format": "int64",
            "type": "integer"
          },
          "submitted": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "market_entity_key",
          "submitted",
          "quoted",
          "declined",
          "bound"
        ],
        "type": "object"
      },
      "SubmissionMarkets": {
        "additionalProperties": false,
        "properties": {
          "markets": {
            "items": {
              "$ref": "#/components/schemas/SubmissionMarketRollup"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "markets"
        ],
        "type": "object"
      },
      "SubmissionPlacementScopeInput": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": "string"
          },
          "adopt_program": {
            "type": "boolean"
          },
          "lines": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "policy_id": {
            "type": "string"
          },
          "scope": {}
        },
        "required": [
          "account_id",
          "lines",
          "adopt_program"
        ],
        "type": "object"
      },
      "SubmissionPlacementScopeResponse": {
        "additionalProperties": false,
        "properties": {
          "scope": {}
        },
        "required": [
          "scope"
        ],
        "type": "object"
      },
      "SubmissionTermDriver": {
        "additionalProperties": false,
        "properties": {
          "date_of_birth": {
            "description": "The driver's date of birth.",
            "format": "date",
            "type": [
              "string",
              "null"
            ]
          },
          "kind": {
            "description": "business_auto for a business auto driver (the ACORD 127 schedule), personal_auto for a personal auto driver.",
            "enum": [
              "business_auto",
              "personal_auto"
            ],
            "type": "string"
          },
          "license_number": {
            "description": "The driver's licence number as recorded on the schedule.",
            "type": [
              "string",
              "null"
            ]
          },
          "license_state": {
            "description": "The state that licensed the driver.",
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "description": "The driver's full name; a personal auto driver's given, middle and family names joined with single spaces.",
            "type": [
              "string",
              "null"
            ]
          },
          "number": {
            "description": "The driver's number on the schedule.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "kind",
          "number",
          "name",
          "license_state",
          "date_of_birth",
          "license_number"
        ],
        "type": "object"
      },
      "SubmissionTermRecord": {
        "additionalProperties": false,
        "properties": {
          "fields": {
            "additionalProperties": {},
            "type": "object"
          },
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "fields"
        ],
        "type": "object"
      },
      "SubmissionTermVehicle": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "description": "business_auto for a business auto vehicle (the ACORD 127 schedule), personal_auto for a personal auto vehicle.",
            "enum": [
              "business_auto",
              "personal_auto"
            ],
            "type": "string"
          },
          "make": {
            "description": "The vehicle's make.",
            "type": [
              "string",
              "null"
            ]
          },
          "model": {
            "description": "The vehicle's model.",
            "type": [
              "string",
              "null"
            ]
          },
          "number": {
            "description": "The vehicle's number on the schedule.",
            "type": [
              "string",
              "null"
            ]
          },
          "vin": {
            "description": "The vehicle identification number as recorded on the schedule.",
            "type": [
              "string",
              "null"
            ]
          },
          "year": {
            "description": "The vehicle's model year.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "kind",
          "number",
          "year",
          "make",
          "model",
          "vin"
        ],
        "type": "object"
      },
      "SubmitRunRequest": {
        "additionalProperties": false,
        "properties": {
          "engine_version": {
            "type": "string"
          },
          "input": {
            "additionalProperties": {},
            "type": "object"
          },
          "offerings": {
            "items": {
              "$ref": "#/components/schemas/Offering"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "step": {
            "type": "string"
          },
          "submitted_by": {
            "type": "string"
          },
          "test_scenario": {
            "type": "string"
          },
          "traffic_class": {
            "type": "string"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      },
      "SubmitRunResponse": {
        "additionalProperties": false,
        "properties": {
          "assembly": {
            "description": "Subject launches: deferred when the platform's worker assembles the submission while the run is queued (a book account), inline when it was assembled before admission (an account added in the Workbench).",
            "enum": [
              "deferred",
              "inline"
            ],
            "type": "string"
          },
          "engine": {
            "$ref": "#/components/schemas/RunEngineRef",
            "description": "Subject launches: the engine the run belongs to."
          },
          "existing": {
            "description": "Subject launches: true when the launch joined a run already working on the subject (200) rather than creating one (202).",
            "type": "boolean"
          },
          "risk_currency": {
            "description": "Program subject launches: what the launch found of the account's Risk assessment. current designs on it; missing or stale queues the Program run behind a new Risk run; running queues it behind the Risk run already working on the account. Absent on a join.",
            "enum": [
              "current",
              "missing",
              "stale",
              "running"
            ],
            "type": "string"
          },
          "risk_run": {
            "$ref": "#/components/schemas/ProgramChainRun",
            "description": "Program subject launches: the Risk run the Program run is designed on (reused: true, with that run's status) or queued behind. Read its status at GET /runs/{risk_run.run_id}. When it ends failed or cancelled, by any path (the worker, a cancel while queued, the orphan reaper), the Program run fails with error_details.code risk_run_failed; when its admission is refused the Program run fails with error_details.code risk_launch_failed."
          },
          "run_id": {
            "description": "The run. Read its status and results at GET /runs/{run_id}.",
            "type": "string"
          },
          "run_state": {
            "$ref": "#/components/schemas/RunState",
            "description": "What a reader does with the status."
          },
          "serving": {
            "$ref": "#/components/schemas/BookServingJSON",
            "description": "Subject launches assembled inline: the serving the submission was read from."
          },
          "source_snapshot": {
            "$ref": "#/components/schemas/SourceSnapshot",
            "description": "Subject launches assembled inline: the source snapshot the submission was stamped with. A deferred launch's arrives on the run's stored input."
          },
          "started_at": {
            "description": "Subject launches: when the run was admitted (for a joined run, its own admission).",
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "description": "The run's admission status.",
            "type": "string"
          },
          "trigger": {
            "description": "Subject launches: what asked for the run.",
            "type": "string"
          }
        },
        "required": [
          "run_id",
          "status",
          "run_state"
        ],
        "type": "object"
      },
      "SubmitRunSubjectRequest": {
        "additionalProperties": false,
        "properties": {
          "subject": {
            "$ref": "#/components/schemas/EngineRunSubject"
          },
          "trigger": {
            "description": "What asked for the run. Absent means producer.",
            "enum": [
              "producer",
              "publish",
              "document",
              "assistant"
            ],
            "type": "string"
          }
        },
        "required": [
          "subject"
        ],
        "type": "object"
      },
      "SuggestedPreset": {
        "additionalProperties": false,
        "properties": {
          "asOf": {
            "type": "string"
          },
          "basis": {
            "$ref": "#/components/schemas/SuggestedPresetBasis"
          },
          "reasons": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "value",
          "reasons",
          "basis",
          "asOf"
        ],
        "type": "object"
      },
      "SuggestedPresetBasis": {
        "additionalProperties": false,
        "properties": {
          "templateVersion": {
            "format": "int64",
            "type": "integer"
          },
          "type": {
            "type": "string"
          },
          "typeVersion": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "type",
          "typeVersion",
          "templateVersion"
        ],
        "type": "object"
      },
      "SummaryClient": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": "string"
          },
          "client_id": {
            "type": "string"
          },
          "client_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "clients": {
            "format": "int64",
            "type": "integer"
          },
          "policies": {
            "format": "int64",
            "type": "integer"
          },
          "premium": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_datasource": {
            "type": "string"
          },
          "unpriced_policies": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "account_id",
          "source_datasource",
          "client_id",
          "client_name",
          "policies",
          "clients",
          "premium",
          "unpriced_policies"
        ],
        "type": "object"
      },
      "SummaryRollup": {
        "additionalProperties": false,
        "properties": {
          "agencies": {
            "$ref": "#/components/schemas/BookSummaryNameRanking"
          },
          "aggregate": {
            "$ref": "#/components/schemas/BookPodBookAggregate"
          },
          "business_types": {
            "$ref": "#/components/schemas/BookSummaryRanking"
          },
          "carriers": {
            "$ref": "#/components/schemas/BookSummaryCarriers"
          },
          "clients": {
            "$ref": "#/components/schemas/BookSummaryClientCounts"
          },
          "expiring_in_force": {
            "$ref": "#/components/schemas/BookSummaryExpiring"
          },
          "largest_clients_by_in_force_premium": {
            "items": {
              "$ref": "#/components/schemas/SummaryClient"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "lines": {
            "$ref": "#/components/schemas/BookSummaryRanking"
          },
          "policies": {
            "$ref": "#/components/schemas/BookSummaryPolicyCounts"
          },
          "premium": {
            "$ref": "#/components/schemas/BookSummaryPremium"
          },
          "producers_of_record": {
            "$ref": "#/components/schemas/BookSummaryNameRanking"
          },
          "rank_limit": {
            "format": "int64",
            "type": "integer"
          },
          "renewal_window": {
            "$ref": "#/components/schemas/BookRenewalWindow"
          },
          "unpriced_in_force_sample": {
            "items": {
              "$ref": "#/components/schemas/BookSummaryUnpricedRow"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "aggregate",
          "policies",
          "clients",
          "premium",
          "expiring_in_force",
          "carriers",
          "lines",
          "business_types",
          "producers_of_record",
          "agencies",
          "largest_clients_by_in_force_premium",
          "unpriced_in_force_sample",
          "rank_limit",
          "renewal_window"
        ],
        "type": "object"
      },
      "SuspenseFacts": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "description": "The suspense code from the body's \"Code: ... Desc:\" layout; absent when the body carries none.",
            "type": "string"
          },
          "description": {
            "description": "The body's \"Desc:\" text up to \"Operator:\" or \"Who:\"; the whole trimmed body when it carries no description; null when the body is blank.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "description"
        ],
        "type": "object"
      },
      "SystemGrant": {
        "additionalProperties": false,
        "properties": {
          "grant_name": {
            "type": "string"
          },
          "granted_at": {
            "format": "date-time",
            "type": "string"
          },
          "granted_by": {
            "type": "string"
          },
          "principal_email": {
            "type": "string"
          },
          "principal_id": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "revoked_at": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "version": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "principal_id",
          "grant_name",
          "status",
          "granted_by",
          "reason",
          "granted_at",
          "version"
        ],
        "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"
      },
      "Target": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "description": "The 2022 NAICS code.",
            "type": "string"
          },
          "confidence": {
            "description": "1 for exact; 0.95 for a NAICS concordance and 0.9 for SIC 1987, divided evenly across a split's targets; 0.9 for an index entry phrase, 0.8 for all words in one index entry, at most 0.6 for title words (0.6 times the search score).",
            "format": "double",
            "type": "number"
          },
          "level": {
            "enum": [
              "sector",
              "subsector",
              "industry_group",
              "industry",
              "national_industry"
            ],
            "type": "string"
          },
          "matched": {
            "description": "The title or index entry the words matched.",
            "type": "string"
          },
          "path": {
            "description": "exact: the input is this 2022 code. concordance: the Census concordances carried the input here (steps). index_entry: the words are a Census index entry of this class (matched). title_words: the words are in the class's title, index entries or parents' titles (matched).",
            "enum": [
              "exact",
              "concordance",
              "index_entry",
              "title_words"
            ],
            "type": "string"
          },
          "steps": {
            "description": "The concordance steps, oldest first; empty for any other path.",
            "items": {
              "$ref": "#/components/schemas/Step"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "title",
          "level",
          "path",
          "steps",
          "confidence"
        ],
        "type": "object"
      },
      "TargetResolution": {
        "additionalProperties": false,
        "properties": {
          "basis": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "naics": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "version",
          "status",
          "basis"
        ],
        "type": "object"
      },
      "TaskAssignee": {
        "additionalProperties": false,
        "properties": {
          "name": {
            "description": "The customer's own name for the person, else their sign-in address.",
            "type": "string"
          },
          "principal": {
            "description": "The person's principal id: the value a task's assignee takes.",
            "type": "string"
          },
          "role": {
            "description": "The person's role slug; empty when none is stated.",
            "type": "string"
          }
        },
        "required": [
          "principal",
          "name",
          "role"
        ],
        "type": "object"
      },
      "TaskAssigneeLookup": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/TaskAssignee"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "match": {
            "description": "matched: data is the one person. ambiguous: data is every person who matches, and none was chosen. unknown: nobody matches; for a name, data holds at most 5 close names.",
            "enum": [
              "matched",
              "ambiguous",
              "unknown"
            ],
            "type": "string"
          },
          "total": {
            "description": "The number of people in data.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "match",
          "data",
          "total"
        ],
        "type": "object"
      },
      "TaskLinkedWork": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "$ref": "#/components/schemas/TaskWorkAction"
          },
          "id": {
            "description": "The derived work item's id.",
            "type": "string"
          },
          "kind": {
            "description": "The work item's kind.",
            "enum": [
              "renewal",
              "fire_drill",
              "quote_review",
              "dispute",
              "follow_up",
              "service"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "kind",
          "action"
        ],
        "type": "object"
      },
      "TaskList": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "One page of the collection, in the requested sort order.",
            "items": {
              "$ref": "#/components/schemas/TaskRecord"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/FacetValue"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "description": "Present only for the facets the request named in facets=.",
            "type": "object"
          },
          "missing_count": {
            "description": "For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.",
            "format": "int64",
            "type": "integer"
          },
          "overdue_total": {
            "$ref": "#/components/schemas/Total",
            "description": "With work_view=today: the open tasks due before today under the same view and subject, the total work_view=overdue answers. Absent on every other read and on a rows_only read."
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "request_id": {
            "description": "The request id, as echoed in the Nexio-Request-Id response header.",
            "type": "string"
          },
          "rows_only": {
            "description": "true when the request sent rows_only: the answer holds the page's rows and page.next alone. total, facets and view are absent because they were not read, not because they are 0 or empty.",
            "type": "boolean"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "total": {
            "$ref": "#/components/schemas/Total",
            "description": "Present only when the request sent include_total=true."
          },
          "unreachable": {
            "description": "Parts of the answer no source could fill, each with its reason. Empty when every part was filled.",
            "items": {
              "$ref": "#/components/schemas/Unreachable"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "view": {
            "$ref": "#/components/schemas/View",
            "description": "The register view's filters this read applied, each with its options and counts, its default and applied value, and how many rows they hide. Absent on a work_view or rows_only read."
          },
          "warnings": {
            "description": "Adjustments the platform made to the request (a coerced limit, a dropped facet).",
            "items": {
              "$ref": "#/components/schemas/Warning"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "work_window": {
            "$ref": "#/components/schemas/RegisterWorkWindow"
          }
        },
        "required": [
          "data",
          "page",
          "source",
          "unreachable",
          "warnings",
          "request_id"
        ],
        "type": "object"
      },
      "TaskPolicyCheck": {
        "additionalProperties": false,
        "properties": {
          "boundTerms": {
            "$ref": "#/components/schemas/TaskPolicyCheckTerms",
            "description": "The policy's bound terms the check reads, or null when the policy carries none."
          },
          "completedAt": {
            "description": "When the check was completed, as an ISO 8601 time.",
            "type": "string"
          },
          "completedBy": {
            "description": "The person who completed the check.",
            "type": "string"
          },
          "lines": {
            "description": "One line per bound term, in the order the check lists them.",
            "items": {
              "$ref": "#/components/schemas/TaskPolicyCheckLine"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "policyId": {
            "description": "The policy the check is about.",
            "type": "string"
          },
          "scheduleUnread": {
            "description": "Set when the check's coverage schedule and forms were not read at start, so the checklist holds only the premium and term dates: not_permitted (the seat that started it may not read the policy's coverage record) or source_absent (the book serves no coverage for the policy). Absent when they were read.",
            "enum": [
              "not_permitted",
              "source_absent"
            ],
            "type": "string"
          },
          "source": {
            "description": "How the check started: manual (a person on the policy page) or document (an issued policy document).",
            "enum": [
              "manual",
              "document"
            ],
            "type": "string"
          }
        },
        "required": [
          "source",
          "policyId",
          "boundTerms",
          "lines"
        ],
        "type": "object"
      },
      "TaskPolicyCheckCoverage": {
        "additionalProperties": false,
        "properties": {
          "included": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "sublimit": {
            "format": "double",
            "type": "number"
          }
        },
        "required": [
          "name",
          "included"
        ],
        "type": "object"
      },
      "TaskPolicyCheckDeductible": {
        "additionalProperties": false,
        "properties": {
          "amount": {
            "format": "double",
            "type": "number"
          },
          "basis": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "amount",
          "basis"
        ],
        "type": "object"
      },
      "TaskPolicyCheckLimit": {
        "additionalProperties": false,
        "properties": {
          "aggregate": {
            "format": "double",
            "type": "number"
          },
          "perOccurrence": {
            "format": "double",
            "type": "number"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "TaskPolicyCheckLine": {
        "additionalProperties": false,
        "properties": {
          "boundValue": {
            "description": "The bound value, as printed.",
            "type": "string"
          },
          "field": {
            "description": "The term's stable key on the check (premium, effectiveDate, limit:&lt;type&gt; and the rest).",
            "type": "string"
          },
          "issuedValue": {
            "description": "The value on the issued policy a person entered, or empty.",
            "type": "string"
          },
          "status": {
            "description": "The person's result for the line: pending until they mark it a match or a discrepancy.",
            "enum": [
              "pending",
              "match",
              "discrepancy"
            ],
            "type": "string"
          },
          "term": {
            "description": "The term as a person reads it.",
            "type": "string"
          }
        },
        "required": [
          "field",
          "term",
          "boundValue",
          "issuedValue",
          "status"
        ],
        "type": "object"
      },
      "TaskPolicyCheckTerms": {
        "additionalProperties": false,
        "properties": {
          "coverages": {
            "items": {
              "$ref": "#/components/schemas/TaskPolicyCheckCoverage"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "deductibles": {
            "items": {
              "$ref": "#/components/schemas/TaskPolicyCheckDeductible"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "effectiveDate": {
            "type": "string"
          },
          "expirationDate": {
            "type": "string"
          },
          "forms": {
            "description": "Each form as its number, edition and title joined by a middle dot.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "limits": {
            "items": {
              "$ref": "#/components/schemas/TaskPolicyCheckLimit"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "namedInsureds": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "premium": {
            "description": "The bound full-term premium, or null when the book prices none.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "coverages",
          "deductibles",
          "limits",
          "premium",
          "effectiveDate",
          "expirationDate",
          "forms"
        ],
        "type": "object"
      },
      "TaskReality": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "description": "When overtaken, one sentence naming what resolved.",
            "type": "string"
          },
          "state": {
            "description": "overtaken when completed reality contradicts the open task.",
            "enum": [
              "consistent",
              "overtaken"
            ],
            "type": "string"
          }
        },
        "required": [
          "state"
        ],
        "type": "object"
      },
      "TaskRecord": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": "string"
          },
          "account_name": {
            "type": "string"
          },
          "account_premium": {
            "description": "An AMS 360 suspense's account premium: the effective premium of the account's in-force terms, summed. Served with assigned_to, sort=premium or the producer facet.",
            "format": "double",
            "type": "number"
          },
          "assigned_to": {
            "type": "string"
          },
          "author_principal": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "data": {},
          "description": {
            "type": "string"
          },
          "due_date": {
            "type": "string"
          },
          "due_in_days": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "linked_work": {
            "$ref": "#/components/schemas/TaskLinkedWork",
            "description": "A workspace task on a Workbench-native account: the work item it opens, when one derives."
          },
          "origin": {
            "type": "string"
          },
          "origin_sentence": {
            "type": "string"
          },
          "policy_check": {
            "$ref": "#/components/schemas/TaskPolicyCheck",
            "description": "A policy check task: the policy's bound terms, each checked line and the completion, as the platform recorded them."
          },
          "priority": {
            "type": "string"
          },
          "producer_name": {
            "description": "An AMS 360 suspense's account producer, as the Accounts register names it. Served with assigned_to, sort=premium or the producer facet.",
            "type": "string"
          },
          "reality": {
            "$ref": "#/components/schemas/TaskReality",
            "description": "A workspace task on a Workbench-native account: whether completed reality has overtaken it."
          },
          "related_policy": {
            "$ref": "#/components/schemas/TaskRelatedPolicy",
            "description": "A workspace task on a Workbench-native account that names one of the account's policies: that policy."
          },
          "source": {
            "type": "string"
          },
          "state": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/MachineState",
                "description": "The status with its label, settled flag and tone from the org's declared task_status machine; null when the org declares no task_status machine."
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "description": "The task's status, one of the task_status machine's values (GET /records/machines/task_status).",
            "enum": [
              "pending",
              "in_progress",
              "completed",
              "cancelled"
            ],
            "type": "string"
          },
          "suspense": {
            "$ref": "#/components/schemas/SuspenseFacts",
            "description": "An AMS 360 suspense row's body read into its code and description; absent on every other row."
          },
          "title": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "urgency": {
            "enum": [
              "info",
              "warning"
            ],
            "type": "string"
          }
        },
        "required": [
          "state",
          "due_in_days",
          "urgency",
          "source",
          "id",
          "title",
          "status",
          "priority",
          "origin",
          "data"
        ],
        "type": "object"
      },
      "TaskRelatedPolicy": {
        "additionalProperties": false,
        "properties": {
          "expiration_date": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "line_of_business": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "TaskWorkAction": {
        "additionalProperties": false,
        "properties": {
          "expiration_date": {
            "description": "The policy's expiration, for a renewal_stage action on a renewal work item.",
            "type": "string"
          },
          "kind": {
            "description": "renewal_stage: the stage action on the policy's renewal; account: the account (a notice); account_file: the account file (an urgent task); compare_quotes: the submission's quote comparison; certificate: the general liability policy's certificate check.",
            "enum": [
              "renewal_stage",
              "account",
              "account_file",
              "compare_quotes",
              "certificate"
            ],
            "type": "string"
          },
          "line_of_business": {
            "description": "The policy's line, for a renewal_stage action on a renewal work item.",
            "type": "string"
          },
          "placement_id": {
            "description": "The placement the renewal opened.",
            "type": "string"
          },
          "policy_id": {
            "type": "string"
          },
          "renewal_stage": {
            "description": "The renewal stage the action is for.",
            "type": "string"
          },
          "submission_id": {
            "type": "string"
          }
        },
        "required": [
          "kind"
        ],
        "type": "object"
      },
      "Team": {
        "additionalProperties": false,
        "properties": {
          "producers": {
            "items": {
              "$ref": "#/components/schemas/TeamMember"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "support": {
            "items": {
              "$ref": "#/components/schemas/TeamMember"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "producers",
          "support"
        ],
        "type": "object"
      },
      "TeamMember": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "in_force_accounts": {
            "format": "int64",
            "type": "integer"
          },
          "in_force_policies": {
            "format": "int64",
            "type": "integer"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "name",
          "in_force_policies",
          "in_force_accounts"
        ],
        "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"
      },
      "TemplateFillRequest": {
        "additionalProperties": false,
        "properties": {
          "account": {
            "description": "The account the document is about, admitted under the caller's scope. A first fill with no account starts a draft about no account on file: it starts from the template's fixed values, and only the seat that made it reads, revises or downloads it. On a revision of that seat draft, an account moves the draft onto it, admitted and read as a first fill is; a draft already on an account keeps it and another is refused.",
            "type": "string"
          },
          "comparison": {
            "description": "A saved quote comparison on the account (its id, as quote comparison answers it), read as the caller. On the first fill of a proposal its quote values (carriers, premiums, terms, markets, the premium summary) start the draft, each sourced to the quote document or the comparison; the values sent fill the rest. A comparison the caller cannot read answers comparison_not_found; one on another account, or tied to no account and saved by another user, comparison_other_account; one that fills no value comparison_not_applied, and nothing is saved; on a template of one quote per line, several quotes for a line with no carrier sent answer comparison_options with the lines, and nothing is saved; on a new Renewal Proposal, one quote that renews no policy the account holds answers comparison_new_business, and nothing is saved. The answer's comparison names how many values it filled and its gaps (a premium no template line takes, a line with no carrier chosen). On a revision it starts the same draft again from the account and this comparison: the earlier quotes' values go, the values the producer wrote or the Assistant derived stay unless sent again, and the draft keeps its sections.",
            "maxLength": 200,
            "type": "string"
          },
          "dry_run": {
            "description": "Compute the fill and answer it without saving the draft.",
            "type": "boolean"
          },
          "order_sections": {
            "description": "Sections in the order they print, by id or title: the ones named lead in that order and the rest follow in the draft's order. A template of fixed pages moves the whole page a named part is on.",
            "items": {
              "type": "string"
            },
            "maxItems": 60,
            "type": [
              "array",
              "null"
            ]
          },
          "policy_numbers": {
            "description": "Policy numbers the producer named. On a first fill or revision, the account's own matching policies select the known values; none matching answers policy_not_found without changing the draft.",
            "items": {
              "type": "string"
            },
            "maxItems": 10,
            "type": [
              "array",
              "null"
            ]
          },
          "preset": {
            "description": "A starting point of the template, by id or name (the Renewal Proposal's Brief, Standard, Full or Short; the Commercial and Personal Proposal's Short or Full): the draft prints the sections it keeps. Remove and restore sections apply after it. A template without that starting point is refused with the ones it has.",
            "maxLength": 60,
            "type": "string"
          },
          "remove_sections": {
            "description": "Sections to take out, by id or title.",
            "items": {
              "type": "string"
            },
            "maxItems": 60,
            "type": [
              "array",
              "null"
            ]
          },
          "restore_sections": {
            "description": "Sections to put back, by id or title.",
            "items": {
              "type": "string"
            },
            "maxItems": 60,
            "type": [
              "array",
              "null"
            ]
          },
          "template": {
            "description": "The library template id (template.list). Required on the first fill, which creates the draft.",
            "type": "string"
          },
          "values": {
            "description": "The values to apply, each with its source. A value the template cannot take comes back in problems and the rest apply.",
            "items": {
              "$ref": "#/components/schemas/DocumentFillEntry"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "values"
        ],
        "type": "object"
      },
      "ToolCall": {
        "additionalProperties": false,
        "properties": {
          "effect": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "input": {},
          "kind": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "input",
          "effect",
          "kind"
        ],
        "type": "object"
      },
      "ToolCallAccepted": {
        "additionalProperties": false,
        "properties": {
          "approved": {
            "type": "boolean"
          },
          "call": {
            "$ref": "#/components/schemas/ToolCall"
          },
          "deadline_at": {
            "format": "date-time",
            "type": "string"
          },
          "page_context": {},
          "toolkit": {
            "$ref": "#/components/schemas/TurnToolkit"
          },
          "turn_context": {
            "$ref": "#/components/schemas/ToolCallTurnContext"
          }
        },
        "required": [
          "toolkit",
          "call",
          "deadline_at",
          "approved",
          "page_context",
          "turn_context"
        ],
        "type": "object"
      },
      "ToolCallPriorCall": {
        "additionalProperties": false,
        "properties": {
          "content": {},
          "input_hash": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "outcome": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "input_hash",
          "outcome"
        ],
        "type": "object"
      },
      "ToolCallRecorded": {
        "additionalProperties": false,
        "properties": {
          "recorded": {
            "type": "string"
          }
        },
        "required": [
          "recorded"
        ],
        "type": "object"
      },
      "ToolCallResultRequest": {
        "additionalProperties": false,
        "properties": {
          "components": {
            "items": {},
            "type": [
              "array",
              "null"
            ]
          },
          "content": {},
          "display": {},
          "end_user": {
            "type": "string"
          },
          "executor_id": {
            "type": "string"
          },
          "is_error": {
            "type": "boolean"
          },
          "outcome": {
            "type": "string"
          },
          "page_context": {},
          "seq": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "end_user",
          "executor_id",
          "seq",
          "outcome",
          "content",
          "is_error",
          "display",
          "components",
          "page_context"
        ],
        "type": "object"
      },
      "ToolCallTurnContext": {
        "additionalProperties": false,
        "properties": {
          "navigated_this_turn": {
            "type": "boolean"
          },
          "prior_calls": {
            "items": {
              "$ref": "#/components/schemas/ToolCallPriorCall"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "user_message": {
            "type": "string"
          },
          "writes_succeeded_this_turn": {
            "type": "boolean"
          }
        },
        "required": [
          "user_message",
          "prior_calls",
          "navigated_this_turn",
          "writes_succeeded_this_turn"
        ],
        "type": "object"
      },
      "Total": {
        "additionalProperties": false,
        "properties": {
          "exact": {
            "type": "boolean"
          },
          "value": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "value",
          "exact"
        ],
        "type": "object"
      },
      "TurnAdmission": {
        "additionalProperties": false,
        "properties": {
          "stream": {
            "$ref": "#/components/schemas/TurnAdmissionStream"
          },
          "turn": {
            "$ref": "#/components/schemas/TurnAdmissionTurn"
          }
        },
        "required": [
          "turn",
          "stream"
        ],
        "type": "object"
      },
      "TurnAdmissionStream": {
        "additionalProperties": false,
        "properties": {
          "after": {
            "format": "int64",
            "type": "integer"
          },
          "path": {
            "type": "string"
          }
        },
        "required": [
          "path",
          "after"
        ],
        "type": "object"
      },
      "TurnAdmissionTurn": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "last_seq": {
            "format": "int64",
            "type": "integer"
          },
          "recipe_basis": {
            "description": "Why the turn runs that recipe.",
            "enum": [
              "pinned",
              "pressed",
              "greeting_detour",
              "surface",
              "typed_intent",
              "none"
            ],
            "type": "string"
          },
          "recipe_id": {
            "description": "The recipe the turn runs, or null when none applies.",
            "type": [
              "string",
              "null"
            ]
          },
          "runtime": {
            "type": "string"
          },
          "sealed": {
            "type": "boolean"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "status",
          "runtime",
          "last_seq",
          "sealed",
          "recipe_id",
          "recipe_basis"
        ],
        "type": "object"
      },
      "TurnAttachment": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "media_type": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "notice": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "media_type"
        ],
        "type": "object"
      },
      "TurnComponent": {
        "additionalProperties": false,
        "properties": {
          "component": {
            "type": "string"
          },
          "props": {},
          "version": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "component",
          "version",
          "props"
        ],
        "type": "object"
      },
      "TurnComponents": {
        "additionalProperties": false,
        "properties": {
          "components": {
            "items": {
              "$ref": "#/components/schemas/TurnComponent"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "tool_call_id": {
            "type": "string"
          }
        },
        "required": [
          "tool_call_id",
          "components"
        ],
        "type": "object"
      },
      "TurnDisplay": {
        "additionalProperties": false,
        "properties": {
          "flags": {
            "$ref": "#/components/schemas/TurnDisplayFlags"
          },
          "navigation": {
            "$ref": "#/components/schemas/TurnDisplayNavigation"
          },
          "refusal": {
            "$ref": "#/components/schemas/TurnDisplayRefusal"
          },
          "subject": {
            "$ref": "#/components/schemas/TurnDisplaySubject"
          },
          "summary": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "TurnDisplayFlags": {
        "additionalProperties": false,
        "properties": {
          "cached": {
            "type": "boolean"
          },
          "designed_from_record": {
            "type": "boolean"
          },
          "following": {
            "type": "boolean"
          },
          "not_covered": {
            "type": "boolean"
          },
          "not_started": {
            "type": "boolean"
          },
          "reused": {
            "type": "boolean"
          },
          "timed_out": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "TurnDisplayNavigation": {
        "additionalProperties": false,
        "properties": {
          "navigated_to": {
            "type": "string"
          },
          "opened": {
            "type": "string"
          }
        },
        "required": [
          "navigated_to",
          "opened"
        ],
        "type": "object"
      },
      "TurnDisplayRefusal": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "message"
        ],
        "type": "object"
      },
      "TurnDisplaySubject": {
        "additionalProperties": false,
        "properties": {
          "account": {
            "description": "The name of the account the call ran on; absent when the turn does not know it.",
            "type": "string"
          },
          "count": {
            "description": "Rows or items the call answered; absent when not meaningful.",
            "format": "int64",
            "type": "integer"
          },
          "failure": {
            "description": "Why the call did not do what it asked; absent on a call that did.",
            "enum": [
              "timed_out",
              "refused",
              "not_found",
              "unavailable"
            ],
            "type": "string"
          },
          "object": {
            "description": "What the call acted on: a record type's label, a file name, a form name, a search term or a class name.",
            "type": "string"
          }
        },
        "type": "object"
      },
      "TurnFrame": {
        "description": "One frame of the stream, discriminated by type.",
        "discriminator": {
          "mapping": {
            "attachment": "#/components/schemas/TurnFrameAttachment",
            "component": "#/components/schemas/TurnFrameComponent",
            "conversation": "#/components/schemas/TurnFrameConversation",
            "error": "#/components/schemas/TurnFrameError",
            "guardrail": "#/components/schemas/TurnFrameGuardrail",
            "outcome": "#/components/schemas/TurnFrameOutcome",
            "pending_confirmation": "#/components/schemas/TurnFramePendingConfirmation",
            "seal": "#/components/schemas/TurnFrameSeal",
            "text_delta": "#/components/schemas/TurnFrameTextDelta",
            "tool_activity": "#/components/schemas/TurnFrameToolActivity",
            "tool_use": "#/components/schemas/TurnFrameToolUse",
            "turn_end": "#/components/schemas/TurnFrameTurnEnd",
            "turn_paused": "#/components/schemas/TurnFrameTurnPaused",
            "verification": "#/components/schemas/TurnFrameVerification"
          },
          "propertyName": "type"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/TurnFrameAttachment"
          },
          {
            "$ref": "#/components/schemas/TurnFrameComponent"
          },
          {
            "$ref": "#/components/schemas/TurnFrameConversation"
          },
          {
            "$ref": "#/components/schemas/TurnFrameError"
          },
          {
            "$ref": "#/components/schemas/TurnFrameGuardrail"
          },
          {
            "$ref": "#/components/schemas/TurnFrameOutcome"
          },
          {
            "$ref": "#/components/schemas/TurnFramePendingConfirmation"
          },
          {
            "$ref": "#/components/schemas/TurnFrameSeal"
          },
          {
            "$ref": "#/components/schemas/TurnFrameTextDelta"
          },
          {
            "$ref": "#/components/schemas/TurnFrameToolActivity"
          },
          {
            "$ref": "#/components/schemas/TurnFrameToolUse"
          },
          {
            "$ref": "#/components/schemas/TurnFrameTurnEnd"
          },
          {
            "$ref": "#/components/schemas/TurnFrameTurnPaused"
          },
          {
            "$ref": "#/components/schemas/TurnFrameVerification"
          }
        ]
      },
      "TurnFrameAttachment": {
        "additionalProperties": false,
        "properties": {
          "attachments": {
            "items": {
              "$ref": "#/components/schemas/TurnAttachment"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "message_id": {
            "type": "string"
          },
          "seq": {
            "description": "The frame's sequence number in the turn, from 1, strictly increasing; also the id line. A replay after a seal may skip withdrawn numbers.",
            "format": "int64",
            "type": "integer"
          },
          "turn_id": {
            "description": "The turn's id.",
            "type": "string"
          },
          "type": {
            "description": "The frame type; also the event line.",
            "enum": [
              "attachment"
            ],
            "type": "string"
          }
        },
        "required": [
          "message_id",
          "attachments",
          "type",
          "turn_id",
          "seq"
        ],
        "type": "object"
      },
      "TurnFrameComponent": {
        "additionalProperties": false,
        "properties": {
          "bytes": {
            "format": "int64",
            "type": "integer"
          },
          "component": {
            "type": "string"
          },
          "props": {
            "description": "The card's props; absent when ref is true."
          },
          "ref": {
            "description": "True for a card over the frame limit: read it from the turn's components route.",
            "type": "boolean"
          },
          "seq": {
            "description": "The frame's sequence number in the turn, from 1, strictly increasing; also the id line. A replay after a seal may skip withdrawn numbers.",
            "format": "int64",
            "type": "integer"
          },
          "tool_call_id": {
            "type": "string"
          },
          "turn_id": {
            "description": "The turn's id.",
            "type": "string"
          },
          "type": {
            "description": "The frame type; also the event line.",
            "enum": [
              "component"
            ],
            "type": "string"
          },
          "version": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "component",
          "version",
          "type",
          "turn_id",
          "seq"
        ],
        "type": "object"
      },
      "TurnFrameConversation": {
        "additionalProperties": false,
        "properties": {
          "conversation_id": {
            "type": "string"
          },
          "runtime": {
            "type": "string"
          },
          "seq": {
            "description": "The frame's sequence number in the turn, from 1, strictly increasing; also the id line. A replay after a seal may skip withdrawn numbers.",
            "format": "int64",
            "type": "integer"
          },
          "turn_control": {
            "type": "boolean"
          },
          "turn_id": {
            "description": "The turn's id.",
            "type": "string"
          },
          "turn_stream": {
            "type": "boolean"
          },
          "type": {
            "description": "The frame type; also the event line.",
            "enum": [
              "conversation"
            ],
            "type": "string"
          },
          "user_message_id": {
            "description": "The user message this turn stored; absent on a resume.",
            "type": "string"
          }
        },
        "required": [
          "conversation_id",
          "turn_control",
          "turn_stream",
          "runtime",
          "type",
          "turn_id",
          "seq"
        ],
        "type": "object"
      },
      "TurnFrameError": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "seq": {
            "description": "The frame's sequence number in the turn, from 1, strictly increasing; also the id line. A replay after a seal may skip withdrawn numbers.",
            "format": "int64",
            "type": "integer"
          },
          "turn_id": {
            "description": "The turn's id.",
            "type": "string"
          },
          "type": {
            "description": "The frame type; also the event line.",
            "enum": [
              "error"
            ],
            "type": "string"
          }
        },
        "required": [
          "code",
          "message",
          "type",
          "turn_id",
          "seq"
        ],
        "type": "object"
      },
      "TurnFrameGuardrail": {
        "additionalProperties": false,
        "properties": {
          "decision": {
            "type": "string"
          },
          "rule_id": {
            "type": "string"
          },
          "seq": {
            "description": "The frame's sequence number in the turn, from 1, strictly increasing; also the id line. A replay after a seal may skip withdrawn numbers.",
            "format": "int64",
            "type": "integer"
          },
          "turn_id": {
            "description": "The turn's id.",
            "type": "string"
          },
          "type": {
            "description": "The frame type; also the event line.",
            "enum": [
              "guardrail"
            ],
            "type": "string"
          }
        },
        "required": [
          "rule_id",
          "decision",
          "type",
          "turn_id",
          "seq"
        ],
        "type": "object"
      },
      "TurnFrameOutcome": {
        "additionalProperties": false,
        "properties": {
          "display": {
            "$ref": "#/components/schemas/TurnDisplay"
          },
          "replaces": {
            "enum": [
              "placeholder",
              "none"
            ],
            "type": "string"
          },
          "result": {
            "enum": [
              "succeeded",
              "failed",
              "may_have_run",
              "did_not_run"
            ],
            "type": "string"
          },
          "seq": {
            "description": "The frame's sequence number in the turn, from 1, strictly increasing; also the id line. A replay after a seal may skip withdrawn numbers.",
            "format": "int64",
            "type": "integer"
          },
          "stage": {
            "enum": [
              "provisional",
              "final"
            ],
            "type": "string"
          },
          "tool_call_id": {
            "type": "string"
          },
          "turn_id": {
            "description": "The turn's id.",
            "type": "string"
          },
          "type": {
            "description": "The frame type; also the event line.",
            "enum": [
              "outcome"
            ],
            "type": "string"
          }
        },
        "required": [
          "tool_call_id",
          "result",
          "stage",
          "replaces",
          "type",
          "turn_id",
          "seq"
        ],
        "type": "object"
      },
      "TurnFramePendingConfirmation": {
        "additionalProperties": false,
        "properties": {
          "execution": {
            "type": "string"
          },
          "input": {},
          "name": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "seq": {
            "description": "The frame's sequence number in the turn, from 1, strictly increasing; also the id line. A replay after a seal may skip withdrawn numbers.",
            "format": "int64",
            "type": "integer"
          },
          "tool_call_id": {
            "type": "string"
          },
          "turn_id": {
            "description": "The turn's id.",
            "type": "string"
          },
          "type": {
            "description": "The frame type; also the event line.",
            "enum": [
              "pending_confirmation"
            ],
            "type": "string"
          }
        },
        "required": [
          "tool_call_id",
          "name",
          "input",
          "reason",
          "type",
          "turn_id",
          "seq"
        ],
        "type": "object"
      },
      "TurnFrameSeal": {
        "additionalProperties": false,
        "properties": {
          "sealed_by": {
            "enum": [
              "user",
              "edit"
            ],
            "type": "string"
          },
          "sealed_through": {
            "format": "int64",
            "type": "integer"
          },
          "seq": {
            "description": "The frame's sequence number in the turn, from 1, strictly increasing; also the id line. A replay after a seal may skip withdrawn numbers.",
            "format": "int64",
            "type": "integer"
          },
          "turn_id": {
            "description": "The turn's id.",
            "type": "string"
          },
          "type": {
            "description": "The frame type; also the event line.",
            "enum": [
              "seal"
            ],
            "type": "string"
          }
        },
        "required": [
          "sealed_through",
          "sealed_by",
          "type",
          "turn_id",
          "seq"
        ],
        "type": "object"
      },
      "TurnFrameTextDelta": {
        "additionalProperties": false,
        "properties": {
          "round": {
            "description": "The model round within the turn.",
            "format": "int64",
            "type": "integer"
          },
          "seq": {
            "description": "The frame's sequence number in the turn, from 1, strictly increasing; also the id line. A replay after a seal may skip withdrawn numbers.",
            "format": "int64",
            "type": "integer"
          },
          "text": {
            "type": "string"
          },
          "turn_id": {
            "description": "The turn's id.",
            "type": "string"
          },
          "type": {
            "description": "The frame type; also the event line.",
            "enum": [
              "text_delta"
            ],
            "type": "string"
          }
        },
        "required": [
          "text",
          "round",
          "type",
          "turn_id",
          "seq"
        ],
        "type": "object"
      },
      "TurnFrameToolActivity": {
        "additionalProperties": false,
        "properties": {
          "display": {
            "$ref": "#/components/schemas/TurnDisplay"
          },
          "effect": {
            "description": "read, write, outbound, destructive or browser; empty for a tool that declares none.",
            "type": "string"
          },
          "execution": {
            "enum": [
              "platform",
              "client"
            ],
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "phase": {
            "enum": [
              "started",
              "completed",
              "failed",
              "stopped",
              "not_run"
            ],
            "type": "string"
          },
          "seq": {
            "description": "The frame's sequence number in the turn, from 1, strictly increasing; also the id line. A replay after a seal may skip withdrawn numbers.",
            "format": "int64",
            "type": "integer"
          },
          "sites": {
            "description": "The hosts a completed web_research step read.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "tool_call_id": {
            "type": "string"
          },
          "turn_id": {
            "description": "The turn's id.",
            "type": "string"
          },
          "type": {
            "description": "The frame type; also the event line.",
            "enum": [
              "tool_activity"
            ],
            "type": "string"
          }
        },
        "required": [
          "tool_call_id",
          "name",
          "execution",
          "phase",
          "effect",
          "type",
          "turn_id",
          "seq"
        ],
        "type": "object"
      },
      "TurnFrameToolUse": {
        "additionalProperties": false,
        "properties": {
          "effect": {
            "type": "string"
          },
          "executor_epoch": {
            "description": "The executor epoch live when the frame was appended; 0 if none.",
            "format": "int64",
            "type": "integer"
          },
          "kind": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "seq": {
            "description": "The frame's sequence number in the turn, from 1, strictly increasing; also the id line. A replay after a seal may skip withdrawn numbers.",
            "format": "int64",
            "type": "integer"
          },
          "tool_call_id": {
            "type": "string"
          },
          "turn_id": {
            "description": "The turn's id.",
            "type": "string"
          },
          "type": {
            "description": "The frame type; also the event line.",
            "enum": [
              "tool_use"
            ],
            "type": "string"
          }
        },
        "required": [
          "tool_call_id",
          "name",
          "effect",
          "executor_epoch",
          "kind",
          "type",
          "turn_id",
          "seq"
        ],
        "type": "object"
      },
      "TurnFrameTurnEnd": {
        "additionalProperties": false,
        "properties": {
          "seq": {
            "description": "The frame's sequence number in the turn, from 1, strictly increasing; also the id line. A replay after a seal may skip withdrawn numbers.",
            "format": "int64",
            "type": "integer"
          },
          "status": {
            "enum": [
              "completed",
              "stopped",
              "failed"
            ],
            "type": "string"
          },
          "stop_reason": {
            "type": "string"
          },
          "turn_id": {
            "description": "The turn's id.",
            "type": "string"
          },
          "type": {
            "description": "The frame type; also the event line.",
            "enum": [
              "turn_end"
            ],
            "type": "string"
          },
          "usage": {
            "$ref": "#/components/schemas/TurnUsage"
          }
        },
        "required": [
          "stop_reason",
          "status",
          "usage",
          "type",
          "turn_id",
          "seq"
        ],
        "type": "object"
      },
      "TurnFrameTurnPaused": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "type": "string"
          },
          "seq": {
            "description": "The frame's sequence number in the turn, from 1, strictly increasing; also the id line. A replay after a seal may skip withdrawn numbers.",
            "format": "int64",
            "type": "integer"
          },
          "tool_call_ids": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "turn_id": {
            "description": "The turn's id.",
            "type": "string"
          },
          "type": {
            "description": "The frame type; also the event line.",
            "enum": [
              "turn_paused"
            ],
            "type": "string"
          }
        },
        "required": [
          "reason",
          "tool_call_ids",
          "type",
          "turn_id",
          "seq"
        ],
        "type": "object"
      },
      "TurnFrameVerification": {
        "additionalProperties": false,
        "properties": {
          "citations": {
            "description": "One verdict per doc: address the answer cites.",
            "items": {
              "$ref": "#/components/schemas/TurnVerificationCitation"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "message_id": {
            "description": "The answer message the check read.",
            "type": "string"
          },
          "seq": {
            "description": "The frame's sequence number in the turn, from 1, strictly increasing; also the id line. A replay after a seal may skip withdrawn numbers.",
            "format": "int64",
            "type": "integer"
          },
          "turn_id": {
            "description": "The turn's id.",
            "type": "string"
          },
          "type": {
            "description": "The frame type; also the event line.",
            "enum": [
              "verification"
            ],
            "type": "string"
          }
        },
        "required": [
          "message_id",
          "citations",
          "type",
          "turn_id",
          "seq"
        ],
        "type": "object"
      },
      "TurnToolkit": {
        "additionalProperties": false,
        "properties": {
          "config_hash": {
            "type": "string"
          },
          "definition_hash": {
            "type": "string"
          },
          "definition_schema": {
            "enum": [
              "legacy",
              "owned"
            ],
            "type": "string"
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/TurnToolkitTool"
            },
            "type": "array"
          }
        },
        "required": [
          "config_hash",
          "definition_schema"
        ],
        "type": "object"
      },
      "TurnToolkitTool": {
        "additionalProperties": false,
        "properties": {
          "description": {
            "type": "string"
          },
          "effect": {
            "enum": [
              "read",
              "write",
              "outbound",
              "destructive",
              "browser"
            ],
            "type": "string"
          },
          "execution_owner": {
            "enum": [
              "api",
              "client"
            ],
            "type": "string"
          },
          "input_schema": {},
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "description",
          "input_schema",
          "effect",
          "execution_owner"
        ],
        "type": "object"
      },
      "TurnUsage": {
        "additionalProperties": false,
        "properties": {
          "cache_creation_input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "cache_read_input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "cached_input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "input_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "output_tokens": {
            "format": "int64",
            "type": "integer"
          },
          "total_tokens": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "input_tokens",
          "output_tokens",
          "total_tokens",
          "cached_input_tokens",
          "cache_creation_input_tokens",
          "cache_read_input_tokens"
        ],
        "type": "object"
      },
      "TurnVerificationCitation": {
        "additionalProperties": false,
        "properties": {
          "anchor": {
            "type": "string"
          },
          "check": {
            "type": "string"
          },
          "document_id": {
            "type": "string"
          },
          "filename": {
            "type": "string"
          },
          "page": {
            "format": "int64",
            "type": "integer"
          },
          "result": {
            "type": "string"
          },
          "version": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "document_id",
          "version",
          "result"
        ],
        "type": "object"
      },
      "UnadmittedTurn": {
        "additionalProperties": false,
        "properties": {
          "admitted": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "sealed": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "admitted",
          "sealed"
        ],
        "type": "object"
      },
      "UnadmittedTurnEnvelope": {
        "additionalProperties": false,
        "properties": {
          "turn": {
            "$ref": "#/components/schemas/UnadmittedTurn"
          }
        },
        "required": [
          "turn"
        ],
        "type": "object"
      },
      "UnderwritingPaper": {
        "additionalProperties": false,
        "properties": {
          "am_best_rating": {
            "type": "string"
          },
          "am_best_rating_as_of": {
            "type": "string"
          },
          "am_best_rating_source": {
            "type": "string"
          },
          "legal_name": {
            "type": "string"
          },
          "market_entity_key": {
            "type": "string"
          },
          "rating_market_entity_key": {
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "spine_market_entity_key": {
            "type": "string"
          }
        },
        "required": [
          "market_entity_key",
          "role"
        ],
        "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"
      },
      "UpdateConversationEvalScenarioRequest": {
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "rubric": {},
          "script": {},
          "suite": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "name",
          "script",
          "rubric",
          "suite"
        ],
        "type": "object"
      },
      "UpdateConversationInstanceRequest": {
        "additionalProperties": false,
        "properties": {
          "config": {},
          "description": {
            "type": "string"
          },
          "group_key": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpdateEngineRequest": {
        "additionalProperties": false,
        "properties": {
          "description": {
            "type": "string"
          },
          "group_key": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "UploadConversationAttachmentForm": {
        "additionalProperties": false,
        "properties": {
          "end_user": {
            "description": "The end user the conversation belongs to.",
            "type": "string"
          },
          "file": {
            "contentMediaType": "application/octet-stream",
            "description": "The file's bytes; its part's filename is the attachment's name.",
            "format": "binary",
            "type": "string"
          }
        },
        "required": [
          "end_user",
          "file"
        ],
        "type": "object"
      },
      "UploadedDocumentEntry": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": "string"
          },
          "app_id": {
            "type": "string"
          },
          "archived_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "archived_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "certificate_id": {
            "type": "string"
          },
          "claim_id": {
            "type": "string"
          },
          "content_sha256": {
            "type": "string"
          },
          "content_type": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "extraction_id": {
            "type": "string"
          },
          "extractions": {
            "description": "The document's linked extractions, newest first. Present only with include=extractions; an empty list when the document has none.",
            "items": {
              "$ref": "#/components/schemas/ResourceWire"
            },
            "type": "array"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "policy_id": {
            "type": "string"
          },
          "raw_text": {
            "type": "string"
          },
          "size_bytes": {
            "format": "int64",
            "type": "integer"
          },
          "source": {
            "type": "string"
          },
          "submission_id": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "upload_receipt": {},
          "uploaded_at": {
            "format": "date-time",
            "type": "string"
          },
          "uploaded_by": {
            "type": "string"
          }
        },
        "required": [
          "app_id",
          "id",
          "type",
          "name",
          "content_type",
          "size_bytes",
          "content_sha256",
          "uploaded_by",
          "uploaded_at",
          "source",
          "archived_at",
          "archived_by",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "ValidateConfigRequest": {
        "additionalProperties": false,
        "properties": {
          "config": {},
          "step": {
            "description": "A step id from GET /engines/{engineSlug}/steps; config is then that step's config.",
            "type": "string"
          }
        },
        "required": [
          "config"
        ],
        "type": "object"
      },
      "ValidateConfigResponse": {
        "additionalProperties": false,
        "properties": {
          "config_hash": {
            "type": "string"
          },
          "errors": {
            "items": {
              "$ref": "#/components/schemas/Issue"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "valid": {
            "type": "boolean"
          }
        },
        "required": [
          "valid",
          "errors",
          "config_hash"
        ],
        "type": "object"
      },
      "Value": {
        "additionalProperties": false,
        "properties": {
          "provenance": {
            "$ref": "#/components/schemas/Provenance"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "value",
          "provenance"
        ],
        "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"
      },
      "VocabularyCode": {
        "additionalProperties": false,
        "properties": {
          "acord_code": {
            "description": "A payment plan's ACORD code. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "active_status": {
            "description": "A active, I inactive. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "ams360_datasource": {
            "type": [
              "string",
              "null"
            ]
          },
          "answer_format": {
            "description": "The answer's data type. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "answer_length": {
            "description": "The answer's longest length. An exact number, as decimal text. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "applies_text": {
            "description": "How a personal lines coverage reads when it applies. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "attribute_code": {
            "description": "The list the entry belongs to. An exact number, as decimal text. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "carrier_code": {
            "description": "The carrier a carrier-specific coverage code belongs to; null on the agency's own codes. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "category": {
            "description": "Group, or primary and secondary. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "child_attribute_code": {
            "description": "The list an entry's next level reads from. An exact number, as decimal text. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "code": {
            "type": "string"
          },
          "coverage_code": {
            "description": "The coverage's ACORD code. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "coverage_group": {
            "description": "An exact number, as decimal text. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "default_form_number": {
            "description": "Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "description": "What the agency's pick lists show. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "domain": {
            "type": "string"
          },
          "download_abstraction": {
            "description": "Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "download_rules": {
            "description": "The rule set carrier downloads of the line are processed with. An exact number, as decimal text. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "entry_form": {
            "description": "The data entry form the line opens. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "form_type_id": {
            "description": "The electronic form type the line prints on. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "hidden": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "income_group": {
            "description": "The income group the line posts under. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "is_commercial": {
            "description": "An exact number, as decimal text. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "is_coverage": {
            "description": "1 when a coverage, as opposed to an endorsement. An exact number, as decimal text. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "is_default": {
            "description": "The classification new documents take. Served on a row the warehouse serves.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "is_defined": {
            "description": "The classification has been activated. Served on a row the warehouse serves.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "is_endorsement": {
            "description": "An exact number, as decimal text. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "is_hidden": {
            "description": "Hidden from the agency's pick lists. Served on a row the warehouse serves.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "is_liability": {
            "description": "An exact number, as decimal text. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "is_personal": {
            "description": "An exact number, as decimal text. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "is_policy_level": {
            "description": "Served on a row the warehouse serves.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "is_property": {
            "description": "An exact number, as decimal text. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "is_required": {
            "description": "Served on a row the warehouse serves.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "item_id": {
            "description": "The entry's number within its list. An exact number, as decimal text. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "kind": {
            "description": "The row's kind, on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "label": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_of_business": {
            "description": "The ACORD line of business code. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "permanent": {
            "description": "1 when the source ships the row and it cannot be deleted. An exact number, as decimal text. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "plan_type": {
            "description": "A payment plan's type, as the agency sets it up. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "primary_label": {
            "description": "The primary role's label. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "prints_on_bop": {
            "description": "On a BOP policy type, the line prints on the businessowners form. Served on a row the warehouse serves.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "question": {
            "description": "The question's text. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "relationship_type_id": {
            "description": "The relationship type (codes?domain=relationship_type) the relationship is one of. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "secondary_label": {
            "description": "The secondary role's label. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "security_item_id": {
            "description": "The security item whose grant opens documents of the classification. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "sort_no": {
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "source_fields": {
            "additionalProperties": {},
            "description": "The system of record's own fields, on a code read live; named fields replace them as the catalog names them.",
            "type": "object"
          },
          "source_id": {
            "description": "The source's own id for the row. Served on a row the warehouse serves.",
            "type": [
              "string",
              "null"
            ]
          },
          "source_key": {
            "description": "The source's opaque record reference, on a code a seat bound to the system of record read live.",
            "type": "string"
          },
          "type_of_business": {
            "$ref": "#/components/schemas/CatalogCodeValue",
            "description": "The type of business: commercial, personal, benefits, life and so on. Served on a row the warehouse serves."
          }
        },
        "required": [
          "id",
          "ams360_datasource",
          "domain",
          "code",
          "label",
          "sort_no",
          "hidden"
        ],
        "type": "object"
      },
      "VocabularyContract": {
        "additionalProperties": false,
        "properties": {
          "access_datasets": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "access_levels": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "access_surfaces": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "actions": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "document_classes": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "document_tiers": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "execution_policies": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "field_classes": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "role_slugs": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "scope_kinds": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source_hash": {
            "type": "string"
          },
          "system_grants": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "workflow_slugs": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "role_slugs",
          "access_surfaces",
          "access_datasets",
          "scope_kinds",
          "access_levels",
          "field_classes",
          "workflow_slugs",
          "actions",
          "execution_policies",
          "system_grants",
          "document_classes",
          "document_tiers",
          "source_hash"
        ],
        "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"
      },
      "WebhookCreateRequest": {
        "additionalProperties": false,
        "properties": {
          "active": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "auth_header": {
            "type": "string"
          },
          "auth_token": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "events": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "payload_mode": {
            "type": [
              "string",
              "null"
            ]
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "url",
          "events",
          "description",
          "active",
          "auth_token",
          "payload_mode"
        ],
        "type": "object"
      },
      "WebhookCreateResponseDoc": {
        "additionalProperties": false,
        "properties": {
          "active": {
            "type": "boolean"
          },
          "auth_header": {
            "type": "string"
          },
          "auth_token_configured": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string"
          },
          "deactivated_at": {
            "type": "string"
          },
          "deactivated_by": {
            "type": "string"
          },
          "deactivated_reason": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "environment": {
            "type": "string"
          },
          "events": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "payload_mode": {
            "type": "string"
          },
          "previous_secret_expires_at": {
            "type": "string"
          },
          "secret": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "webhook_version": {
            "type": "string"
          }
        },
        "required": [
          "secret",
          "id",
          "url",
          "environment",
          "events",
          "active",
          "status",
          "auth_token_configured",
          "webhook_version",
          "payload_mode",
          "created_at"
        ],
        "type": "object"
      },
      "WebhookEndpointResponse": {
        "additionalProperties": false,
        "properties": {
          "active": {
            "type": "boolean"
          },
          "auth_header": {
            "type": "string"
          },
          "auth_token_configured": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string"
          },
          "deactivated_at": {
            "type": "string"
          },
          "deactivated_by": {
            "type": "string"
          },
          "deactivated_reason": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "environment": {
            "type": "string"
          },
          "events": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "payload_mode": {
            "type": "string"
          },
          "previous_secret_expires_at": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "webhook_version": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "url",
          "environment",
          "events",
          "active",
          "status",
          "auth_token_configured",
          "webhook_version",
          "payload_mode",
          "created_at"
        ],
        "type": "object"
      },
      "WebhookEvent": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "type": "string"
          },
          "data": {
            "$ref": "#/components/schemas/WebhookEventData"
          },
          "id": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "webhook_version": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "type",
          "webhook_version",
          "created_at",
          "data"
        ],
        "type": "object"
      },
      "WebhookEventData": {
        "additionalProperties": false,
        "properties": {
          "run": {
            "$ref": "#/components/schemas/RunStatusResponse"
          }
        },
        "required": [
          "run"
        ],
        "type": "object"
      },
      "WebhookListResponse": {
        "additionalProperties": false,
        "properties": {
          "endpoints": {
            "items": {
              "$ref": "#/components/schemas/WebhookEndpointResponse"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "endpoints"
        ],
        "type": "object"
      },
      "WebhookResendResponse": {
        "additionalProperties": false,
        "properties": {
          "delivery_id": {
            "type": "string"
          },
          "resend_generation": {
            "format": "int64",
            "type": "integer"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "delivery_id",
          "status",
          "resend_generation"
        ],
        "type": "object"
      },
      "WebhookRotateSecretResponse": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "previous_secret_expires_at": {
            "type": "string"
          },
          "rotation_policy_id": {
            "type": "string"
          },
          "secret": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "secret",
          "rotation_policy_id"
        ],
        "type": "object"
      },
      "WebhookUpdateRequestDoc": {
        "additionalProperties": false,
        "properties": {
          "active": {
            "type": "boolean"
          },
          "auth_header": {
            "type": "string"
          },
          "auth_token": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "events": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "payload_mode": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "WhoToCall": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "role": {
            "type": "string"
          },
          "source": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "role",
          "phone",
          "email",
          "source"
        ],
        "type": "object"
      },
      "WorkItemProblem": {
        "additionalProperties": false,
        "properties": {
          "error_code": {
            "type": "string"
          },
          "error_detail": {
            "type": "string"
          },
          "item_key": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "item_key",
          "status"
        ],
        "type": "object"
      },
      "WorkbenchActedByJSON": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          }
        },
        "required": [
          "userId"
        ],
        "type": "object"
      },
      "WorkbenchActor": {
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          }
        },
        "required": [
          "userId",
          "name",
          "role"
        ],
        "type": "object"
      },
      "WorkbenchCertificateRow": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": "string"
          },
          "admitted_as": {
            "description": "On a task row: writer when the reading seat's scope reaches the row as its own (its creator, an assigned root or an organization-wide grant), assignee when the seat reaches it only because the task is assigned to it.",
            "enum": [
              "writer",
              "assignee"
            ],
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "cycle_id": {
            "type": "string"
          },
          "data": {},
          "deleted_at": {
            "format": "date-time",
            "type": "string"
          },
          "discard": {
            "$ref": "#/components/schemas/CertificateDiscard"
          },
          "document_id": {
            "type": "string"
          },
          "entity_id": {
            "type": "string"
          },
          "entity_type": {
            "type": "string"
          },
          "external_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "lob_code": {
            "type": "string"
          },
          "market_entity_key": {
            "type": "string"
          },
          "market_key": {
            "type": "string"
          },
          "org_id": {
            "type": "string"
          },
          "proposal_id": {
            "type": "string"
          },
          "slot": {
            "type": "string"
          },
          "state": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/MachineState"
              },
              {
                "type": "null"
              }
            ]
          },
          "submission_id": {
            "type": "string"
          },
          "surface": {
            "type": "string"
          },
          "system": {
            "type": "string"
          },
          "template_id": {
            "type": "string"
          },
          "triage": {},
          "updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "user_id": {
            "type": "string"
          },
          "version_number": {
            "format": "int64",
            "type": "integer"
          },
          "viewer_voted": {
            "type": "boolean"
          },
          "vote_count": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "discard",
          "state",
          "id",
          "data",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "WorkbenchContractItemResponseWorkbenchProductAccessGrant": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/WorkbenchProductAccessGrant"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "WorkbenchContractListResponseAssistantFeedbackRow": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AssistantFeedbackRow"
          },
          "meta": {
            "$ref": "#/components/schemas/WorkbenchContractMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "WorkbenchContractListResponseListWorkbenchProductAccessGrant": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/WorkbenchProductAccessGrant"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "meta": {
            "$ref": "#/components/schemas/WorkbenchContractMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "WorkbenchContractListResponsePlacementFeedbackRow": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/PlacementFeedbackRow"
          },
          "meta": {
            "$ref": "#/components/schemas/WorkbenchContractMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "WorkbenchContractMeta": {
        "additionalProperties": false,
        "properties": {
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "requestId": {
            "type": "string"
          }
        },
        "required": [
          "requestId",
          "nextCursor"
        ],
        "type": "object"
      },
      "WorkbenchDocumentBody": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DocumentWire"
          },
          "meta": {
            "$ref": "#/components/schemas/WorkbenchDocumentMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "WorkbenchDocumentContentBody": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/WorkbenchDocumentContentGrant"
          },
          "meta": {
            "$ref": "#/components/schemas/WorkbenchDocumentMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "WorkbenchDocumentContentGrant": {
        "additionalProperties": false,
        "properties": {
          "expires_at": {
            "format": "date-time",
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "url",
          "expires_at"
        ],
        "type": "object"
      },
      "WorkbenchDocumentListBody": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/DocumentWire"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "meta": {
            "$ref": "#/components/schemas/WorkbenchDocumentMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "WorkbenchDocumentMeta": {
        "additionalProperties": false,
        "properties": {
          "nextCursor": {
            "description": "The cursor of the next page; null on the last page.",
            "type": [
              "string",
              "null"
            ]
          },
          "requestId": {
            "description": "The request id.",
            "type": "string"
          }
        },
        "required": [
          "requestId",
          "nextCursor"
        ],
        "type": "object"
      },
      "WorkbenchDocumentPatchJSON": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": "string"
          },
          "app_id": {
            "type": "string"
          },
          "archived_at": {},
          "archived_by": {},
          "certificate_id": {
            "type": "string"
          },
          "claim_id": {
            "type": "string"
          },
          "extraction_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "policy_id": {
            "type": "string"
          },
          "raw_text": {
            "type": "string"
          },
          "submission_id": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "upload_receipt": {}
        },
        "required": [
          "app_id",
          "archived_at",
          "archived_by"
        ],
        "type": "object"
      },
      "WorkbenchDocumentReservation": {
        "additionalProperties": false,
        "properties": {
          "document": {
            "$ref": "#/components/schemas/DocumentFileReserved"
          },
          "upload_expires_at": {
            "format": "date-time",
            "type": "string"
          },
          "upload_url": {
            "description": "Where the bytes go; absent for a raw-text document.",
            "type": "string"
          }
        },
        "required": [
          "document"
        ],
        "type": "object"
      },
      "WorkbenchDocumentReservationBody": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/WorkbenchDocumentReservation"
          },
          "meta": {
            "$ref": "#/components/schemas/WorkbenchDocumentMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "WorkbenchDocumentResourceBody": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ResourceWire"
          },
          "meta": {
            "$ref": "#/components/schemas/WorkbenchDocumentMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "WorkbenchDocumentResourceCreatedBody": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "The created row, in a one-element list.",
            "items": {
              "$ref": "#/components/schemas/ResourceWire"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "meta": {
            "$ref": "#/components/schemas/WorkbenchDocumentMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "WorkbenchDocumentResourceJSON": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": "string"
          },
          "app_id": {
            "type": "string"
          },
          "data": {},
          "document_id": {
            "type": "string"
          },
          "engine_run_id": {
            "type": "string"
          },
          "extraction_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "item_key": {
            "type": "string"
          },
          "notice_id": {
            "type": "string"
          },
          "policy_id": {
            "type": "string"
          },
          "user_id": {
            "type": "string"
          }
        },
        "required": [
          "app_id",
          "id",
          "data"
        ],
        "type": "object"
      },
      "WorkbenchDocumentResourceListBody": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ResourceWire"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "meta": {
            "$ref": "#/components/schemas/WorkbenchDocumentMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "WorkbenchDocumentWrite": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": "string"
          },
          "app_id": {
            "type": "string"
          },
          "certificate_id": {
            "type": "string"
          },
          "claim_id": {
            "type": "string"
          },
          "content_type": {
            "type": "string"
          },
          "extraction_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "policy_id": {
            "type": "string"
          },
          "raw_text": {
            "type": "string"
          },
          "size_bytes": {
            "format": "int64",
            "type": "integer"
          },
          "source": {
            "type": "string"
          },
          "submission_id": {
            "type": "string"
          },
          "type": {
            "description": "The upload kind the producer chose. Absent, the platform reads it from name (GET /documents/types?file_name=), and the answer's document.type_basis is file_name; a kind sent is producer.",
            "enum": [
              "loss_run",
              "exposure_records",
              "acord_packet",
              "schedule",
              "certificate",
              "binder",
              "endorsement",
              "dec_page",
              "policy",
              "quote",
              "notice",
              "other"
            ],
            "type": "string"
          },
          "upload_receipt": {},
          "uploaded_at": {
            "format": "date-time",
            "type": "string"
          },
          "uploaded_by": {
            "type": "string"
          }
        },
        "required": [
          "app_id",
          "id",
          "name",
          "content_type",
          "size_bytes",
          "uploaded_by",
          "uploaded_at"
        ],
        "type": "object"
      },
      "WorkbenchEntityRef": {
        "additionalProperties": false,
        "properties": {
          "accountId": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "id"
        ],
        "type": "object"
      },
      "WorkbenchEvent": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": "string"
          },
          "actor": {
            "$ref": "#/components/schemas/WorkbenchActor"
          },
          "actor_user_id": {
            "type": "string"
          },
          "app": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "occurred_at": {
            "format": "date-time",
            "type": "string"
          },
          "org_id": {
            "type": "string"
          },
          "payload": {},
          "policy_id": {
            "type": "string"
          },
          "processed_at": {
            "format": "date-time",
            "type": "string"
          },
          "processed_reason": {
            "type": "string"
          },
          "refs": {
            "items": {
              "$ref": "#/components/schemas/WorkbenchEntityRef"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source": {
            "type": "string"
          },
          "subject": {
            "$ref": "#/components/schemas/WorkbenchEntityRef"
          },
          "submission_id": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "type",
          "org_id",
          "app",
          "source",
          "occurred_at",
          "payload"
        ],
        "type": "object"
      },
      "WorkbenchEventAppendResultJSON": {
        "additionalProperties": false,
        "properties": {
          "acted_by": {
            "$ref": "#/components/schemas/WorkbenchActedByJSON"
          },
          "actor": {
            "$ref": "#/components/schemas/WorkbenchActor"
          },
          "actor_user_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "rule_owner": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "status"
        ],
        "type": "object"
      },
      "WorkbenchEventBatchJSON": {
        "additionalProperties": false,
        "properties": {
          "app": {
            "type": "string"
          },
          "events": {
            "items": {
              "$ref": "#/components/schemas/WorkbenchEventJSON"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "app",
          "events"
        ],
        "type": "object"
      },
      "WorkbenchEventBatchResult": {
        "additionalProperties": false,
        "properties": {
          "app": {
            "type": "string"
          },
          "inserted": {
            "format": "int64",
            "type": "integer"
          },
          "replayed": {
            "format": "int64",
            "type": "integer"
          },
          "results": {
            "items": {
              "$ref": "#/components/schemas/WorkbenchEventAppendResultJSON"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "app",
          "inserted",
          "replayed",
          "results"
        ],
        "type": "object"
      },
      "WorkbenchEventJSON": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": "string"
          },
          "actor": {
            "$ref": "#/components/schemas/WorkbenchActor"
          },
          "actor_user_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "occurred_at": {
            "format": "date-time",
            "type": "string"
          },
          "payload": {},
          "policy_id": {
            "type": "string"
          },
          "refs": {
            "items": {
              "$ref": "#/components/schemas/WorkbenchEntityRef"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source": {
            "type": "string"
          },
          "subject": {
            "$ref": "#/components/schemas/WorkbenchEntityRef"
          },
          "submission_id": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "type",
          "source",
          "occurred_at",
          "payload"
        ],
        "type": "object"
      },
      "WorkbenchOverlayEdit": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "type": "string"
          },
          "app": {
            "type": "string"
          },
          "at": {
            "format": "date-time",
            "type": "string"
          },
          "field": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "org_id": {
            "type": "string"
          },
          "subject_key": {
            "type": "string"
          },
          "subject_kind": {
            "type": "string"
          },
          "value": {},
          "version": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "app",
          "id",
          "subject_kind",
          "subject_key",
          "field",
          "value",
          "actor",
          "at",
          "version"
        ],
        "type": "object"
      },
      "WorkbenchPlacementLaunch": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": "string"
          },
          "actor": {
            "$ref": "#/components/schemas/WorkbenchActor"
          },
          "app": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "created_by": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "event_id": {
            "type": "string"
          },
          "event_payload": {},
          "id": {
            "type": "string"
          },
          "metadata": {},
          "org_id": {
            "type": "string"
          },
          "policy_id": {
            "type": "string"
          },
          "submission_id": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "event_id",
          "org_id",
          "app",
          "type",
          "description",
          "created_at",
          "created_by",
          "metadata"
        ],
        "type": "object"
      },
      "WorkbenchProductAccessGrant": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "decided_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "decided_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "expires_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "note": {
            "type": [
              "string",
              "null"
            ]
          },
          "org_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "product_key": {
            "type": "string"
          },
          "requested_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "requested_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "role": {
            "type": [
              "string",
              "null"
            ]
          },
          "source": {
            "type": "string"
          },
          "source_ref": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_synced_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": "string"
          },
          "subject_id": {
            "type": "string"
          },
          "subject_type": {
            "type": "string"
          },
          "sync_run_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "product_key",
          "org_id",
          "subject_type",
          "subject_id",
          "role",
          "status",
          "source",
          "source_ref",
          "source_synced_at",
          "sync_run_id",
          "requested_by",
          "requested_at",
          "decided_by",
          "decided_at",
          "note",
          "expires_at",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "WorkbenchProductAccessGrantCreateResult": {
        "additionalProperties": false,
        "properties": {
          "created": {
            "type": "boolean"
          },
          "grant": {
            "$ref": "#/components/schemas/WorkbenchProductAccessGrant"
          }
        },
        "required": [
          "created",
          "grant"
        ],
        "type": "object"
      },
      "WorkbenchProductAccessGrantPage": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/WorkbenchProductAccessGrant"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "page": {
            "format": "int64",
            "type": "integer"
          },
          "page_size": {
            "format": "int64",
            "type": "integer"
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "data",
          "total",
          "page",
          "page_size"
        ],
        "type": "object"
      },
      "WorkbenchProductAccessRequest": {
        "additionalProperties": false,
        "properties": {
          "actor_id": {
            "type": "string"
          },
          "expected_updated_at": {},
          "expires_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "note": {
            "type": [
              "string",
              "null"
            ]
          },
          "org_id": {
            "type": "string"
          },
          "product_key": {
            "description": "The product the grant admits; the API administers grants for insurance only.",
            "enum": [
              "insurance"
            ],
            "type": "string"
          },
          "role": {
            "type": [
              "string",
              "null"
            ]
          },
          "source": {
            "type": "string"
          },
          "source_ref": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_synced_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": "string"
          },
          "subject_id": {
            "type": "string"
          },
          "subject_type": {
            "type": "string"
          },
          "sync_run_id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "product_key",
          "org_id",
          "subject_type",
          "subject_id",
          "role",
          "status",
          "actor_id",
          "source",
          "source_ref",
          "source_synced_at",
          "sync_run_id",
          "note",
          "expires_at"
        ],
        "type": "object"
      },
      "WorkbenchProductAccessStatusRequest": {
        "additionalProperties": false,
        "properties": {
          "actor_id": {
            "type": "string"
          },
          "expected_updated_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "note": {
            "type": [
              "string",
              "null"
            ]
          },
          "org_id": {
            "type": "string"
          },
          "product_key": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "org_id",
          "product_key",
          "expected_updated_at",
          "status",
          "actor_id",
          "note"
        ],
        "type": "object"
      },
      "WorkbenchRow": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": "string"
          },
          "admitted_as": {
            "description": "On a task row: writer when the reading seat's scope reaches the row as its own (its creator, an assigned root or an organization-wide grant), assignee when the seat reaches it only because the task is assigned to it.",
            "enum": [
              "writer",
              "assignee"
            ],
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "cycle_id": {
            "type": "string"
          },
          "data": {},
          "deleted_at": {
            "format": "date-time",
            "type": "string"
          },
          "document_id": {
            "type": "string"
          },
          "entity_id": {
            "type": "string"
          },
          "entity_type": {
            "type": "string"
          },
          "external_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "lob_code": {
            "type": "string"
          },
          "market_entity_key": {
            "type": "string"
          },
          "market_key": {
            "type": "string"
          },
          "org_id": {
            "type": "string"
          },
          "proposal_id": {
            "type": "string"
          },
          "slot": {
            "type": "string"
          },
          "submission_id": {
            "type": "string"
          },
          "surface": {
            "type": "string"
          },
          "system": {
            "type": "string"
          },
          "template_id": {
            "type": "string"
          },
          "triage": {},
          "updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "user_id": {
            "type": "string"
          },
          "version_number": {
            "format": "int64",
            "type": "integer"
          },
          "viewer_voted": {
            "type": "boolean"
          },
          "vote_count": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "data",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "WorkbenchTaskRow": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": "string"
          },
          "admitted_as": {
            "description": "On a task row: writer when the reading seat's scope reaches the row as its own (its creator, an assigned root or an organization-wide grant), assignee when the seat reaches it only because the task is assigned to it.",
            "enum": [
              "writer",
              "assignee"
            ],
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "cycle_id": {
            "type": "string"
          },
          "data": {},
          "deleted_at": {
            "format": "date-time",
            "type": "string"
          },
          "document_id": {
            "type": "string"
          },
          "entity_id": {
            "type": "string"
          },
          "entity_type": {
            "type": "string"
          },
          "external_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "lob_code": {
            "type": "string"
          },
          "market_entity_key": {
            "type": "string"
          },
          "market_key": {
            "type": "string"
          },
          "org_id": {
            "type": "string"
          },
          "proposal_id": {
            "type": "string"
          },
          "slot": {
            "type": "string"
          },
          "state": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/MachineState",
                "description": "The task's status with its label, settled flag and tone from the org's declared task_status machine; null when the org declares no task_status machine."
              },
              {
                "type": "null"
              }
            ]
          },
          "submission_id": {
            "type": "string"
          },
          "surface": {
            "type": "string"
          },
          "system": {
            "type": "string"
          },
          "template_id": {
            "type": "string"
          },
          "triage": {},
          "updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "user_id": {
            "type": "string"
          },
          "version_number": {
            "format": "int64",
            "type": "integer"
          },
          "viewer_voted": {
            "type": "boolean"
          },
          "vote_count": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "state",
          "id",
          "data",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "WorkbenchTemplateDraft": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "data": {
            "description": "The draft's working copy."
          },
          "document_id": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "submission_id": {
            "type": "string"
          },
          "template_id": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "user_id": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "data",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "WorkbenchTemplateDraftBody": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/WorkbenchTemplateDraft"
          },
          "meta": {
            "$ref": "#/components/schemas/WorkbenchDocumentMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "WorkbenchTemplateDraftWrite": {
        "additionalProperties": false,
        "properties": {
          "data": {},
          "expected_updated_at": {
            "description": "The updated_at the caller read. A newer row answers 409 record_changed.",
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "WorkbenchWebhookDeliveryClaimRequest": {
        "additionalProperties": false,
        "properties": {
          "delivery_id": {
            "type": "string"
          },
          "event_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "kind": {
            "type": "string"
          },
          "org_id": {
            "type": "string"
          }
        },
        "required": [
          "delivery_id",
          "org_id",
          "kind",
          "event_type"
        ],
        "type": "object"
      },
      "WorkbenchWebhookDeliveryClaimResponse": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/WorkbenchWebhookDeliveryClaimResponseDataStruct"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "WorkbenchWebhookDeliveryClaimResponseDataStruct": {
        "additionalProperties": false,
        "properties": {
          "claimed": {
            "type": "boolean"
          }
        },
        "required": [
          "claimed"
        ],
        "type": "object"
      },
      "WorkbookColumn": {
        "additionalProperties": false,
        "properties": {
          "header": {
            "type": "string"
          },
          "letter": {
            "type": "string"
          }
        },
        "required": [
          "letter",
          "header"
        ],
        "type": "object"
      },
      "WorkbookGap": {
        "additionalProperties": false,
        "properties": {
          "all": {
            "description": "On not_held: no row holds a value.",
            "type": "boolean"
          },
          "cell": {
            "description": "The label's value cell, or the column's header cell.",
            "type": "string"
          },
          "cells": {
            "description": "The cells left blank or affected.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "column": {
            "type": "string"
          },
          "label": {
            "description": "The workbook's own label or column header.",
            "type": "string"
          },
          "reason": {
            "description": "column_not_mapped: a column header no draft field answers. label_not_mapped: a header-block label no field answers. not_held: a matched label or column whose field holds no value, on every row (all) or on the rows named. not_read: a matched label whose field the account read does not carry; AMS 360 may hold it and the producer supplies it. row_left_out: draft rows the workbook does not hold that found no blank row, on a sheet rows cannot be added to (a pivot table on the sheet, a form control, a comment under the table, a locked sheet, a total that would not take the new rows). row_formula_missing: a blank data row without the formula its column computes on the other rows, left without an invented formula and explicitly reported. text_in_summed_column: a text value in a column the totals row sums. kept_existing: a label cell, or a matched row's cell, that already held another value; it is kept. cell_refused: a cell the filler refused. column_not_found: a draft column whose header no workbook column holds. column_ambiguous: a draft column whose header two columns hold, in the workbook or the draft; it is not filled. row_not_matched: draft rows whose key value names more than one workbook row, or that no key tells apart from a row the workbook holds; a row the workbook does not hold fills its next blank row, else a row added under the table that carries the row above's formulas and formats.",
            "enum": [
              "column_not_mapped",
              "label_not_mapped",
              "not_held",
              "not_read",
              "row_left_out",
              "row_formula_missing",
              "text_in_summed_column",
              "kept_existing",
              "cell_refused",
              "column_not_found",
              "column_ambiguous",
              "row_not_matched"
            ],
            "type": "string"
          },
          "rows": {
            "description": "The draft rows named: left out, or blank in this column.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "reason"
        ],
        "type": "object"
      },
      "WorkbookGroup": {
        "additionalProperties": false,
        "properties": {
          "end": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "start": {
            "type": "string"
          }
        },
        "required": [
          "label",
          "start",
          "end"
        ],
        "type": "object"
      },
      "WorkbookLine": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "enum": [
              "heading",
              "field",
              "note"
            ],
            "type": "string"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "text",
          "kind"
        ],
        "type": "object"
      },
      "WorkbookLogoRequest": {
        "additionalProperties": false,
        "properties": {
          "app_id": {
            "type": "string"
          },
          "cell": {
            "type": "string"
          },
          "ref": {
            "$ref": "#/components/schemas/DocumentFormRef"
          },
          "sheet": {
            "type": "string"
          },
          "turn": {
            "type": "string"
          }
        },
        "required": [
          "app_id",
          "ref",
          "sheet",
          "cell"
        ],
        "type": "object"
      },
      "WorkbookLogoView": {
        "additionalProperties": false,
        "properties": {
          "document": {
            "$ref": "#/components/schemas/DocumentGenerated"
          },
          "stored": {
            "type": "boolean"
          }
        },
        "required": [
          "document",
          "stored"
        ],
        "type": "object"
      },
      "WorkbookRow": {
        "additionalProperties": false,
        "properties": {
          "cells": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "kind": {
            "enum": [
              "body",
              "total",
              "signature"
            ],
            "type": "string"
          }
        },
        "required": [
          "kind",
          "cells"
        ],
        "type": "object"
      },
      "WorkbookSupergroup": {
        "additionalProperties": false,
        "properties": {
          "label": {
            "type": "string"
          },
          "start": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "label",
          "start"
        ],
        "type": "object"
      },
      "WorkflowAssignment": {
        "additionalProperties": false,
        "properties": {
          "assigned_at": {
            "format": "date-time",
            "type": "string"
          },
          "assigned_by": {
            "type": "string"
          },
          "principal_id": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "revoked_at": {
            "format": "date-time",
            "type": "string"
          },
          "root_id": {
            "type": "string"
          },
          "root_type": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "version": {
            "format": "int64",
            "type": "integer"
          },
          "workflow": {
            "type": "string"
          }
        },
        "required": [
          "workflow",
          "root_type",
          "root_id",
          "principal_id",
          "status",
          "assigned_by",
          "reason",
          "assigned_at",
          "version"
        ],
        "type": "object"
      },
      "WorkflowRule": {
        "additionalProperties": false,
        "properties": {
          "actions": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "execution": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "scope": {
            "type": "string"
          }
        },
        "required": [
          "scope",
          "actions",
          "execution"
        ],
        "type": "object"
      },
      "WorkflowState": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "description": "The account the state is on, as an instance key.",
            "type": "string"
          },
          "applied_over_concurrent": {
            "type": "boolean"
          },
          "applied_seq": {
            "format": "int64",
            "type": "integer"
          },
          "attach_status": {
            "type": "string"
          },
          "entity_type": {
            "enum": [
              "client",
              "policy"
            ],
            "type": "string"
          },
          "field": {
            "type": "string"
          },
          "id": {
            "description": "The state's id in the platform store.",
            "type": "string"
          },
          "issued_at": {
            "format": "date-time",
            "type": "string"
          },
          "policy_id": {
            "description": "The policy term the state is on, as an instance key.",
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "set_by_name": {
            "description": "The display name of the person the state was set by (their seat or employee name), absent when no name resolves; never a principal id.",
            "type": "string"
          },
          "set_by_principal": {
            "type": "string"
          },
          "state": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/MachineState",
                "description": "The value with its label, step, settled flag, tone and next step from the org's declared machine for the field; null when the org declares no machine for the field or the value is not one of its values."
              },
              {
                "type": "null"
              }
            ]
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "entity_type",
          "field",
          "value",
          "set_by_principal",
          "attach_status",
          "applied_seq",
          "state"
        ],
        "type": "object"
      },
      "WorkingCopyChange": {
        "additionalProperties": false,
        "properties": {
          "compose": {
            "$ref": "#/components/schemas/CompositionChange"
          },
          "composition": {
            "$ref": "#/components/schemas/DraftComposition"
          },
          "expectedUpdatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "removedSections": {
            "items": {
              "type": "string"
            },
            "maxItems": 60,
            "type": "array"
          },
          "values": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          }
        },
        "required": [
          "expectedUpdatedAt"
        ],
        "type": "object"
      },
      "WorkingSection": {
        "additionalProperties": false,
        "properties": {
          "editableFields": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "line": {
            "type": [
              "string",
              "null"
            ]
          },
          "locked": {
            "type": "boolean"
          },
          "removed": {
            "type": "boolean"
          },
          "required": {
            "type": "boolean"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "line",
          "title",
          "removed",
          "locked",
          "required",
          "editableFields"
        ],
        "type": "object"
      },
      "WorkingSource": {
        "additionalProperties": false,
        "properties": {
          "from": {
            "enum": [
              "account",
              "document",
              "producer",
              "derived",
              "fixed"
            ],
            "type": "string"
          }
        },
        "required": [
          "from"
        ],
        "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"
      }
    },
    "securitySchemes": {
      "bearer": {
        "description": "The org's platform API key.",
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "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"
  },
  "openapi": "3.1.0",
  "paths": {
    "/access/approvals": {
      "get": {
        "description": "Pending approvals where the verified acting person is the requester or the approver.",
        "operationId": "listAccessApprovals",
        "parameters": [
          {
            "description": "Only approvals this approver id decides.",
            "explode": false,
            "in": "query",
            "name": "approver",
            "schema": {
              "description": "Only approvals this approver id decides.",
              "type": "string"
            }
          },
          {
            "description": "Only approvals in this status. The list holds unexpired pending approvals only, so pending is the one value.",
            "explode": false,
            "in": "query",
            "name": "status",
            "schema": {
              "description": "Only approvals in this status. The list holds unexpired pending approvals only, so pending is the one value.",
              "enum": [
                "pending"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccessApprovalList"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List the acting person's pending approvals",
        "tags": [
          "Access"
        ]
      },
      "post": {
        "description": "Creates one pending approval for the acting requester (201), or answers the existing one on an idempotent replay (200).",
        "operationId": "createAccessApproval",
        "parameters": [
          {
            "description": "The person the request is made for (a WorkOS user id).",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The person the request is made for (a WorkOS user id).",
              "type": "string"
            }
          },
          {
            "description": "The acting person's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting person's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccessApprovalRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccessApprovalChange"
                }
              }
            },
            "description": "OK"
          },
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccessApprovalChange"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Request an approval",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/approvals/resolve": {
      "post": {
        "description": "The approver a record action by the acting requester would go to. It creates nothing; 409 approval_unavailable when no eligible approver is configured.",
        "operationId": "resolveAccessApprover",
        "parameters": [
          {
            "description": "The person the request is made for (a WorkOS user id).",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The person the request is made for (a WorkOS user id).",
              "type": "string"
            }
          },
          {
            "description": "The acting person's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting person's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccessApproverResolveRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccessApproverResolution"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Resolve the approver for a record action",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/approvals/{id}/decide": {
      "post": {
        "description": "The verified acting person decides a pending approval addressed to them, with a reason.",
        "operationId": "decideAccessApproval",
        "parameters": [
          {
            "description": "The person the request is made for (a WorkOS user id).",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The person the request is made for (a WorkOS user id).",
              "type": "string"
            }
          },
          {
            "description": "The acting person's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting person's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The approval's id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The approval's id.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccessApprovalDecisionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccessApprovalChange"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Approve or reject an approval",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/assignments": {
      "post": {
        "description": "One audited workflow assignment for one person on one root record.",
        "operationId": "setAccessAssignment",
        "parameters": [
          {
            "description": "The person the request is made for (a WorkOS user id).",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The person the request is made for (a WorkOS user id).",
              "type": "string"
            }
          },
          {
            "description": "The acting person's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting person's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccessAssignmentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccessAssignmentChange"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Set or revoke a workflow assignment",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/audit": {
      "get": {
        "description": "One page of the organization's access audit rows, newest first.",
        "operationId": "listAccessAudit",
        "parameters": [
          {
            "description": "Only rows about this person (an id or an email).",
            "explode": false,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "Only rows about this person (an id or an email).",
              "type": "string"
            }
          },
          {
            "description": "Only rows this actor wrote.",
            "explode": false,
            "in": "query",
            "name": "actor",
            "schema": {
              "description": "Only rows this actor wrote.",
              "type": "string"
            }
          },
          {
            "description": "Only rows of this audit action.",
            "explode": false,
            "in": "query",
            "name": "action",
            "schema": {
              "description": "Only rows of this audit action.",
              "type": "string"
            }
          },
          {
            "description": "An RFC 3339 time.",
            "explode": false,
            "in": "query",
            "name": "since",
            "schema": {
              "description": "An RFC 3339 time.",
              "type": "string"
            }
          },
          {
            "description": "An RFC 3339 time.",
            "explode": false,
            "in": "query",
            "name": "until",
            "schema": {
              "description": "An RFC 3339 time.",
              "type": "string"
            }
          },
          {
            "description": "A positive integer.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "A positive integer.",
              "type": "string"
            }
          },
          {
            "description": "The cursor of the previous page.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The cursor of the previous page.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccessAuditPage"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Read the access audit",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/directory": {
      "get": {
        "description": "One page of everyone the customer's employee records list, seated or not, beside their served seat.",
        "operationId": "listAccessDirectory",
        "parameters": [
          {
            "description": "A name search.",
            "explode": false,
            "in": "query",
            "name": "q",
            "schema": {
              "description": "A name search.",
              "type": "string"
            }
          },
          {
            "description": "Only people on this platform.",
            "explode": false,
            "in": "query",
            "name": "platform",
            "schema": {
              "description": "Only people on this platform.",
              "type": "string"
            }
          },
          {
            "description": "Only people in this market.",
            "explode": false,
            "in": "query",
            "name": "market",
            "schema": {
              "description": "Only people in this market.",
              "type": "string"
            }
          },
          {
            "description": "Only people who report to this manager.",
            "explode": false,
            "in": "query",
            "name": "manager_id",
            "schema": {
              "description": "Only people who report to this manager.",
              "type": "string"
            }
          },
          {
            "description": "all, seated, held or none.",
            "explode": false,
            "in": "query",
            "name": "access",
            "schema": {
              "description": "all, seated, held or none.",
              "type": "string"
            }
          },
          {
            "description": "0 skips the book counts; default 1.",
            "explode": false,
            "in": "query",
            "name": "book",
            "schema": {
              "description": "0 skips the book counts; default 1.",
              "type": "string"
            }
          },
          {
            "description": "A positive integer; default 1.",
            "explode": false,
            "in": "query",
            "name": "page",
            "schema": {
              "description": "A positive integer; default 1.",
              "type": "string"
            }
          },
          {
            "description": "A positive integer, at most the directory's maximum page size.",
            "explode": false,
            "in": "query",
            "name": "page_size",
            "schema": {
              "description": "A positive integer, at most the directory's maximum page size.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectoryPage"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Read the access directory",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/directory/search": {
      "post": {
        "description": "GET /access/directory 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": "listAccessDirectorySearch",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "access": {
                    "description": "all, seated, held or none.",
                    "type": "string"
                  },
                  "book": {
                    "description": "0 skips the book counts; default 1.",
                    "type": "string"
                  },
                  "manager_id": {
                    "description": "Only people who report to this manager.",
                    "type": "string"
                  },
                  "market": {
                    "description": "Only people in this market.",
                    "type": "string"
                  },
                  "page": {
                    "description": "A positive integer; default 1.",
                    "type": "string"
                  },
                  "page_size": {
                    "description": "A positive integer, at most the directory's maximum page size.",
                    "type": "string"
                  },
                  "platform": {
                    "description": "Only people on this platform.",
                    "type": "string"
                  },
                  "q": {
                    "description": "A name search.",
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectoryPage"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Read the access directory (parameters in the body)",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/effective": {
      "get": {
        "description": "The effective access report for the person the body names, so a sign-in email never travels in a URL. Every read is audited.",
        "operationId": "readAccessEffective",
        "parameters": [
          {
            "description": "Required. A WorkOS user id or a sign-in email in the key's organization.",
            "explode": false,
            "in": "query",
            "name": "principal",
            "schema": {
              "description": "Required. A WorkOS user id or a sign-in email in the key's organization.",
              "type": "string"
            }
          },
          {
            "description": "The operator the calling app names, recorded in the read's audit row.",
            "explode": false,
            "in": "query",
            "name": "operator",
            "schema": {
              "description": "The operator the calling app names, recorded in the read's audit row.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EffectiveAccessReport"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "One person's effective access, named in the body",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/effective/search": {
      "post": {
        "description": "GET /access/effective 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": "readAccessEffectiveSearch",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "operator": {
                    "description": "The operator the calling app names, recorded in the read's audit row.",
                    "type": "string"
                  },
                  "principal": {
                    "description": "Required. A WorkOS user id or a sign-in email in the key's organization.",
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EffectiveAccessReport"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "One person's effective access, named in the body (parameters in the body)",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/effective/{principal}": {
      "get": {
        "description": "What one person in the key's organization can see and do now, with the rules that decided it. Every read is audited.",
        "operationId": "getAccessEffective",
        "parameters": [
          {
            "description": "A WorkOS user id in the key's organization. A sign-in email goes in the body of POST /access/effective/search.",
            "in": "path",
            "name": "principal",
            "required": true,
            "schema": {
              "description": "A WorkOS user id in the key's organization. A sign-in email goes in the body of POST /access/effective/search.",
              "type": "string"
            }
          },
          {
            "description": "The operator id the calling app names, recorded in the read's audit row. An email operator goes in the search body.",
            "explode": false,
            "in": "query",
            "name": "operator",
            "schema": {
              "description": "The operator id the calling app names, recorded in the read's audit row. An email operator goes in the search body.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EffectiveAccessReport"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "One person's effective access",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/employees": {
      "get": {
        "description": "Current employee candidates from the book connection, by name or by exact sign-in address.",
        "operationId": "searchAccessEmployees",
        "parameters": [
          {
            "description": "A name search.",
            "explode": false,
            "in": "query",
            "name": "q",
            "schema": {
              "description": "A name search.",
              "type": "string"
            }
          },
          {
            "description": "An exact sign-in email (UPN or Entra alias); when set, q is ignored.",
            "explode": false,
            "in": "query",
            "name": "email",
            "schema": {
              "description": "An exact sign-in email (UPN or Entra alias); when set, q is ignored.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccessEmployeeSearch"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Search the organization's employee records",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/employees/search": {
      "post": {
        "description": "GET /access/employees 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": "searchAccessEmployeesSearch",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "email": {
                    "description": "An exact sign-in email (UPN or Entra alias); when set, q is ignored.",
                    "type": "string"
                  },
                  "q": {
                    "description": "A name search.",
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccessEmployeeSearch"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Search the organization's employee records (parameters in the body)",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/exceptions": {
      "post": {
        "description": "Creates one audited exception grant, or revokes one by id.",
        "operationId": "setAccessException",
        "parameters": [
          {
            "description": "The person the request is made for (a WorkOS user id).",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The person the request is made for (a WorkOS user id).",
              "type": "string"
            }
          },
          {
            "description": "The acting person's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting person's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccessExceptionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccessExceptionChange"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Grant or revoke a time-bounded exception",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/links": {
      "post": {
        "description": "Which employee record a sign-in address is. A preview by default; apply writes, clear retires the link.",
        "operationId": "setAccessSeatLink",
        "parameters": [
          {
            "description": "The person the request is made for (a WorkOS user id).",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The person the request is made for (a WorkOS user id).",
              "type": "string"
            }
          },
          {
            "description": "The acting person's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting person's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccessSeatLinkRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccessSeatLink"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Preview, apply or clear a seat link",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/preview": {
      "post": {
        "description": "Applies one change in a rolled-back transaction and answers the subject's effective access before and after. A change the apply route would refuse answers 200 with allowed false and its blockers.",
        "operationId": "previewAccessChange",
        "parameters": [
          {
            "description": "The person the request is made for (a WorkOS user id).",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The person the request is made for (a WorkOS user id).",
              "type": "string"
            }
          },
          {
            "description": "The acting person's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting person's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccessPreviewRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccessPreview"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Preview an access change",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/principals/resolve": {
      "post": {
        "description": "The live organization key asserts an AuthKit-verified user. Identity receipts preserve historical ownership; other users retain their raw ID. No delegated or impersonated callers. Every answer is audited, with the stated AuthKit sign-in method, whether the org allows it for the person (access.sign_in_methods), whether the request asserted an employee number (the verified employee identifier beside a Nexio-Act-As-Email equal to the resolved address) and the optional AuthKit session id. Authentication organization is recorded evidence, never tenant scope.",
        "operationId": "resolveAccessPrincipal",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PrincipalIdentity"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PrincipalResolution"
                }
              }
            },
            "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"
          },
          "500": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Resolve a verified authentication identity",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/product-access": {
      "get": {
        "description": "Returns the grant rows of exactly one principal in the caller's organization. Requires access:read. Refused to non-live legacy keys.",
        "operationId": "listProductAccess",
        "parameters": [
          {
            "description": "Exactly one principal email or id.",
            "explode": false,
            "in": "query",
            "name": "principal",
            "schema": {
              "description": "Exactly one principal email or id.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkbenchContractListResponseListWorkbenchProductAccessGrant"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List one principal's product access grants",
        "tags": [
          "Access"
        ]
      },
      "post": {
        "description": "Creates a first self-request or sign-in default grant for the acting user. An existing grant is returned unchanged. Needs the managed key and a trusted acting principal. Refused to scoped keys.",
        "operationId": "createProductAccess",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkbenchProductAccessRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkbenchProductAccessGrantCreateResult"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Ensure the acting person's product access",
        "tags": [
          "Access"
        ]
      },
      "put": {
        "description": "Writes one grant with request and decision provenance. expected_updated_at makes the write conditional. Requires access:manage; never from a View as session.",
        "operationId": "upsertProductAccess",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkbenchProductAccessRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkbenchContractItemResponseWorkbenchProductAccessGrant"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Write one product access grant",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/product-access/grants": {
      "get": {
        "description": "Returns one page of the organization's grants with the filtered total at the same snapshot. Filters, order and paging are the API's. Requires access:read.",
        "operationId": "listProductAccessGrants",
        "parameters": [
          {
            "description": "Must equal the authenticated organization when present.",
            "explode": false,
            "in": "query",
            "name": "org_id",
            "schema": {
              "description": "Must equal the authenticated organization when present.",
              "type": "string"
            }
          },
          {
            "description": "Product key.",
            "explode": false,
            "in": "query",
            "name": "product_key",
            "schema": {
              "description": "Product key.",
              "type": "string"
            }
          },
          {
            "description": "One-based page number.",
            "explode": false,
            "in": "query",
            "name": "page",
            "schema": {
              "description": "One-based page number.",
              "type": "string"
            }
          },
          {
            "description": "Rows per page.",
            "explode": false,
            "in": "query",
            "name": "page_size",
            "schema": {
              "description": "Rows per page.",
              "type": "string"
            }
          },
          {
            "description": "Grant status filter.",
            "explode": false,
            "in": "query",
            "name": "status",
            "schema": {
              "description": "Grant status filter.",
              "type": "string"
            }
          },
          {
            "description": "Grant source filter.",
            "explode": false,
            "in": "query",
            "name": "source",
            "schema": {
              "description": "Grant source filter.",
              "type": "string"
            }
          },
          {
            "description": "Subject search text.",
            "explode": false,
            "in": "query",
            "name": "search",
            "schema": {
              "description": "Subject search text.",
              "type": "string"
            }
          },
          {
            "description": "One grant id.",
            "explode": false,
            "in": "query",
            "name": "grant_id",
            "schema": {
              "description": "One grant id.",
              "type": "string"
            }
          },
          {
            "description": "user, organization or group.",
            "explode": false,
            "in": "query",
            "name": "subject_type",
            "schema": {
              "description": "user, organization or group.",
              "type": "string"
            }
          },
          {
            "description": "Subject id.",
            "explode": false,
            "in": "query",
            "name": "subject_id",
            "schema": {
              "description": "Subject id.",
              "type": "string"
            }
          },
          {
            "description": "Role filter.",
            "explode": false,
            "in": "query",
            "name": "role",
            "schema": {
              "description": "Role filter.",
              "type": "string"
            }
          },
          {
            "description": "Covering-evidence mode for one canonical user.",
            "explode": false,
            "in": "query",
            "name": "covering",
            "schema": {
              "description": "Covering-evidence mode for one canonical user.",
              "type": "string"
            }
          },
          {
            "description": "Normalized email, covering mode only.",
            "explode": false,
            "in": "query",
            "name": "principal_email",
            "schema": {
              "description": "Normalized email, covering mode only.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkbenchProductAccessGrantPage"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List product access grants",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/product-access/grants/preview": {
      "get": {
        "description": "Returns the grant at the exact subject, role and source tuple, or null data when none exists. Requires access:read.",
        "operationId": "previewProductAccessGrant",
        "parameters": [
          {
            "description": "Must equal the authenticated organization when present.",
            "explode": false,
            "in": "query",
            "name": "org_id",
            "schema": {
              "description": "Must equal the authenticated organization when present.",
              "type": "string"
            }
          },
          {
            "description": "Product key; defaults to insurance.",
            "explode": false,
            "in": "query",
            "name": "product_key",
            "schema": {
              "description": "Product key; defaults to insurance.",
              "type": "string"
            }
          },
          {
            "description": "user, organization or group.",
            "explode": false,
            "in": "query",
            "name": "subject_type",
            "schema": {
              "description": "user, organization or group.",
              "type": "string"
            }
          },
          {
            "description": "Subject id.",
            "explode": false,
            "in": "query",
            "name": "subject_id",
            "schema": {
              "description": "Subject id.",
              "type": "string"
            }
          },
          {
            "description": "Role.",
            "explode": false,
            "in": "query",
            "name": "role",
            "schema": {
              "description": "Role.",
              "type": "string"
            }
          },
          {
            "description": "Grant source; defaults to direct.",
            "explode": false,
            "in": "query",
            "name": "source",
            "schema": {
              "description": "Grant source; defaults to direct.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductAccessGrantPreview"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Preview one grant by its exact identity",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/product-access/grants/search": {
      "post": {
        "description": "GET /access/product-access/grants 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": "listProductAccessGrantsSearch",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "covering": {
                    "description": "Covering-evidence mode for one canonical user.",
                    "type": "string"
                  },
                  "grant_id": {
                    "description": "One grant id.",
                    "type": "string"
                  },
                  "org_id": {
                    "description": "Must equal the authenticated organization when present.",
                    "type": "string"
                  },
                  "page": {
                    "description": "One-based page number.",
                    "type": "string"
                  },
                  "page_size": {
                    "description": "Rows per page.",
                    "type": "string"
                  },
                  "principal_email": {
                    "description": "Normalized email, covering mode only.",
                    "type": "string"
                  },
                  "product_key": {
                    "description": "Product key.",
                    "type": "string"
                  },
                  "role": {
                    "description": "Role filter.",
                    "type": "string"
                  },
                  "search": {
                    "description": "Subject search text.",
                    "type": "string"
                  },
                  "source": {
                    "description": "Grant source filter.",
                    "type": "string"
                  },
                  "status": {
                    "description": "Grant status filter.",
                    "type": "string"
                  },
                  "subject_id": {
                    "description": "Subject id.",
                    "type": "string"
                  },
                  "subject_type": {
                    "description": "user, organization or group.",
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkbenchProductAccessGrantPage"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List product access grants (parameters in the body)",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/product-access/grants/{id}": {
      "patch": {
        "description": "Changes only the status of a grant, conditional on expected_updated_at. Requires access:manage; never from a View as session.",
        "operationId": "changeProductAccessGrantStatus",
        "parameters": [
          {
            "description": "The grant id (a UUID).",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The grant id (a UUID).",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkbenchProductAccessStatusRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkbenchContractItemResponseWorkbenchProductAccessGrant"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Change one grant's status",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/products/effective": {
      "get": {
        "description": "Read the current principal's effective product access",
        "operationId": "getEffectiveProducts",
        "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"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordEffectiveProducts"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Read the current principal's effective product access",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/products/{app}/{collection}": {
      "get": {
        "description": "The caller's rows of one private app collection, a cursor page at a time. The platform applies the subject filters and the caller's own scope before it cuts the page. Filters named subject.{key} match a row's subject key; subject_absent keeps rows without one.",
        "operationId": "listProductCollectionRows",
        "parameters": [
          {
            "description": "The app that owns the collection.",
            "in": "path",
            "name": "app",
            "required": true,
            "schema": {
              "description": "The app that owns the collection.",
              "type": "string"
            }
          },
          {
            "description": "The collection.",
            "in": "path",
            "name": "collection",
            "required": true,
            "schema": {
              "description": "The collection.",
              "type": "string"
            }
          },
          {
            "description": "The next_cursor of the previous page.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The next_cursor of the previous page.",
              "type": "string"
            }
          },
          {
            "description": "Page size, an integer.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size, an integer.",
              "type": "string"
            }
          },
          {
            "description": "An RFC 3339 time; only rows changed since.",
            "explode": false,
            "in": "query",
            "name": "updated_since",
            "schema": {
              "description": "An RFC 3339 time; only rows changed since.",
              "type": "string"
            }
          },
          {
            "description": "The caller's own principal; any other value is refused.",
            "explode": false,
            "in": "query",
            "name": "owner",
            "schema": {
              "description": "The caller's own principal; any other value is refused.",
              "type": "string"
            }
          },
          {
            "description": "A subject key the row must not carry. Repeatable.",
            "explode": false,
            "in": "query",
            "name": "subject_absent",
            "schema": {
              "description": "A subject key the row must not carry. Repeatable.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppStoreRowsBody"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List the rows of an app collection",
        "tags": [
          "Access"
        ]
      },
      "put": {
        "description": "Writes the complete desired state of each row, every row with the version the caller read. A row that changed since answers 409.",
        "operationId": "putProductCollectionRows",
        "parameters": [
          {
            "description": "The app that owns the collection.",
            "in": "path",
            "name": "app",
            "required": true,
            "schema": {
              "description": "The app that owns the collection.",
              "type": "string"
            }
          },
          {
            "description": "The collection.",
            "in": "path",
            "name": "collection",
            "required": true,
            "schema": {
              "description": "The collection.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AppStoreBatchJSON"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppStoreRowsBody"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Write a batch of rows",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/products/{app}/{collection}/blobs": {
      "post": {
        "description": "Records the object's metadata and answers a short-lived upload URL. Finalize the object after the bytes are uploaded.",
        "operationId": "reserveProductCollectionBlob",
        "parameters": [
          {
            "description": "The app that owns the collection.",
            "in": "path",
            "name": "app",
            "required": true,
            "schema": {
              "description": "The app that owns the collection.",
              "type": "string"
            }
          },
          {
            "description": "The collection.",
            "in": "path",
            "name": "collection",
            "required": true,
            "schema": {
              "description": "The collection.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AppStoreBlobReserveJSON"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppStoreBlobReservationBody"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Reserve a private object",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/products/{app}/{collection}/blobs/{id}": {
      "delete": {
        "description": "Soft-deletes the object's metadata row and answers it.",
        "operationId": "deleteProductCollectionBlob",
        "parameters": [
          {
            "description": "The app that owns the collection.",
            "in": "path",
            "name": "app",
            "required": true,
            "schema": {
              "description": "The app that owns the collection.",
              "type": "string"
            }
          },
          {
            "description": "The collection.",
            "in": "path",
            "name": "collection",
            "required": true,
            "schema": {
              "description": "The collection.",
              "type": "string"
            }
          },
          {
            "description": "The row or object id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The row or object id.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppStoreBlobBody"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Delete a private object",
        "tags": [
          "Access"
        ]
      },
      "get": {
        "description": "One ready object's metadata.",
        "operationId": "getProductCollectionBlob",
        "parameters": [
          {
            "description": "The app that owns the collection.",
            "in": "path",
            "name": "app",
            "required": true,
            "schema": {
              "description": "The app that owns the collection.",
              "type": "string"
            }
          },
          {
            "description": "The collection.",
            "in": "path",
            "name": "collection",
            "required": true,
            "schema": {
              "description": "The collection.",
              "type": "string"
            }
          },
          {
            "description": "The row or object id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The row or object id.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppStoreBlobBody"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Get a private object's metadata",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/products/{app}/{collection}/blobs/{id}/content": {
      "get": {
        "description": "A five-minute signed read URL for the stored object.",
        "operationId": "getProductCollectionBlobContent",
        "parameters": [
          {
            "description": "The app that owns the collection.",
            "in": "path",
            "name": "app",
            "required": true,
            "schema": {
              "description": "The app that owns the collection.",
              "type": "string"
            }
          },
          {
            "description": "The collection.",
            "in": "path",
            "name": "collection",
            "required": true,
            "schema": {
              "description": "The collection.",
              "type": "string"
            }
          },
          {
            "description": "The row or object id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The row or object id.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppStoreBlobContentBody"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Read a private object's content",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/products/{app}/{collection}/blobs/{id}/finalize": {
      "post": {
        "description": "Verifies the uploaded bytes against the reserved size and marks the object ready. The request has no body.",
        "operationId": "finalizeProductCollectionBlob",
        "parameters": [
          {
            "description": "The app that owns the collection.",
            "in": "path",
            "name": "app",
            "required": true,
            "schema": {
              "description": "The app that owns the collection.",
              "type": "string"
            }
          },
          {
            "description": "The collection.",
            "in": "path",
            "name": "collection",
            "required": true,
            "schema": {
              "description": "The collection.",
              "type": "string"
            }
          },
          {
            "description": "The row or object id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The row or object id.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppStoreBlobBody"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Finalize a private object",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/products/{app}/{collection}/{id}": {
      "delete": {
        "description": "Soft-deletes the row at the version the caller read and answers the deleted row.",
        "operationId": "deleteProductCollectionRow",
        "parameters": [
          {
            "description": "The app that owns the collection.",
            "in": "path",
            "name": "app",
            "required": true,
            "schema": {
              "description": "The app that owns the collection.",
              "type": "string"
            }
          },
          {
            "description": "The collection.",
            "in": "path",
            "name": "collection",
            "required": true,
            "schema": {
              "description": "The collection.",
              "type": "string"
            }
          },
          {
            "description": "The row id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The row id.",
              "type": "string"
            }
          },
          {
            "description": "The version the caller read, an integer. Required once.",
            "explode": false,
            "in": "query",
            "name": "version",
            "schema": {
              "description": "The version the caller read, an integer. Required once.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppStoreRowBody"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Delete a row of an app collection",
        "tags": [
          "Access"
        ]
      },
      "get": {
        "description": "One of the caller's rows.",
        "operationId": "getProductCollectionRow",
        "parameters": [
          {
            "description": "The app that owns the collection.",
            "in": "path",
            "name": "app",
            "required": true,
            "schema": {
              "description": "The app that owns the collection.",
              "type": "string"
            }
          },
          {
            "description": "The collection.",
            "in": "path",
            "name": "collection",
            "required": true,
            "schema": {
              "description": "The collection.",
              "type": "string"
            }
          },
          {
            "description": "The row or object id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The row or object id.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppStoreRowBody"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Get a row of an app collection",
        "tags": [
          "Access"
        ]
      },
      "put": {
        "description": "Writes the complete desired state of one row with the version the caller read.",
        "operationId": "putProductCollectionRow",
        "parameters": [
          {
            "description": "The app that owns the collection.",
            "in": "path",
            "name": "app",
            "required": true,
            "schema": {
              "description": "The app that owns the collection.",
              "type": "string"
            }
          },
          {
            "description": "The collection.",
            "in": "path",
            "name": "collection",
            "required": true,
            "schema": {
              "description": "The collection.",
              "type": "string"
            }
          },
          {
            "description": "The row or object id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The row or object id.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AppStorePutJSON"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppStoreRowBody"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Write a row of an app collection",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/profile-assignments": {
      "post": {
        "description": "The ceiling on one person's derived seat; revoke clears it back to the full seat.",
        "operationId": "setAccessProfileAssignment",
        "parameters": [
          {
            "description": "The person the request is made for (a WorkOS user id).",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The person the request is made for (a WorkOS user id).",
              "type": "string"
            }
          },
          {
            "description": "The acting person's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting person's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccessProfileAssignmentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccessProfileAssignmentChange"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Set or clear a person's access profile",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/profiles": {
      "get": {
        "description": "The organization's access profiles, the ceilings on a seat, and every active assignment.",
        "operationId": "listAccessProfiles",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccessProfileLibrary"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List the access profiles",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/roles": {
      "get": {
        "description": "Every role with the organization's published policy, how it compares with the reference policy, and its version history.",
        "operationId": "listAccessRoles",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccessRoleLibrary"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List the role library",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/seats": {
      "get": {
        "description": "One page of seats, held first: every seat link plus every address that resolved inside the window.",
        "operationId": "listAccessSeats",
        "parameters": [
          {
            "description": "A positive integer; default 1.",
            "explode": false,
            "in": "query",
            "name": "page",
            "schema": {
              "description": "A positive integer; default 1.",
              "type": "string"
            }
          },
          {
            "description": "A positive integer, at most the seat list's maximum page size.",
            "explode": false,
            "in": "query",
            "name": "page_size",
            "schema": {
              "description": "A positive integer, at most the seat list's maximum page size.",
              "type": "string"
            }
          },
          {
            "description": "An RFC 3339 time: the resolve window's start. Default 90 days ago.",
            "explode": false,
            "in": "query",
            "name": "since",
            "schema": {
              "description": "An RFC 3339 time: the resolve window's start. Default 90 days ago.",
              "type": "string"
            }
          },
          {
            "description": "Derived fields: all (default), or name,role. Every selection preserves the base roster, grants, exceptions and order. name,role states the name from the Data API and the role served at the last sign-in, and reads no warehouse.",
            "explode": false,
            "in": "query",
            "name": "fields",
            "schema": {
              "description": "Derived fields: all (default), or name,role. Every selection preserves the base roster, grants, exceptions and order. name,role states the name from the Data API and the role served at the last sign-in, and reads no warehouse.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccessSeatList"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List the organization's seats",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/seats/lookup": {
      "post": {
        "description": "For each exact (datasource, code) key of an already scoped Records result, the human principals whose derived seat holds the code: matched (one), ambiguous (several, each listed), unmatched (none, every read complete) or unavailable (a read did not complete). The organization is the credential's; the connection must be one of its book connections. Read-only; the request is a POST because it carries a key set.",
        "operationId": "lookupAccessSeats",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccessSeatLookupRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordAccessSeatLookupResult"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Look up the seats a page's codes resolve to",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/sign-in": {
      "post": {
        "description": "The Workbench's server credential only, naming the signed-in person (Nexio-Act-As, Nexio-Act-As-Email, the verified employee identifier) with their session token and no impersonation. In order: the sign-in receipt (POST /access/principals/resolve, without Nexio-Act-As), the seat (GET /records/seats/current/entitlement), then, only when the seat is admitted, the product grant (GET /access/products/effective) and, when the principal holds no grant for the product, the requested default grant (POST /access/product-access) and the grant read again. Each step answers as its own route does. A receipt that refuses the sign-in's method (sign_in_method_not_allowed) ends the sign-in before the seat; any other receipt refusal stops nothing.",
        "operationId": "signIn",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SignInRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignInAnswer"
                }
              }
            },
            "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Sign a person in: receipt, seat and product grant in one call",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/system-grants": {
      "post": {
        "description": "One audited additive system grant change for one person. No one may revoke their own grant.",
        "operationId": "setAccessSystemGrant",
        "parameters": [
          {
            "description": "The person the request is made for (a WorkOS user id).",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The person the request is made for (a WorkOS user id).",
              "type": "string"
            }
          },
          {
            "description": "The acting person's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting person's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccessSystemGrantRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccessSystemGrantChange"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Grant or revoke a system grant",
        "tags": [
          "Access"
        ]
      }
    },
    "/access/vocabulary": {
      "get": {
        "description": "The closed sets the access plane accepts (roles, surfaces, datasets, workflows, actions, system grants) and the canonical source hash a consumer pins against.",
        "operationId": "getAccessVocabulary",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VocabularyContract"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "The access vocabulary",
        "tags": [
          "Access"
        ]
      }
    },
    "/actions": {
      "get": {
        "description": "The org's action ledger in sequence order: the audit trail and the external feed. A seat scoped to its own book reads the commands it issued; an org-wide seat reads every command. Resume a feed with seq[gt] or page with cursor.",
        "operationId": "listActions",
        "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": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. The filters are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. The filters are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "Rows after this ledger sequence number: where a feed resumes. Not with cursor.",
            "explode": false,
            "in": "query",
            "name": "seq[gt]",
            "schema": {
              "description": "Rows after this ledger sequence number: where a feed resumes. Not with cursor.",
              "pattern": "^[0-9]{1,19}$",
              "type": "string"
            }
          },
          {
            "description": "Only commands of this family (the command name's first dotted segment: note, task, ...).",
            "explode": false,
            "in": "query",
            "name": "command_family",
            "schema": {
              "description": "Only commands of this family (the command name's first dotted segment: note, task, ...).",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListAction"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Read the action ledger",
        "tags": [
          "actions"
        ]
      },
      "post": {
        "description": "Appends one to 20 commands, attributed to actor_principal, together or not at all. The credential must prove actor_principal: the organization's key proves no member, so its append is 403 CAPABILITY_DENIED, reason KEY_IDENTITY_REFUSED, before any command is checked or recorded; a credential that proves another member, or none, is 403 CAPABILITY_DENIED. A command on a book record is admitted against the actor's own read scope; a record outside it is 404 NOT_VISIBLE_OR_ABSENT. The append completes in the request: it answers 202 with its operation inline, already succeeded; the operation is not kept, so it carries no id and the answer no Location. A retry with the same Idempotency-Key and body replays each command (idempotent_replay) and appends nothing.",
        "operationId": "appendActions",
        "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": "Required. At most 200 characters; a retry with the same key and body answers the recorded operation and never writes twice. The same key with another body is 422 IDEMPOTENCY_KEY_PAYLOAD_MISMATCH.",
            "in": "header",
            "name": "Idempotency-Key",
            "schema": {
              "description": "Required. At most 200 characters; a retry with the same key and body answers the recorded operation and never writes twice. The same key with another body is 422 IDEMPOTENCY_KEY_PAYLOAD_MISMATCH.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/SchemeActionsAppendBody"
                  },
                  {
                    "$ref": "#/components/schemas/DocumentReservationRequest"
                  },
                  {
                    "$ref": "#/components/schemas/RecordsActionBody"
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionsResult"
                }
              }
            },
            "description": "OK"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionsAppendBody"
                }
              }
            },
            "description": "Accepted"
          },
          "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": []
          }
        ],
        "summary": "Append commands to the action ledger",
        "tags": [
          "actions"
        ]
      }
    },
    "/api/v1/catalog/appetite-synthesis": {
      "get": {
        "description": "Returns matched, weighed appetite cells across canonical markets. Requires catalog:read. NAICS sector rows match only sector asks; subsector and finer rows match broader or narrower asks. Class-agnostic rows never match; has_agreement independently reports a current contractual row for the requested line. Markets with only controlling declines sort last, then route_class ascending, strongest controlling eligibility (will_write, will_consider, not_assessed, approached_not_bound, will_not_write), agreement first, book policies descending, and name. total_markets counts all matches before limit. Book counts use the most specific matched observed row, else revealed: source_class_text first, then longest class_key, with larger sample.n breaking ties. Book class_key and class_level identify that rung; overlapping NAICS levels are never summed. An unlanded head returns colleague testimony only. Source references follow the seat's read policy. Every response uses Cache-Control: no-store.",
        "operationId": "catalogAppetiteByClass",
        "parameters": [
          {
            "description": "Repeatable NAICS code, at most 10 values, each 2 to 6 digits. Sector rows match only sector asks; finer rows match broader and narrower codes. At least one naics or keyword is required.",
            "explode": true,
            "in": "query",
            "name": "naics",
            "schema": {
              "description": "Repeatable NAICS code, at most 10 values, each 2 to 6 digits. Sector rows match only sector asks; finer rows match broader and narrower codes. At least one naics or keyword is required.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Repeatable class-label substring, case-insensitive and trimmed; at most 10 values, each at most 60 characters.",
            "explode": true,
            "in": "query",
            "name": "keyword",
            "schema": {
              "description": "Repeatable class-label substring, case-insensitive and trimmed; at most 10 values, each at most 60 characters.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Optional catalog line code. Includes that line and line-agnostic rows.",
            "explode": false,
            "in": "query",
            "name": "lob",
            "schema": {
              "description": "Optional catalog line code. Includes that line and line-agnostic rows.",
              "type": "string"
            }
          },
          {
            "description": "Optional two-letter state code. Filters colleague testimony only; placed-book and guide evidence remain nationwide.",
            "explode": false,
            "in": "query",
            "name": "state",
            "schema": {
              "description": "Optional two-letter state code. Filters colleague testimony only; placed-book and guide evidence remain nationwide.",
              "type": "string"
            }
          },
          {
            "description": "Active catalog connection. Required if more than one active connection exists.",
            "explode": false,
            "in": "query",
            "name": "connection_id",
            "schema": {
              "description": "Active catalog connection. Required if more than one active connection exists.",
              "type": "string"
            }
          },
          {
            "description": "Maximum markets after global sort. Default 15, maximum 40.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Maximum markets after global sort. Default 15, maximum 40.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogClassJSON"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Find market appetite for a class",
        "tags": [
          "Catalog"
        ]
      }
    },
    "/api/v1/documents/drafts/{id}/check": {
      "post": {
        "description": "Completeness of the draft on the versions it pinned: how many fields are filled, which required ones are missing, what the client fills in and signs, and the page count. Reads only.",
        "operationId": "documentsCheckDraft",
        "parameters": [
          {
            "description": "The draft id. The first fill creates the draft under this id; it is 1 to 200 letters, digits, '_', '.', ':' or '-'.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The draft id. The first fill creates the draft under this id; it is 1 to 200 letters, digits, '_', '.', ':' or '-'.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentsCheckJSON"
                }
              }
            },
            "description": "OK"
          },
          "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": []
          }
        ],
        "summary": "Check a document draft",
        "tags": [
          "Documents"
        ]
      }
    },
    "/api/v1/documents/drafts/{id}/fill": {
      "post": {
        "description": "Applies values to a draft, each with its source, and saves it. The first fill names the type and subject, creates the draft and pins the type and template versions. A value for a client or signature field is refused; a constant field's value is ignored; a value the type cannot take comes back in problems and the rest apply. A revision sends expected_updated_at; a newer draft answers 412 ETAG_MISMATCH with reason RECORD_CHANGED. A first fill retried after it was saved answers the stored draft; an id another seat holds answers 404. Nothing is filed or sent.",
        "operationId": "documentsFillDraft",
        "parameters": [
          {
            "description": "The draft id. The first fill creates the draft under this id; it is 1 to 200 letters, digits, '_', '.', ':' or '-'.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The draft id. The first fill creates the draft under this id; it is 1 to 200 letters, digits, '_', '.', ':' or '-'.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentFillRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentsFillJSON"
                }
              }
            },
            "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"
          },
          "412": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Precondition Failed"
          },
          "413": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Fill a document draft",
        "tags": [
          "Documents"
        ]
      }
    },
    "/api/v1/documents/drafts/{id}/generate": {
      "post": {
        "description": "Renders the draft in one of its type's formats on the versions it pinned, stores the file as a Document of the subject in app_id's Documents, and files the draft, all counted only when the one settle transaction commits. A filed draft answers its recorded Document, whatever app_id the request names, and renders nothing; a retry of the same content lands on the same Document. Nothing is sent.",
        "operationId": "documentsGenerateDraft",
        "parameters": [
          {
            "description": "The draft id. The first fill creates the draft under this id; it is 1 to 200 letters, digits, '_', '.', ':' or '-'.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The draft id. The first fill creates the draft under this id; it is 1 to 200 letters, digits, '_', '.', ':' or '-'.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentGenerateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentsGenerateJSON"
                }
              }
            },
            "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"
          },
          "412": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Precondition Failed"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Generate a document from a draft",
        "tags": [
          "Documents"
        ]
      }
    },
    "/api/v1/documents/forms/fill": {
      "post": {
        "description": "Fills a form that has no document type (a PDF with fillable boxes, a PDF whose questions are printed flat into the page, or a Word application) with answers, each with its source and where it came from, and the boxes the subject's Records facts answer, and stores the filled copy as a draft Document of the subject in app_id's Documents, in the form's own format. An answer with no source is refused, a signature box is never filled, and a box no answer names stays blank and comes back in blank and questions.needed. The same answers sent again land on the same Document. An ACORD form carries the pilot license mark unless the org holds the ACORD license. A form that cannot be filled answers status blocked or a 422 and stores nothing. Nothing is sent or signed.",
        "operationId": "documentsFillForm",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentFormFillRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentsFormFillJSON"
                }
              }
            },
            "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"
          },
          "412": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Precondition Failed"
          },
          "413": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Fill a form with sourced answers",
        "tags": [
          "Documents"
        ]
      }
    },
    "/api/v1/documents/forms/inspect": {
      "post": {
        "description": "Reads a form that has no document type: a PDF with fillable boxes, a PDF whose questions are printed flat into the page, or a Word (.docx) application, held as a ready Document under app_id, a filed Records document or a conversation attachment: every box it can take, with the words the page prints beside it, and each box's answer on last year's completed copy when prior is a fillable PDF. Signature boxes are never listed. A scanned or XFA form answers fillable false with the reason. Reads only.",
        "operationId": "documentsInspectForm",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentFormInspectRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentsFormInspectJSON"
                }
              }
            },
            "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"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Read a form's boxes",
        "tags": [
          "Documents"
        ]
      }
    },
    "/api/v1/documents/template-drafts/{id}/fill": {
      "post": {
        "description": "Starts a library template's draft for an account, or revises one. The first fill names the template and the account, admitted under the caller's scope; the draft starts from the template's fixed values and the known values the account's records hold, read as the caller, and the values sent apply over them, each with its source. A revision sends only what changes. The answer is the draft as its card shows it, what applied, what filled itself, where the values came from and the problems; named policies that match none answer policy_not_found with the account's policies. dry_run computes the same answer and saves nothing. Nothing is filed or sent.",
        "operationId": "documentsFillTemplateDraft",
        "parameters": [
          {
            "description": "The draft id. The first fill creates the draft under this id; it is 1 to 200 letters, digits, '_', '.', ':' or '-'.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The draft id. The first fill creates the draft under this id; it is 1 to 200 letters, digits, '_', '.', ':' or '-'.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TemplateFillRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentTemplateFillJSON"
                }
              }
            },
            "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"
          },
          "412": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Precondition Failed"
          },
          "413": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Fill a library template's draft",
        "tags": [
          "Documents"
        ]
      }
    },
    "/api/v1/documents/types": {
      "get": {
        "description": "The document types the org may use, newest version of each, with kind, outputs, license state and field count.",
        "operationId": "documentsListTypes",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentsTypesJSON"
                }
              }
            },
            "description": "OK"
          },
          "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": []
          }
        ],
        "summary": "List document types",
        "tags": [
          "Documents"
        ]
      }
    },
    "/api/v1/documents/types/{key}/fields": {
      "get": {
        "description": "Each field of the type with its label, type, who fills it and whether it is required. With subject, the known value of each records field read through Access, and the gaps: a field the seat may not see is a gap with reason not_visible, never filled from unredacted data.",
        "operationId": "documentsTypeFields",
        "parameters": [
          {
            "description": "The document type key, for example a letter's slug.",
            "in": "path",
            "name": "key",
            "required": true,
            "schema": {
              "description": "The document type key, for example a letter's slug.",
              "type": "string"
            }
          },
          {
            "description": "Optional Records record reference the document is about. With it the answer carries the known value of each records field, read through Access, and the gaps.",
            "explode": false,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "Optional Records record reference the document is about. With it the answer carries the known value of each records field, read through Access, and the gaps.",
              "type": "string"
            }
          },
          {
            "description": "Policy numbers the form is for, repeatable, at most 10. Only the subject's own policies they match select the policies a form's projected facts come from; none matching leaves those facts unheld.",
            "explode": true,
            "in": "query",
            "name": "policy_number",
            "schema": {
              "description": "Policy numbers the form is for, repeatable, at most 10. Only the subject's own policies they match select the policies a form's projected facts come from; none matching leaves those facts unheld.",
              "items": {
                "type": "string"
              },
              "maxItems": 10,
              "type": [
                "array",
                "null"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentsFieldsJSON"
                }
              }
            },
            "description": "OK"
          },
          "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": []
          }
        ],
        "summary": "Read a document type's fields",
        "tags": [
          "Documents"
        ]
      }
    },
    "/api/v1/environments": {
      "get": {
        "description": "Every environment in the caller's org, the platform-managed live environment included. Refused to keys scoped to engines.",
        "operationId": "listEnvironments",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvironmentListResponse"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List environments",
        "tags": [
          "Engines"
        ]
      },
      "post": {
        "description": "Creates a sandbox environment. Unknown members are refused. Refused to keys scoped to engines.",
        "operationId": "createEnvironment",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EnvironmentCreateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvironmentResponse"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Create an environment",
        "tags": [
          "Engines"
        ]
      }
    },
    "/api/v1/environments/{slug}": {
      "delete": {
        "description": "Deletes a sandbox environment. The live environment cannot be deleted. While API keys, webhook endpoints or runs reference the environment the delete answers 409 environment_in_use with application/json and a blockers count per kind. Refused to keys scoped to engines.",
        "operationId": "deleteEnvironment",
        "parameters": [
          {
            "description": "The environment's slug.",
            "in": "path",
            "name": "slug",
            "required": true,
            "schema": {
              "description": "The environment's slug.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvironmentInUse"
                }
              }
            },
            "description": "Conflict"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Delete an environment",
        "tags": [
          "Engines"
        ]
      },
      "patch": {
        "description": "Renames an environment. Unknown members are refused. Refused to keys scoped to engines.",
        "operationId": "updateEnvironment",
        "parameters": [
          {
            "description": "The environment's slug.",
            "in": "path",
            "name": "slug",
            "required": true,
            "schema": {
              "description": "The environment's slug.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EnvironmentUpdateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvironmentResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Update an environment",
        "tags": [
          "Engines"
        ]
      }
    },
    "/connections/environments": {
      "get": {
        "description": "Every environment in the caller's org, the platform-managed live environment included. Refused to keys scoped to engines.",
        "operationId": "listConnectionEnvironments",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvironmentListResponse"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List environments",
        "tags": [
          "Engines"
        ]
      },
      "post": {
        "description": "Creates a sandbox environment. Unknown members are refused. Refused to keys scoped to engines.",
        "operationId": "createConnectionEnvironment",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EnvironmentCreateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvironmentResponse"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Create an environment",
        "tags": [
          "Engines"
        ]
      }
    },
    "/connections/environments/{slug}": {
      "delete": {
        "description": "Deletes a sandbox environment. The live environment cannot be deleted. While API keys, webhook endpoints or runs reference the environment the delete answers 409 environment_in_use with application/json and a blockers count per kind. Refused to keys scoped to engines.",
        "operationId": "deleteConnectionEnvironment",
        "parameters": [
          {
            "description": "The environment's slug.",
            "in": "path",
            "name": "slug",
            "required": true,
            "schema": {
              "description": "The environment's slug.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvironmentInUse"
                }
              }
            },
            "description": "Conflict"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Delete an environment",
        "tags": [
          "Engines"
        ]
      },
      "patch": {
        "description": "Renames an environment. Unknown members are refused. Refused to keys scoped to engines.",
        "operationId": "updateConnectionEnvironment",
        "parameters": [
          {
            "description": "The environment's slug.",
            "in": "path",
            "name": "slug",
            "required": true,
            "schema": {
              "description": "The environment's slug.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EnvironmentUpdateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvironmentResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Update an environment",
        "tags": [
          "Engines"
        ]
      }
    },
    "/connections/files": {
      "get": {
        "description": "The files of the org's active source connection and of its storage connection, recorded after since, oldest first. A file is listed a minute after it lands. Pass next_since as the following page's since. Rows that share one instant stay together, so a page can pass limit.",
        "operationId": "listConnectionFiles",
        "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": "RFC 3339 instant; files replicated after it are served. Empty reads from the first file.",
            "explode": false,
            "in": "query",
            "name": "since",
            "schema": {
              "description": "RFC 3339 instant; files replicated after it are served. Empty reads from the first file.",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 100,
              "format": "int64",
              "maximum": 500,
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConnectionFilesPage"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "List the org's source files",
        "tags": [
          "connections"
        ]
      }
    },
    "/connections/files/{id}/content": {
      "get": {
        "description": "Streams one file of the org's active source connection or storage connection with its media type as an attachment. A file of another org or connection, one removed at its source, or one whose stored bytes are gone shares one refusal.",
        "operationId": "getConnectionFileContent",
        "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"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "contentMediaType": "application/octet-stream",
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read a source file's bytes",
        "tags": [
          "connections"
        ]
      }
    },
    "/connections/{id}/tables": {
      "get": {
        "description": "The source objects the connection binds that the calling seat may read, the estate's index: the table's name on GET /connections/{id}/tables/{table}, its object, its system, its owner (the record a read narrows to), its requirement (the access row it is read under), its filter, and its columns with their field class. A table whose requirement the seat's access does not admit is not listed, exactly as reading it answers 403. The agency's books and the employee, benefitemployee and emplicense tables are listed to no seat.",
        "operationId": "listConnectionTables",
        "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 org's connection id, or sandbox for the AMS 360 sandbox seat's view of it. Any other id answers 404.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The org's connection id, or sandbox for the AMS 360 sandbox seat's view of it. Any other id answers 404.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListConnectionTable"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List the connection's tables",
        "tags": [
          "connections"
        ]
      }
    },
    "/connections/{id}/tables/{table}": {
      "get": {
        "description": "One page of any registered table of the connected system of record, by its own object name: the estate surface, for lineage, proof and operators (Records API design principle 9). Each row carries every registered column under source_columns, keyed &lt;OBJECT&gt;.&lt;COLUMN&gt;. A table that hangs off a policy, an account or a claim is read one of them at a time (policy_id, account_id, claim_id), under that record's own requirement; a table read whole takes no owner filter. The agency's books (the accounting tables) and the employee, benefitemployee and emplicense tables answer 404 to every seat. A table with a match column takes it as a filter named after the column, lower case (cocode=, brokercode=), as GET /connections/{id}/tables lists it; any other query parameter, the generic match= among them, is refused with reason FILTER_NOT_TAKEN. A cursor the read has moved past is refused with reason CURSOR_EXPIRED: restart from the first page. A product read is a collection under /records, never this route. The sandbox view answers each table's absence as data.",
        "operationId": "listTableRows",
        "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 org's connection id, or sandbox for the AMS 360 sandbox seat's view of it (as /records/map?connection= takes it). Any other id answers 404.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The org's connection id, or sandbox for the AMS 360 sandbox seat's view of it (as /records/map?connection= takes it). Any other id answers 404.",
              "type": "string"
            }
          },
          {
            "description": "The table: the system of record's own object name as the registry spells it. An AMS 360 table is its name without the AFW_ prefix, lower case (146schedequip, company, custcontact). An unregistered table answers 404.",
            "in": "path",
            "name": "table",
            "required": true,
            "schema": {
              "description": "The table: the system of record's own object name as the registry spells it. An AMS 360 table is its name without the AFW_ prefix, lower case (146schedequip, company, custcontact). An unregistered table answers 404.",
              "pattern": "^[a-z0-9_]+$",
              "type": "string"
            }
          },
          {
            "description": "The policy id (its instance key). Required on a table that hangs off a policy, refused on any other.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "schema": {
              "description": "The policy id (its instance key). Required on a table that hangs off a policy, refused on any other.",
              "type": "string"
            }
          },
          {
            "description": "The account id (its instance key). Required on a table that hangs off an account, refused on any other.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "The account id (its instance key). Required on a table that hangs off an account, refused on any other.",
              "type": "string"
            }
          },
          {
            "description": "The claim id (its instance key). Required on a table that hangs off a claim, refused on any other.",
            "explode": false,
            "in": "query",
            "name": "claim_id",
            "schema": {
              "description": "The claim id (its instance key). Required on a table that hangs off a claim, refused on any other.",
              "type": "string"
            }
          },
          {
            "description": "Rows whose ATTACHID equals this value, on a table whose match column is ATTACHID (journalmemo, payee).",
            "explode": false,
            "in": "query",
            "name": "attachid",
            "schema": {
              "description": "Rows whose ATTACHID equals this value, on a table whose match column is ATTACHID (journalmemo, payee).",
              "type": "string"
            }
          },
          {
            "description": "Rows whose ATTRCODE equals this value, on a table whose match column is ATTRCODE (prstring).",
            "explode": false,
            "in": "query",
            "name": "attrcode",
            "schema": {
              "description": "Rows whose ATTRCODE equals this value, on a table whose match column is ATTRCODE (prstring).",
              "type": "string"
            }
          },
          {
            "description": "Rows whose BANKCODE equals this value, on a table whose match column is BANKCODE (bankaccount, bankrecstatement, cashdisbursment and 3 more).",
            "explode": false,
            "in": "query",
            "name": "bankcode",
            "schema": {
              "description": "Rows whose BANKCODE equals this value, on a table whose match column is BANKCODE (bankaccount, bankrecstatement, cashdisbursment and 3 more).",
              "type": "string"
            }
          },
          {
            "description": "Rows whose BROKERCODE equals this value, on a table whose match column is BROKERCODE (broker).",
            "explode": false,
            "in": "query",
            "name": "brokercode",
            "schema": {
              "description": "Rows whose BROKERCODE equals this value, on a table whose match column is BROKERCODE (broker).",
              "type": "string"
            }
          },
          {
            "description": "Rows whose BRSID equals this value, on a table whose match column is BRSID (bankreccleared).",
            "explode": false,
            "in": "query",
            "name": "brsid",
            "schema": {
              "description": "Rows whose BRSID equals this value, on a table whose match column is BRSID (bankreccleared).",
              "type": "string"
            }
          },
          {
            "description": "Rows whose CHARGECODE equals this value, on a table whose match column is CHARGECODE (commissionie).",
            "explode": false,
            "in": "query",
            "name": "chargecode",
            "schema": {
              "description": "Rows whose CHARGECODE equals this value, on a table whose match column is CHARGECODE (commissionie).",
              "type": "string"
            }
          },
          {
            "description": "Rows whose CHECKLISTNAME equals this value, on a table whose match column is CHECKLISTNAME (agencychecklist).",
            "explode": false,
            "in": "query",
            "name": "checklistname",
            "schema": {
              "description": "Rows whose CHECKLISTNAME equals this value, on a table whose match column is CHECKLISTNAME (agencychecklist).",
              "type": "string"
            }
          },
          {
            "description": "Rows whose COCODE equals this value, on a table whose match column is COCODE (agent, aptinsurer, benefitcarrier and 13 more).",
            "explode": false,
            "in": "query",
            "name": "cocode",
            "schema": {
              "description": "Rows whose COCODE equals this value, on a table whose match column is COCODE (agent, aptinsurer, benefitcarrier and 13 more).",
              "type": "string"
            }
          },
          {
            "description": "Rows whose CPNPLISTID equals this value, on a table whose match column is CPNPLISTID (targetlistbpol, targetlistcustomer, targetlistlob and 3 more).",
            "explode": false,
            "in": "query",
            "name": "cpnplistid",
            "schema": {
              "description": "Rows whose CPNPLISTID equals this value, on a table whose match column is CPNPLISTID (targetlistbpol, targetlistcustomer, targetlistlob and 3 more).",
              "type": "string"
            }
          },
          {
            "description": "Rows whose CRHID equals this value, on a table whose match column is CRHID (cashreceiptdeposit).",
            "explode": false,
            "in": "query",
            "name": "crhid",
            "schema": {
              "description": "Rows whose CRHID equals this value, on a table whose match column is CRHID (cashreceiptdeposit).",
              "type": "string"
            }
          },
          {
            "description": "Rows whose CUSTID equals this value, on a table whose match column is CUSTID (generalledgertransaction, onaccountinvoice, pendingcheckglt).",
            "explode": false,
            "in": "query",
            "name": "custid",
            "schema": {
              "description": "Rows whose CUSTID equals this value, on a table whose match column is CUSTID (generalledgertransaction, onaccountinvoice, pendingcheckglt).",
              "type": "string"
            }
          },
          {
            "description": "Rows whose DBDHID equals this value, on a table whose match column is DBDHID (directbilldownloaddetail).",
            "explode": false,
            "in": "query",
            "name": "dbdhid",
            "schema": {
              "description": "Rows whose DBDHID equals this value, on a table whose match column is DBDHID (directbilldownloaddetail).",
              "type": "string"
            }
          },
          {
            "description": "Rows whose DBEHID equals this value, on a table whose match column is DBEHID (directbillentrycommission, directbillentrycommissionbuabreakout, directbillentrydetail).",
            "explode": false,
            "in": "query",
            "name": "dbehid",
            "schema": {
              "description": "Rows whose DBEHID equals this value, on a table whose match column is DBEHID (directbillentrycommission, directbillentrycommissionbuabreakout, directbillentrydetail).",
              "type": "string"
            }
          },
          {
            "description": "Rows whose DBSHID equals this value, on a table whose match column is DBSHID (directbillstmtdetail).",
            "explode": false,
            "in": "query",
            "name": "dbshid",
            "schema": {
              "description": "Rows whose DBSHID equals this value, on a table whose match column is DBSHID (directbillstmtdetail).",
              "type": "string"
            }
          },
          {
            "description": "Rows whose ELFFORMTYPEID equals this value, on a table whose match column is ELFFORMTYPEID (elfformversion).",
            "explode": false,
            "in": "query",
            "name": "elfformtypeid",
            "schema": {
              "description": "Rows whose ELFFORMTYPEID equals this value, on a table whose match column is ELFFORMTYPEID (elfformversion).",
              "type": "string"
            }
          },
          {
            "description": "Rows whose EMPCODE equals this value, on a table whose match column is EMPCODE (benefitemployee, emplicense, employee and 1 more).",
            "explode": false,
            "in": "query",
            "name": "empcode",
            "schema": {
              "description": "Rows whose EMPCODE equals this value, on a table whose match column is EMPCODE (benefitemployee, emplicense, employee and 1 more).",
              "type": "string"
            }
          },
          {
            "description": "Rows whose ENTITYID equals this value, on a table whose match column is ENTITYID (refgroup).",
            "explode": false,
            "in": "query",
            "name": "entityid",
            "schema": {
              "description": "Rows whose ENTITYID equals this value, on a table whose match column is ENTITYID (refgroup).",
              "type": "string"
            }
          },
          {
            "description": "Rows whose GJID equals this value, on a table whose match column is GJID (generaljournalrelation).",
            "explode": false,
            "in": "query",
            "name": "gjid",
            "schema": {
              "description": "Rows whose GJID equals this value, on a table whose match column is GJID (generaljournalrelation).",
              "type": "string"
            }
          },
          {
            "description": "Rows whose GLDIVCODE equals this value, on a table whose match column is GLDIVCODE (directbilldownloadheader, directbillentryheader, directbillstmtheader and 3 more).",
            "explode": false,
            "in": "query",
            "name": "gldivcode",
            "schema": {
              "description": "Rows whose GLDIVCODE equals this value, on a table whose match column is GLDIVCODE (directbilldownloadheader, directbillentryheader, directbillstmtheader and 3 more).",
              "type": "string"
            }
          },
          {
            "description": "Rows whose INVID equals this value, on a table whose match column is INVID (directbillstmtautorec, invoicebatch, invoicebillingevent and 7 more).",
            "explode": false,
            "in": "query",
            "name": "invid",
            "schema": {
              "description": "Rows whose INVID equals this value, on a table whose match column is INVID (directbillstmtautorec, invoicebatch, invoicebillingevent and 7 more).",
              "type": "string"
            }
          },
          {
            "description": "Rows whose ISTID equals this value, on a table whose match column is ISTID (invoicesplitallocation).",
            "explode": false,
            "in": "query",
            "name": "istid",
            "schema": {
              "description": "Rows whose ISTID equals this value, on a table whose match column is ISTID (invoicesplitallocation).",
              "type": "string"
            }
          },
          {
            "description": "Rows whose LLDID equals this value, on a table whose match column is LLDID (leadlistdefdetail).",
            "explode": false,
            "in": "query",
            "name": "lldid",
            "schema": {
              "description": "Rows whose LLDID equals this value, on a table whose match column is LLDID (leadlistdefdetail).",
              "type": "string"
            }
          },
          {
            "description": "Rows whose PLANID equals this value, on a table whose match column is PLANID (equineage, equinebreed, equinecovuse and 8 more).",
            "explode": false,
            "in": "query",
            "name": "planid",
            "schema": {
              "description": "Rows whose PLANID equals this value, on a table whose match column is PLANID (equineage, equinebreed, equinecovuse and 8 more).",
              "type": "string"
            }
          },
          {
            "description": "Rows whose POLID equals this value, on a table whose match column is POLID (invoicesplittemplate).",
            "explode": false,
            "in": "query",
            "name": "polid",
            "schema": {
              "description": "Rows whose POLID equals this value, on a table whose match column is POLID (invoicesplittemplate).",
              "type": "string"
            }
          },
          {
            "description": "Rows whose PSHID equals this value, on a table whose match column is PSHID (paystatementdetail).",
            "explode": false,
            "in": "query",
            "name": "pshid",
            "schema": {
              "description": "Rows whose PSHID equals this value, on a table whose match column is PSHID (paystatementdetail).",
              "type": "string"
            }
          },
          {
            "description": "Rows whose QUEID equals this value, on a table whose match column is QUEID (queidquestions).",
            "explode": false,
            "in": "query",
            "name": "queid",
            "schema": {
              "description": "Rows whose QUEID equals this value, on a table whose match column is QUEID (queidquestions).",
              "type": "string"
            }
          },
          {
            "description": "Rows whose RELATIONSHIPTYPEID equals this value, on a table whose match column is RELATIONSHIPTYPEID (relationship).",
            "explode": false,
            "in": "query",
            "name": "relationshiptypeid",
            "schema": {
              "description": "Rows whose RELATIONSHIPTYPEID equals this value, on a table whose match column is RELATIONSHIPTYPEID (relationship).",
              "type": "string"
            }
          },
          {
            "description": "Rows whose RLHID equals this value, on a table whose match column is RLHID (renewallistcc).",
            "explode": false,
            "in": "query",
            "name": "rlhid",
            "schema": {
              "description": "Rows whose RLHID equals this value, on a table whose match column is RLHID (renewallistcc).",
              "type": "string"
            }
          },
          {
            "description": "Rows whose TTSHID equals this value, on a table whose match column is TTSHID (trusttransferstatementdetail).",
            "explode": false,
            "in": "query",
            "name": "ttshid",
            "schema": {
              "description": "Rows whose TTSHID equals this value, on a table whose match column is TTSHID (trusttransferstatementdetail).",
              "type": "string"
            }
          },
          {
            "description": "Rows whose VENDORCODE equals this value, on a table whose match column is VENDORCODE (vendor, vendorinvoice, vendorinvoicetemplate).",
            "explode": false,
            "in": "query",
            "name": "vendorcode",
            "schema": {
              "description": "Rows whose VENDORCODE equals this value, on a table whose match column is VENDORCODE (vendor, vendorinvoice, vendorinvoicetemplate).",
              "type": "string"
            }
          },
          {
            "description": "Rows whose VINVID equals this value, on a table whose match column is VINVID (vendorinvoicetransaction, vendorpayment).",
            "explode": false,
            "in": "query",
            "name": "vinvid",
            "schema": {
              "description": "Rows whose VINVID equals this value, on a table whose match column is VINVID (vendorinvoicetransaction, vendorpayment).",
              "type": "string"
            }
          },
          {
            "description": "Not taken: refused with 400 INVALID_ARGUMENT, reason FILTER_NOT_TAKEN. A table's match filter is named after its column (cocode=, brokercode=), as GET /connections/{id}/tables lists it under filter.",
            "explode": false,
            "in": "query",
            "name": "match",
            "schema": {
              "description": "Not taken: refused with 400 INVALID_ARGUMENT, reason FILTER_NOT_TAKEN. A table's match filter is named after its column (cocode=, brokercode=), as GET /connections/{id}/tables lists it under filter.",
              "type": "string"
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. The table and its filters are frozen inside it; a page names the same ones.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. The table and its filters are frozen inside it; a page names the same ones.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListBookTableRow"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List a table's rows",
        "tags": [
          "connections"
        ]
      }
    },
    "/conversations/attempts": {
      "get": {
        "description": "What people in the org set out to do in the Workbench, each with its intent, effort and outcome, newest first. Requires conversations:attempts:read; a key pinned to one person is refused. An organization key is refused with 403 legacy_key_person_route.",
        "operationId": "listConversationAttempts",
        "parameters": [
          {
            "description": "RFC 3339 timestamp or YYYY-MM-DD: attempts started at or after it. Default 28 days before until.",
            "explode": false,
            "in": "query",
            "name": "since",
            "schema": {
              "description": "RFC 3339 timestamp or YYYY-MM-DD: attempts started at or after it. Default 28 days before until.",
              "type": "string"
            }
          },
          {
            "description": "RFC 3339 timestamp or YYYY-MM-DD: attempts started before it. Default now.",
            "explode": false,
            "in": "query",
            "name": "until",
            "schema": {
              "description": "RFC 3339 timestamp or YYYY-MM-DD: attempts started before it. Default now.",
              "type": "string"
            }
          },
          {
            "description": "Only attempts of this intent.",
            "explode": false,
            "in": "query",
            "name": "intent",
            "schema": {
              "description": "Only attempts of this intent.",
              "type": "string"
            }
          },
          {
            "description": "Only attempts with this outcome.",
            "explode": false,
            "in": "query",
            "name": "outcome",
            "schema": {
              "description": "Only attempts with this outcome.",
              "enum": [
                "open",
                "done",
                "partial",
                "abandoned",
                "failed"
              ],
              "type": "string"
            }
          },
          {
            "description": "Only the attempts of this person.",
            "explode": false,
            "in": "query",
            "name": "principal",
            "schema": {
              "description": "Only the attempts of this person.",
              "type": "string"
            }
          },
          {
            "description": "The environment the attempts happened in; default live.",
            "explode": false,
            "in": "query",
            "name": "environment",
            "schema": {
              "description": "The environment the attempts happened in; default live.",
              "type": "string"
            }
          },
          {
            "description": "An integer from 1 to 200; default 50.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "An integer from 1 to 200; default 50.",
              "type": "string"
            }
          },
          {
            "description": "The next_cursor of the previous page.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The next_cursor of the previous page.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationAttemptList"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List attempts",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/attempts/rollups/summary": {
      "get": {
        "description": "The org's live attempts by ISO week and intent: counts by outcome, the success rate, effort per done attempt and, for attempts that did not end done, their last step. Attempts left out of the counts (a Nexio seat, a turn taken on a seat's behalf, a harness end user, an archived conversation) are counted apart by reason. Requires conversations:attempts:read.",
        "operationId": "getConversationAttemptSummary",
        "parameters": [
          {
            "description": "RFC 3339 timestamp or YYYY-MM-DD: attempts started at or after it. Default 28 days before until.",
            "explode": false,
            "in": "query",
            "name": "since",
            "schema": {
              "description": "RFC 3339 timestamp or YYYY-MM-DD: attempts started at or after it. Default 28 days before until.",
              "type": "string"
            }
          },
          {
            "description": "RFC 3339 timestamp or YYYY-MM-DD: attempts started before it. Default now.",
            "explode": false,
            "in": "query",
            "name": "until",
            "schema": {
              "description": "RFC 3339 timestamp or YYYY-MM-DD: attempts started before it. Default now.",
              "type": "string"
            }
          },
          {
            "description": "Only attempts of this intent.",
            "explode": false,
            "in": "query",
            "name": "intent",
            "schema": {
              "description": "Only attempts of this intent.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationAttemptSummary"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Summarize attempts by week and intent",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances": {
      "get": {
        "description": "The org's conversation instances, without their config. Requires conversations:use.",
        "operationId": "listConversationInstances",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationInstanceList"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List conversation instances",
        "tags": [
          "Conversations"
        ]
      },
      "post": {
        "description": "Creates an instance from a slug, a label and its config. Unknown fields are refused. Refused to every scoped key.",
        "operationId": "createConversationInstance",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateConversationInstanceRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationInstance"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Create a conversation instance",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}": {
      "get": {
        "description": "The instance with its live config and config hash. Requires conversations:use.",
        "operationId": "getConversationInstance",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationInstance"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Get a conversation instance",
        "tags": [
          "Conversations"
        ]
      },
      "patch": {
        "description": "Changes the label, description, status, group or live config. Unknown fields are refused. Refused to every scoped key.",
        "operationId": "updateConversationInstance",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateConversationInstanceRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationInstance"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Update a conversation instance",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/conversations": {
      "get": {
        "description": "One end user's conversations, newest first, a page at a time. Requires conversations:use. An organization key is refused with 403 legacy_key_person_route.",
        "operationId": "listConversations",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "Required. The end user whose conversations to list.",
            "explode": false,
            "in": "query",
            "name": "end_user",
            "schema": {
              "description": "Required. The end user whose conversations to list.",
              "type": "string"
            }
          },
          {
            "description": "An integer from 1 to 100; default 50.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "An integer from 1 to 100; default 50.",
              "type": "string"
            }
          },
          {
            "description": "The next_cursor of the previous page.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The next_cursor of the previous page.",
              "type": "string"
            }
          },
          {
            "description": "Matches the title, or in full text the words people and the Assistant typed in any message. At most 200 characters.",
            "explode": false,
            "in": "query",
            "name": "q",
            "schema": {
              "description": "Matches the title, or in full text the words people and the Assistant typed in any message. At most 200 characters.",
              "type": "string"
            }
          },
          {
            "description": "A JSON object the conversation's stored scope must contain, at most 16384 bytes. Lists only the conversations opened about that subject.",
            "explode": false,
            "in": "query",
            "name": "scope",
            "schema": {
              "description": "A JSON object the conversation's stored scope must contain, at most 16384 bytes. Lists only the conversations opened about that subject.",
              "type": "string"
            }
          },
          {
            "description": "Which lifecycle to list: active (default), archived or all.",
            "explode": false,
            "in": "query",
            "name": "status",
            "schema": {
              "description": "Which lifecycle to list: active (default), archived or all.",
              "enum": [
                "active",
                "archived",
                "all"
              ],
              "type": "string"
            }
          },
          {
            "description": "true keeps conversations that have held a message; false keeps those that have not. Applied before the page is cut.",
            "explode": false,
            "in": "query",
            "name": "has_messages",
            "schema": {
              "description": "true keeps conversations that have held a message; false keeps those that have not. Applied before the page is cut.",
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationList"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List conversations",
        "tags": [
          "Conversations"
        ]
      },
      "post": {
        "description": "Opens a conversation for one end user. Requires conversations:use. An organization key is refused with 403 legacy_key_person_route.",
        "operationId": "createConversation",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateConversationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Conversation"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Create a conversation",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/conversations/search": {
      "post": {
        "description": "GET /conversations/instances/{instanceSlug}/conversations 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": "listConversationsSearch",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "cursor": {
                    "description": "The next_cursor of the previous page.",
                    "type": "string"
                  },
                  "end_user": {
                    "description": "Required. The end user whose conversations to list.",
                    "type": "string"
                  },
                  "has_messages": {
                    "description": "true keeps conversations that have held a message; false keeps those that have not. Applied before the page is cut.",
                    "enum": [
                      "true",
                      "false"
                    ],
                    "type": "string"
                  },
                  "limit": {
                    "description": "An integer from 1 to 100; default 50.",
                    "type": "string"
                  },
                  "q": {
                    "description": "Matches the title, or in full text the words people and the Assistant typed in any message. At most 200 characters.",
                    "type": "string"
                  },
                  "scope": {
                    "description": "A JSON object the conversation's stored scope must contain, at most 16384 bytes. Lists only the conversations opened about that subject.",
                    "type": "string"
                  },
                  "status": {
                    "description": "Which lifecycle to list: active (default), archived or all.",
                    "enum": [
                      "active",
                      "archived",
                      "all"
                    ],
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationList"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List conversations (parameters in the body)",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/conversations/{conversationID}": {
      "get": {
        "description": "The conversation and the most recent 500 messages of its served branch, with the turn state when the platform serves turn control. Requires conversations:use and the conversation's end user. An organization key is refused with 403 legacy_key_person_route.",
        "operationId": "getConversation",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "The conversation's id (a UUID).",
            "in": "path",
            "name": "conversationID",
            "required": true,
            "schema": {
              "description": "The conversation's id (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "Required. The end user the conversation belongs to.",
            "explode": false,
            "in": "query",
            "name": "end_user",
            "schema": {
              "description": "Required. The end user the conversation belongs to.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDetail"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Get a conversation",
        "tags": [
          "Conversations"
        ]
      },
      "patch": {
        "description": "Changes the title, the status (active or archived) or the scope. Requires conversations:use and the conversation's end user. An organization key is refused with 403 legacy_key_person_route.",
        "operationId": "updateConversation",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "The conversation's id (a UUID).",
            "in": "path",
            "name": "conversationID",
            "required": true,
            "schema": {
              "description": "The conversation's id (a UUID).",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchConversationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Conversation"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Update a conversation",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/conversations/{conversationID}/annotations": {
      "get": {
        "description": "The annotations this submitter left on the conversation. truncated says whether the list is complete. Requires conversations:use and the conversation's end user. An organization key is refused with 403 legacy_key_person_route.",
        "operationId": "listConversationAnnotations",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "The conversation's id (a UUID).",
            "in": "path",
            "name": "conversationID",
            "required": true,
            "schema": {
              "description": "The conversation's id (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "Required. The end user the conversation belongs to.",
            "explode": false,
            "in": "query",
            "name": "end_user",
            "schema": {
              "description": "Required. The end user the conversation belongs to.",
              "type": "string"
            }
          },
          {
            "description": "Required. The caller's stable submitter id, as sent when the annotations were created: only its annotations are listed.",
            "explode": false,
            "in": "query",
            "name": "submitter_id",
            "schema": {
              "description": "Required. The caller's stable submitter id, as sent when the annotations were created: only its annotations are listed.",
              "type": "string"
            }
          },
          {
            "description": "Only annotations on this feedback key.",
            "explode": false,
            "in": "query",
            "name": "feedback_key",
            "schema": {
              "description": "Only annotations on this feedback key.",
              "maxLength": 64,
              "type": "string"
            }
          },
          {
            "description": "Only annotations with this rating.",
            "explode": false,
            "in": "query",
            "name": "rating",
            "schema": {
              "description": "Only annotations with this rating.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationAnnotationList"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List a submitter's annotations",
        "tags": [
          "Conversations"
        ]
      },
      "post": {
        "description": "Records a rating on one turn of the conversation, with an optional comment and reason. A repeat with the same feedback_key answers the first. Requires conversations:use and the conversation's end user. An organization key is refused with 403 legacy_key_person_route.",
        "operationId": "createConversationAnnotation",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "The conversation's id (a UUID).",
            "in": "path",
            "name": "conversationID",
            "required": true,
            "schema": {
              "description": "The conversation's id (a UUID).",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateConversationAnnotationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationAnnotation"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Annotate a turn",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/conversations/{conversationID}/annotations/{annotationID}": {
      "delete": {
        "description": "Retracts an annotation this submitter left through the API. Requires conversations:use and the conversation's end user. An organization key is refused with 403 legacy_key_person_route.",
        "operationId": "deleteConversationAnnotation",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "The conversation's id (a UUID).",
            "in": "path",
            "name": "conversationID",
            "required": true,
            "schema": {
              "description": "The conversation's id (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "The annotation's id.",
            "in": "path",
            "name": "annotationID",
            "required": true,
            "schema": {
              "description": "The annotation's id.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteConversationAnnotationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Retract an annotation",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/conversations/{conversationID}/attachments": {
      "get": {
        "description": "The conversation's attachments a page at a time; has_more and next_offset page through them. Requires conversations:use and the conversation's end user. An organization key is refused with 403 legacy_key_person_route.",
        "operationId": "listConversationAttachments",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "The conversation's id (a UUID).",
            "in": "path",
            "name": "conversationID",
            "required": true,
            "schema": {
              "description": "The conversation's id (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "Required. The end user the conversation belongs to.",
            "explode": false,
            "in": "query",
            "name": "end_user",
            "schema": {
              "description": "Required. The end user the conversation belongs to.",
              "type": "string"
            }
          },
          {
            "description": "A non-negative integer: the next_offset of the previous page.",
            "explode": false,
            "in": "query",
            "name": "offset",
            "schema": {
              "description": "A non-negative integer: the next_offset of the previous page.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationAttachmentList"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "415": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unsupported Media Type"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List a conversation's attachments",
        "tags": [
          "Conversations"
        ]
      },
      "post": {
        "description": "Uploads one file through the API as multipart/form-data and reads it under the instance's attachment policy. Large files go through reserve and finalize instead. Requires conversations:use and the conversation's end user. An organization key is refused with 403 legacy_key_person_route.",
        "operationId": "uploadConversationAttachment",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "The conversation's id (a UUID).",
            "in": "path",
            "name": "conversationID",
            "required": true,
            "schema": {
              "description": "The conversation's id (a UUID).",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/UploadConversationAttachmentForm"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationAttachmentEnvelope"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "415": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unsupported Media Type"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Upload an attachment",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/conversations/{conversationID}/attachments/folders": {
      "post": {
        "description": "Opens a folder from its roster and answers one presigned PUT per file; files the instance will not read are named in skipped and the rest open. Requires conversations:use and the conversation's end user. An organization key is refused with 403 legacy_key_person_route.",
        "operationId": "openConversationAttachmentFolder",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "The conversation's id (a UUID).",
            "in": "path",
            "name": "conversationID",
            "required": true,
            "schema": {
              "description": "The conversation's id (a UUID).",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OpenAttachmentFolderRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpenedAttachmentFolder"
                }
              }
            },
            "description": "OK"
          },
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpenedAttachmentFolder"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "415": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unsupported Media Type"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Open a folder of attachments",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/conversations/{conversationID}/attachments/policy": {
      "get": {
        "description": "What this conversation's instance accepts: whether attachments are on, the limits and the accepted extensions. Requires conversations:use and the conversation's end user. An organization key is refused with 403 legacy_key_person_route.",
        "operationId": "getConversationAttachmentPolicy",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "The conversation's id (a UUID).",
            "in": "path",
            "name": "conversationID",
            "required": true,
            "schema": {
              "description": "The conversation's id (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "Required. The end user the conversation belongs to.",
            "explode": false,
            "in": "query",
            "name": "end_user",
            "schema": {
              "description": "Required. The end user the conversation belongs to.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AttachmentPolicy"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "415": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unsupported Media Type"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Get the attachment policy",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/conversations/{conversationID}/attachments/reserve": {
      "post": {
        "description": "Opens an attachment and answers a presigned PUT for its bytes. Finalize it after the upload: the platform re-derives the size, type and hash from what landed. Requires conversations:use and the conversation's end user. An organization key is refused with 403 legacy_key_person_route.",
        "operationId": "reserveConversationAttachment",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "The conversation's id (a UUID).",
            "in": "path",
            "name": "conversationID",
            "required": true,
            "schema": {
              "description": "The conversation's id (a UUID).",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReserveAttachmentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AttachmentReservation"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "415": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unsupported Media Type"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Reserve an attachment upload",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/conversations/{conversationID}/attachments/{attachmentID}": {
      "delete": {
        "description": "Removes an attachment; a member of a container answers 409 attachment_member_delete. Requires conversations:use and the conversation's end user. An organization key is refused with 403 legacy_key_person_route.",
        "operationId": "deleteConversationAttachment",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "The conversation's id (a UUID).",
            "in": "path",
            "name": "conversationID",
            "required": true,
            "schema": {
              "description": "The conversation's id (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "The attachment's id.",
            "in": "path",
            "name": "attachmentID",
            "required": true,
            "schema": {
              "description": "The attachment's id.",
              "type": "string"
            }
          },
          {
            "description": "Required. The end user the conversation belongs to.",
            "explode": false,
            "in": "query",
            "name": "end_user",
            "schema": {
              "description": "Required. The end user the conversation belongs to.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "415": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unsupported Media Type"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Delete an attachment",
        "tags": [
          "Conversations"
        ]
      },
      "get": {
        "description": "One attachment's record: its name, type, size and read status. Requires conversations:use and the conversation's end user. An organization key is refused with 403 legacy_key_person_route.",
        "operationId": "getConversationAttachment",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "The conversation's id (a UUID).",
            "in": "path",
            "name": "conversationID",
            "required": true,
            "schema": {
              "description": "The conversation's id (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "The attachment's id.",
            "in": "path",
            "name": "attachmentID",
            "required": true,
            "schema": {
              "description": "The attachment's id.",
              "type": "string"
            }
          },
          {
            "description": "Required. The end user the conversation belongs to.",
            "explode": false,
            "in": "query",
            "name": "end_user",
            "schema": {
              "description": "Required. The end user the conversation belongs to.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationAttachmentEnvelope"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "415": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unsupported Media Type"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Get an attachment",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/conversations/{conversationID}/attachments/{attachmentID}/content": {
      "get": {
        "description": "Redirects to a short-lived URL of the attachment's bytes. Requires conversations:use and the conversation's end user. An organization key is refused with 403 legacy_key_person_route.",
        "operationId": "readConversationAttachmentContent",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "The conversation's id (a UUID).",
            "in": "path",
            "name": "conversationID",
            "required": true,
            "schema": {
              "description": "The conversation's id (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "The attachment's id.",
            "in": "path",
            "name": "attachmentID",
            "required": true,
            "schema": {
              "description": "The attachment's id.",
              "type": "string"
            }
          },
          {
            "description": "Required. The end user the conversation belongs to.",
            "explode": false,
            "in": "query",
            "name": "end_user",
            "schema": {
              "description": "Required. The end user the conversation belongs to.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "302": {
            "description": "Found",
            "headers": {
              "Location": {
                "description": "A short-lived, tenant-checked URL of the bytes.",
                "required": true,
                "schema": {
                  "format": "uri",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "415": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unsupported Media Type"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Read an attachment's bytes",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/conversations/{conversationID}/attachments/{attachmentID}/finalize": {
      "post": {
        "description": "Reads back what landed on the reserved key and judges it: real size, media type from content, and hash. Requires conversations:use and the conversation's end user. An organization key is refused with 403 legacy_key_person_route.",
        "operationId": "finalizeConversationAttachment",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "The conversation's id (a UUID).",
            "in": "path",
            "name": "conversationID",
            "required": true,
            "schema": {
              "description": "The conversation's id (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "The attachment's id.",
            "in": "path",
            "name": "attachmentID",
            "required": true,
            "schema": {
              "description": "The attachment's id.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FinalizeAttachmentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationAttachmentEnvelope"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "415": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unsupported Media Type"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Finalize an attachment upload",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/conversations/{conversationID}/branch": {
      "post": {
        "description": "Serves the named version of a forked message and answers the conversation detail for that branch. Requires conversations:use and the conversation's end user. An organization key is refused with 403 legacy_key_person_route.",
        "operationId": "setConversationBranch",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "The conversation's id (a UUID).",
            "in": "path",
            "name": "conversationID",
            "required": true,
            "schema": {
              "description": "The conversation's id (a UUID).",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetConversationBranchRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationDetail"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Choose a conversation's branch",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/conversations/{conversationID}/export": {
      "get": {
        "description": "The complete conversation for compliance: every message on every branch, the config versions that answered, tool and guardrail events, and annotations. Requires conversations:export and the conversation's end user. An organization key is refused with 403 legacy_key_person_route.",
        "operationId": "exportConversation",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "The conversation's id (a UUID).",
            "in": "path",
            "name": "conversationID",
            "required": true,
            "schema": {
              "description": "The conversation's id (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "Required. The end user the conversation belongs to.",
            "explode": false,
            "in": "query",
            "name": "end_user",
            "schema": {
              "description": "Required. The end user the conversation belongs to.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationExport"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Export a conversation",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/conversations/{conversationID}/turns": {
      "post": {
        "description": "Starts a turn (a message), or continues one paused for confirmations. Requires conversations:use and the conversation's end user. The request carries a turn_id and Accept: application/json, and is answered 202 with the admitted turn and its stream, or 200 for a repeat of the same turn_id; the frames are read from GET .../turns/{turnID}/stream. A message turn runs one recipe: the one pinned on the conversation, else the page_context.recipe_id the caller pressed, else the one the API resolves from a bare greeting (that turn only), the page_context.path (the Renewals register) or the typed ask; the admitted turn serves recipe_id and recipe_basis, and a recipe from the page or the ask is pinned on the conversation's first turn. App tool results are posted to each call's result route, never to this route. A request without a turn_id or without Accept: application/json is answered 400 stream_turn_required. An organization key is refused with 403 legacy_key_person_route.",
        "operationId": "admitTurn",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "The conversation's id (a UUID).",
            "in": "path",
            "name": "conversationID",
            "required": true,
            "schema": {
              "description": "The conversation's id (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "Required: application/json, with a turn_id in the body. Any other request is answered 400 stream_turn_required.",
            "in": "header",
            "name": "Accept",
            "schema": {
              "description": "Required: application/json, with a turn_id in the body. Any other request is answered 400 stream_turn_required.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AdmitTurnRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TurnAdmission"
                }
              }
            },
            "description": "OK"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TurnAdmission"
                }
              }
            },
            "description": "Accepted"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Admit a turn",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/conversations/{conversationID}/turns/{turnID}": {
      "get": {
        "description": "The turn as served: its status (stopping while a stop is pending), its runtime, seal and executor state. A turn admitted before the turn stream has no runtime, seal or executor fields, and one left paused for tool results reads failed after its result window expires. Requires conversations:use and the conversation's end user. An organization key is refused with 403 legacy_key_person_route.",
        "operationId": "getTurn",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "The conversation's id (a UUID).",
            "in": "path",
            "name": "conversationID",
            "required": true,
            "schema": {
              "description": "The conversation's id (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "The turn's id (a UUID).",
            "in": "path",
            "name": "turnID",
            "required": true,
            "schema": {
              "description": "The turn's id (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "Required. The end user the conversation belongs to.",
            "explode": false,
            "in": "query",
            "name": "end_user",
            "schema": {
              "description": "Required. The end user the conversation belongs to.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationTurnEnvelope"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Get a turn",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/conversations/{conversationID}/turns/{turnID}/components/{toolCallID}": {
      "get": {
        "description": "The stored cards of one call of a v3 turn, for a component frame that travelled as a reference (ref: true). Requires conversations:use and the conversation's end user. An organization key is refused with 403 legacy_key_person_route.",
        "operationId": "getTurnComponents",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "The conversation's id (a UUID).",
            "in": "path",
            "name": "conversationID",
            "required": true,
            "schema": {
              "description": "The conversation's id (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "The turn's id (a UUID).",
            "in": "path",
            "name": "turnID",
            "required": true,
            "schema": {
              "description": "The turn's id (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "The call whose cards to read.",
            "in": "path",
            "name": "toolCallID",
            "required": true,
            "schema": {
              "description": "The call whose cards to read.",
              "type": "string"
            }
          },
          {
            "description": "Required. The end user the conversation belongs to.",
            "explode": false,
            "in": "query",
            "name": "end_user",
            "schema": {
              "description": "Required. The end user the conversation belongs to.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TurnComponents"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Get a call's cards",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/conversations/{conversationID}/turns/{turnID}/stop": {
      "post": {
        "description": "Stops the turn. Requires conversations:use and the conversation's end user; allowed on an archived conversation. Idempotent by turn id: a repeat answers the first seal. Answers 200 with the turn as served (stopping while it is sealed and not at rest, then stopped). A turn id not admitted yet answers 202 and the turn is refused when it arrives. An organization key is refused with 403 legacy_key_person_route.",
        "operationId": "stopTurn",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "The conversation's id (a UUID).",
            "in": "path",
            "name": "conversationID",
            "required": true,
            "schema": {
              "description": "The conversation's id (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "The turn's id (a UUID).",
            "in": "path",
            "name": "turnID",
            "required": true,
            "schema": {
              "description": "The turn's id (a UUID).",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StopTurnRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationTurnEnvelope"
                }
              }
            },
            "description": "OK"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UnadmittedTurnEnvelope"
                }
              }
            },
            "description": "Accepted"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Stop a turn",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/conversations/{conversationID}/turns/{turnID}/stream": {
      "get": {
        "description": "A v3 turn's frames after the cursor, then its live tail, server to server. Requires conversations:use and the conversation's end user. The server ends the response with : end once the turn is at rest and every kept call has its final outcome, or 60 s after rest; resubscribe with after= the last id for more. A turn whose stream is gone answers 410 stream_expired: read the conversation, which is durable. Any turn that is not this conversation's v3 turn answers 404 turn_not_found. An organization key is refused with 403 legacy_key_person_route.",
        "operationId": "streamTurn",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "The conversation's id (a UUID).",
            "in": "path",
            "name": "conversationID",
            "required": true,
            "schema": {
              "description": "The conversation's id (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "The turn's id (a UUID).",
            "in": "path",
            "name": "turnID",
            "required": true,
            "schema": {
              "description": "The turn's id (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "Required. The end user the conversation belongs to.",
            "explode": false,
            "in": "query",
            "name": "end_user",
            "schema": {
              "description": "Required. The end user the conversation belongs to.",
              "type": "string"
            }
          },
          {
            "description": "An executor id: the subscription is also the turn's executor claim. The first line answers : executor &lt;epoch&gt;, : executor held or : executor sealed; held and sealed still stream.",
            "explode": false,
            "in": "query",
            "name": "executor",
            "schema": {
              "description": "An executor id: the subscription is also the turn's executor claim. The first line answers : executor &lt;epoch&gt;, : executor held or : executor sealed; held and sealed still stream.",
              "type": "string"
            }
          },
          {
            "description": "With executor, the executor's own end, as RFC 3339 or unix milliseconds.",
            "in": "header",
            "name": "Nexio-Executor-Until",
            "schema": {
              "description": "With executor, the executor's own end, as RFC 3339 or unix milliseconds.",
              "type": "string"
            }
          },
          {
            "description": "Resume after this frame id, a non-negative integer. When absent, Last-Event-ID is used; when both are absent the stream starts at the first frame.",
            "explode": false,
            "in": "query",
            "name": "after",
            "schema": {
              "description": "Resume after this frame id, a non-negative integer. When absent, Last-Event-ID is used; when both are absent the stream starts at the first frame.",
              "type": "string"
            }
          },
          {
            "description": "The id of the last frame the reader applied, as the SSE reconnect sends it. Read only when after is absent.",
            "in": "header",
            "name": "Last-Event-ID",
            "schema": {
              "description": "The id of the last frame the reader applied, as the SSE reconnect sends it. Read only when after is absent.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "text/event-stream": {
                "schema": {
                  "$ref": "#/components/schemas/TurnFrame"
                }
              }
            },
            "description": "An event stream. Each message carries id (the resume cursor), event (the frame type) and data (one TurnFrame as JSON). `: ka` comments keep an idle stream open; a final `: end` comment closes the server's window, after which the reader resubscribes with after= its last id if it needs more."
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "410": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Gone"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Stream a turn",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/conversations/{conversationID}/turns/{turnID}/tool-calls/{callID}/accept": {
      "post": {
        "description": "The app's server executor accepts one leg of an app call (the seq of its tool_use frame) under its live executor lease, and receives the authoritative call, its deadline and the turn context. A repeat by the same executor answers the same record until the deadline. Refused with 409 (executor_lost, executor_expiring, stale_leg, tool_call_taken) when the call must not run here. v3 turns only. An organization key is refused with 403 legacy_key_person_route.",
        "operationId": "acceptToolCall",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "The conversation's id (a UUID).",
            "in": "path",
            "name": "conversationID",
            "required": true,
            "schema": {
              "description": "The conversation's id (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "The turn's id (a UUID).",
            "in": "path",
            "name": "turnID",
            "required": true,
            "schema": {
              "description": "The turn's id (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "The app call's id.",
            "in": "path",
            "name": "callID",
            "required": true,
            "schema": {
              "description": "The app call's id.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AcceptToolCallRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolCallAccepted"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Accept an app call",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/conversations/{conversationID}/turns/{turnID}/tool-calls/{callID}/result": {
      "post": {
        "description": "The accepting executor posts the call's result for the leg it accepted: the model's view (content), the step detail (display) and the cards (components). Answers 202 with how it was recorded (live, late, or ignored for a repeat). v3 turns only. An organization key is refused with 403 legacy_key_person_route.",
        "operationId": "postToolCallResult",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "The conversation's id (a UUID).",
            "in": "path",
            "name": "conversationID",
            "required": true,
            "schema": {
              "description": "The conversation's id (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "The turn's id (a UUID).",
            "in": "path",
            "name": "turnID",
            "required": true,
            "schema": {
              "description": "The turn's id (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "The app call's id.",
            "in": "path",
            "name": "callID",
            "required": true,
            "schema": {
              "description": "The app call's id.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ToolCallResultRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolCallRecorded"
                }
              }
            },
            "description": "Accepted"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Post an app call's result",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/eval-replays/{runID}": {
      "get": {
        "description": "One replay run with each case's verdict, public scores and priced exposure. Requires conversations:use. A check is its kind and whether it passed. No case transcript, check detail, rubric value, judge score or error, recipe id, source seat, source conversation or attachment id, draft file or case error text is served.",
        "operationId": "getConversationEvalReplay",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "The eval run's id (a UUID).",
            "in": "path",
            "name": "runID",
            "required": true,
            "schema": {
              "description": "The eval run's id (a UUID).",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationEvalRunDetail"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Read replay verdicts and priced exposure",
        "tags": [
          "conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/eval-runs": {
      "get": {
        "description": "The instance's eval runs, newest first, without draft runs or replay runs. Requires conversations:use.",
        "operationId": "listConversationEvalRuns",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "Only the runs of this suite.",
            "explode": false,
            "in": "query",
            "name": "suite",
            "schema": {
              "description": "Only the runs of this suite.",
              "type": "string"
            }
          },
          {
            "description": "How many runs, newest first.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "How many runs, newest first.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationEvalRunList"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List eval runs",
        "tags": [
          "Conversations"
        ]
      },
      "post": {
        "description": "Runs one suite against the latest released version. It spends model calls. Refused to every scoped key.",
        "operationId": "createConversationEvalRun",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateConversationEvalRunRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationEvalRun"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Start an eval run",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/eval-runs/{runID}": {
      "get": {
        "description": "One eval run with its per-scenario verdicts and public scores. Requires conversations:use. A check is its kind and whether it passed. No transcript, check detail, rubric value, judge score or error, or recipe id is served.",
        "operationId": "getConversationEvalRun",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "The eval run's id (a UUID).",
            "in": "path",
            "name": "runID",
            "required": true,
            "schema": {
              "description": "The eval run's id (a UUID).",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationEvalRunDetail"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Get an eval run",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/eval-runs/{runID}/diff": {
      "get": {
        "description": "Which scenarios changed verdict between a run and its baseline. Requires conversations:use.",
        "operationId": "diffConversationEvalRuns",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "The eval run's id (a UUID).",
            "in": "path",
            "name": "runID",
            "required": true,
            "schema": {
              "description": "The eval run's id (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "The run to compare against; the suite's previous run when absent.",
            "explode": false,
            "in": "query",
            "name": "baseline",
            "schema": {
              "description": "The run to compare against; the suite's previous run when absent.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationEvalRunDiff"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Compare two eval runs",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/eval-scenarios": {
      "get": {
        "description": "The instance's eval scenarios. Requires conversations:use. An authored scenario serves its name, script and rubric. A scenario promoted from an annotation serves only its id, origin, suite and times.",
        "operationId": "listConversationEvalScenarios",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "Only the scenarios of this suite.",
            "explode": false,
            "in": "query",
            "name": "suite",
            "schema": {
              "description": "Only the scenarios of this suite.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationEvalScenarioList"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List eval scenarios",
        "tags": [
          "Conversations"
        ]
      },
      "post": {
        "description": "Adds a scripted scenario with its rubric to a suite. Refused to every scoped key.",
        "operationId": "createConversationEvalScenario",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateConversationEvalScenarioRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationEvalScenario"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Create an eval scenario",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/eval-scenarios/{scenarioID}": {
      "delete": {
        "description": "Removes a scenario from what the publish gate runs. Refused to every scoped key.",
        "operationId": "retireConversationEvalScenario",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "The scenario's id (a UUID).",
            "in": "path",
            "name": "scenarioID",
            "required": true,
            "schema": {
              "description": "The scenario's id (a UUID).",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Retire an eval scenario",
        "tags": [
          "Conversations"
        ]
      },
      "patch": {
        "description": "Corrects a scenario's name, script, rubric or suite. Refused to every scoped key. The answer for a scenario promoted from an annotation serves only its id, origin, suite and times.",
        "operationId": "updateConversationEvalScenario",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "The scenario's id (a UUID).",
            "in": "path",
            "name": "scenarioID",
            "required": true,
            "schema": {
              "description": "The scenario's id (a UUID).",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateConversationEvalScenarioRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationEvalScenario"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Update an eval scenario",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/home": {
      "get": {
        "description": "How proactive the Assistant is with one end user (lead, offer or quiet), whether this is their first session, and the record it was read from: the last 10 homes shown, the starts they offered and took, and the asks typed or started since. Every turn of the instance reads the same level. Requires conversations:use. An organization key is refused with 403 legacy_key_person_route.",
        "operationId": "getAssistantHome",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "Required. The end user whose home to read.",
            "explode": false,
            "in": "query",
            "name": "end_user",
            "schema": {
              "description": "Required. The end user whose home to read.",
              "type": "string"
            }
          },
          {
            "description": "When sent, the member the read is made for; it must equal end_user.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "When sent, the member the read is made for; it must equal end_user.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantHome"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Get an end user's Assistant home",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/home/events": {
      "post": {
        "description": "Records that a home was shown (its level and starts) or that a start on it was taken. Idempotent on the home, the event and the start's kind and account: a repeat answers 200 with recorded false. Refused under any impersonated session. Requires conversations:use. An organization key is refused with 403 legacy_key_person_route.",
        "operationId": "recordAssistantHomeEvent",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "When sent, the member the event is made for; it must equal end_user.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "When sent, the member the event is made for; it must equal end_user.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordAssistantHomeEventRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantHomeEventRecorded"
                }
              }
            },
            "description": "OK"
          },
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantHomeEventRecorded"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Record an Assistant home event",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/publish-runs/{runID}": {
      "get": {
        "description": "A publish run's status: running, then published or already_released (with the released version, config hash, release time and releaser) or refused or error (with the refusal). Requires conversations:use.",
        "operationId": "getConversationPublishRun",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "The publish run's id.",
            "in": "path",
            "name": "runID",
            "required": true,
            "schema": {
              "description": "The publish run's id.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationPublishRun"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Get a publish run",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/toolkit": {
      "get": {
        "description": "Returns current seat-filtered tool definitions and operation requirements. Every execution rechecks current policy and actual input. An unavailable identity or legacy declaration is not an empty authorized toolkit.",
        "operationId": "getAuthorizedToolkit",
        "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"
            }
          },
          {
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordAuthorizedToolkit"
                }
              }
            },
            "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"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Read the released instance toolkit available to the acting seat",
        "tags": [
          "conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/versions": {
      "get": {
        "description": "The instance's released config versions. Requires conversations:use.",
        "operationId": "listConversationInstanceVersions",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationInstanceVersionList"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List released versions",
        "tags": [
          "Conversations"
        ]
      },
      "post": {
        "description": "Starts a publish run: the instance's conversation eval gate runs against the live config and, when its verdict allows, releases it as the next version. Answers 202 with the run (Location names its poll path, GET .../publish-runs/{runID}); an identical request while the run is in flight answers the same run with replayed true. Answers 200 with status already_released when the live config already is the latest version. A blocking eval regression ends the run refused unless waived_by and waive_reason are given together. Refused to every scoped key.",
        "operationId": "publishConversationInstanceVersion",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PublishConversationInstanceVersionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationPublishRun"
                }
              }
            },
            "description": "OK"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationPublishRun"
                }
              }
            },
            "description": "Accepted"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Release the live config",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/instances/{instanceSlug}/versions/{version}/eval-run": {
      "get": {
        "description": "The publish gate's eval run for one released version, with per-scenario verdicts, public scores and the diff against the prior version. Requires conversations:use. A check is its kind and whether it passed. No transcript, check detail, rubric value, judge score or error, or recipe id is served.",
        "operationId": "getConversationVersionEvalRun",
        "parameters": [
          {
            "description": "The conversation instance's slug.",
            "in": "path",
            "name": "instanceSlug",
            "required": true,
            "schema": {
              "description": "The conversation instance's slug.",
              "type": "string"
            }
          },
          {
            "description": "The released version number.",
            "in": "path",
            "name": "version",
            "required": true,
            "schema": {
              "description": "The released version number.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationVersionEvalRun"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Get a version's gate eval run",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/memory": {
      "get": {
        "description": "Everything the Assistant currently remembers about one person, learned from their own conversations, each memory with the messages it came from; or, with subject=org, what the org's people and documents taught it about how work is done there, each fact with who taught it or which document it came from. Requires conversations:use, and the end user for a person's memory. For a person's memory, an organization key is refused with 403 legacy_key_person_route.",
        "operationId": "listConversationMemory",
        "parameters": [
          {
            "description": "person (the default): one person's memory, named by end_user. org: the org's own memory, which every seat reads.",
            "explode": false,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "person (the default): one person's memory, named by end_user. org: the org's own memory, which every seat reads.",
              "enum": [
                "person",
                "org"
              ],
              "type": "string"
            }
          },
          {
            "description": "The person whose memory is read: the end user their conversations belong to. Required unless subject is org.",
            "explode": false,
            "in": "query",
            "name": "end_user",
            "schema": {
              "description": "The person whose memory is read: the end user their conversations belong to. Required unless subject is org.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationMemoryList"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List a person's or the org's memory",
        "tags": [
          "Conversations"
        ]
      },
      "post": {
        "description": "Adds one rule or workflow to the org's own memory, which every seat of the org reads at the start of a conversation with its source. Name the org document it comes from in source; without one the writing key is recorded as its teacher. 201 with the new memory; 200 with the existing one when the org's memory already holds the fact. 409 memory_forgotten means the fact was removed and is not added back; 409 memory_busy means the memory is being updated, retry after the Retry-After seconds. Requires conversations:memory:write.",
        "operationId": "createConversationMemory",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateConversationMemoryRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationMemory"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Add a fact to the org's memory",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/memory/{memoryID}": {
      "delete": {
        "description": "Forgets one memory for good: the fact is blanked and only its fingerprint is kept, so no later pass learns or adds it again. A person's memory requires conversations:use and the end user; an org memory (subject=org) also requires conversations:memory:write. 409 memory_busy means the memory is being updated; retry after the Retry-After seconds. For a person's memory, an organization key is refused with 403 legacy_key_person_route.",
        "operationId": "forgetConversationMemory",
        "parameters": [
          {
            "description": "The memory's id (a UUID).",
            "in": "path",
            "name": "memoryID",
            "required": true,
            "schema": {
              "description": "The memory's id (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "person (the default) or org.",
            "explode": false,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "person (the default) or org.",
              "enum": [
                "person",
                "org"
              ],
              "type": "string"
            }
          },
          {
            "description": "The person the memory is about. Required unless subject is org.",
            "explode": false,
            "in": "query",
            "name": "end_user",
            "schema": {
              "description": "The person the memory is about. Required unless subject is org.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationMemoryForgotten"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Forget a memory",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/conversations/{conversationID}/attachments/{attachmentID}/pages": {
      "get": {
        "description": "Reads physical pages of one document the conversation holds, as the acting seat, through the document layer's authorization. A document the seat cannot open reads as not found.",
        "operationId": "conversationsReadAttachmentPages",
        "parameters": [
          {
            "description": "The conversation's id (a UUID).",
            "in": "path",
            "name": "conversationID",
            "required": true,
            "schema": {
              "description": "The conversation's id (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "The document's id in the conversation, its doc: address on the current version, or the file name or title the conversation lists it under (the newest ready file of that name); an address's derivation and selector are ignored.",
            "in": "path",
            "name": "attachmentID",
            "required": true,
            "schema": {
              "description": "The document's id in the conversation, its doc: address on the current version, or the file name or title the conversation lists it under (the newest ready file of that name); an address's derivation and selector are ignored.",
              "type": "string"
            }
          },
          {
            "description": "The first physical page, from 1. Send from and to together, at most 100 pages; omit both for the first 3 pages.",
            "explode": false,
            "in": "query",
            "name": "from",
            "schema": {
              "description": "The first physical page, from 1. Send from and to together, at most 100 pages; omit both for the first 3 pages.",
              "type": "string"
            }
          },
          {
            "description": "The last physical page, inclusive. A range that runs past the document's last page ends there; a first page past it is refused.",
            "explode": false,
            "in": "query",
            "name": "to",
            "schema": {
              "description": "The last physical page, inclusive. A range that runs past the document's last page ends there; a first page past it is refused.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationAttachmentPagesJSON"
                }
              }
            },
            "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"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Read a conversation document's pages",
        "tags": [
          "Conversations"
        ]
      }
    },
    "/documents/certificates/drafts": {
      "post": {
        "description": "Decides a certificate of insurance for a saved certificate or an unsaved holder: status issuable, blocked or incomplete with a reason per holder requirement (met, action, gap, unknown) and per input the draft could not source, the draft the studio renders, the policies a new certificate starts with, and where the draft lands on the ACORD 25. Every coverage fact is read from Records under the caller's seat; nothing is stored.",
        "operationId": "documentsDecideCertificateDraft",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentCertificateDraftRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CertificateDraftJSON"
                }
              }
            },
            "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"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Decide a certificate draft",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/certificates/drafts/file": {
      "post": {
        "description": "Renders the ACORD 25 of a draft that is not saved, or of a saved one with edits not yet saved, from the draft decided now. Nothing is stored.",
        "operationId": "documentsCertificateDraftsFile",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentCertificateDraftFileRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CertificateFileJSON"
                }
              }
            },
            "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"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Render an unsaved certificate",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/certificates/drafts/{id}/file": {
      "get": {
        "description": "Renders a saved certificate's ACORD 25 from the draft decided now: the marked preview, or the issued copy, which is refused with the draft's reasons unless it is issuable and needs the certificate write grant outside View as. Nothing is stored.",
        "operationId": "documentsCertificateDraftFile",
        "parameters": [
          {
            "description": "The saved certificate's id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The saved certificate's id.",
              "type": "string"
            }
          },
          {
            "description": "preview or issue.",
            "explode": false,
            "in": "query",
            "name": "mode",
            "schema": {
              "description": "preview or issue.",
              "enum": [
                "preview",
                "issue"
              ],
              "type": "string"
            }
          },
          {
            "description": "preview only: the ACORD 25 without the transmittal page.",
            "explode": false,
            "in": "query",
            "name": "acord_only",
            "schema": {
              "description": "preview only: the ACORD 25 without the transmittal page.",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CertificateFileJSON"
                }
              }
            },
            "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"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Render a saved certificate",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/drafts/{id}": {
      "get": {
        "description": "Read a document working copy",
        "operationId": "documentsReadWorkingCopy",
        "parameters": [
          {
            "description": "The draft id. The first fill creates the draft under this id; it is 1 to 200 letters, digits, '_', '.', ':' or '-'.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The draft id. The first fill creates the draft under this id; it is 1 to 200 letters, digits, '_', '.', ':' or '-'.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentWorkingCopyJSON"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read a document working copy",
        "tags": [
          "Documents"
        ]
      },
      "patch": {
        "description": "Update a document working copy",
        "operationId": "documentsUpdateWorkingCopy",
        "parameters": [
          {
            "description": "The draft id. The first fill creates the draft under this id; it is 1 to 200 letters, digits, '_', '.', ':' or '-'.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The draft id. The first fill creates the draft under this id; it is 1 to 200 letters, digits, '_', '.', ':' or '-'.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkingCopyChange"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentWorkingCopyJSON"
                }
              }
            },
            "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"
          },
          "412": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Precondition Failed"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Update a document working copy",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/drafts/{id}/check": {
      "post": {
        "description": "Completeness of the draft on the versions it pinned: how many fields are filled, which required ones are missing, what the client fills in and signs, and the page count. Reads only.",
        "operationId": "checkDocumentDraft",
        "parameters": [
          {
            "description": "The draft id. The first fill creates the draft under this id; it is 1 to 200 letters, digits, '_', '.', ':' or '-'.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The draft id. The first fill creates the draft under this id; it is 1 to 200 letters, digits, '_', '.', ':' or '-'.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentsCheckJSON"
                }
              }
            },
            "description": "OK"
          },
          "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": []
          }
        ],
        "summary": "Check a document draft",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/drafts/{id}/exports": {
      "get": {
        "description": "Reads available formats and filenames on the draft's pinned type and template versions after current subject admission. Does not render, store, or file a document.",
        "operationId": "documentsListDraftExports",
        "parameters": [
          {
            "description": "The draft id. The first fill creates the draft under this id; it is 1 to 200 letters, digits, '_', '.', ':' or '-'.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The draft id. The first fill creates the draft under this id; it is 1 to 200 letters, digits, '_', '.', ':' or '-'.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentDraftExportsJSON"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List a document draft's exports",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/drafts/{id}/exports/{format}": {
      "get": {
        "description": "Renders the admitted draft revision without storing or filing a document. With into, the xlsx copy is that workbook filled in place, and unfilled names every label, column and row it left blank.",
        "operationId": "documentsRenderDraft",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "format",
            "required": true,
            "schema": {
              "enum": [
                "pdf",
                "docx",
                "xlsx",
                "csv",
                "pptx"
              ],
              "type": "string"
            }
          },
          {
            "description": "Render the xlsx copy into this workbook instead of the template's own layout: a Workbench Document id (with app_id) or, with conversation, an attachment id or its doc: address (doc:&lt;id&gt;@&lt;version&gt;, that exact version). The workbook's labels and column headers are matched to the draft's fields, one draft row goes on each blank data row, and unfilled names every cell left blank.",
            "explode": false,
            "in": "query",
            "name": "into",
            "schema": {
              "description": "Render the xlsx copy into this workbook instead of the template's own layout: a Workbench Document id (with app_id) or, with conversation, an attachment id or its doc: address (doc:&lt;id&gt;@&lt;version&gt;, that exact version). The workbook's labels and column headers are matched to the draft's fields, one draft row goes on each blank data row, and unfilled names every cell left blank.",
              "type": "string"
            }
          },
          {
            "description": "The app whose Documents hold the into workbook.",
            "explode": false,
            "in": "query",
            "name": "app_id",
            "schema": {
              "description": "The app whose Documents hold the into workbook.",
              "type": "string"
            }
          },
          {
            "description": "The conversation holding the into attachment (a UUID).",
            "explode": false,
            "in": "query",
            "name": "conversation",
            "schema": {
              "description": "The conversation holding the into attachment (a UUID).",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentDraftRenderJSON"
                }
              }
            },
            "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"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Render a document working copy",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/drafts/{id}/fill": {
      "post": {
        "description": "Applies values to a draft, each with its source, and saves it. The first fill names the type and subject, creates the draft and pins the type and template versions. A value for a client or signature field is refused; a constant field's value is ignored; a value the type cannot take comes back in problems and the rest apply. A revision sends expected_updated_at; a newer draft answers 412 ETAG_MISMATCH with reason RECORD_CHANGED. A first fill retried after it was saved answers the stored draft; an id another seat holds answers 404. Nothing is filed or sent.",
        "operationId": "fillDocumentDraft",
        "parameters": [
          {
            "description": "The draft id. The first fill creates the draft under this id; it is 1 to 200 letters, digits, '_', '.', ':' or '-'.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The draft id. The first fill creates the draft under this id; it is 1 to 200 letters, digits, '_', '.', ':' or '-'.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentFillRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentsFillJSON"
                }
              }
            },
            "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"
          },
          "412": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Precondition Failed"
          },
          "413": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Fill a document draft",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/drafts/{id}/generate": {
      "post": {
        "description": "Renders the draft in one of its type's formats on the versions it pinned, stores the file as a Document of the subject in app_id's Documents, and files the draft, all counted only when the one settle transaction commits. A filed draft answers its recorded Document, whatever app_id the request names, and renders nothing; a retry of the same content lands on the same Document. Nothing is sent.",
        "operationId": "generateDocumentDraft",
        "parameters": [
          {
            "description": "The draft id. The first fill creates the draft under this id; it is 1 to 200 letters, digits, '_', '.', ':' or '-'.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The draft id. The first fill creates the draft under this id; it is 1 to 200 letters, digits, '_', '.', ':' or '-'.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentGenerateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentsGenerateJSON"
                }
              }
            },
            "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"
          },
          "412": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Precondition Failed"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Generate a document from a draft",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/drafts/{id}/view": {
      "get": {
        "description": "Reads an admitted draft with its completeness, sections and actual PDF page count, projected once per draft version, the layout its file prints (no drafting hint or hidden field), the formats it downloads in and, for a composable draft, the composer's bounds, the sections it can add and the suggested starting point with its reasons and basis. Preserves current registered behavior for pre-pin drafts and immutable materialized definitions for explicitly versioned drafts.",
        "operationId": "documentsReadDraftView",
        "parameters": [
          {
            "description": "The draft id. The first fill creates the draft under this id; it is 1 to 200 letters, digits, '_', '.', ':' or '-'.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The draft id. The first fill creates the draft under this id; it is 1 to 200 letters, digits, '_', '.', ':' or '-'.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentDraftPresentationJSON"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read a document draft view",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/extractions": {
      "get": {
        "description": "The extraction rows of one app that the seat may read, a cursor page at a time. The platform applies the filters and the seat's scope before it cuts the page.",
        "operationId": "listExtractions",
        "parameters": [
          {
            "description": "The app that owns the rows. Required.",
            "explode": false,
            "in": "query",
            "name": "app_id",
            "schema": {
              "description": "The app that owns the rows. Required.",
              "type": "string"
            }
          },
          {
            "description": "The next_cursor of the previous page.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The next_cursor of the previous page.",
              "type": "string"
            }
          },
          {
            "description": "Page size, an integer.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size, an integer.",
              "type": "string"
            }
          },
          {
            "description": "Only the rows of this account.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "Only the rows of this account.",
              "type": "string"
            }
          },
          {
            "description": "Only the rows of this document.",
            "explode": false,
            "in": "query",
            "name": "document_id",
            "schema": {
              "description": "Only the rows of this document.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkbenchDocumentResourceListBody"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List extractions",
        "tags": [
          "Documents"
        ]
      },
      "post": {
        "description": "Creates one extraction row. The answer is a one-element list.",
        "operationId": "createExtraction",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkbenchDocumentResourceJSON"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkbenchDocumentResourceCreatedBody"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Create a extraction",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/extractions/{id}": {
      "get": {
        "description": "One extraction row.",
        "operationId": "getExtraction",
        "parameters": [
          {
            "description": "The document id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The document id.",
              "type": "string"
            }
          },
          {
            "description": "The app that owns the document. Required.",
            "explode": false,
            "in": "query",
            "name": "app_id",
            "schema": {
              "description": "The app that owns the document. Required.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkbenchDocumentResourceBody"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Get a extraction",
        "tags": [
          "Documents"
        ]
      },
      "patch": {
        "description": "Changes one extraction row.",
        "operationId": "updateExtraction",
        "parameters": [
          {
            "description": "The document id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The document id.",
              "type": "string"
            }
          },
          {
            "description": "The app that owns the document. Required.",
            "explode": false,
            "in": "query",
            "name": "app_id",
            "schema": {
              "description": "The app that owns the document. Required.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkbenchDocumentResourceJSON"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkbenchDocumentResourceBody"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Update a extraction",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/files": {
      "get": {
        "description": "The uploaded files of one app that the seat may read, newest first, a cursor page at a time. The platform applies the filters and the seat's scope before it cuts the page. Archived files are left out unless include_archived is true.",
        "operationId": "listDocumentFiles",
        "parameters": [
          {
            "description": "The app that owns the documents. Required.",
            "explode": false,
            "in": "query",
            "name": "app_id",
            "schema": {
              "description": "The app that owns the documents. Required.",
              "type": "string"
            }
          },
          {
            "description": "The next_cursor of the previous page.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The next_cursor of the previous page.",
              "type": "string"
            }
          },
          {
            "description": "Page size, an integer.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size, an integer.",
              "type": "string"
            }
          },
          {
            "description": "true or false. Archived documents are left out by default.",
            "explode": false,
            "in": "query",
            "name": "include_archived",
            "schema": {
              "description": "true or false. Archived documents are left out by default.",
              "type": "string"
            }
          },
          {
            "description": "Only the documents of this account.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "Only the documents of this account.",
              "type": "string"
            }
          },
          {
            "description": "Only the documents of this policy.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "schema": {
              "description": "Only the documents of this policy.",
              "type": "string"
            }
          },
          {
            "description": "Only the documents of this claim.",
            "explode": false,
            "in": "query",
            "name": "claim_id",
            "schema": {
              "description": "Only the documents of this claim.",
              "type": "string"
            }
          },
          {
            "description": "Only the documents of this certificate.",
            "explode": false,
            "in": "query",
            "name": "certificate_id",
            "schema": {
              "description": "Only the documents of this certificate.",
              "type": "string"
            }
          },
          {
            "description": "Only the documents of this submission.",
            "explode": false,
            "in": "query",
            "name": "submission_id",
            "schema": {
              "description": "Only the documents of this submission.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkbenchDocumentListBody"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List document files",
        "tags": [
          "Documents"
        ]
      },
      "post": {
        "description": "Records the file's metadata and answers a short-lived upload URL. Finalize the file after the bytes are uploaded. A raw-text document has no upload URL.",
        "operationId": "reserveDocumentFile",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkbenchDocumentWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkbenchDocumentReservationBody"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Reserve a document file",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/files/{id}": {
      "delete": {
        "description": "Removes a file and its bytes.",
        "operationId": "deleteDocumentFile",
        "parameters": [
          {
            "description": "The document id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The document id.",
              "type": "string"
            }
          },
          {
            "description": "The app that owns the document. Required.",
            "explode": false,
            "in": "query",
            "name": "app_id",
            "schema": {
              "description": "The app that owns the document. Required.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Delete a document file",
        "tags": [
          "Documents"
        ]
      },
      "get": {
        "description": "One ready file's metadata.",
        "operationId": "getDocumentFile",
        "parameters": [
          {
            "description": "The document id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The document id.",
              "type": "string"
            }
          },
          {
            "description": "The app that owns the document. Required.",
            "explode": false,
            "in": "query",
            "name": "app_id",
            "schema": {
              "description": "The app that owns the document. Required.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkbenchDocumentBody"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Get a document file",
        "tags": [
          "Documents"
        ]
      },
      "patch": {
        "description": "Changes a file's type, name, links or archive state.",
        "operationId": "updateDocumentFile",
        "parameters": [
          {
            "description": "The document id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The document id.",
              "type": "string"
            }
          },
          {
            "description": "The app that owns the document. Required.",
            "explode": false,
            "in": "query",
            "name": "app_id",
            "schema": {
              "description": "The app that owns the document. Required.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkbenchDocumentPatchJSON"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkbenchDocumentBody"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Update a document file",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/files/{id}/content": {
      "get": {
        "description": "A short-lived read URL for the stored file. With format=bytes the answer is the stored bytes (at most 10 MiB) in place of the URL.",
        "operationId": "getDocumentFileContent",
        "parameters": [
          {
            "description": "The document id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The document id.",
              "type": "string"
            }
          },
          {
            "description": "The app that owns the document. Required.",
            "explode": false,
            "in": "query",
            "name": "app_id",
            "schema": {
              "description": "The app that owns the document. Required.",
              "type": "string"
            }
          },
          {
            "description": "bytes answers the stored bytes (at most 10 MiB) in place of a read URL.",
            "explode": false,
            "in": "query",
            "name": "format",
            "schema": {
              "description": "bytes answers the stored bytes (at most 10 MiB) in place of a read URL.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkbenchDocumentContentBody"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Read a document file's content",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/files/{id}/finalize": {
      "post": {
        "description": "Verifies the uploaded bytes against the reserved size and marks the file ready.",
        "operationId": "finalizeDocumentFile",
        "parameters": [
          {
            "description": "The document id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The document id.",
              "type": "string"
            }
          },
          {
            "description": "The app that owns the document. Required.",
            "explode": false,
            "in": "query",
            "name": "app_id",
            "schema": {
              "description": "The app that owns the document. Required.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkbenchDocumentBody"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Finalize a document file",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/forms/fill": {
      "post": {
        "description": "Fills a form that has no document type (a PDF with fillable boxes, a PDF whose questions are printed flat into the page, or a Word application) with answers, each with its source and where it came from, and the boxes the subject's Records facts answer, and stores the filled copy as a draft Document of the subject in app_id's Documents, in the form's own format. An answer with no source is refused, a signature box is never filled, and a box no answer names stays blank and comes back in blank and questions.needed. The same answers sent again land on the same Document. An ACORD form carries the pilot license mark unless the org holds the ACORD license. A form that cannot be filled answers status blocked or a 422 and stores nothing. Nothing is sent or signed.",
        "operationId": "fillDocumentForm",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentFormFillRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentsFormFillJSON"
                }
              }
            },
            "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"
          },
          "412": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Precondition Failed"
          },
          "413": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Fill a form with sourced answers",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/forms/inspect": {
      "post": {
        "description": "Reads a form that has no document type: a PDF with fillable boxes, a PDF whose questions are printed flat into the page, or a Word (.docx) application, held as a ready Document under app_id, a filed Records document (record) or a conversation attachment (attachment and conversation). It answers every box the form can take with the words the page prints beside it, the boxes the subject's Records facts answer (known), and for a fillable PDF each box's answer on last year's fillable copy (prior). profile names the pinned original form a fillable PDF is when its bytes hash to the original's pinned sha256 with its page count, and is null for any other form. Signature boxes are never listed. Reads only.",
        "operationId": "documentsInspectOriginalForm",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentFormInspectRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentsFormInspectionJSON"
                }
              }
            },
            "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"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Read a form's boxes and the original it is",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/library": {
      "get": {
        "description": "Every group and the templates the search and view filters keep, in the profile's order, paged when limit is sent.",
        "operationId": "documentsLibrary",
        "parameters": [
          {
            "description": "Words each found in a template's group, name, full name, code, format or purpose.",
            "explode": false,
            "in": "query",
            "name": "q",
            "schema": {
              "description": "Words each found in a template's group, name, full name, code, format or purpose.",
              "maxLength": 200,
              "type": "string"
            }
          },
          {
            "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.",
            "explode": false,
            "in": "query",
            "name": "hide.group",
            "schema": {
              "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"
            }
          },
          {
            "description": "Page size. Absent reads every template the filters keep.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Absent reads every template the filters keep.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The page token from next.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The page token from next.",
              "type": "string"
            }
          }
        ],
        "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": []
          }
        ],
        "summary": "Read the document library",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/library/search": {
      "post": {
        "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": []
          }
        ],
        "summary": "Read the document library (parameters in the body)",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/library/{id}": {
      "get": {
        "description": "Read a document library entry",
        "operationId": "documentsLibraryEntry",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentLibraryEntryJSON"
                }
              }
            },
            "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"
          },
          "412": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Precondition Failed"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Read a document library entry",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/library/{id}/blank": {
      "get": {
        "description": "Download a published blank document",
        "operationId": "documentsLibraryBlank",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "format",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "variant",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "enum": [
                "first_page",
                "full"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentLibraryFileJSON"
                }
              }
            },
            "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"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Download a published blank document",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/library/{id}/preview": {
      "get": {
        "description": "Preview a published document",
        "operationId": "documentsLibraryPreview",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "format",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "variant",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "enum": [
                "first_page",
                "full"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentLibraryPreviewJSON"
                }
              }
            },
            "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"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Preview a published document",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/market-appetite-evidence": {
      "post": {
        "description": "Files one evidence document on a market and answers the evidence_ref an appetite publication cites; GET /records/market-appetite/rollups/evidence opens it. The acting member must hold the org-wide appetite publish grant and act from their own seat. Refuses every scoped key.",
        "operationId": "attachMarketAppetiteEvidence",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/A1MarketAppetiteEvidenceForm"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogEvidenceReceipt"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Attach appetite evidence",
        "tags": [
          "documents"
        ]
      }
    },
    "/documents/packets": {
      "post": {
        "description": "Joins every named file, in order, into one PDF and stores it as a Document of the subject in app_id's Documents: a document draft rendered as it reads now (an ACORD form), a filled carrier form or any ready Document by id, a filed Records document, or a conversation attachment. Each member is read as the caller with its own read's admission. A member the caller cannot open, or one that is not a PDF, refuses the whole packet and names that member, so a packet never leaves a named file out. The same members at the same bytes land on the same Document. Nothing is sent or signed.",
        "operationId": "createDocumentPacket",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PacketRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentsPacketJSON"
                }
              }
            },
            "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"
          },
          "413": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Join documents into one packet PDF",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/quote-comparisons/{id}/exports/{format}": {
      "get": {
        "description": "Renders a saved quote comparison as the org's branded PDF: one table of each carrier with its annual total and every term the comparison read, under the agency letterhead, prepared today (UTC). The comparison, its account and its submission are read as the caller, with the fields the caller may not read stripped; a comparison filed to an account outside the caller's scope, or whose submission is outside it or on another account, is not found. A comparison filed to no account is the organization's. Rows the platform marks internal (commission) are left out. Nothing is stored.",
        "operationId": "documentsRenderQuoteComparison",
        "parameters": [
          {
            "description": "The saved comparison, as GET /records/saved-quote-comparisons/{id} names it.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The saved comparison, as GET /records/saved-quote-comparisons/{id} names it.",
              "maxLength": 200,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "description": "The file's format: pdf.",
            "in": "path",
            "name": "format",
            "required": true,
            "schema": {
              "description": "The file's format: pdf.",
              "enum": [
                "pdf"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentQuoteComparisonJSON"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Render a saved quote comparison",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/risk-item-dispositions": {
      "get": {
        "description": "The risk item disposition rows of one app that the seat may read, a cursor page at a time. The platform applies the filters and the seat's scope before it cuts the page.",
        "operationId": "listDocumentRiskItemDispositions",
        "parameters": [
          {
            "description": "The app that owns the rows. Required.",
            "explode": false,
            "in": "query",
            "name": "app_id",
            "schema": {
              "description": "The app that owns the rows. Required.",
              "type": "string"
            }
          },
          {
            "description": "The next_cursor of the previous page.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The next_cursor of the previous page.",
              "type": "string"
            }
          },
          {
            "description": "Page size, an integer.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size, an integer.",
              "type": "string"
            }
          },
          {
            "description": "Only the rows of this account.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "Only the rows of this account.",
              "type": "string"
            }
          },
          {
            "description": "Only the rows of this document.",
            "explode": false,
            "in": "query",
            "name": "document_id",
            "schema": {
              "description": "Only the rows of this document.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkbenchDocumentResourceListBody"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List risk item dispositions",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/risk-item-dispositions/{id}": {
      "get": {
        "description": "One risk item disposition row.",
        "operationId": "getDocumentRiskItemDisposition",
        "parameters": [
          {
            "description": "The document id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The document id.",
              "type": "string"
            }
          },
          {
            "description": "The app that owns the document. Required.",
            "explode": false,
            "in": "query",
            "name": "app_id",
            "schema": {
              "description": "The app that owns the document. Required.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkbenchDocumentResourceBody"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Get a risk item disposition",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/table-extractions": {
      "post": {
        "description": "Starts one job, as the acting seat, that reads every page of a document the conversation holds in parallel chunks and files one spreadsheet draft with one row per item and a Source page column. A value a page does not show stays blank; rows keep page order and are never deduplicated. With summary, the job groups, counts and adds up the items itself into summary rows and a total row, and checks them against the document's printed grand totals. The draft is filed on the account when one is named, else as the seat's own. Read the job's status at its id until its state is done, partial or failed.",
        "operationId": "startDocumentTableExtraction",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentTableExtractionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentTableExtractionAnswer"
                }
              }
            },
            "description": "Accepted"
          },
          "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"
          },
          "413": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Start a table extraction from a conversation document",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/table-extractions/{id}": {
      "get": {
        "description": "Reads one job the acting seat started: its state, pages done of the total, rows found, the pages no attempt could read and, once filed, the draft. Another seat's job reads not found. The read changes nothing.",
        "operationId": "readDocumentTableExtraction",
        "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 job's id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The job's id.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentTableExtractionAnswer"
                }
              }
            },
            "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Read a table extraction's status",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/template-drafts/{id}": {
      "get": {
        "description": "One template draft by its id. The documents service creates the draft.",
        "operationId": "getDocumentTemplateDraft",
        "parameters": [
          {
            "description": "The document id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The document id.",
              "type": "string"
            }
          },
          {
            "description": "The app that owns the document. Required.",
            "explode": false,
            "in": "query",
            "name": "app_id",
            "schema": {
              "description": "The app that owns the document. Required.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkbenchTemplateDraftBody"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Get a template draft",
        "tags": [
          "Documents"
        ]
      },
      "patch": {
        "description": "Changes a template draft's working copy.",
        "operationId": "updateDocumentTemplateDraft",
        "parameters": [
          {
            "description": "The document id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The document id.",
              "type": "string"
            }
          },
          {
            "description": "The app that owns the document. Required.",
            "explode": false,
            "in": "query",
            "name": "app_id",
            "schema": {
              "description": "The app that owns the document. Required.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkbenchTemplateDraftWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkbenchTemplateDraftBody"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Update a template draft",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/template-drafts/{id}/fill": {
      "post": {
        "description": "Starts a library template's draft for an account, or revises one. The first fill names the template and the account, admitted under the caller's scope; the draft starts from the template's fixed values and the known values the account's records hold, read as the caller, and the values sent apply over them, each with its source. A revision sends only what changes. The answer is the draft as its card shows it, what applied, what filled itself, where the values came from and the problems; named policies that match none answer policy_not_found with the account's policies. dry_run computes the same answer and saves nothing. Nothing is filed or sent.",
        "operationId": "fillDocumentTemplateDraft",
        "parameters": [
          {
            "description": "The draft id. The first fill creates the draft under this id; it is 1 to 200 letters, digits, '_', '.', ':' or '-'.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The draft id. The first fill creates the draft under this id; it is 1 to 200 letters, digits, '_', '.', ':' or '-'.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TemplateFillRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentTemplateFillJSON"
                }
              }
            },
            "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"
          },
          "412": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Precondition Failed"
          },
          "413": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Fill a library template's draft",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/templates/book-report/exports/{format}": {
      "get": {
        "description": "Renders the book report (library template book-report) for the Reports page's filters, read from the people, staff and summary rollups as the caller: pdf (the report, or slides with layout=slides), xlsx (Summary, one sheet per grouping, Retention by month and Staff metrics) or csv (the grouping as one flat table). Nothing is stored. A caller without the rollups is refused as the rollup route refuses it.",
        "operationId": "documentsRenderBookReport",
        "parameters": [
          {
            "in": "path",
            "name": "format",
            "required": true,
            "schema": {
              "enum": [
                "pdf",
                "xlsx",
                "csv"
              ],
              "type": "string"
            }
          },
          {
            "description": "How the book splits, as the Reports page's Group by. Default client_manager.",
            "explode": false,
            "in": "query",
            "name": "group",
            "schema": {
              "description": "How the book splits, as the Reports page's Group by. Default client_manager.",
              "enum": [
                "client_manager",
                "producer",
                "office",
                "market",
                "carrier",
                "line",
                "business_type",
                "account"
              ],
              "type": "string"
            }
          },
          {
            "description": "1 for the asking seat's own book (where they are the producer or client manager).",
            "explode": false,
            "in": "query",
            "name": "mine",
            "schema": {
              "description": "1 for the asking seat's own book (where they are the producer or client manager).",
              "enum": [
                "0",
                "1"
              ],
              "type": "string"
            }
          },
          {
            "description": "Producers by AMS 360 employee code, or me, repeatable.",
            "explode": true,
            "in": "query",
            "name": "producer",
            "schema": {
              "description": "Producers by AMS 360 employee code, or me, repeatable.",
              "items": {
                "type": "string"
              },
              "maxItems": 50,
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Client managers by AMS 360 employee code, or me, repeatable.",
            "explode": true,
            "in": "query",
            "name": "client_manager",
            "schema": {
              "description": "Client managers by AMS 360 employee code, or me, repeatable.",
              "items": {
                "type": "string"
              },
              "maxItems": 50,
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "The PDF's layout: report (portrait, the default) or slides (landscape, one section to a page).",
            "explode": false,
            "in": "query",
            "name": "layout",
            "schema": {
              "description": "The PDF's layout: report (portrait, the default) or slides (landscape, one section to a page).",
              "enum": [
                "report",
                "slides"
              ],
              "type": "string"
            }
          },
          {
            "description": "Narrow to one market of the organization's market map.",
            "explode": false,
            "in": "query",
            "name": "market",
            "schema": {
              "description": "Narrow to one market of the organization's market map.",
              "type": "string"
            }
          },
          {
            "description": "Narrow to one office.",
            "explode": false,
            "in": "query",
            "name": "office",
            "schema": {
              "description": "Narrow to one office.",
              "type": "string"
            }
          },
          {
            "description": "Narrow to one line of business.",
            "explode": false,
            "in": "query",
            "name": "line",
            "schema": {
              "description": "Narrow to one line of business.",
              "type": "string"
            }
          },
          {
            "description": "Narrow to one carrier.",
            "explode": false,
            "in": "query",
            "name": "carrier",
            "schema": {
              "description": "Narrow to one carrier.",
              "type": "string"
            }
          },
          {
            "description": "The account's in-force premium floor, whole dollars.",
            "explode": false,
            "in": "query",
            "name": "min_premium",
            "schema": {
              "description": "The account's in-force premium floor, whole dollars.",
              "type": "string"
            }
          },
          {
            "description": "Policies expiring from the read date up to this many days later (0 is off, at most 366).",
            "explode": false,
            "in": "query",
            "name": "renewing_days",
            "schema": {
              "description": "Policies expiring from the read date up to this many days later (0 is off, at most 366).",
              "type": "string"
            }
          },
          {
            "description": "all (the default), commercial, personal, benefits, life or other: only the policies whose type of business falls in that book count.",
            "explode": false,
            "in": "query",
            "name": "world",
            "schema": {
              "description": "all (the default), commercial, personal, benefits, life or other: only the policies whose type of business falls in that book count.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentDraftRenderJSON"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Render the book report",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/templates/{id}/fields": {
      "get": {
        "description": "Reads a library template's fields with the known values the account's records fill, the gaps no record holds and, when policies are named, the policies they select. Every read runs as the caller under its own scope; named policies select before any staff or schedule read.",
        "operationId": "documentsReadTemplateFields",
        "parameters": [
          {
            "description": "A library definition template id (template.list).",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "A library definition template id (template.list).",
              "type": "string"
            }
          },
          {
            "description": "The account the known values are read for, admitted under the caller's scope.",
            "explode": false,
            "in": "query",
            "name": "account",
            "schema": {
              "description": "The account the known values are read for, admitted under the caller's scope.",
              "type": "string"
            }
          },
          {
            "description": "Policy numbers the producer named, repeatable, at most 10. Only the account's own policies they match select what is read; none matching answers policy_not_found with the account's policies.",
            "explode": true,
            "in": "query",
            "name": "policy_number",
            "schema": {
              "description": "Policy numbers the producer named, repeatable, at most 10. Only the account's own policies they match select what is read; none matching answers policy_not_found with the account's policies.",
              "items": {
                "type": "string"
              },
              "maxItems": 10,
              "type": [
                "array",
                "null"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentTemplateFieldsJSON"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read a template's fields for an account",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/types": {
      "get": {
        "description": "The document types the org may use, newest version of each, with kind, outputs, license state and field count. With file_name, inferred names the upload kind the file's name reads as.",
        "operationId": "listDocumentTypes",
        "parameters": [
          {
            "description": "A file's name. The answer adds inferred: the upload kind the name reads as (loss_run, exposure_records, acord_packet, schedule, certificate, binder, endorsement, dec_page, policy, quote, notice, or other), basis file_name. A loss run before any other kind; a declarations page before a policy.",
            "explode": false,
            "in": "query",
            "name": "file_name",
            "schema": {
              "description": "A file's name. The answer adds inferred: the upload kind the name reads as (loss_run, exposure_records, acord_packet, schedule, certificate, binder, endorsement, dec_page, policy, quote, notice, or other), basis file_name. A loss run before any other kind; a declarations page before a policy.",
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentsTypesInferredJSON"
                }
              }
            },
            "description": "OK"
          },
          "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": []
          }
        ],
        "summary": "List document types",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/types/search": {
      "post": {
        "description": "GET /documents/types 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": "listDocumentTypesSearch",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "file_name": {
                    "description": "A file's name. The answer adds inferred: the upload kind the name reads as (loss_run, exposure_records, acord_packet, schedule, certificate, binder, endorsement, dec_page, policy, quote, notice, or other), basis file_name. A loss run before any other kind; a declarations page before a policy.",
                    "maxLength": 255,
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentsTypesInferredJSON"
                }
              }
            },
            "description": "OK"
          },
          "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": []
          }
        ],
        "summary": "List document types (parameters in the body)",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/types/{key}/fields": {
      "get": {
        "description": "Each field of the type with its label, type, who fills it and whether it is required. With subject, the known value of each records field read through Access, and the gaps: a field the seat may not see is a gap with reason not_visible, never filled from unredacted data.",
        "operationId": "getDocumentTypeFields",
        "parameters": [
          {
            "description": "The document type key, for example a letter's slug.",
            "in": "path",
            "name": "key",
            "required": true,
            "schema": {
              "description": "The document type key, for example a letter's slug.",
              "type": "string"
            }
          },
          {
            "description": "Optional Records record reference the document is about. With it the answer carries the known value of each records field, read through Access, and the gaps.",
            "explode": false,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "Optional Records record reference the document is about. With it the answer carries the known value of each records field, read through Access, and the gaps.",
              "type": "string"
            }
          },
          {
            "description": "Policy numbers the form is for, repeatable, at most 10. Only the subject's own policies they match select the policies a form's projected facts come from; none matching leaves those facts unheld.",
            "explode": true,
            "in": "query",
            "name": "policy_number",
            "schema": {
              "description": "Policy numbers the form is for, repeatable, at most 10. Only the subject's own policies they match select the policies a form's projected facts come from; none matching leaves those facts unheld.",
              "items": {
                "type": "string"
              },
              "maxItems": 10,
              "type": [
                "array",
                "null"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentsFieldsJSON"
                }
              }
            },
            "description": "OK"
          },
          "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": []
          }
        ],
        "summary": "Read a document type's fields",
        "tags": [
          "Documents"
        ]
      }
    },
    "/documents/workbooks/logo": {
      "post": {
        "description": "Reads one admitted XLSX and approved org artwork, places the logo at the named sheet and cell, and returns a separate seat-owned Document. The original file is unchanged. No account is changed.",
        "operationId": "documentsAddWorkbookLogo",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkbookLogoRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentsWorkbookLogoJSON"
                }
              }
            },
            "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"
          },
          "413": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Add the approved logo to a workbook copy",
        "tags": [
          "Documents"
        ]
      }
    },
    "/engines": {
      "get": {
        "description": "Every engine in the caller's org, or those of one engine_type. A key bound to engines lists only those engines. Requires engines:read.",
        "operationId": "listEngines",
        "parameters": [
          {
            "description": "Keeps engines of this type (a registered engine type such as matching, comparison or entity_analysis). An unregistered type is a 400 (invalid_engine_type).",
            "explode": false,
            "in": "query",
            "name": "engine_type",
            "schema": {
              "description": "Keeps engines of this type (a registered engine type such as matching, comparison or entity_analysis). An unregistered type is a 400 (invalid_engine_type).",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EngineListResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List engines",
        "tags": [
          "Engines"
        ]
      },
      "post": {
        "description": "Creates an engine of a registered type with that type's default config. Refused to keys scoped to engines.",
        "operationId": "createEngine",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEngineRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EngineResponse"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Create an engine",
        "tags": [
          "Engines"
        ]
      }
    },
    "/engines/{engineSlug}": {
      "get": {
        "description": "One engine by slug. Requires engines:read and, for a key bound to engines, a binding to this one.",
        "operationId": "getEngine",
        "parameters": [
          {
            "description": "The engine's slug, unique in the caller's org.",
            "in": "path",
            "name": "engineSlug",
            "required": true,
            "schema": {
              "description": "The engine's slug, unique in the caller's org.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EngineResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Get an engine",
        "tags": [
          "Engines"
        ]
      },
      "patch": {
        "description": "Changes an engine's label, description, status or group. Omitted members are unchanged. Refused to keys scoped to engines.",
        "operationId": "updateEngine",
        "parameters": [
          {
            "description": "The engine's slug, unique in the caller's org.",
            "in": "path",
            "name": "engineSlug",
            "required": true,
            "schema": {
              "description": "The engine's slug, unique in the caller's org.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEngineRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EngineResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Update an engine",
        "tags": [
          "Engines"
        ]
      }
    },
    "/engines/{engineSlug}/config": {
      "get": {
        "description": "The engine's live config, its type's default config, and the request schema its type declares. Requires engines:read.",
        "operationId": "getEngineConfig",
        "parameters": [
          {
            "description": "The engine's slug, unique in the caller's org.",
            "in": "path",
            "name": "engineSlug",
            "required": true,
            "schema": {
              "description": "The engine's slug, unique in the caller's org.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EngineConfigResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Get an engine's config",
        "tags": [
          "Engines"
        ]
      },
      "put": {
        "description": "Validates and stores the whole draft config when If-Match names the current config_hash. The draft serves unpinned runs only after a version is published. Refused on an archived engine. Requires engines:edit and a key bound to the engine.",
        "operationId": "putEngineConfig",
        "parameters": [
          {
            "description": "The engine's slug, unique in the caller's org.",
            "in": "path",
            "name": "engineSlug",
            "required": true,
            "schema": {
              "description": "The engine's slug, unique in the caller's org.",
              "type": "string"
            }
          },
          {
            "description": "The config_hash the caller read (GET /engines/{engineSlug}/steps or /config). Missing answers 428 precondition_required; stale answers 412 draft_changed.",
            "in": "header",
            "name": "If-Match",
            "schema": {
              "description": "The config_hash the caller read (GET /engines/{engineSlug}/steps or /config). Missing answers 428 precondition_required; stale answers 412 draft_changed.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigUpdateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EngineConfigResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "412": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Precondition Failed"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "428": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Precondition Required"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Replace an engine's config",
        "tags": [
          "Engines"
        ]
      }
    },
    "/engines/{engineSlug}/config/validate": {
      "post": {
        "description": "Validates a whole config, or with step one step's config spliced into the draft, without storing it. An invalid config answers 200 with valid false and its errors, each with code, pointer, message and fix. Requires engines:edit.",
        "operationId": "validateEngineConfig",
        "parameters": [
          {
            "description": "The engine's slug, unique in the caller's org.",
            "in": "path",
            "name": "engineSlug",
            "required": true,
            "schema": {
              "description": "The engine's slug, unique in the caller's org.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateConfigRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidateConfigResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Validate an engine config",
        "tags": [
          "Engines"
        ]
      }
    },
    "/engines/{engineSlug}/renewal-plans": {
      "get": {
        "description": "A scoped key needs actions:read beside book:read: every plan row is computed from the action ledger (workflow stage and retention outlook), so a key without it is refused with 403 insufficient_capability.",
        "operationId": "listEngineRenewalPlans",
        "parameters": [
          {
            "description": "The person 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 person the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting principal's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting principal's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "Read as another member, for a caller whose seat may.",
            "in": "header",
            "name": "Nexio-Book-Lens",
            "schema": {
              "description": "Read as another member, for a caller whose seat may.",
              "type": "string"
            }
          },
          {
            "description": "true narrows to the acting seat's own book.",
            "explode": false,
            "in": "query",
            "name": "mine",
            "schema": {
              "description": "true narrows to the acting seat's own book.",
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "One producer code whose book to read. Not combinable with mine.",
            "explode": false,
            "in": "query",
            "name": "book",
            "schema": {
              "description": "One producer code whose book to read. Not combinable with mine.",
              "type": "string"
            }
          },
          {
            "description": "A producer code, a name key, or me. Repeat the parameter to select several (an OR); a comma is part of a value, never a separator.",
            "explode": false,
            "in": "query",
            "name": "producer",
            "schema": {
              "description": "A producer code, a name key, or me. Repeat the parameter to select several (an OR); a comma is part of a value, never a separator.",
              "type": "string"
            }
          },
          {
            "description": "A client manager code, a name key, or me. Repeat the parameter to select several (an OR); ANDs with producer.",
            "explode": false,
            "in": "query",
            "name": "client_manager",
            "schema": {
              "description": "A client manager code, a name key, or me. Repeat the parameter to select several (an OR); ANDs with producer.",
              "type": "string"
            }
          },
          {
            "description": "An explicit account key; labels the served selection account.",
            "explode": false,
            "in": "query",
            "name": "account",
            "schema": {
              "description": "An explicit account key; labels the served selection account.",
              "type": "string"
            }
          },
          {
            "description": "The Renewal Plan Engine in the caller's org, by its id or its slug (renewal-plans).",
            "in": "path",
            "name": "engineSlug",
            "required": true,
            "schema": {
              "description": "The Renewal Plan Engine in the caller's org, by its id or its slug (renewal-plans).",
              "type": "string"
            }
          },
          {
            "description": "Old links: comma-separated bands to keep, read as hide.risk of the others.",
            "explode": false,
            "in": "query",
            "name": "risk",
            "schema": {
              "description": "Old links: comma-separated bands to keep, read as hide.risk of the others.",
              "type": "string"
            }
          },
          {
            "description": "rank (the default) is the plan's order; due and expiration are nearest first; premium is smallest first and -premium largest first, a renewal with no premium last either way; producer.name is the producer's name A to Z, each producer's renewals in plan order and a renewal with no producer last.",
            "explode": false,
            "in": "query",
            "name": "sort",
            "schema": {
              "description": "rank (the default) is the plan's order; due and expiration are nearest first; premium is smallest first and -premium largest first, a renewal with no premium last either way; producer.name is the producer's name A to Z, each producer's renewals in plan order and a renewal with no producer last.",
              "enum": [
                "rank",
                "due",
                "expiration",
                "premium",
                "-premium",
                "producer.name"
              ],
              "type": "string"
            }
          },
          {
            "description": "Page size, 1 to 200; default 50.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size, 1 to 200; default 50.",
              "type": "string"
            }
          },
          {
            "description": "Rows to skip, 0 to 10000.",
            "explode": false,
            "in": "query",
            "name": "offset",
            "schema": {
              "description": "Rows to skip, 0 to 10000.",
              "type": "string"
            }
          },
          {
            "description": "Calls due within 1 to 180 days of the run pin.",
            "explode": false,
            "in": "query",
            "name": "due_within_days",
            "schema": {
              "description": "Calls due within 1 to 180 days of the run pin.",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "connection_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Keeps renewals whose account name holds these words (any case, spacing, punctuation and plural ignored), or whose policy number or carrier contains this text.",
            "explode": false,
            "in": "query",
            "name": "q",
            "schema": {
              "description": "Keeps renewals whose account name holds these words (any case, spacing, punctuation and plural ignored), or whose policy number or carrier contains this text.",
              "type": "string"
            }
          },
          {
            "description": "Keeps renewals in any of these books, by the line class the plan row carries. Repeat the parameter to select several.",
            "explode": true,
            "in": "query",
            "name": "world",
            "schema": {
              "description": "Keeps renewals in any of these books, by the line class the plan row carries. Repeat the parameter to select several.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Keeps renewals on any of these lines, by the source's own wording. Repeat the parameter to select several.",
            "explode": true,
            "in": "query",
            "name": "line",
            "schema": {
              "description": "Keeps renewals on any of these lines, by the source's own wording. Repeat the parameter to select several.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Keeps renewals with any of these carriers. Repeat the parameter to select several.",
            "explode": true,
            "in": "query",
            "name": "carrier",
            "schema": {
              "description": "Keeps renewals with any of these carriers. Repeat the parameter to select several.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Keeps renewals of any of these offices, by agency code. Repeat the parameter to select several.",
            "explode": true,
            "in": "query",
            "name": "office",
            "schema": {
              "description": "Keeps renewals of any of these offices, by agency code. Repeat the parameter to select several.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Keeps renewals billed by any of these methods as AMS 360 records them: agency or direct. Repeat the parameter to select both.",
            "explode": true,
            "in": "query",
            "name": "bill_method",
            "schema": {
              "description": "Keeps renewals billed by any of these methods as AMS 360 records them: agency or direct. Repeat the parameter to select both.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Keeps renewals of the offices the org units place in this reporting market; all, or none sent, keeps every market. The office options are counted without it, so they list every market's offices.",
            "explode": false,
            "in": "query",
            "name": "market",
            "schema": {
              "description": "Keeps renewals of the offices the org units place in this reporting market; all, or none sent, keeps every market. The office options are counted without it, so they list every market's offices.",
              "type": "string"
            }
          },
          {
            "description": "Premium floor in whole dollars. A renewal with no premium fails a floor.",
            "explode": false,
            "in": "query",
            "name": "premium_gte",
            "schema": {
              "description": "Premium floor in whole dollars. A renewal with no premium fails a floor.",
              "pattern": "^[0-9]{1,12}$",
              "type": "string"
            }
          },
          {
            "description": "Keeps renewals whose term expires before this many days past the run pin, 0 to 3650; 0 is off.",
            "explode": false,
            "in": "query",
            "name": "expires_within_days",
            "schema": {
              "description": "Keeps renewals whose term expires before this many days past the run pin, 0 to 3650; 0 is off.",
              "type": "string"
            }
          },
          {
            "description": "open serves open work and is the default; top_quarter serves the open renewals in their owner's top quarter: per owner (the client manager, else the producer) among the open renewals the read admits, the first quarter rounded up, at least one, by commission revenue, a renewal with none after those with some, by premium, or by premium alone for a seat withheld revenue; q and due_within_days narrow the rows shown, never the list ranked; refused with account and on the summary; done serves terms AMS 360 finished or a person closed; all serves both.",
            "explode": false,
            "in": "query",
            "name": "state",
            "schema": {
              "description": "open serves open work and is the default; top_quarter serves the open renewals in their owner's top quarter: per owner (the client manager, else the producer) among the open renewals the read admits, the first quarter rounded up, at least one, by commission revenue, a renewal with none after those with some, by premium, or by premium alone for a seat withheld revenue; q and due_within_days narrow the rows shown, never the list ranked; refused with account and on the summary; done serves terms AMS 360 finished or a person closed; all serves both.",
              "enum": [
                "open",
                "top_quarter",
                "done",
                "all"
              ],
              "type": "string"
            }
          },
          {
            "description": "Comma-separated renewal_stage values to hide, read live against the org's declared machine. Empty or none turns it off.",
            "explode": false,
            "in": "query",
            "name": "hide.stage",
            "schema": {
              "description": "Comma-separated renewal_stage values to hide, read live against the org's declared machine. Empty or none turns it off.",
              "type": "string"
            }
          },
          {
            "description": "Comma-separated risk bands to hide: at_risk, watch, steady.",
            "explode": false,
            "in": "query",
            "name": "hide.risk",
            "schema": {
              "description": "Comma-separated risk bands to hide: at_risk, watch, steady.",
              "type": "string"
            }
          },
          {
            "description": "Comma-separated values to hide: producer_closed, a finished term AMS 360 names the person who keyed or worked its live successor for; not_producer_closed, every other row.",
            "explode": false,
            "in": "query",
            "name": "hide.closed_by",
            "schema": {
              "description": "Comma-separated values to hide: producer_closed, a finished term AMS 360 names the person who keyed or worked its live successor for; not_producer_closed, every other row.",
              "type": "string"
            }
          },
          {
            "description": "Narrows the carrier options to values with a word starting each typed word, in any order, ignoring case and accents.",
            "explode": false,
            "in": "query",
            "name": "options_q.carrier",
            "schema": {
              "description": "Narrows the carrier options to values with a word starting each typed word, in any order, ignoring case and accents.",
              "type": "string"
            }
          },
          {
            "description": "Narrows the line options.",
            "explode": false,
            "in": "query",
            "name": "options_q.line",
            "schema": {
              "description": "Narrows the line options.",
              "type": "string"
            }
          },
          {
            "description": "Narrows the office options.",
            "explode": false,
            "in": "query",
            "name": "options_q.office",
            "schema": {
              "description": "Narrows the office options.",
              "type": "string"
            }
          },
          {
            "description": "Narrows the book options.",
            "explode": false,
            "in": "query",
            "name": "options_q.world",
            "schema": {
              "description": "Narrows the book options.",
              "type": "string"
            }
          },
          {
            "description": "detail serves one row's detail beside the page (detail), as getEngineRenewalPlan serves it; it needs account. marks serves the market mark of every carrier the page and its detail name (marks), as getMarketMarks serves them to the caller.",
            "explode": true,
            "in": "query",
            "name": "include",
            "schema": {
              "description": "detail serves one row's detail beside the page (detail), as getEngineRenewalPlan serves it; it needs account. marks serves the market mark of every carrier the page and its detail name (marks), as getMarketMarks serves them to the caller.",
              "items": {
                "enum": [
                  "detail",
                  "marks"
                ],
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "With include=detail: the policy_id of the page row to detail. Absent, the row of the term the account's renewal workspace opens on (in force and expiring soonest) when the page serves it; otherwise, and when the search names a producer or client manager, the first open row, else the first row. A named policy the page does not serve has no detail.",
            "explode": false,
            "in": "query",
            "name": "detail_policy",
            "schema": {
              "description": "With include=detail: the policy_id of the page row to detail. Absent, the row of the term the account's renewal workspace opens on (in force and expiring soonest) when the page serves it; otherwise, and when the search names a producer or client manager, the first open row, else the first row. A named policy the page does not serve has no detail.",
              "type": "string"
            }
          },
          {
            "description": "omit serves the rows without their last step and next step (steps, next_step_args and next_step_due are null, next_step_key, next_step_label and next_status_key are absent, and steps_unread is false), so the page answers without waiting on the steps read. Absent, each row carries its steps.",
            "explode": false,
            "in": "query",
            "name": "steps",
            "schema": {
              "description": "omit serves the rows without their last step and next step (steps, next_step_args and next_step_due are null, next_step_key, next_step_label and next_status_key are absent, and steps_unread is false), so the page answers without waiting on the steps read. Absent, each row carries its steps.",
              "enum": [
                "omit"
              ],
              "type": "string"
            }
          },
          {
            "description": "producer, client_manager or both, comma separated: the owner facets (facets.producer, facets.client_manager), the AMS 360 codes the seat's admitted plan rows name under every view filter, each with its staff name and its renewals, busiest first, counted without that owner selection, capped (facets.producer_truncated, facets.client_manager_truncated say it was cut). A code the staff register does not name is not listed.",
            "explode": false,
            "in": "query",
            "name": "facets",
            "schema": {
              "description": "producer, client_manager or both, comma separated: the owner facets (facets.producer, facets.client_manager), the AMS 360 codes the seat's admitted plan rows name under every view filter, each with its staff name and its renewals, busiest first, counted without that owner selection, capped (facets.producer_truncated, facets.client_manager_truncated say it was cut). A code the staff register does not name is not listed.",
              "type": "string"
            }
          },
          {
            "description": "The page.next_cursor of the page before: the next page of the same read, in the same order, with the rows it held when the cursor was minted. It fixes nothing but the position, so send the same filters and sort; another read's cursor is refused (400 cursor_filter_mismatch), and one from before a new run published is expired (409 cursor_expired). Not with offset.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The page.next_cursor of the page before: the next page of the same read, in the same order, with the rows it held when the cursor was minted. It fixes nothing but the position, so send the same filters and sort; another read's cursor is refused (400 cursor_filter_mismatch), and one from before a new run published is expired (409 cursor_expired). Not with offset.",
              "type": "string"
            }
          },
          {
            "description": "true serves the page's rows and page.next_cursor alone: no total, premium_total, view or facets is read, and the answer says rows_only: true. The rows and their order are the full read's for the same filters.",
            "explode": false,
            "in": "query",
            "name": "rows_only",
            "schema": {
              "description": "true serves the page's rows and page.next_cursor alone: no total, premium_total, view or facets is read, and the answer says rows_only: true. The rows and their order are the full read's for the same filters.",
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "true serves total, premium_total, view and facets alone, with no rows: data is empty, page.next_cursor is absent and the answer says figures_only: true. They match the full read's for the same filters. Not with rows_only, cursor or offset (400).",
            "explode": false,
            "in": "query",
            "name": "figures_only",
            "schema": {
              "description": "true serves total, premium_total, view and facets alone, with no rows: data is empty, page.next_cursor is absent and the answer says figures_only: true. They match the full read's for the same filters. Not with rows_only, cursor or offset (400).",
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "Words that each start a word of an owner's name, or equal an owner's AMS 360 code, in any order, at most 64 characters. It narrows the owner facets' lists (search a list the facet cap cut) and selects no renewal, moves no count and reads under the same admission.",
            "explode": false,
            "in": "query",
            "name": "owner_q",
            "schema": {
              "description": "Words that each start a word of an owner's name, or equal an owner's AMS 360 code, in any order, at most 64 characters. It narrows the owner facets' lists (search a list the facet cap cut) and selects no renewal, moves no count and reads under the same admission.",
              "maxLength": 64,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EngineRenewalPlanEnvelope"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List ranked renewal calls",
        "tags": [
          "Engines"
        ]
      }
    },
    "/engines/{engineSlug}/renewal-plans/search": {
      "post": {
        "description": "GET /engines/{engineSlug}/renewal-plans 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": "listEngineRenewalPlansSearch",
        "parameters": [
          {
            "description": "The person 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 person the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting principal's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting principal's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "Read as another member, for a caller whose seat may.",
            "in": "header",
            "name": "Nexio-Book-Lens",
            "schema": {
              "description": "Read as another member, for a caller whose seat may.",
              "type": "string"
            }
          },
          {
            "description": "The Renewal Plan Engine in the caller's org, by its id or its slug (renewal-plans).",
            "in": "path",
            "name": "engineSlug",
            "required": true,
            "schema": {
              "description": "The Renewal Plan Engine in the caller's org, by its id or its slug (renewal-plans).",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "account": {
                    "description": "An explicit account key; labels the served selection account.",
                    "type": "string"
                  },
                  "bill_method": {
                    "description": "Keeps renewals billed by any of these methods as AMS 360 records them: agency or direct. Repeat the parameter to select both.",
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "book": {
                    "description": "One producer code whose book to read. Not combinable with mine.",
                    "type": "string"
                  },
                  "carrier": {
                    "description": "Keeps renewals with any of these carriers. Repeat the parameter to select several.",
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "client_manager": {
                    "description": "A client manager code, a name key, or me. Repeat the parameter to select several (an OR); ANDs with producer.",
                    "type": "string"
                  },
                  "connection_id": {
                    "type": "string"
                  },
                  "cursor": {
                    "description": "The page.next_cursor of the page before: the next page of the same read, in the same order, with the rows it held when the cursor was minted. It fixes nothing but the position, so send the same filters and sort; another read's cursor is refused (400 cursor_filter_mismatch), and one from before a new run published is expired (409 cursor_expired). Not with offset.",
                    "type": "string"
                  },
                  "detail_policy": {
                    "description": "With include=detail: the policy_id of the page row to detail. Absent, the row of the term the account's renewal workspace opens on (in force and expiring soonest) when the page serves it; otherwise, and when the search names a producer or client manager, the first open row, else the first row. A named policy the page does not serve has no detail.",
                    "type": "string"
                  },
                  "due_within_days": {
                    "description": "Calls due within 1 to 180 days of the run pin.",
                    "type": "string"
                  },
                  "expires_within_days": {
                    "description": "Keeps renewals whose term expires before this many days past the run pin, 0 to 3650; 0 is off.",
                    "type": "string"
                  },
                  "facets": {
                    "description": "producer, client_manager or both, comma separated: the owner facets (facets.producer, facets.client_manager), the AMS 360 codes the seat's admitted plan rows name under every view filter, each with its staff name and its renewals, busiest first, counted without that owner selection, capped (facets.producer_truncated, facets.client_manager_truncated say it was cut). A code the staff register does not name is not listed.",
                    "type": "string"
                  },
                  "figures_only": {
                    "description": "true serves total, premium_total, view and facets alone, with no rows: data is empty, page.next_cursor is absent and the answer says figures_only: true. They match the full read's for the same filters. Not with rows_only, cursor or offset (400).",
                    "enum": [
                      "true",
                      "false"
                    ],
                    "type": "string"
                  },
                  "hide.closed_by": {
                    "description": "Comma-separated values to hide: producer_closed, a finished term AMS 360 names the person who keyed or worked its live successor for; not_producer_closed, every other row.",
                    "type": "string"
                  },
                  "hide.risk": {
                    "description": "Comma-separated risk bands to hide: at_risk, watch, steady.",
                    "type": "string"
                  },
                  "hide.stage": {
                    "description": "Comma-separated renewal_stage values to hide, read live against the org's declared machine. Empty or none turns it off.",
                    "type": "string"
                  },
                  "include": {
                    "description": "detail serves one row's detail beside the page (detail), as getEngineRenewalPlan serves it; it needs account. marks serves the market mark of every carrier the page and its detail name (marks), as getMarketMarks serves them to the caller.",
                    "items": {
                      "enum": [
                        "detail",
                        "marks"
                      ],
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "limit": {
                    "description": "Page size, 1 to 200; default 50.",
                    "type": "string"
                  },
                  "line": {
                    "description": "Keeps renewals on any of these lines, by the source's own wording. Repeat the parameter to select several.",
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "market": {
                    "description": "Keeps renewals of the offices the org units place in this reporting market; all, or none sent, keeps every market. The office options are counted without it, so they list every market's offices.",
                    "type": "string"
                  },
                  "mine": {
                    "description": "true narrows to the acting seat's own book.",
                    "enum": [
                      "true",
                      "false"
                    ],
                    "type": "string"
                  },
                  "office": {
                    "description": "Keeps renewals of any of these offices, by agency code. Repeat the parameter to select several.",
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "offset": {
                    "description": "Rows to skip, 0 to 10000.",
                    "type": "string"
                  },
                  "options_q.carrier": {
                    "description": "Narrows the carrier options to values with a word starting each typed word, in any order, ignoring case and accents.",
                    "type": "string"
                  },
                  "options_q.line": {
                    "description": "Narrows the line options.",
                    "type": "string"
                  },
                  "options_q.office": {
                    "description": "Narrows the office options.",
                    "type": "string"
                  },
                  "options_q.world": {
                    "description": "Narrows the book options.",
                    "type": "string"
                  },
                  "owner_q": {
                    "description": "Words that each start a word of an owner's name, or equal an owner's AMS 360 code, in any order, at most 64 characters. It narrows the owner facets' lists (search a list the facet cap cut) and selects no renewal, moves no count and reads under the same admission.",
                    "maxLength": 64,
                    "type": "string"
                  },
                  "premium_gte": {
                    "description": "Premium floor in whole dollars. A renewal with no premium fails a floor.",
                    "pattern": "^[0-9]{1,12}$",
                    "type": "string"
                  },
                  "producer": {
                    "description": "A producer code, a name key, or me. Repeat the parameter to select several (an OR); a comma is part of a value, never a separator.",
                    "type": "string"
                  },
                  "q": {
                    "description": "Keeps renewals whose account name holds these words (any case, spacing, punctuation and plural ignored), or whose policy number or carrier contains this text.",
                    "type": "string"
                  },
                  "risk": {
                    "description": "Old links: comma-separated bands to keep, read as hide.risk of the others.",
                    "type": "string"
                  },
                  "rows_only": {
                    "description": "true serves the page's rows and page.next_cursor alone: no total, premium_total, view or facets is read, and the answer says rows_only: true. The rows and their order are the full read's for the same filters.",
                    "enum": [
                      "true",
                      "false"
                    ],
                    "type": "string"
                  },
                  "sort": {
                    "description": "rank (the default) is the plan's order; due and expiration are nearest first; premium is smallest first and -premium largest first, a renewal with no premium last either way; producer.name is the producer's name A to Z, each producer's renewals in plan order and a renewal with no producer last.",
                    "enum": [
                      "rank",
                      "due",
                      "expiration",
                      "premium",
                      "-premium",
                      "producer.name"
                    ],
                    "type": "string"
                  },
                  "state": {
                    "description": "open serves open work and is the default; top_quarter serves the open renewals in their owner's top quarter: per owner (the client manager, else the producer) among the open renewals the read admits, the first quarter rounded up, at least one, by commission revenue, a renewal with none after those with some, by premium, or by premium alone for a seat withheld revenue; q and due_within_days narrow the rows shown, never the list ranked; refused with account and on the summary; done serves terms AMS 360 finished or a person closed; all serves both.",
                    "enum": [
                      "open",
                      "top_quarter",
                      "done",
                      "all"
                    ],
                    "type": "string"
                  },
                  "steps": {
                    "description": "omit serves the rows without their last step and next step (steps, next_step_args and next_step_due are null, next_step_key, next_step_label and next_status_key are absent, and steps_unread is false), so the page answers without waiting on the steps read. Absent, each row carries its steps.",
                    "enum": [
                      "omit"
                    ],
                    "type": "string"
                  },
                  "world": {
                    "description": "Keeps renewals in any of these books, by the line class the plan row carries. Repeat the parameter to select several.",
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EngineRenewalPlanEnvelope"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List ranked renewal calls (parameters in the body)",
        "tags": [
          "Engines"
        ]
      }
    },
    "/engines/{engineSlug}/renewal-plans/steps": {
      "get": {
        "description": "A scoped key needs actions:read beside book:read: every plan row is computed from the action ledger (workflow stage and retention outlook), so a key without it is refused with 403 insufficient_capability. The read decides only the named plans for the caller's scope, then reads their last step and next step; it runs no list search.",
        "operationId": "listEngineRenewalPlanSteps",
        "parameters": [
          {
            "description": "The person 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 person the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting principal's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting principal's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "Read as another member, for a caller whose seat may.",
            "in": "header",
            "name": "Nexio-Book-Lens",
            "schema": {
              "description": "Read as another member, for a caller whose seat may.",
              "type": "string"
            }
          },
          {
            "description": "The Renewal Plan Engine in the caller's org, by its id or its slug (renewal-plans).",
            "in": "path",
            "name": "engineSlug",
            "required": true,
            "schema": {
              "description": "The Renewal Plan Engine in the caller's org, by its id or its slug (renewal-plans).",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "connection_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The selection the rows read carried, so the ids are decided under the scope it ran under: true narrows to the acting seat's own book.",
            "explode": false,
            "in": "query",
            "name": "mine",
            "schema": {
              "description": "The selection the rows read carried, so the ids are decided under the scope it ran under: true narrows to the acting seat's own book.",
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "As the rows read: one producer code whose book to read. Not combinable with mine.",
            "explode": false,
            "in": "query",
            "name": "book",
            "schema": {
              "description": "As the rows read: one producer code whose book to read. Not combinable with mine.",
              "type": "string"
            }
          },
          {
            "description": "As the rows read: a producer code, a name key, or me. Repeat to select several.",
            "explode": false,
            "in": "query",
            "name": "producer",
            "schema": {
              "description": "As the rows read: a producer code, a name key, or me. Repeat to select several.",
              "type": "string"
            }
          },
          {
            "description": "As the rows read: a client manager code, a name key, or me. Repeat to select several.",
            "explode": false,
            "in": "query",
            "name": "client_manager",
            "schema": {
              "description": "As the rows read: a client manager code, a name key, or me. Repeat to select several.",
              "type": "string"
            }
          },
          {
            "description": "The plan rows to read the steps of, 1 to 200, as the list read served them (plan_id). Repeat the parameter to name several. Each must be an active plan in the caller's scope; one that is not refuses the read with 404, so a caller never learns which.",
            "explode": true,
            "in": "query",
            "name": "plan_id",
            "schema": {
              "description": "The plan rows to read the steps of, 1 to 200, as the list read served them (plan_id). Repeat the parameter to name several. Each must be an active plan in the caller's scope; one that is not refuses the read with 404, so a caller never learns which.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EngineRenewalPlanStepsEnvelope"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Read the steps of renewal calls",
        "tags": [
          "Engines"
        ]
      }
    },
    "/engines/{engineSlug}/renewal-plans/{planID}": {
      "get": {
        "description": "A scoped key needs actions:read beside book:read: every plan row is computed from the action ledger (workflow stage and retention outlook), so a key without it is refused with 403 insufficient_capability.",
        "operationId": "getEngineRenewalPlan",
        "parameters": [
          {
            "description": "The person 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 person the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting principal's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting principal's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "Read as another member, for a caller whose seat may.",
            "in": "header",
            "name": "Nexio-Book-Lens",
            "schema": {
              "description": "Read as another member, for a caller whose seat may.",
              "type": "string"
            }
          },
          {
            "description": "The Renewal Plan Engine in the caller's org, by its id or its slug (renewal-plans).",
            "in": "path",
            "name": "engineSlug",
            "required": true,
            "schema": {
              "description": "The Renewal Plan Engine in the caller's org, by its id or its slug (renewal-plans).",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "planID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "connection_id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EngineRenewalPlanDetail"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Read one renewal call",
        "tags": [
          "Engines"
        ]
      }
    },
    "/engines/{engineSlug}/runs": {
      "post": {
        "description": "Admits a run of the engine and queues it. Poll GET /runs/{runID} or subscribe to the run webhooks for the answer. Send the caller's input (requires runs:write and, for a scoped key, a binding to the engine), or a subject for an engine whose submission the platform assembles: today the Commercial Risk Profile engine, with subject {collection: accounts, id}. A subject launch of an account in the book requires book:read and runs:write and is refused under the book lens; one of an account added in the Workbench is reserved for the org's own key. A subject launch answers 202 with the run and Location: /runs/{id}, or 200 with existing: true when it joined a run already working on the account. Any other engine answers a subject 422 subject_not_accepted.",
        "operationId": "submitRun",
        "parameters": [
          {
            "description": "The engine's slug, unique in the caller's org.",
            "in": "path",
            "name": "engineSlug",
            "required": true,
            "schema": {
              "description": "The engine's slug, unique in the caller's org.",
              "type": "string"
            }
          },
          {
            "description": "Optional, at most 255 characters. A repeat with the same key and body answers the first run.",
            "in": "header",
            "name": "Idempotency-Key",
            "schema": {
              "description": "Optional, at most 255 characters. A repeat with the same key and body answers the first run.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "description": "Exactly one of: the caller's input (SubmitRunRequest), or a subject (SubmitRunSubjectRequest) for an engine whose submission the platform assembles. A body with a subject and any input field is 400 invalid_request.",
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SubmitRunRequest"
                  },
                  {
                    "$ref": "#/components/schemas/SubmitRunSubjectRequest"
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubmitRunResponse"
                }
              }
            },
            "description": "OK"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubmitRunResponse"
                }
              }
            },
            "description": "Accepted"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Submit a run",
        "tags": [
          "Runs"
        ]
      }
    },
    "/engines/{engineSlug}/runs/by-key": {
      "get": {
        "description": "Reads the current principal's own Run id and status for an idempotency key, in the authenticated org and environment. Creates no Run. Read the output through GET /runs/{runID}.",
        "operationId": "getRunByKey",
        "parameters": [
          {
            "in": "path",
            "name": "engineSlug",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "idempotency_key",
            "required": true,
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          },
          {
            "description": "The pipeline step whose run to find. Required on a pipeline engine that declares no output step.",
            "explode": false,
            "in": "query",
            "name": "step",
            "schema": {
              "description": "The pipeline step whose run to find. Required on a pipeline engine that declares no output step.",
              "maxLength": 40,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RunByKeyResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Find a Run by its submission key",
        "tags": [
          "Runs"
        ]
      }
    },
    "/engines/{engineSlug}/runs/latest": {
      "get": {
        "description": "The newest completed run of the engine for the subject its type declares. Submits nothing. Requires runs:read.",
        "operationId": "getLatestRun",
        "parameters": [
          {
            "description": "The engine's slug, unique in the caller's org.",
            "in": "path",
            "name": "engineSlug",
            "required": true,
            "schema": {
              "description": "The engine's slug, unique in the caller's org.",
              "type": "string"
            }
          },
          {
            "description": "The subject account, for an engine whose subject is an account.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "The subject account, for an engine whose subject is an account.",
              "type": "string"
            }
          },
          {
            "description": "The subject submission, for an engine whose subject is a submission.",
            "explode": false,
            "in": "query",
            "name": "submission_id",
            "schema": {
              "description": "The subject submission, for an engine whose subject is a submission.",
              "type": "string"
            }
          },
          {
            "description": "The subject class, for an engine whose subject is a class.",
            "explode": false,
            "in": "query",
            "name": "naics_code",
            "schema": {
              "description": "The subject class, for an engine whose subject is a class.",
              "type": "string"
            }
          },
          {
            "description": "A two-letter state with naics_code, for a class written per state.",
            "explode": false,
            "in": "query",
            "name": "state",
            "schema": {
              "description": "A two-letter state with naics_code, for a class written per state.",
              "type": "string"
            }
          },
          {
            "description": "The pipeline step whose runs to read. Required on a pipeline engine that declares no output step.",
            "explode": false,
            "in": "query",
            "name": "step",
            "schema": {
              "description": "The pipeline step whose runs to read. Required on a pipeline engine that declares no output step.",
              "maxLength": 40,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LatestRunResult"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Get the latest run for a subject",
        "tags": [
          "Runs"
        ]
      }
    },
    "/engines/{engineSlug}/runs/latest/batch": {
      "post": {
        "description": "The latest-run read for 1 to 100 subjects in one request; a subject with no run answers found false in its place. A read under POST: it submits nothing. Requires runs:read.",
        "operationId": "getLatestRunsBatch",
        "parameters": [
          {
            "description": "The engine's slug, unique in the caller's org.",
            "in": "path",
            "name": "engineSlug",
            "required": true,
            "schema": {
              "description": "The engine's slug, unique in the caller's org.",
              "type": "string"
            }
          },
          {
            "description": "The pipeline step whose runs to read. Required on a pipeline engine that declares no output step.",
            "explode": false,
            "in": "query",
            "name": "step",
            "schema": {
              "description": "The pipeline step whose runs to read. Required on a pipeline engine that declares no output step.",
              "maxLength": 40,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LatestRunBatchRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LatestRunBatchResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Get the latest runs for many subjects",
        "tags": [
          "Runs"
        ]
      }
    },
    "/engines/{engineSlug}/runs/{runID}/annotations": {
      "post": {
        "description": "Attaches a rating and a comment to a run in the caller's org. Requires runs:write.",
        "operationId": "createRunAnnotation",
        "parameters": [
          {
            "description": "The engine's slug, unique in the caller's org.",
            "in": "path",
            "name": "engineSlug",
            "required": true,
            "schema": {
              "description": "The engine's slug, unique in the caller's org.",
              "type": "string"
            }
          },
          {
            "description": "The run's id (a UUID).",
            "in": "path",
            "name": "runID",
            "required": true,
            "schema": {
              "description": "The run's id (a UUID).",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AnnotationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Annotation"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Annotate a run",
        "tags": [
          "Runs"
        ]
      }
    },
    "/engines/{engineSlug}/runs/{runID}/composed-placement": {
      "post": {
        "description": "Scores a placement of the run with seats the caller moved, on the run's own axes. A read under POST: it persists nothing. Requires runs:read.",
        "operationId": "composeRunPlacement",
        "parameters": [
          {
            "description": "The engine's slug, unique in the caller's org.",
            "in": "path",
            "name": "engineSlug",
            "required": true,
            "schema": {
              "description": "The engine's slug, unique in the caller's org.",
              "type": "string"
            }
          },
          {
            "description": "The run's id (a UUID).",
            "in": "path",
            "name": "runID",
            "required": true,
            "schema": {
              "description": "The run's id (a UUID).",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ComposedPlacementRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ComposedPlacementResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Score a composed placement",
        "tags": [
          "Runs"
        ]
      }
    },
    "/engines/{engineSlug}/runs/{runID}/eligible-pool": {
      "get": {
        "description": "The offerings the run qualified for one line, slot by slot. A run whose engine wrote no pool answers basis not_emitted with no slots. Requires runs:read.",
        "operationId": "getRunEligiblePool",
        "parameters": [
          {
            "description": "The engine's slug, unique in the caller's org.",
            "in": "path",
            "name": "engineSlug",
            "required": true,
            "schema": {
              "description": "The engine's slug, unique in the caller's org.",
              "type": "string"
            }
          },
          {
            "description": "The run's id (a UUID).",
            "in": "path",
            "name": "runID",
            "required": true,
            "schema": {
              "description": "The run's id (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "Required. The line whose slots to read; the pool is read one line at a time.",
            "explode": false,
            "in": "query",
            "name": "line",
            "schema": {
              "description": "Required. The line whose slots to read; the pool is read one line at a time.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EligiblePoolResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Get a run's eligible pool for one line",
        "tags": [
          "Runs"
        ]
      }
    },
    "/engines/{engineSlug}/runs/{runID}/outcomes": {
      "post": {
        "description": "Records what happened after the run (viewed, accepted, overridden, a placement outcome). event_id makes the write idempotent: a replay answers 200, a reuse for a different event 409. Requires runs:write.",
        "operationId": "submitRunOutcome",
        "parameters": [
          {
            "description": "The engine's slug, unique in the caller's org.",
            "in": "path",
            "name": "engineSlug",
            "required": true,
            "schema": {
              "description": "The engine's slug, unique in the caller's org.",
              "type": "string"
            }
          },
          {
            "description": "The run's id (a UUID).",
            "in": "path",
            "name": "runID",
            "required": true,
            "schema": {
              "description": "The run's id (a UUID).",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OutcomeRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutcomeRecorded"
                }
              }
            },
            "description": "OK"
          },
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutcomeRecorded"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Record a run outcome",
        "tags": [
          "Runs"
        ]
      }
    },
    "/engines/{engineSlug}/runs/{runID}/subject": {
      "get": {
        "description": "The subject the run was recorded against. It grants no access to the subject itself. Requires runs:read.",
        "operationId": "getRunSubject",
        "parameters": [
          {
            "description": "The engine's slug, unique in the caller's org.",
            "in": "path",
            "name": "engineSlug",
            "required": true,
            "schema": {
              "description": "The engine's slug, unique in the caller's org.",
              "type": "string"
            }
          },
          {
            "description": "The run's id (a UUID).",
            "in": "path",
            "name": "runID",
            "required": true,
            "schema": {
              "description": "The run's id (a UUID).",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlacementRunSubjectResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Get a run's recorded subject",
        "tags": [
          "Runs"
        ]
      }
    },
    "/engines/{engineSlug}/steps": {
      "get": {
        "description": "The draft's steps in order, each with its config, config_schema (JSON Schema 2020-12), input and output schemas and config_hash, and the draft config_hash. An Engine without steps answers one step, main. Requires engines:read.",
        "operationId": "getEngineSteps",
        "parameters": [
          {
            "description": "The engine's slug, unique in the caller's org.",
            "in": "path",
            "name": "engineSlug",
            "required": true,
            "schema": {
              "description": "The engine's slug, unique in the caller's org.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EngineStepsResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Get an engine's steps",
        "tags": [
          "Engines"
        ]
      }
    },
    "/engines/{engineSlug}/steps/{step}": {
      "patch": {
        "description": "Replaces one step's config, and on a pipeline step its label, in the draft when If-Match names that step's config_hash. Other steps keep their config. Requires engines:edit and a key bound to the engine.",
        "operationId": "patchEngineStep",
        "parameters": [
          {
            "description": "The engine's slug, unique in the caller's org.",
            "in": "path",
            "name": "engineSlug",
            "required": true,
            "schema": {
              "description": "The engine's slug, unique in the caller's org.",
              "type": "string"
            }
          },
          {
            "description": "A step id from GET /engines/{engineSlug}/steps; main on an Engine without steps.",
            "in": "path",
            "name": "step",
            "required": true,
            "schema": {
              "description": "A step id from GET /engines/{engineSlug}/steps; main on an Engine without steps.",
              "type": "string"
            }
          },
          {
            "description": "The step's config_hash from GET /engines/{engineSlug}/steps. Missing answers 428; stale answers 412 draft_changed.",
            "in": "header",
            "name": "If-Match",
            "schema": {
              "description": "The step's config_hash from GET /engines/{engineSlug}/steps. Missing answers 428; stale answers 412 draft_changed.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchStepRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PatchStepResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "412": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Precondition Failed"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "428": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Precondition Required"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Edit one step",
        "tags": [
          "Engines"
        ]
      }
    },
    "/engines/{engineSlug}/versions": {
      "get": {
        "description": "The engine's released versions, newest first. Requires engines:read.",
        "operationId": "listEngineVersions",
        "parameters": [
          {
            "description": "The engine's slug, unique in the caller's org.",
            "in": "path",
            "name": "engineSlug",
            "required": true,
            "schema": {
              "description": "The engine's slug, unique in the caller's org.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EngineVersionsListResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List an engine's versions",
        "tags": [
          "Engines"
        ]
      },
      "post": {
        "description": "Releases the engine's live config as an immutable version. The platform classifies the bump; publishing an unchanged config answers the current version with already_released true. expected_config_hash must name the draft POST /engines/{engineSlug}/versions/preview described: missing answers 428, stale answers 412 draft_changed. Requires engines:publish.",
        "operationId": "publishEngineVersion",
        "parameters": [
          {
            "description": "The engine's slug, unique in the caller's org.",
            "in": "path",
            "name": "engineSlug",
            "required": true,
            "schema": {
              "description": "The engine's slug, unique in the caller's org.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PublicPublishVersionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicPublishVersionResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "412": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Precondition Failed"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "428": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Precondition Required"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Publish an engine version",
        "tags": [
          "Engines"
        ]
      }
    },
    "/engines/{engineSlug}/versions/preview": {
      "post": {
        "description": "The version a publish of the draft would make, the reasons for its bump, what blocks it, and the config_hash a publish must send. Writes nothing. Requires engines:edit.",
        "operationId": "previewEngineVersion",
        "parameters": [
          {
            "description": "The engine's slug, unique in the caller's org.",
            "in": "path",
            "name": "engineSlug",
            "required": true,
            "schema": {
              "description": "The engine's slug, unique in the caller's org.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PreviewVersionResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Preview a publish",
        "tags": [
          "Engines"
        ]
      }
    },
    "/engines/{engineSlug}/versions/{version}": {
      "get": {
        "description": "One released version of the engine with its config. Requires engines:read.",
        "operationId": "getEngineVersion",
        "parameters": [
          {
            "description": "The engine's slug, unique in the caller's org.",
            "in": "path",
            "name": "engineSlug",
            "required": true,
            "schema": {
              "description": "The engine's slug, unique in the caller's org.",
              "type": "string"
            }
          },
          {
            "description": "A released version as major.minor (1.0). Three-tier semver and a bare major are refused.",
            "in": "path",
            "name": "version",
            "required": true,
            "schema": {
              "description": "A released version as major.minor (1.0). Three-tier semver and a bare major are refused.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EngineVersionDetailResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Get an engine version",
        "tags": [
          "Engines"
        ]
      }
    },
    "/engines/{engineSlug}/versions/{version}/restore": {
      "post": {
        "description": "Copies a released version's config into the draft when If-Match names the current config_hash. Publishing the restored draft makes a new version. Requires engines:edit and a key bound to the engine.",
        "operationId": "restoreEngineVersion",
        "parameters": [
          {
            "description": "The engine's slug, unique in the caller's org.",
            "in": "path",
            "name": "engineSlug",
            "required": true,
            "schema": {
              "description": "The engine's slug, unique in the caller's org.",
              "type": "string"
            }
          },
          {
            "description": "A released version as major.minor (1.0), or released for the latest release.",
            "in": "path",
            "name": "version",
            "required": true,
            "schema": {
              "description": "A released version as major.minor (1.0), or released for the latest release.",
              "type": "string"
            }
          },
          {
            "description": "The draft config_hash the caller read. Missing answers 428; stale answers 412 draft_changed.",
            "in": "header",
            "name": "If-Match",
            "schema": {
              "description": "The draft config_hash the caller read. Missing answers 428; stale answers 412 draft_changed.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RestoreVersionResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "412": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Precondition Failed"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "428": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Precondition Required"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Restore a version into the draft",
        "tags": [
          "Engines"
        ]
      }
    },
    "/events": {
      "get": {
        "description": "The events on the activity feed the seat may read, newest first, each filter applied before the page.",
        "operationId": "listEvents",
        "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": "Events one app appended.",
            "explode": false,
            "in": "query",
            "name": "app",
            "schema": {
              "description": "Events one app appended.",
              "type": "string"
            }
          },
          {
            "description": "Events on this account (its Records id or bk1_ key).",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "Events on this account (its Records id or bk1_ key).",
              "type": "string"
            }
          },
          {
            "description": "Events that name this run.",
            "explode": false,
            "in": "query",
            "name": "run_id",
            "schema": {
              "description": "Events that name this run.",
              "type": "string"
            }
          },
          {
            "description": "Events on this policy.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "schema": {
              "description": "Events on this policy.",
              "type": "string"
            }
          },
          {
            "description": "Events on this submission.",
            "explode": false,
            "in": "query",
            "name": "submission_id",
            "schema": {
              "description": "Events on this submission.",
              "type": "string"
            }
          },
          {
            "description": "Events of these types, repeatable or comma-separated.",
            "explode": true,
            "in": "query",
            "name": "event_type",
            "schema": {
              "description": "Events of these types, repeatable or comma-separated.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Events that occurred at or after this RFC 3339 instant.",
            "explode": false,
            "in": "query",
            "name": "since",
            "schema": {
              "description": "Events that occurred at or after this RFC 3339 instant.",
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the count of all events the filters match under the seat's owner scope, independent of the cursor. Not combined with run_id.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the count of all events the filters match under the seat's owner scope, independent of the cursor. Not combined with run_id.",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListWorkbenchEvent"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "List events",
        "tags": [
          "events"
        ]
      },
      "post": {
        "description": "Appends a batch of events to the activity feed. Each event id is idempotent: the same input replays, other input under a used id is a 422 IDEMPOTENCY_KEY_PAYLOAD_MISMATCH. A caller that honors the platform's rule owner stamp sends X-Rule-Owner-Aware: 1.",
        "operationId": "appendEvents",
        "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": "Send 1 when the caller honors platform-owned event reactions.",
            "in": "header",
            "name": "X-Rule-Owner-Aware",
            "schema": {
              "description": "Send 1 when the caller honors platform-owned event reactions.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkbenchEventBatchJSON"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkbenchEventBatchResult"
                }
              }
            },
            "description": "OK"
          },
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkbenchEventBatchResult"
                }
              }
            },
            "description": "Created"
          },
          "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"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Append events",
        "tags": [
          "events"
        ]
      }
    },
    "/events/dispatches/count": {
      "get": {
        "description": "Returns the organization's admitted costed dispatches since the given time, by default since the start of the UTC day. Refused to scoped keys.",
        "operationId": "countCostedDispatches",
        "parameters": [
          {
            "description": "RFC 3339 timestamp; defaults to the start of the UTC day.",
            "explode": false,
            "in": "query",
            "name": "since",
            "schema": {
              "description": "RFC 3339 timestamp; defaults to the start of the UTC day.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CostedDispatchCount"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Count costed dispatches since a time",
        "tags": [
          "Events"
        ]
      }
    },
    "/events/placement-launches": {
      "get": {
        "description": "The account's placement launch markers, newest first, each with the payload of the event that carried it. Name exactly one of account_id, launch_tool_call_id or run_id. The platform applies the caller's owner scope before it cuts the page.",
        "operationId": "listPlacementLaunches",
        "parameters": [
          {
            "description": "The app that owns the events. Required.",
            "explode": false,
            "in": "query",
            "name": "app",
            "schema": {
              "description": "The app that owns the events. Required.",
              "type": "string"
            }
          },
          {
            "description": "The account whose launch markers to read. Name exactly one of account_id, launch_tool_call_id or run_id.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "The account whose launch markers to read. Name exactly one of account_id, launch_tool_call_id or run_id.",
              "type": "string"
            }
          },
          {
            "description": "The placement.run tool call whose markers to read, the caller's own only.",
            "explode": false,
            "in": "query",
            "name": "launch_tool_call_id",
            "schema": {
              "description": "The placement.run tool call whose markers to read, the caller's own only.",
              "type": "string"
            }
          },
          {
            "description": "The engine run whose launch markers to read, by exact run id. With since.",
            "explode": false,
            "in": "query",
            "name": "run_id",
            "schema": {
              "description": "The engine run whose launch markers to read, by exact run id. With since.",
              "type": "string"
            }
          },
          {
            "description": "With run_id: the engine kinds to match (cre_recommend by default); repeat for several, at most 8.",
            "explode": true,
            "in": "query",
            "name": "engine_kind",
            "schema": {
              "description": "With run_id: the engine kinds to match (cre_recommend by default); repeat for several, at most 8.",
              "items": {
                "type": "string"
              },
              "maxItems": 8,
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "An RFC 3339 timestamp. Optional with launch_tool_call_id or run_id: absent reads the last 30 days, and an earlier value is raised to 30 days back.",
            "explode": false,
            "in": "query",
            "name": "since",
            "schema": {
              "description": "An RFC 3339 timestamp. Optional with launch_tool_call_id or run_id: absent reads the last 30 days, and an earlier value is raised to 30 days back.",
              "type": "string"
            }
          },
          {
            "description": "Page size, an integer; 50 by default, at most 200.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size, an integer; 50 by default, at most 200.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlacementLaunchesBody"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List an account's placement launches",
        "tags": [
          "Events"
        ]
      }
    },
    "/events/stream": {
      "get": {
        "description": "The realtime notices of the token's org that its principal may read, as server-sent events. Each message's id is the resume cursor (send it back as Last-Event-ID), its event line the notice's event name, its data one ChangeFrame. On the org topic a notice about an account reaches only a seat that can open the account, and a notice about no account only when its event is org-wide. A Last-Event-ID older than the stream's retained window answers one resync frame first: refetch what the page shows. `: ka` comes every 15 s; `: end` closes the window at the token's expiry or when the server restarts, after which the reader mints a new token and reconnects with Last-Event-ID. Browsers on an allowed origin may call it directly (CORS).",
        "operationId": "streamEvents",
        "parameters": [
          {
            "description": "Resume after this frame id (&lt;ms&gt;-&lt;seq&gt;, an id this stream sent). When absent, Last-Event-ID is used; when both are absent the stream starts at the live tail.",
            "explode": false,
            "in": "query",
            "name": "after",
            "schema": {
              "description": "Resume after this frame id (&lt;ms&gt;-&lt;seq&gt;, an id this stream sent). When absent, Last-Event-ID is used; when both are absent the stream starts at the live tail.",
              "type": "string"
            }
          },
          {
            "description": "The id of the last frame the reader applied. Read only when after is absent.",
            "in": "header",
            "name": "Last-Event-ID",
            "schema": {
              "description": "The id of the last frame the reader applied. Read only when after is absent.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "text/event-stream": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeFrame"
                }
              }
            },
            "description": "An event stream. Each message carries id (the resume cursor), event (the frame type) and data (one ChangeFrame as JSON). `: ka` comments keep an idle stream open; a final `: end` comment closes the server's window, after which the reader resubscribes with after= its last id if it needs more."
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Stream the org's change notices",
        "tags": [
          "Events"
        ]
      }
    },
    "/events/stream-tokens": {
      "post": {
        "description": "A 10-minute, read-only token for GET /events/stream, for this org and the acting principal (Nexio-Act-As; in View as, the target, with the operator checked again on every connect). The org topic needs an active seat: a pending or refused seat answers 403 seat_required. Run and record topics need no seat; the app checks ownership finer than the org before it mints. Server to server: browsers never call it.",
        "operationId": "createEventsStreamToken",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EventsStreamTokenRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventsStreamToken"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Mint a stream token",
        "tags": [
          "Events"
        ]
      }
    },
    "/feedback/assistant": {
      "post": {
        "description": "File the Assistant's feedback on its turn",
        "operationId": "createAssistantFeedback",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssistantFeedbackRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkbenchContractListResponseAssistantFeedbackRow"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "File the Assistant's feedback on its turn",
        "tags": [
          "Feedback"
        ]
      }
    },
    "/feedback/placement": {
      "post": {
        "description": "Record placement feedback",
        "operationId": "createPlacementFeedback",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PlacementFeedbackRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkbenchContractListResponsePlacementFeedbackRow"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Record placement feedback",
        "tags": [
          "Feedback"
        ]
      }
    },
    "/graph": {
      "get": {
        "description": "Returns the data graph: Connections, the datasets read or written on them, Records families, Engines and surfaces, with each observed or declared read and write over the last 30 days. Requires graph:read and a live key.",
        "operationId": "getDataGraph",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataGraph"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Read the organization's data graph",
        "tags": [
          "Graph"
        ]
      }
    },
    "/graph/{nodeType}": {
      "get": {
        "description": "Returns every node of the type in the organization's data graph. Requires graph:read and a live key.",
        "operationId": "listDataGraphNodes",
        "parameters": [
          {
            "description": "A node kind: connection, dataset, family, engine or surface.",
            "in": "path",
            "name": "nodeType",
            "required": true,
            "schema": {
              "description": "A node kind: connection, dataset, family, engine or surface.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataGraphNodes"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List the graph's nodes of one type",
        "tags": [
          "Graph"
        ]
      }
    },
    "/graph/{nodeType}/{nodeKey}": {
      "get": {
        "description": "Returns one node with its edges. Requires graph:read and a live key.",
        "operationId": "getDataGraphNode",
        "parameters": [
          {
            "description": "A node kind: connection, dataset, family, engine or surface.",
            "in": "path",
            "name": "nodeType",
            "required": true,
            "schema": {
              "description": "A node kind: connection, dataset, family, engine or surface.",
              "type": "string"
            }
          },
          {
            "description": "The node key after its kind prefix.",
            "in": "path",
            "name": "nodeKey",
            "required": true,
            "schema": {
              "description": "The node key after its kind prefix.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataGraphNode"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Read one graph node",
        "tags": [
          "Graph"
        ]
      }
    },
    "/records": {
      "get": {
        "description": "One document for the calling org and acting seat: every family of the org's set the seat may read or write, with the JSON Schema of one row (the published family schema, keyed by x-records-family, without the properties whose field class the seat is denied) and the Records operations that serve it; plus the family-independent Records operations (the action ledger, a write's operation). Filtered by Access exactly as a call is. Reads no rows.",
        "operationId": "listRecords",
        "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"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRecordsDiscovery"
                }
              }
            },
            "description": "OK"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Records discovery: the families and operations this seat may use",
        "tags": [
          "records"
        ]
      }
    },
    "/records/accidents-and-violations": {
      "get": {
        "description": "Views: list. Source admission, field projection and continuation remain authoritative. Source parent keys are opaque references.",
        "operationId": "listRiskDetailView16",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read accidents-and-violations",
        "tags": [
          "loss_history"
        ]
      }
    },
    "/records/account-claims": {
      "get": {
        "description": "An account's claims (list), each read in full by its id (record), or the claim records as the reporting feed holds them (ledger). Views: list, ledger, record. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listAccountClaimRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped account id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped account id required before any source read.",
              "type": "string"
            }
          },
          {
            "description": "The requested business projection.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "default": "list",
              "description": "The requested business projection.",
              "enum": [
                "list",
                "ledger",
                "record"
              ],
              "type": "string"
            }
          },
          {
            "description": "One claim's native id (record). Unset reads each of the account's claims; an account with more than eight refuses: name one.",
            "explode": false,
            "in": "query",
            "name": "claim_id",
            "schema": {
              "description": "One claim's native id (record). Unset reads each of the account's claims; an account with more than eight refuses: name one.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List an account's claims",
        "tags": [
          "claims"
        ]
      }
    },
    "/records/account-contact-methods": {
      "get": {
        "description": "Views: list. Source admission, field projection and continuation remain authoritative. Source parent keys are opaque references.",
        "operationId": "listAccountDetailView5",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped account id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped account id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read account-contact-methods",
        "tags": [
          "customer_contacts"
        ]
      }
    },
    "/records/account-duplicates": {
      "get": {
        "description": "Pairs of live, active AMS 360 client records in one AMS 360 instance that look like one client: the same entity name at the same first street line and five-digit ZIP, in a match of at most 5 records (a name and street on more records, or a street line with no number in it, is a placeholder and pairs none). Both records of every pair are ones the seat can open. Each pair names the fields its records share. Pairs order by the record's client name, then AMS 360 instance and record ids. A read only: nothing is merged or marked, and the records stay as AMS 360 holds them; a merge is done in AMS 360.",
        "operationId": "listAccountDuplicates",
        "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": "Rows to skip, register views only: at most 1000000, not with cursor. A later page continues with page.next.",
            "explode": false,
            "in": "query",
            "name": "offset",
            "schema": {
              "description": "Rows to skip, register views only: at most 1000000, not with cursor. A later page continues with page.next.",
              "format": "int64",
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "Keeps the pairs that hold this account, named by its Records account id in either spelling; the account is record on each pair. Absent: every likely duplicate pair the seat can open.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "Keeps the pairs that hold this account, named by its Records account id in either spelling; the account is record on each pair. Absent: every likely duplicate pair the seat can open.",
              "type": "string"
            }
          },
          {
            "description": "Page size. Defaults to 25, at most 200.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25, at most 200.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListAccountDuplicate"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Likely duplicate client records the acting seat can open",
        "tags": [
          "customer"
        ]
      }
    },
    "/records/account-phone-matches": {
      "get": {
        "description": "Views: list. Source admission, field projection and continuation remain authoritative. Source parent keys are opaque references.",
        "operationId": "listAccountDetailView2",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped account id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped account id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read account-phone-matches",
        "tags": [
          "customer"
        ]
      }
    },
    "/records/account-suspenses": {
      "get": {
        "description": "An account's suspenses, each read in full by its id. Views: record. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listAccountSuspenseRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped account id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped account id required before any source read.",
              "type": "string"
            }
          },
          {
            "description": "One suspense's native id (its source_key id). Unset reads each of the account's suspenses one by one, and an account with more than eight refuses: name one.",
            "explode": false,
            "in": "query",
            "name": "suspense_id",
            "schema": {
              "description": "One suspense's native id (its source_key id). Unset reads each of the account's suspenses one by one, and an account with more than eight refuses: name one.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read account suspenses one by one",
        "tags": [
          "suspenses"
        ]
      }
    },
    "/records/accounts": {
      "get": {
        "description": "One cursor page of accounts the acting seat may read, narrowed by the subject and the filters. id[in] answers membership: an id the subject cannot read is absent.",
        "operationId": "listAccounts",
        "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": "Page size. Defaults to 25. The maximum is 200 for basic and 100 for full. Larger values are coerced to the view maximum with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25. The maximum is 200 for basic and 100 for full. Larger values are coerced to the view maximum with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "view=full. true reads the page's rows and page.next alone, and the answer says so with rows_only: true. facets and view are absent, never 0: the read does not count them. Not with facets unless with include_total (400 ROWS_ONLY_WITH_FIGURES). With include_total, and rollups=register and facets beside it, a first page also asks for total and rollups.register's accounts and slice from the rows' own statement: a warehouse page counts them in that one statement, and a page whose source counts none answers them in unreachable (no_aggregate), which figures_only then reads. A first page whose own read decided the seat's whole book, under a list row that reads its figures from the same source, also serves total, the named facets, view and all of rollups.register (accounts, attention, slice, book, definition) from that same decision, as figures_only serves them, with no second request; own_book stays figures_only's. That takes no cursor, offset, id[in], class_id or other rollup, and rollups needs include_total (400 ROWS_ONLY_WITH_FIGURES). Without include_total, total and rollups are absent. A cursor does not carry it: send it on every page of a rows-only list.",
            "explode": false,
            "in": "query",
            "name": "rows_only",
            "schema": {
              "description": "view=full. true reads the page's rows and page.next alone, and the answer says so with rows_only: true. facets and view are absent, never 0: the read does not count them. Not with facets unless with include_total (400 ROWS_ONLY_WITH_FIGURES). With include_total, and rollups=register and facets beside it, a first page also asks for total and rollups.register's accounts and slice from the rows' own statement: a warehouse page counts them in that one statement, and a page whose source counts none answers them in unreachable (no_aggregate), which figures_only then reads. A first page whose own read decided the seat's whole book, under a list row that reads its figures from the same source, also serves total, the named facets, view and all of rollups.register (accounts, attention, slice, book, definition) from that same decision, as figures_only serves them, with no second request; own_book stays figures_only's. That takes no cursor, offset, id[in], class_id or other rollup, and rollups needs include_total (400 ROWS_ONLY_WITH_FIGURES). Without include_total, total and rollups are absent. A cursor does not carry it: send it on every page of a rows-only list.",
              "type": "boolean"
            }
          },
          {
            "description": "view=full. true reads the figures alone, with no rows. total (with include_total), facets, view and rollups each match the full read's for the same filters; data is empty, page.next is absent and the answer says figures_only: true. No page statement runs. Not with rows_only, cursor, offset or id[in] (400 FIGURES_ONLY_WITH_ROWS).",
            "explode": false,
            "in": "query",
            "name": "figures_only",
            "schema": {
              "description": "view=full. true reads the figures alone, with no rows. total (with include_total), facets, view and rollups each match the full read's for the same filters; data is empty, page.next is absent and the answer says figures_only: true. No page statement runs. Not with rows_only, cursor, offset or id[in] (400 FIGURES_ONLY_WITH_ROWS).",
              "type": "boolean"
            }
          },
          {
            "description": "Rows to skip, register views only: at most 1000000, not with cursor. A later page continues with page.next.",
            "explode": false,
            "in": "query",
            "name": "offset",
            "schema": {
              "description": "Rows to skip, register views only: at most 1000000, not with cursor. A later page continues with page.next.",
              "format": "int64",
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "basic (default): the client record; full: plus its policy figures. basic: the client record, the roster read. full: the client record plus what the account's policies derive (status, world, premium, x-date, owners), the register read. finder: the account finder, a name search over the client name, its DBA and its named insureds (q), ordered by name, with name_key and name_exact on each row; it reads q, subject, limit (at most 100), cursor and include_total.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "description": "basic (default): the client record; full: plus its policy figures. basic: the client record, the roster read. full: the client record plus what the account's policies derive (status, world, premium, x-date, owners), the register read. finder: the account finder, a name search over the client name, its DBA and its named insureds (q), ordered by name, with name_key and name_exact on each row; it reads q, subject, limit (at most 100), cursor and include_total.",
              "enum": [
                "basic",
                "full",
                "finder"
              ],
              "type": "string"
            }
          },
          {
            "description": "view=finder. Name to search. Absent lists the seat accounts by name.",
            "explode": false,
            "in": "query",
            "name": "q",
            "schema": {
              "description": "view=finder. Name to search. Absent lists the seat accounts by name.",
              "type": "string"
            }
          },
          {
            "description": "view=basic and view=full. Only these accounts: comma-separated account ids, at most 200 (in the search form's body, a JSON array or one comma-joined string). An id the subject cannot read is absent from the answer.",
            "explode": false,
            "in": "query",
            "name": "id[in]",
            "schema": {
              "description": "view=basic and view=full. Only these accounts: comma-separated account ids, at most 200 (in the search form's body, a JSON array or one comma-joined string). An id the subject cannot read is absent from the answer.",
              "items": {
                "type": "string"
              },
              "maxItems": 200,
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "view=basic. Client names to resolve, the parameter repeated once per name, at most 200 names of at most 200 characters. Each is matched by its entity-name key (name_key) against the account's client name, and answered in names as matched (one account), ambiguous (the candidate accounts) or unmatched; the data rows are those accounts. One page that holds every candidate, whatever the limit: no cursor, client_name[prefix] or facets. An account the subject cannot read is never a candidate.",
            "explode": true,
            "in": "query",
            "name": "client_name[in]",
            "schema": {
              "description": "view=basic. Client names to resolve, the parameter repeated once per name, at most 200 names of at most 200 characters. Each is matched by its entity-name key (name_key) against the account's client name, and answered in names as matched (one account), ambiguous (the candidate accounts) or unmatched; the data rows are those accounts. One page that holds every candidate, whatever the limit: no cursor, client_name[prefix] or facets. An account the subject cannot read is never a candidate.",
              "items": {
                "type": "string"
              },
              "maxItems": 200,
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "view=basic. Words in the client name, its DBA or a named insured, spacing and punctuation ignored. Every prefix of a name matches.",
            "explode": false,
            "in": "query",
            "name": "client_name[prefix]",
            "schema": {
              "description": "view=basic. Words in the client name, its DBA or a named insured, spacing and punctuation ignored. Every prefix of a name matches.",
              "type": "string"
            }
          },
          {
            "description": "view=basic with client_name[prefix], first page. in_book answers only the acting seat's own accounts whose name matches, each admitted, ranked and cut to limit. They are read live from the source. The answer is always incomplete (incomplete: true, no total, no cursor): it is the fast part, and the rest of the search is the same request without part. include_total is ignored. A cursor, a name list, a key list, a state or tenant filter, or facets is a 400 (FILTER_NOT_IN_VIEW). A seat or scope the platform cannot read by its own book (a leader, a whole-book seat, a linked seat) answers no rows, still incomplete. Absent, the search answers as before.",
            "explode": false,
            "in": "query",
            "name": "part",
            "schema": {
              "description": "view=basic with client_name[prefix], first page. in_book answers only the acting seat's own accounts whose name matches, each admitted, ranked and cut to limit. They are read live from the source. The answer is always incomplete (incomplete: true, no total, no cursor): it is the fast part, and the rest of the search is the same request without part. include_total is ignored. A cursor, a name list, a key list, a state or tenant filter, or facets is a 400 (FILTER_NOT_IN_VIEW). A seat or scope the platform cannot read by its own book (a leader, a whole-book seat, a linked seat) answers no rows, still incomplete. Absent, the search answers as before.",
              "enum": [
                "in_book"
              ],
              "type": "string"
            }
          },
          {
            "description": "view=basic. Two-letter state of the account's address.",
            "explode": false,
            "in": "query",
            "name": "client_state",
            "schema": {
              "description": "view=basic. Two-letter state of the account's address.",
              "type": "string"
            }
          },
          {
            "description": "view=basic. Keeps accounts read from this AMS 360 instance (tenant_id).",
            "explode": false,
            "in": "query",
            "name": "tenant_id",
            "schema": {
              "description": "view=basic. Keeps accounts read from this AMS 360 instance (tenant_id).",
              "type": "string"
            }
          },
          {
            "description": "view=full. Words in the client name, DBA or a named insured.",
            "explode": false,
            "in": "query",
            "name": "client_name[contains]",
            "schema": {
              "description": "view=full. Words in the client name, DBA or a named insured.",
              "type": "string"
            }
          },
          {
            "description": "view=full. Keeps accounts of one register status. Absent means hide.status applies.",
            "explode": false,
            "in": "query",
            "name": "status",
            "schema": {
              "description": "view=full. Keeps accounts of one register status. Absent means hide.status applies.",
              "enum": [
                "active",
                "cancelled",
                "ended"
              ],
              "type": "string"
            }
          },
          {
            "description": "view=full. Keeps one world; commercial and personal each include mixed accounts.",
            "explode": false,
            "in": "query",
            "name": "world",
            "schema": {
              "description": "view=full. Keeps one world; commercial and personal each include mixed accounts.",
              "enum": [
                "commercial",
                "personal",
                "benefits",
                "life",
                "other",
                "mixed"
              ],
              "type": "string"
            }
          },
          {
            "description": "view=full. Statuses to hide, comma-separated: active, cancelled, ended, or none. Default cancelled,ended, which keeps active accounts. Not with status. Left out with status, world and the other hide filter, the person's saved view or the default applies. The view block counts each status under every other filter.",
            "explode": false,
            "in": "query",
            "name": "hide.status",
            "schema": {
              "description": "view=full. Statuses to hide, comma-separated: active, cancelled, ended, or none. Default cancelled,ended, which keeps active accounts. Not with status. Left out with status, world and the other hide filter, the person's saved view or the default applies. The view block counts each status under every other filter.",
              "type": "string"
            }
          },
          {
            "description": "view=full. Worlds to hide, comma-separated: commercial, personal, mixed (both), benefits, life, other, or none. Default none. Not with world. Left out with status, world and the other hide filter, the person's saved view or the default applies.",
            "explode": false,
            "in": "query",
            "name": "hide.world",
            "schema": {
              "description": "view=full. Worlds to hide, comma-separated: commercial, personal, mixed (both), benefits, life, other, or none. Default none. Not with world. Left out with status, world and the other hide filter, the person's saved view or the default applies.",
              "type": "string"
            }
          },
          {
            "description": "view=full. Accounts whose next x-date is within this many days (at most 3650). The register's attention window is 150.",
            "explode": false,
            "in": "query",
            "name": "x_days[lte]",
            "schema": {
              "description": "view=full. Accounts whose next x-date is within this many days (at most 3650). The register's attention window is 150.",
              "pattern": "^[0-9]{1,4}$",
              "type": "string"
            }
          },
          {
            "description": "view=full. A reporting market by its name, a state or a group of states; facets=market lists the markets the seat reaches. A region that groups several markets is platform. all is no filter.",
            "explode": false,
            "in": "query",
            "name": "market",
            "schema": {
              "description": "view=full. A reporting market by its name, a state or a group of states; facets=market lists the markets the seat reaches. A region that groups several markets is platform. all is no filter.",
              "type": "string"
            }
          },
          {
            "description": "view=full. An office by name or agency code. A name resolves only against the offices the acting seat's scope reaches and narrows to every office it names, echoed as an OFFICE_RESOLVED warning with each office's label and code; a name that reaches none reads no rows and is echoed as OFFICE_NOT_VISIBLE.",
            "explode": false,
            "in": "query",
            "name": "office",
            "schema": {
              "description": "view=full. An office by name or agency code. A name resolves only against the offices the acting seat's scope reaches and narrows to every office it names, echoed as an OFFICE_RESOLVED warning with each office's label and code; a name that reaches none reads no rows and is echoed as OFFICE_NOT_VISIBLE.",
              "type": "string"
            }
          },
          {
            "description": "view=full. A platform, a region that groups several markets, as SOUTH. A state or a market name goes in market.",
            "explode": false,
            "in": "query",
            "name": "platform",
            "schema": {
              "description": "view=full. A platform, a region that groups several markets, as SOUTH. A state or a market name goes in market.",
              "type": "string"
            }
          },
          {
            "description": "view=full. Premium floor in whole dollars, over premium: under a producer or client manager subject, that person's own policies on the account.",
            "explode": false,
            "in": "query",
            "name": "premium[gte]",
            "schema": {
              "description": "view=full. Premium floor in whole dollars, over premium: under a producer or client manager subject, that person's own policies on the account.",
              "pattern": "^[0-9]{1,12}$",
              "type": "string"
            }
          },
          {
            "description": "view=full. Words that each start a word of an owner's name, or equal an owner's AMS 360 code, in any order, at most 64 characters. It narrows the producer and client_manager facets' lists (search a list the facet cap cut) and selects no account, moves no count and reads under the same admission. With facets=producer or facets=client_manager at limit=1 it is the one-facet read.",
            "explode": false,
            "in": "query",
            "name": "owner_q",
            "schema": {
              "description": "view=full. Words that each start a word of an owner's name, or equal an owner's AMS 360 code, in any order, at most 64 characters. It narrows the producer and client_manager facets' lists (search a list the facet cap cut) and selects no account, moves no count and reads under the same admission. With facets=producer or facets=client_manager at limit=1 it is the one-facet read.",
              "maxLength": 64,
              "type": "string"
            }
          },
          {
            "description": "view=full. Repeatable: producer, client_manager. Keeps the accounts whose current owners on that axis include no active person: every AMS 360 code the account's in-force policies name on the axis (or, with none in force, its recent policies) is inactive in AMS 360, belongs to a person Dayforce shows terminated or retired, or is a house or agency code no person holds, or the policies name no one. Both axes keep the accounts with neither an active producer nor an active client manager. Each row still names the owner its policies carry, so a departed producer reads by name.",
            "explode": true,
            "in": "query",
            "name": "no_active_owner",
            "schema": {
              "description": "view=full. Repeatable: producer, client_manager. Keeps the accounts whose current owners on that axis include no active person: every AMS 360 code the account's in-force policies name on the axis (or, with none in force, its recent policies) is inactive in AMS 360, belongs to a person Dayforce shows terminated or retired, or is a house or agency code no person holds, or the policies name no one. Both axes keep the accounts with neither an active producer nor an active client manager. Each row still names the owner its policies carry, so a departed producer reads by name.",
              "items": {
                "enum": [
                  "producer",
                  "client_manager"
                ],
                "type": "string"
              },
              "maxItems": 2,
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "view=full. A class id of GET /records/classes. It is a 2022 NAICS code or prefix (an industry); repeat it for more than one class. Keeps the accounts with evidence of the class: the account's NAICS falls under it; or, for an account with no NAICS, its AMS 360 SIC is one the class's concordances carry or one of its in-force policies carries a general liability class code that fits the class (the class's own codes of GET /records/classes/{id}/rating-codes, read by at least 3 of its customers). An account whose NAICS lies outside the class is not kept. Each row names its class_basis; facets=class_basis and rollups=class_coverage say how the count rests. class_id=none, alone, keeps the accounts rollups=class_mix places in no sector, its unclassified row; with rollups=class_mix the mix still counts every account the other filters keep. class_id=no_naics, alone, keeps the accounts with no NAICS code on file (the client's, or failing it its policies'), whatever their SIC or GL class codes say: the accounts rollups=class_coverage counts outside with_naics.",
            "explode": true,
            "in": "query",
            "name": "class_id",
            "schema": {
              "description": "view=full. A class id of GET /records/classes. It is a 2022 NAICS code or prefix (an industry); repeat it for more than one class. Keeps the accounts with evidence of the class: the account's NAICS falls under it; or, for an account with no NAICS, its AMS 360 SIC is one the class's concordances carry or one of its in-force policies carries a general liability class code that fits the class (the class's own codes of GET /records/classes/{id}/rating-codes, read by at least 3 of its customers). An account whose NAICS lies outside the class is not kept. Each row names its class_basis; facets=class_basis and rollups=class_coverage say how the count rests. class_id=none, alone, keeps the accounts rollups=class_mix places in no sector, its unclassified row; with rollups=class_mix the mix still counts every account the other filters keep. class_id=no_naics, alone, keeps the accounts with no NAICS code on file (the client's, or failing it its policies'), whatever their SIC or GL class codes say: the accounts rollups=class_coverage counts outside with_naics.",
              "items": {
                "type": "string"
              },
              "maxItems": 10,
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "The sort key; each view has its own keys and default. view=full: x_date (default), -completeness, -premium, client_name, producer_name, client_manager_name. Each field sorts one way. -commission_ttm is retired and reads the x_date order: the register reads no commission. It leaves this list once no client sends it.",
            "explode": false,
            "in": "query",
            "name": "sort",
            "schema": {
              "description": "The sort key; each view has its own keys and default. view=full: x_date (default), -completeness, -premium, client_name, producer_name, client_manager_name. Each field sorts one way. -commission_ttm is retired and reads the x_date order: the register reads no commission. It leaves this list once no client sends it.",
              "enum": [
                "x_date",
                "-completeness",
                "-premium",
                "-commission_ttm",
                "client_name",
                "producer_name",
                "client_manager_name"
              ],
              "type": "string"
            }
          },
          {
            "description": "view=full. register: the register side figures, in rollups.register. Each rollup is read by the page's own statement. class_coverage (with class_id) answers in rollups.class_coverage how far class evidence reaches in the same scope and filters without the class: commercial accounts, those with a NAICS, and those with any class evidence. class_mix (no class_id but class_id=none or class_id=no_naics, no typed name or cursor) answers in rollups.class_mix the industry mix of the filtered accounts: each account in one NAICS sector, with accounts and in-force premium per sector and an unclassified row. With class_id=no_naics the mix counts only the accounts with no NAICS, each placed by its SIC or GL class code.",
            "explode": false,
            "in": "query",
            "name": "rollups",
            "schema": {
              "description": "view=full. register: the register side figures, in rollups.register. Each rollup is read by the page's own statement. class_coverage (with class_id) answers in rollups.class_coverage how far class evidence reaches in the same scope and filters without the class: commercial accounts, those with a NAICS, and those with any class evidence. class_mix (no class_id but class_id=none or class_id=no_naics, no typed name or cursor) answers in rollups.class_mix the industry mix of the filtered accounts: each account in one NAICS sector, with accounts and in-force premium per sector and an unclassified row. With class_id=no_naics the mix counts only the accounts with no NAICS, each placed by its SIC or GL class code.",
              "items": {
                "enum": [
                  "register",
                  "class_coverage",
                  "class_mix"
                ],
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Facets to count; each view takes its own. view=full: facets to count over the subject's filtered accounts (each owner and org facet is counted without its own filter; a view=full request at limit=1, with no offset, cursor, include_total, rollups, id[in] or class_id, whose only facets are office and market is the office list: it reads the org facet alone and serves no rows, total or view block; the same request naming exactly one of status, world, producer or client_manager, with no rows_only or figures_only, counts that facet alone, the full read's count for the same filters, and serves no rows, total or view block); class_basis (with class_id) counts them by why they are in the class: naics, sic or gl_code. view=basic: office and market only, counted over the seat's whole boundary, so they take no subject and no filter; each is a bounded list of the connection's offices (label, parent market) or markets with their account counts.",
            "explode": false,
            "in": "query",
            "name": "facets",
            "schema": {
              "description": "Facets to count; each view takes its own. view=full: facets to count over the subject's filtered accounts (each owner and org facet is counted without its own filter; a view=full request at limit=1, with no offset, cursor, include_total, rollups, id[in] or class_id, whose only facets are office and market is the office list: it reads the org facet alone and serves no rows, total or view block; the same request naming exactly one of status, world, producer or client_manager, with no rows_only or figures_only, counts that facet alone, the full read's count for the same filters, and serves no rows, total or view block); class_basis (with class_id) counts them by why they are in the class: naics, sic or gl_code. view=basic: office and market only, counted over the seat's whole boundary, so they take no subject and no filter; each is a bounded list of the connection's offices (label, parent market) or markets with their account counts.",
              "items": {
                "enum": [
                  "status",
                  "world",
                  "producer",
                  "client_manager",
                  "office",
                  "market",
                  "class_basis"
                ],
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountList"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "List the accounts in the subject's book, filterable by class (industry)",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/ams360/customers": {
      "post": {
        "description": "Adds one business as a customer or prospect in AMS 360, filed under the person's own AMS 360 business unit, with the person's own employee as its executive and representative; the employee must be an active producer and representative, else 409. The new customer opens for its maker once a policy carries their code, so the answer names its customer_id and no account. Saved to AMS 360 itself, only when the seat's AMS 360 connection accepts this write; every other connection refuses it before any call. Only a person's own session, as their own AMS 360 employee, or an AMS 360 sandbox seat on a test instance may write. One Idempotency-Key is one write: a repeated key answers the first. A write AMS 360 did not save answers 502 with reason AMS360_NOT_SAVED, or AMS360_SAVE_UNCONFIRMED when AMS 360 did not confirm it; the problem's detail is the write_back state's label and next step, and its details carry the state.",
        "operationId": "createAMS360Customer",
        "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": "One key per click: a repeated key answers the first write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "description": "One key per click: a repeated key answers the first write.",
              "maxLength": 128,
              "minLength": 8,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AMS360CustomerCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordAMS360WriteResult"
                }
              }
            },
            "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"
          },
          "502": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Gateway"
          },
          "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": []
          }
        ],
        "summary": "Add a customer or prospect in AMS 360",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/changes": {
      "get": {
        "description": "Views: list. Source admission, field projection and continuation remain authoritative. Source parent keys are opaque references. Whole-book seats only. One native page per request. Native order is preserved; concurrent source changes can shift offset pages.",
        "operationId": "listAccountDetailView3",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read changes",
        "tags": [
          "customer"
        ]
      }
    },
    "/records/accounts/rollups/people": {
      "get": {
        "description": "The accounts counted by one people rollup metric (new, lost, not_renewed), fifty to a page, newest move first. The subject narrows inside the seat's AMS 360 can-open boundary; market, office, line, carrier, min_premium and renewing_days narrow further; with no renewing_days the person's saved Reports view decides the renewing window, else none. A seat bound to AMS 360 answers the source's absence as data.",
        "operationId": "listPeopleRollupAccounts",
        "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": "Narrow to one market of the organization's market map.",
            "explode": false,
            "in": "query",
            "name": "market",
            "schema": {
              "description": "Narrow to one market of the organization's market map.",
              "type": "string"
            }
          },
          {
            "description": "Narrow to one office.",
            "explode": false,
            "in": "query",
            "name": "office",
            "schema": {
              "description": "Narrow to one office.",
              "type": "string"
            }
          },
          {
            "description": "Narrow to one line of business.",
            "explode": false,
            "in": "query",
            "name": "line",
            "schema": {
              "description": "Narrow to one line of business.",
              "type": "string"
            }
          },
          {
            "description": "Narrow to one carrier.",
            "explode": false,
            "in": "query",
            "name": "carrier",
            "schema": {
              "description": "Narrow to one carrier.",
              "type": "string"
            }
          },
          {
            "description": "The account's in-force premium floor, whole dollars.",
            "explode": false,
            "in": "query",
            "name": "min_premium",
            "schema": {
              "description": "The account's in-force premium floor, whole dollars.",
              "type": "string"
            }
          },
          {
            "description": "Policies expiring from the read date up to this many days later (0 is off, at most 366).",
            "explode": false,
            "in": "query",
            "name": "renewing_days",
            "schema": {
              "description": "Policies expiring from the read date up to this many days later (0 is off, at most 366).",
              "type": "string"
            }
          },
          {
            "description": "The people rollup number the accounts are behind.",
            "explode": false,
            "in": "query",
            "name": "metric",
            "required": true,
            "schema": {
              "description": "The people rollup number the accounts are behind.",
              "enum": [
                "new",
                "lost",
                "not_renewed"
              ],
              "type": "string"
            }
          },
          {
            "description": "all (the default), commercial, personal, benefits, life or other.",
            "explode": false,
            "in": "query",
            "name": "world",
            "schema": {
              "description": "all (the default), commercial, personal, benefits, life or other.",
              "type": "string"
            }
          },
          {
            "description": "The next page's cursor from the previous page.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The next page's cursor from the previous page.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListPeopleAccount"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The accounts behind a people rollup number",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/rollups/register": {
      "get": {
        "description": "The filtered account count, the attention count, the filtered slice and the book totals over the subject's accounts, under the same filters as GET /records/accounts?view=full.",
        "operationId": "getAccountsRegisterRollup",
        "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": "Comma-separated account ids.",
            "explode": false,
            "in": "query",
            "name": "id[in]",
            "schema": {
              "description": "Comma-separated account ids.",
              "items": {
                "type": "string"
              },
              "maxItems": 200,
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Words the account name contains.",
            "explode": false,
            "in": "query",
            "name": "client_name[contains]",
            "schema": {
              "description": "Words the account name contains.",
              "type": "string"
            }
          },
          {
            "description": "Keeps one status. Absent means hide.status, whose default keeps active.",
            "explode": false,
            "in": "query",
            "name": "status",
            "schema": {
              "description": "Keeps one status. Absent means hide.status, whose default keeps active.",
              "enum": [
                "active",
                "cancelled",
                "ended"
              ],
              "type": "string"
            }
          },
          {
            "description": "Keeps one world; commercial and personal each keep mixed accounts too.",
            "explode": false,
            "in": "query",
            "name": "world",
            "schema": {
              "description": "Keeps one world; commercial and personal each keep mixed accounts too.",
              "enum": [
                "commercial",
                "personal",
                "benefits",
                "life",
                "other",
                "mixed"
              ],
              "type": "string"
            }
          },
          {
            "description": "Statuses to hide, comma-separated: active, cancelled, ended, or none. Default cancelled,ended. Not with status.",
            "explode": false,
            "in": "query",
            "name": "hide.status",
            "schema": {
              "description": "Statuses to hide, comma-separated: active, cancelled, ended, or none. Default cancelled,ended. Not with status.",
              "type": "string"
            }
          },
          {
            "description": "Worlds to hide, comma-separated: commercial, personal, mixed, benefits, life, other, or none. Default none. Not with world.",
            "explode": false,
            "in": "query",
            "name": "hide.world",
            "schema": {
              "description": "Worlds to hide, comma-separated: commercial, personal, mixed, benefits, life, other, or none. Default none. Not with world.",
              "type": "string"
            }
          },
          {
            "description": "Accounts whose next x-date is within this many days.",
            "explode": false,
            "in": "query",
            "name": "x_days[lte]",
            "schema": {
              "description": "Accounts whose next x-date is within this many days.",
              "pattern": "^[0-9]{1,4}$",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "market",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "office",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "platform",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Premium floor in whole dollars.",
            "explode": false,
            "in": "query",
            "name": "premium[gte]",
            "schema": {
              "description": "Premium floor in whole dollars.",
              "pattern": "^[0-9]{1,12}$",
              "type": "string"
            }
          },
          {
            "description": "A business class (industry): a 2022 NAICS code or prefix, an id of GET /records/classes, read as GET /records/accounts?view=full reads it.",
            "explode": true,
            "in": "query",
            "name": "class_id",
            "schema": {
              "description": "A business class (industry): a 2022 NAICS code or prefix, an id of GET /records/classes, read as GET /records/accounts?view=full reads it.",
              "items": {
                "type": "string"
              },
              "maxItems": 10,
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Accounts with no active person among their current owners on that axis, read as GET /records/accounts?view=full reads it.",
            "explode": true,
            "in": "query",
            "name": "no_active_owner",
            "schema": {
              "description": "Accounts with no active person among their current owners on that axis, read as GET /records/accounts?view=full reads it.",
              "items": {
                "enum": [
                  "producer",
                  "client_manager"
                ],
                "type": "string"
              },
              "maxItems": 2,
              "type": [
                "array",
                "null"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordAccountRegisterRollup"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The accounts register's side figures",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/rollups/retention-marks": {
      "get": {
        "description": "One row per account and renewal period: the outlook (good, at risk or lost), a Lost mark's reason, the note behind it, the expected revenue, who marked it and when, with the account's name and its policy terms that expire in the period, and the Lost marks counted by reason. Marks on accounts outside the subject's scope are left out.",
        "operationId": "getAccountsRetentionMarksRollup",
        "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"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRetentionMarksRollup"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Every current retention mark the subject may open",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/search": {
      "post": {
        "description": "GET /records/accounts 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": "listAccountsSearch",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "class_id": {
                    "description": "view=full. A class id of GET /records/classes. It is a 2022 NAICS code or prefix (an industry); repeat it for more than one class. Keeps the accounts with evidence of the class: the account's NAICS falls under it; or, for an account with no NAICS, its AMS 360 SIC is one the class's concordances carry or one of its in-force policies carries a general liability class code that fits the class (the class's own codes of GET /records/classes/{id}/rating-codes, read by at least 3 of its customers). An account whose NAICS lies outside the class is not kept. Each row names its class_basis; facets=class_basis and rollups=class_coverage say how the count rests. class_id=none, alone, keeps the accounts rollups=class_mix places in no sector, its unclassified row; with rollups=class_mix the mix still counts every account the other filters keep. class_id=no_naics, alone, keeps the accounts with no NAICS code on file (the client's, or failing it its policies'), whatever their SIC or GL class codes say: the accounts rollups=class_coverage counts outside with_naics.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "client_name[contains]": {
                    "description": "view=full. Words in the client name, DBA or a named insured.",
                    "type": "string"
                  },
                  "client_name[in]": {
                    "description": "view=basic. Client names to resolve, the parameter repeated once per name, at most 200 names of at most 200 characters. Each is matched by its entity-name key (name_key) against the account's client name, and answered in names as matched (one account), ambiguous (the candidate accounts) or unmatched; the data rows are those accounts. One page that holds every candidate, whatever the limit: no cursor, client_name[prefix] or facets. An account the subject cannot read is never a candidate.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 200,
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "client_name[prefix]": {
                    "description": "view=basic. Words in the client name, its DBA or a named insured, spacing and punctuation ignored. Every prefix of a name matches.",
                    "type": "string"
                  },
                  "client_state": {
                    "description": "view=basic. Two-letter state of the account's address.",
                    "type": "string"
                  },
                  "cursor": {
                    "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
                    "type": "string"
                  },
                  "facets": {
                    "description": "Facets to count; each view takes its own. view=full: facets to count over the subject's filtered accounts (each owner and org facet is counted without its own filter; a view=full request at limit=1, with no offset, cursor, include_total, rollups, id[in] or class_id, whose only facets are office and market is the office list: it reads the org facet alone and serves no rows, total or view block; the same request naming exactly one of status, world, producer or client_manager, with no rows_only or figures_only, counts that facet alone, the full read's count for the same filters, and serves no rows, total or view block); class_basis (with class_id) counts them by why they are in the class: naics, sic or gl_code. view=basic: office and market only, counted over the seat's whole boundary, so they take no subject and no filter; each is a bounded list of the connection's offices (label, parent market) or markets with their account counts.",
                    "items": {
                      "enum": [
                        "status",
                        "world",
                        "producer",
                        "client_manager",
                        "office",
                        "market",
                        "class_basis"
                      ],
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "figures_only": {
                    "description": "view=full. true reads the figures alone, with no rows. total (with include_total), facets, view and rollups each match the full read's for the same filters; data is empty, page.next is absent and the answer says figures_only: true. No page statement runs. Not with rows_only, cursor, offset or id[in] (400 FIGURES_ONLY_WITH_ROWS).",
                    "type": "boolean"
                  },
                  "hide.status": {
                    "description": "view=full. Statuses to hide, comma-separated: active, cancelled, ended, or none. Default cancelled,ended, which keeps active accounts. Not with status. Left out with status, world and the other hide filter, the person's saved view or the default applies. The view block counts each status under every other filter.",
                    "type": "string"
                  },
                  "hide.world": {
                    "description": "view=full. Worlds to hide, comma-separated: commercial, personal, mixed (both), benefits, life, other, or none. Default none. Not with world. Left out with status, world and the other hide filter, the person's saved view or the default applies.",
                    "type": "string"
                  },
                  "id[in]": {
                    "description": "view=basic and view=full. Only these accounts: comma-separated account ids, at most 200 (in the search form's body, a JSON array or one comma-joined string). An id the subject cannot read is absent from the answer.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 200,
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "include_total": {
                    "description": "true adds total, the row count of the whole relation.",
                    "type": "boolean"
                  },
                  "limit": {
                    "description": "Page size. Defaults to 25. The maximum is 200 for basic and 100 for full. Larger values are coerced to the view maximum with a LIMIT_COERCED warning.",
                    "format": "int64",
                    "minimum": 1,
                    "type": "integer"
                  },
                  "market": {
                    "description": "view=full. A reporting market by its name, a state or a group of states; facets=market lists the markets the seat reaches. A region that groups several markets is platform. all is no filter.",
                    "type": "string"
                  },
                  "no_active_owner": {
                    "description": "view=full. Repeatable: producer, client_manager. Keeps the accounts whose current owners on that axis include no active person: every AMS 360 code the account's in-force policies name on the axis (or, with none in force, its recent policies) is inactive in AMS 360, belongs to a person Dayforce shows terminated or retired, or is a house or agency code no person holds, or the policies name no one. Both axes keep the accounts with neither an active producer nor an active client manager. Each row still names the owner its policies carry, so a departed producer reads by name.",
                    "items": {
                      "enum": [
                        "producer",
                        "client_manager"
                      ],
                      "type": "string"
                    },
                    "maxItems": 2,
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "office": {
                    "description": "view=full. An office by name or agency code. A name resolves only against the offices the acting seat's scope reaches and narrows to every office it names, echoed as an OFFICE_RESOLVED warning with each office's label and code; a name that reaches none reads no rows and is echoed as OFFICE_NOT_VISIBLE.",
                    "type": "string"
                  },
                  "offset": {
                    "description": "Rows to skip, register views only: at most 1000000, not with cursor. A later page continues with page.next.",
                    "format": "int64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "owner_q": {
                    "description": "view=full. Words that each start a word of an owner's name, or equal an owner's AMS 360 code, in any order, at most 64 characters. It narrows the producer and client_manager facets' lists (search a list the facet cap cut) and selects no account, moves no count and reads under the same admission. With facets=producer or facets=client_manager at limit=1 it is the one-facet read.",
                    "maxLength": 64,
                    "type": "string"
                  },
                  "part": {
                    "description": "view=basic with client_name[prefix], first page. in_book answers only the acting seat's own accounts whose name matches, each admitted, ranked and cut to limit. They are read live from the source. The answer is always incomplete (incomplete: true, no total, no cursor): it is the fast part, and the rest of the search is the same request without part. include_total is ignored. A cursor, a name list, a key list, a state or tenant filter, or facets is a 400 (FILTER_NOT_IN_VIEW). A seat or scope the platform cannot read by its own book (a leader, a whole-book seat, a linked seat) answers no rows, still incomplete. Absent, the search answers as before.",
                    "enum": [
                      "in_book"
                    ],
                    "type": "string"
                  },
                  "platform": {
                    "description": "view=full. A platform, a region that groups several markets, as SOUTH. A state or a market name goes in market.",
                    "type": "string"
                  },
                  "premium[gte]": {
                    "description": "view=full. Premium floor in whole dollars, over premium: under a producer or client manager subject, that person's own policies on the account.",
                    "pattern": "^[0-9]{1,12}$",
                    "type": "string"
                  },
                  "q": {
                    "description": "view=finder. Name to search. Absent lists the seat accounts by name.",
                    "type": "string"
                  },
                  "rollups": {
                    "description": "view=full. register: the register side figures, in rollups.register. Each rollup is read by the page's own statement. class_coverage (with class_id) answers in rollups.class_coverage how far class evidence reaches in the same scope and filters without the class: commercial accounts, those with a NAICS, and those with any class evidence. class_mix (no class_id but class_id=none or class_id=no_naics, no typed name or cursor) answers in rollups.class_mix the industry mix of the filtered accounts: each account in one NAICS sector, with accounts and in-force premium per sector and an unclassified row. With class_id=no_naics the mix counts only the accounts with no NAICS, each placed by its SIC or GL class code.",
                    "items": {
                      "enum": [
                        "register",
                        "class_coverage",
                        "class_mix"
                      ],
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "rows_only": {
                    "description": "view=full. true reads the page's rows and page.next alone, and the answer says so with rows_only: true. facets and view are absent, never 0: the read does not count them. Not with facets unless with include_total (400 ROWS_ONLY_WITH_FIGURES). With include_total, and rollups=register and facets beside it, a first page also asks for total and rollups.register's accounts and slice from the rows' own statement: a warehouse page counts them in that one statement, and a page whose source counts none answers them in unreachable (no_aggregate), which figures_only then reads. A first page whose own read decided the seat's whole book, under a list row that reads its figures from the same source, also serves total, the named facets, view and all of rollups.register (accounts, attention, slice, book, definition) from that same decision, as figures_only serves them, with no second request; own_book stays figures_only's. That takes no cursor, offset, id[in], class_id or other rollup, and rollups needs include_total (400 ROWS_ONLY_WITH_FIGURES). Without include_total, total and rollups are absent. A cursor does not carry it: send it on every page of a rows-only list.",
                    "type": "boolean"
                  },
                  "sort": {
                    "description": "The sort key; each view has its own keys and default. view=full: x_date (default), -completeness, -premium, client_name, producer_name, client_manager_name. Each field sorts one way. -commission_ttm is retired and reads the x_date order: the register reads no commission. It leaves this list once no client sends it.",
                    "enum": [
                      "x_date",
                      "-completeness",
                      "-premium",
                      "-commission_ttm",
                      "client_name",
                      "producer_name",
                      "client_manager_name"
                    ],
                    "type": "string"
                  },
                  "status": {
                    "description": "view=full. Keeps accounts of one register status. Absent means hide.status applies.",
                    "enum": [
                      "active",
                      "cancelled",
                      "ended"
                    ],
                    "type": "string"
                  },
                  "subject": {
                    "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"
                    ]
                  },
                  "tenant_id": {
                    "description": "view=basic. Keeps accounts read from this AMS 360 instance (tenant_id).",
                    "type": "string"
                  },
                  "view": {
                    "description": "basic (default): the client record; full: plus its policy figures. basic: the client record, the roster read. full: the client record plus what the account's policies derive (status, world, premium, x-date, owners), the register read. finder: the account finder, a name search over the client name, its DBA and its named insureds (q), ordered by name, with name_key and name_exact on each row; it reads q, subject, limit (at most 100), cursor and include_total.",
                    "enum": [
                      "basic",
                      "full",
                      "finder"
                    ],
                    "type": "string"
                  },
                  "world": {
                    "description": "view=full. Keeps one world; commercial and personal each include mixed accounts.",
                    "enum": [
                      "commercial",
                      "personal",
                      "benefits",
                      "life",
                      "other",
                      "mixed"
                    ],
                    "type": "string"
                  },
                  "x_days[lte]": {
                    "description": "view=full. Accounts whose next x-date is within this many days (at most 3650). The register's attention window is 150.",
                    "pattern": "^[0-9]{1,4}$",
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountList"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "List the accounts in the subject's book, filterable by class (industry) (parameters in the body)",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/view": {
      "get": {
        "description": "The person's saved filters, which the register's list applies when a request names no view filter, and every column the seat may show, its role's default columns and the columns this person shows. A field the seat's field classes withhold is never listed.",
        "operationId": "getAccountsView",
        "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"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRegisterView"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The acting person's accounts filters and columns",
        "tags": [
          "register-views"
        ]
      },
      "put": {
        "description": "Writes the person's own row. Each filter must be one the register's list serves, with a value it takes; each column must be one of columns.available for this seat; anything else is refused with 422. A View as session is read-only here.",
        "operationId": "putAccountsView",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterViewWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRegisterView"
                }
              }
            },
            "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"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Save the acting person's accounts filters and columns",
        "tags": [
          "register-views"
        ]
      }
    },
    "/records/accounts/{id}": {
      "get": {
        "description": "The account's customer row. An account the acting seat cannot read and one that does not exist are the same 404 NOT_VISIBLE_OR_ABSENT.",
        "operationId": "getAccount",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account id (its instance key).",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The account id (its instance key).",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordAccount"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read one account",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/{id}/ams360/activities": {
      "post": {
        "description": "Adds one activity to the account's AMS 360 customer. Saved to AMS 360 itself, only when the seat's AMS 360 connection accepts this write; every other connection refuses it before any call. Only a person's own session, as their own AMS 360 employee, or an AMS 360 sandbox seat on a test instance may write. One Idempotency-Key is one write: a repeated key answers the first. A write AMS 360 did not save answers 502 with reason AMS360_NOT_SAVED, or AMS360_SAVE_UNCONFIRMED when AMS 360 did not confirm it; the problem's detail is the write_back state's label and next step, and its details carry the state.",
        "operationId": "saveAccountAMS360Activity",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account identity, as GET /records/accounts/{id} takes it.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The account identity, as GET /records/accounts/{id} takes it.",
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "description": "One key per click: a repeated key answers the first write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "description": "One key per click: a repeated key answers the first write.",
              "maxLength": 128,
              "minLength": 8,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AMS360ActivityWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordAMS360WriteResult"
                }
              }
            },
            "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"
          },
          "502": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Gateway"
          },
          "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": []
          }
        ],
        "summary": "Add an activity to the account in AMS 360",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/{id}/ams360/attachments": {
      "post": {
        "description": "Files one document on the account's AMS 360 customer: an activity that carries it, and the document on it. Saved to AMS 360 itself, only when the seat's AMS 360 connection accepts this write; every other connection refuses it before any call. Only a person's own session, as their own AMS 360 employee, or an AMS 360 sandbox seat on a test instance may write. One Idempotency-Key is one write: a repeated key answers the first. A write AMS 360 did not save answers 502 with reason AMS360_NOT_SAVED, or AMS360_SAVE_UNCONFIRMED when AMS 360 did not confirm it; the problem's detail is the write_back state's label and next step, and its details carry the state.",
        "operationId": "saveAccountAMS360Attachment",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account identity, as GET /records/accounts/{id} takes it.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The account identity, as GET /records/accounts/{id} takes it.",
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "description": "One key per click: a repeated key answers the first write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "description": "One key per click: a repeated key answers the first write.",
              "maxLength": 128,
              "minLength": 8,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AMS360AttachmentWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordAMS360WriteResult"
                }
              }
            },
            "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"
          },
          "502": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Gateway"
          },
          "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": []
          }
        ],
        "summary": "File a document on the account in AMS 360",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/{id}/ams360/contacts/{contactId}": {
      "patch": {
        "description": "Changes the name, title or email sent on one contact of the account's customer and sends every other field back as AMS 360 holds it; the contact must be the account's own, else 404. The answer's previous_value is what the contact held before. Saved to AMS 360 itself, only when the seat's AMS 360 connection accepts this write; every other connection refuses it before any call. Only a person's own session, as their own AMS 360 employee, or an AMS 360 sandbox seat on a test instance may write. One Idempotency-Key is one write: a repeated key answers the first. A write AMS 360 did not save answers 502 with reason AMS360_NOT_SAVED, or AMS360_SAVE_UNCONFIRMED when AMS 360 did not confirm it; the problem's detail is the write_back state's label and next step, and its details carry the state.",
        "operationId": "updateAccountAMS360Contact",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account identity, as GET /records/accounts/{id} takes it.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The account identity, as GET /records/accounts/{id} takes it.",
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "description": "One key per click: a repeated key answers the first write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "description": "One key per click: a repeated key answers the first write.",
              "maxLength": 128,
              "minLength": 8,
              "type": "string"
            }
          },
          {
            "description": "The AMS 360 contact id, as the contacts read lists it.",
            "in": "path",
            "name": "contactId",
            "required": true,
            "schema": {
              "description": "The AMS 360 contact id, as the contacts read lists it.",
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AMS360ContactUpdate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordAMS360WriteResult"
                }
              }
            },
            "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"
          },
          "502": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Gateway"
          },
          "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": []
          }
        ],
        "summary": "Change an account's contact in AMS 360",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/{id}/ams360/follow-ups": {
      "post": {
        "description": "Adds one follow-up (an AMS 360 suspense) to the account's customer, assigned to the seat's employee. Saved to AMS 360 itself, only when the seat's AMS 360 connection accepts this write; every other connection refuses it before any call. Only a person's own session, as their own AMS 360 employee, or an AMS 360 sandbox seat on a test instance may write. One Idempotency-Key is one write: a repeated key answers the first. A write AMS 360 did not save answers 502 with reason AMS360_NOT_SAVED, or AMS360_SAVE_UNCONFIRMED when AMS 360 did not confirm it; the problem's detail is the write_back state's label and next step, and its details carry the state.",
        "operationId": "saveAccountAMS360FollowUp",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account identity, as GET /records/accounts/{id} takes it.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The account identity, as GET /records/accounts/{id} takes it.",
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "description": "One key per click: a repeated key answers the first write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "description": "One key per click: a repeated key answers the first write.",
              "maxLength": 128,
              "minLength": 8,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AMS360FollowUpWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordAMS360WriteResult"
                }
              }
            },
            "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"
          },
          "502": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Gateway"
          },
          "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": []
          }
        ],
        "summary": "Add a follow-up to the account in AMS 360",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/{id}/ams360/follow-ups/{suspenseId}": {
      "patch": {
        "description": "Changes the fields sent on one follow-up (an AMS 360 suspense) of the account's customer and leaves every other field as AMS 360 holds it; the follow-up must be the account's own, else 404. The answer's previous_value is what the follow-up held before. Saved to AMS 360 itself, only when the seat's AMS 360 connection accepts this write; every other connection refuses it before any call. Only a person's own session, as their own AMS 360 employee, or an AMS 360 sandbox seat on a test instance may write. One Idempotency-Key is one write: a repeated key answers the first. A write AMS 360 did not save answers 502 with reason AMS360_NOT_SAVED, or AMS360_SAVE_UNCONFIRMED when AMS 360 did not confirm it; the problem's detail is the write_back state's label and next step, and its details carry the state.",
        "operationId": "updateAccountAMS360FollowUp",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account identity, as GET /records/accounts/{id} takes it.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The account identity, as GET /records/accounts/{id} takes it.",
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "description": "One key per click: a repeated key answers the first write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "description": "One key per click: a repeated key answers the first write.",
              "maxLength": 128,
              "minLength": 8,
              "type": "string"
            }
          },
          {
            "description": "The AMS 360 follow-up (suspense) id, as the follow-ups read lists it.",
            "in": "path",
            "name": "suspenseId",
            "required": true,
            "schema": {
              "description": "The AMS 360 follow-up (suspense) id, as the follow-ups read lists it.",
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AMS360FollowUpUpdate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordAMS360WriteResult"
                }
              }
            },
            "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"
          },
          "502": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Gateway"
          },
          "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": []
          }
        ],
        "summary": "Reschedule, reassign or complete an account's follow-up in AMS 360",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/{id}/ams360/policies/{policyId}/activities": {
      "post": {
        "description": "Adds one activity to one of the account's policies (a carrier's submission) under the AMS 360 action the connection maps the outcome to, and, with follow_up, a follow-up on the same policy assigned to the seat's own employee, as one save: the activity first, then the follow-up. The policy must be the account's own and in the seat's book, else 404; an outcome the connection maps to no action is refused with reason AMS360_OUTCOME_UNMAPPED. A follow-up that did not save after the activity did answers 502 AMS360_SAVE_UNCONFIRMED with the activity's id in record_ids. Saved to AMS 360 itself, only when the seat's AMS 360 connection accepts this write; every other connection refuses it before any call. Only a person's own session, as their own AMS 360 employee, or an AMS 360 sandbox seat on a test instance may write. One Idempotency-Key is one write: a repeated key answers the first. A write AMS 360 did not save answers 502 with reason AMS360_NOT_SAVED, or AMS360_SAVE_UNCONFIRMED when AMS 360 did not confirm it; the problem's detail is the write_back state's label and next step, and its details carry the state.",
        "operationId": "saveAccountAMS360PolicyActivity",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account identity, as GET /records/accounts/{id} takes it.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The account identity, as GET /records/accounts/{id} takes it.",
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "description": "One key per click: a repeated key answers the first write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "description": "One key per click: a repeated key answers the first write.",
              "maxLength": 128,
              "minLength": 8,
              "type": "string"
            }
          },
          {
            "description": "The AMS 360 policy id, as the policies read lists it.",
            "in": "path",
            "name": "policyId",
            "required": true,
            "schema": {
              "description": "The AMS 360 policy id, as the policies read lists it.",
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AMS360PolicyActivityWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordAMS360WriteResult"
                }
              }
            },
            "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"
          },
          "502": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Gateway"
          },
          "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": []
          }
        ],
        "summary": "Add an activity to an account's policy in AMS 360",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/{id}/ams360/policies/{policyId}/renewal": {
      "patch": {
        "description": "Sets or clears the policy's own \"will not renew\" flag in AMS 360 and sends its other flags back as AMS 360 holds them; the policy must be the account's own and in the seat's book, else 404, and its renewal still open, else 409. The answer's previous_value is the policy's not_renewing before. Saved to AMS 360 itself, only when the seat's AMS 360 connection accepts this write; every other connection refuses it before any call. Only a person's own session, as their own AMS 360 employee, or an AMS 360 sandbox seat on a test instance may write. One Idempotency-Key is one write: a repeated key answers the first. A write AMS 360 did not save answers 502 with reason AMS360_NOT_SAVED, or AMS360_SAVE_UNCONFIRMED when AMS 360 did not confirm it; the problem's detail is the write_back state's label and next step, and its details carry the state.",
        "operationId": "closeAccountAMS360Renewal",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account identity, as GET /records/accounts/{id} takes it.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The account identity, as GET /records/accounts/{id} takes it.",
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "description": "One key per click: a repeated key answers the first write.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "description": "One key per click: a repeated key answers the first write.",
              "maxLength": 128,
              "minLength": 8,
              "type": "string"
            }
          },
          {
            "description": "The AMS 360 policy id, as the policies read lists it.",
            "in": "path",
            "name": "policyId",
            "required": true,
            "schema": {
              "description": "The AMS 360 policy id, as the policies read lists it.",
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AMS360RenewalClose"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordAMS360WriteResult"
                }
              }
            },
            "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"
          },
          "502": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Gateway"
          },
          "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": []
          }
        ],
        "summary": "Mark an account's policy as not renewing in AMS 360",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/{id}/contact-details": {
      "get": {
        "description": "Views: list, record. Source admission, field projection and continuation remain authoritative. Source parent keys are opaque references.",
        "operationId": "listAccountDetailView4",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped account id required before any source read.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "Instance-scoped account id required before any source read.",
              "type": "string"
            }
          },
          {
            "description": "Requested business projection.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "default": "list",
              "description": "Requested business projection.",
              "enum": [
                "list",
                "record"
              ],
              "type": "string"
            }
          },
          {
            "description": "Public record id in the account instance; required for the record view.",
            "explode": false,
            "in": "query",
            "name": "contact_id",
            "schema": {
              "description": "Public record id in the account instance; required for the record view.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read contacts",
        "tags": [
          "customer_contacts"
        ]
      }
    },
    "/records/accounts/{id}/facts": {
      "get": {
        "description": "The fact rows AMS 360 records for the account of one type, on its current policies.",
        "operationId": "getAccountFacts",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account id (its instance key).",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The account id (its instance key).",
              "type": "string"
            }
          },
          {
            "description": "The kind of account fact to read. Required unless the deprecated family is sent; sending both with different values is a 400.",
            "explode": false,
            "in": "query",
            "name": "type",
            "schema": {
              "description": "The kind of account fact to read. Required unless the deprecated family is sent; sending both with different values is a 400.",
              "enum": [
                "applicant",
                "nature_of_business",
                "locations",
                "buildings",
                "premises",
                "prior_carriers",
                "payroll",
                "property_values"
              ],
              "type": "string"
            }
          },
          {
            "description": "Deprecated: the previous spelling of type, kept for one release; send type.",
            "explode": false,
            "in": "query",
            "name": "family",
            "schema": {
              "deprecated": true,
              "description": "Deprecated: the previous spelling of type, kept for one release; send type.",
              "enum": [
                "applicant",
                "nature_of_business",
                "locations",
                "buildings",
                "premises",
                "prior_carriers",
                "payroll",
                "property_values"
              ],
              "type": "string"
            }
          },
          {
            "description": "The most fact rows to read. Defaults to 50; a family with more rows than the limit is refused rather than cut.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "The most fact rows to read. Defaults to 50; a family with more rows than the limit is refused rather than cut.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordBookAccountFactPage"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "One kind of the account's facts",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/{id}/identity": {
      "get": {
        "description": "Views: full, number, name-match, number-summary, address. Source admission, field projection and continuation remain authoritative. Source parent keys are opaque references.",
        "operationId": "listAccountDetailView1",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped account id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "Instance-scoped account id.",
              "type": "string"
            }
          },
          {
            "description": "Requested business projection.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "default": "full",
              "description": "Requested business projection.",
              "enum": [
                "full",
                "number",
                "name-match",
                "number-summary",
                "address"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read identity",
        "tags": [
          "customer"
        ]
      }
    },
    "/records/accounts/{id}/memory": {
      "get": {
        "description": "The account's current memory, oldest first: what colleagues said about the client in conversations on this account, each fact with its kind, who said it and when. It holds no AMS 360 or Salesforce fact; those are read from their own routes. An account the acting seat cannot read is 404 NOT_VISIBLE_OR_ABSENT.",
        "operationId": "listAccountMemory",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account id (its instance key).",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The account id (its instance key).",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListAccountMemoryFact"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "What colleagues said about the account",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/{id}/memory/{memoryID}": {
      "delete": {
        "description": "Forgets the named fact: its text is blanked and its fingerprint kept, so no job learns it again. Any seat that can open the account may forget a fact, and the forget records that seat. Facts other colleagues said, and their evidence, stay as they are. An account the acting seat cannot read, and a fact the account's memory does not hold, are 404 NOT_VISIBLE_OR_ABSENT. A View as or support session is 403: it reads, never forgets.",
        "operationId": "forgetAccountMemory",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account id (its instance key).",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The account id (its instance key).",
              "type": "string"
            }
          },
          {
            "description": "The fact to forget.",
            "in": "path",
            "name": "memoryID",
            "required": true,
            "schema": {
              "description": "The fact to forget.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordAccountMemoryForgotten"
                }
              }
            },
            "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"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Forget one fact of the account's memory",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/{id}/named-insureds": {
      "get": {
        "description": "The named-insured wording of each of the account's policy terms, every term on one page.",
        "operationId": "listAccountNamedInsureds",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account id (its instance key).",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The account id (its instance key).",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListAccountPolicyNamedInsureds"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List the account's named insureds by policy term",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/{id}/notes/read": {
      "post": {
        "description": "Reads the notes into profile fields, missing items and an append patch through the org's intake-notes reading type. It saves nothing and starts no Run.",
        "operationId": "readAccountNotes",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account identity, as GET /records/accounts/{id} takes it.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The account identity, as GET /records/accounts/{id} takes it.",
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountNotesReadRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordAccountNotesRead"
                }
              }
            },
            "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"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Read pasted notes into a proposal for one account",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/{id}/overlay/edits": {
      "get": {
        "description": "The field edits producers saved in Nexio over one AMS 360 account, oldest first by version, one cursor page at a time, each with its version. The account must be inside the seat's book. A schedule of values edit is served with the fields the seat may read.",
        "operationId": "listAccountEdits",
        "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 AMS 360 account, as its Records id or account key.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The AMS 360 account, as its Records id or account key.",
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page.",
              "type": "string"
            }
          },
          {
            "description": "Include the exact count of the account's edits.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "Include the exact count of the account's edits.",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListWorkbenchOverlayEdit"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List an account's edit history",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/{id}/personnel": {
      "get": {
        "description": "Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listPolicySourceView5",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "The instance-scoped parent record id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The instance-scoped parent record id.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read personnel",
        "tags": [
          "policy_personnel"
        ]
      }
    },
    "/records/accounts/{id}/placement-assemblies": {
      "get": {
        "description": "Every live assembly on the account across runs, each naming its run, admitted by the caller's owner scope. The set is one account's assemblies, not the book.",
        "operationId": "listAccountPlacementAssemblies",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account's id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The account's id.",
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "description": "Only assemblies with a seat on this market.",
            "explode": false,
            "in": "query",
            "name": "market_entity_key",
            "schema": {
              "description": "Only assemblies with a seat on this market.",
              "type": "string"
            }
          },
          {
            "description": "true keeps assemblies the caller may delete.",
            "explode": false,
            "in": "query",
            "name": "deletable",
            "schema": {
              "description": "true keeps assemblies the caller may delete.",
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssemblyListResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List an account's placement assemblies",
        "tags": [
          "placements"
        ]
      }
    },
    "/records/accounts/{id}/policy-forms": {
      "get": {
        "description": "The forms schedule of each of the account's policy terms, every term on one page.",
        "operationId": "listAccountPolicyForms",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account id (its instance key).",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The account id (its instance key).",
              "type": "string"
            }
          },
          {
            "description": "submission: the forms a submission is built from (electronic forms, question answers, company context). Absent: the policy forms, coverage forms and form types.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "description": "submission: the forms a submission is built from (electronic forms, question answers, company context). Absent: the policy forms, coverage forms and form types.",
              "enum": [
                "submission"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListAccountPolicyForms"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List the account's forms by policy term",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/{id}/risk-profile": {
      "get": {
        "description": "The account's newest completed risk assessment and its currency: stale, freshness, age_days, max_age_days and the staleness floor. No assessment answers 200 with a null assessment; an account the seat cannot read is 404 NOT_VISIBLE_OR_ABSENT.",
        "operationId": "getAccountRiskProfile",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account id (its instance key).",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The account id (its instance key).",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordAccountRiskProfile"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "The account's latest Risk profile assessment",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/{id}/rollups/class-knowledge": {
      "get": {
        "description": "The account's class and AM Best's report on it, or the reason there is none, with the documents and lines to ask for. Use it when the question is about one account's kind of business.",
        "operationId": "getAccountClassKnowledgeRollup",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account id (its instance key).",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The account id (its instance key).",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordAccountClassKnowledge"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read what AM Best says about an account's class",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/{id}/rollups/contacts": {
      "get": {
        "description": "The client record, the named and policy contacts, the account personnel and agency team, the related accounts, the AMS 360 record's metadata, and the loss history and cash receipts the seat may read. An account the acting seat cannot read is 404 NOT_VISIBLE_OR_ABSENT.",
        "operationId": "getAccountContactsRollup",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account id (its instance key).",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The account id (its instance key).",
              "type": "string"
            }
          },
          {
            "description": "record: the client record, the named contacts, the account personnel, the agency team, the related accounts, the AMS 360 record's metadata, the loss history and the cash receipts, without the carrier and policy contacts (those parts are not asked: no coverage and no absence is reported for them). Absent: every part.",
            "explode": false,
            "in": "query",
            "name": "parts",
            "schema": {
              "description": "record: the client record, the named contacts, the account personnel, the agency team, the related accounts, the AMS 360 record's metadata, the loss history and the cash receipts, without the carrier and policy contacts (those parts are not asked: no coverage and no absence is reported for them). Absent: every part.",
              "enum": [
                "record"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordAccountContactsRollup"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "The account's contact sheet",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/{id}/rollups/current-program": {
      "get": {
        "description": "One line per canonical line of business the account's in-force terms carry, with its carriers, premium, term count and dates, folded from the admitted account's policies, and the account's program lines in display order (program_lines). An account the acting seat cannot read is 404 NOT_VISIBLE_OR_ABSENT.",
        "operationId": "getAccountCurrentProgramRollup",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account id (its instance key).",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The account id (its instance key).",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordAccountCurrentProgram"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "The account's in-force program",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/{id}/rollups/facts": {
      "get": {
        "description": "The eight fact families AMS 360 records for the account on its current policies, read together, and the summary derived from them (FEIN, DUNS, NCCI, revenue, employees, payroll by rating state). A family that did not answer is named in data.families. An account the acting seat cannot read is 404 NOT_VISIBLE_OR_ABSENT.",
        "operationId": "getAccountFactsRollup",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account id (its instance key).",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The account id (its instance key).",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordAccountFactsRollup"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "The account's facts and their summary",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/{id}/rollups/loss-summary": {
      "get": {
        "description": "The claim ledger, its payments, the customer loss history and the policy loss history, each measured for this account and served as its own block (never summed across two). An account the acting seat cannot read is 404 NOT_VISIBLE_OR_ABSENT.",
        "operationId": "getAccountLossSummaryRollup",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account id (its instance key).",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The account id (its instance key).",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordAccountLossSummary"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "The loss recorded against the account",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/{id}/rollups/policy-schedules": {
      "get": {
        "description": "Each policy term's coverages and forms, and the coverage record and answer merged from them, every term in one read. An account the acting seat cannot read is 404 NOT_VISIBLE_OR_ABSENT.",
        "operationId": "getAccountPolicySchedulesRollup",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account id (its instance key).",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The account id (its instance key).",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordAccountPolicySchedules"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Not Found"
          },
          "424": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Failed Dependency"
          },
          "429": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Service Unavailable"
          },
          "504": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Gateway Timeout"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "The account's policy schedules by policy term",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/{id}/rollups/program-evidence": {
      "get": {
        "description": "The pack v3 submission the platform assembles and signs for the account, and the report of how it was built. The caller posts submission to the engine unchanged.",
        "operationId": "getAccountProgramEvidenceRollup",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account id (its instance key).",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The account id (its instance key).",
              "type": "string"
            }
          },
          {
            "description": "A completed risk run of this account. Absent: the latest completed run.",
            "explode": false,
            "in": "query",
            "name": "risk_run_id",
            "schema": {
              "description": "A completed risk run of this account. Absent: the latest completed run.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordAccountProgramEvidence"
                }
              }
            },
            "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"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "The account's Commercial Program submission",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/{id}/rollups/renewal-scope": {
      "get": {
        "description": "Read the full renewal scope for a packet",
        "operationId": "getAccountRenewalScope",
        "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"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "renewal_date",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountRenewalScopeResponse"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Read the full renewal scope for a packet",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/{id}/rollups/retention": {
      "get": {
        "description": "The latest retention mark per renewal period, for the read month and later. An account the acting seat cannot read is 404 NOT_VISIBLE_OR_ABSENT.",
        "operationId": "getAccountRetentionRollup",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account id (its instance key).",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The account id (its instance key).",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordAccountRetentionRollup"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "The account's retention marks",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/{id}/rollups/risk-evidence": {
      "get": {
        "description": "The submission the platform assembles and signs for the account, and the report of how it was built. The caller posts submission to the engine unchanged.",
        "operationId": "getAccountRiskEvidenceRollup",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account id (its instance key).",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The account id (its instance key).",
              "type": "string"
            }
          },
          {
            "description": "Optional risk Run id to normalize and compare with this account's current source snapshot. The run must belong to this account and be readable under the caller's scope.",
            "explode": false,
            "in": "query",
            "name": "run_id",
            "schema": {
              "description": "Optional risk Run id to normalize and compare with this account's current source snapshot. The run must belong to this account and be readable under the caller's scope.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordAccountRiskEvidence"
                }
              }
            },
            "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"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "The account's Commercial Risk Profile submission",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/{id}/rollups/summary": {
      "get": {
        "description": "The account's policy counts, in-force premium, next expiration and claim count over its served policies.",
        "operationId": "getAccountSummaryRollup",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account id (its instance key).",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The account id (its instance key).",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordBookAccountRollup"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "The account's summary rollup",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/{id}/schedules": {
      "get": {
        "description": "Every requested schedule of the named policies of one account in one read: one access decision for the account, then one statement per schedule over every admitted policy. Each schedule's rows are its per-policy route's rows, grouped by policy. A schedule or a policy that could not be read is named in unreachable with its reason and the rest is served (200); only a failed access decision fails the read. An account the seat may not open and one that does not exist answer the same 404.",
        "operationId": "getAccountSchedules",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account's id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The account's id.",
              "type": "string"
            }
          },
          {
            "description": "The schedules to read, repeatable or comma-separated: any policy collection of the catalog (classes, drivers, vehicles, locations, equipment, premiums, lines, ...), named-insureds and personnel.",
            "explode": true,
            "in": "query",
            "name": "collections",
            "schema": {
              "description": "The schedules to read, repeatable or comma-separated: any policy collection of the catalog (classes, drivers, vehicles, locations, equipment, premiums, lines, ...), named-insureds and personnel.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "The account's policies to read them for, repeatable or comma-separated, 1 to 25 policy ids. A policy that is not one of the account's policies the seat may open is answered not_visible_or_absent, never read.",
            "explode": true,
            "in": "query",
            "name": "policy_id",
            "schema": {
              "description": "The account's policies to read them for, repeatable or comma-separated, 1 to 25 policy ids. A policy that is not one of the account's policies the seat may open is answered not_visible_or_absent, never read.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Serve every item's newest version, removed ones with them (row_status D), as the policy's history shows them. Only a collection that serves current rows (vehicles, drivers, locations) reads it; it has no as-of date.",
            "explode": false,
            "in": "query",
            "name": "include_removed",
            "schema": {
              "description": "Serve every item's newest version, removed ones with them (row_status D), as the policy's history shows them. Only a collection that serves current rows (vehicles, drivers, locations) reads it; it has no as-of date.",
              "type": "boolean"
            }
          },
          {
            "description": "The date (YYYY-MM-DD) a current-rows collection is read as of: each item's version in effect on it. Defaults to today in the agency's time zone (America/Los_Angeles).",
            "explode": false,
            "in": "query",
            "name": "as_of",
            "schema": {
              "description": "The date (YYYY-MM-DD) a current-rows collection is read as of: each item's version in effect on it. Defaults to today in the agency's time zone (America/Los_Angeles).",
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountSchedulesResponse"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read the account's policy schedules",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/{id}/sov": {
      "get": {
        "description": "The shared account schedule projection with its saved revisions, review, totals, gaps and source reads, under the same request and account admission.",
        "operationId": "getAccountSOV",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account identity, as GET /records/accounts/{id} takes it.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The account identity, as GET /records/accounts/{id} takes it.",
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordProjection"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read an account schedule of values",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/{id}/team": {
      "get": {
        "description": "Each distinct executive and representative assignment on the account's served policies, the whole team on one page. An account the acting seat cannot read is 404 NOT_VISIBLE_OR_ABSENT.",
        "operationId": "listAccountTeam",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account id (its instance key).",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The account id (its instance key).",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListBookAccountTeamMember"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List the account's team",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/accounts/{id}/transactions": {
      "get": {
        "description": "Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listPolicySourceView10",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "The instance-scoped parent record id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The instance-scoped parent record id.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read transactions",
        "tags": [
          "policy_transactions"
        ]
      }
    },
    "/records/accounts/{id}/x-dates": {
      "get": {
        "description": "Every x-date the agency tracks for the account, one row each: the coverage written elsewhere, its carrier, policy number and line, when it expires, its premium, the account's size and the agency's interest, the employee who follows it and the agency's remarks. An account the seat cannot open answers 404.",
        "operationId": "listAccountXDates",
        "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 claim's or the account's id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The claim's or the account's id.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListAccountXDatesResponse"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List an account's x-dates",
        "tags": [
          "accounts"
        ]
      }
    },
    "/records/activities": {
      "get": {
        "description": "With account_id: the account's activity feed (activities, suspenses, notes and remarks), newest first and paged by cursor in one order across pages. An account the acting seat cannot read is 404 NOT_VISIBLE_OR_ABSENT. Without it: the activity register, the subject's suspenses due within window_days, overdue ones kept unless include_overdue=false.",
        "operationId": "listActivities",
        "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": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "The account whose activity feed to read: its activities, suspenses, notes and remarks, newest first. It is the account's instance key; a bk1_ key is accepted for the length of the cutover train. Absent: the activity register, the subject's suspenses due in the window.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "The account whose activity feed to read: its activities, suspenses, notes and remarks, newest first. It is the account's instance key; a bk1_ key is accepted for the length of the cutover train. Absent: the activity register, the subject's suspenses due in the window.",
              "type": "string"
            }
          },
          {
            "description": "Only rows on this policy term (its instance key).",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "schema": {
              "description": "Only rows on this policy term (its instance key).",
              "type": "string"
            }
          },
          {
            "description": "The register only: days ahead a suspense is due in, 1 to 365 (default 120).",
            "explode": false,
            "in": "query",
            "name": "window_days",
            "schema": {
              "description": "The register only: days ahead a suspense is due in, 1 to 365 (default 120).",
              "format": "int64",
              "maximum": 365,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The register only: true (default) keeps suspenses already past due.",
            "explode": false,
            "in": "query",
            "name": "include_overdue",
            "schema": {
              "description": "The register only: true (default) keeps suspenses already past due.",
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "With account_id: open_first puts the account's work first. The first page holds every open suspense, by due date with undated ones last, whatever limit is, and then limit rows of everything else (completed suspenses, notes and remarks) newest first. page.next continues the rest only, so a suspense is never behind a cursor. Left out, the feed is newest first.",
            "explode": false,
            "in": "query",
            "name": "order",
            "schema": {
              "description": "With account_id: open_first puts the account's work first. The first page holds every open suspense, by due date with undated ones last, whatever limit is, and then limit rows of everything else (completed suspenses, notes and remarks) newest first. page.next continues the rest only, so a suspense is never behind a cursor. Left out, the feed is newest first.",
              "enum": [
                "open_first"
              ],
              "type": "string"
            }
          },
          {
            "description": "With account_id: completed answers only the account's completed follow-ups, newest first, 20 to a page unless limit says otherwise. Notes, remarks, activities and open follow-ups are left out, and it does not combine with order. It pages with the same cursor, and the live read costs one AMS 360 call.",
            "explode": false,
            "in": "query",
            "name": "status",
            "schema": {
              "description": "With account_id: completed answers only the account's completed follow-ups, newest first, 20 to a page unless limit says otherwise. Notes, remarks, activities and open follow-ups are left out, and it does not combine with order. It pages with the same cursor, and the live read costs one AMS 360 call.",
              "enum": [
                "completed"
              ],
              "type": "string"
            }
          },
          {
            "description": "With account_id: detail adds each row's remaining source fields. They are a task's completer, action, policy version, reschedule count and calendar export; what a row is attached to; a remark's download and export flags. Off, they are null.",
            "explode": false,
            "in": "query",
            "name": "include",
            "schema": {
              "description": "With account_id: detail adds each row's remaining source fields. They are a task's completer, action, policy version, reschedule count and calendar export; what a row is attached to; a remark's download and export flags. Off, they are null.",
              "enum": [
                "detail"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListActivity"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List activities",
        "tags": [
          "activities"
        ]
      }
    },
    "/records/activity-comments": {
      "get": {
        "description": "Each comment saved on the account's AMS 360 activities, as its own row, newest first and paged by cursor: occurred_at is when it was saved, entered_by, entered_by_usercode and entered_by_name are who saved it, comment_on_activity_id is the activity it is on, and body is its text as AMS 360 holds it. A date inside the text belongs to what the text quotes, not to the comment. account_id is required; an account the acting seat cannot read is 404 NOT_VISIBLE_OR_ABSENT.",
        "operationId": "listActivityComments",
        "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": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "The account whose activity comments to read (its instance key). Required: comments are read one account at a time.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "required": true,
            "schema": {
              "description": "The account whose activity comments to read (its instance key). Required: comments are read one account at a time.",
              "type": "string"
            }
          },
          {
            "description": "Only comments on activities on this policy term (its instance key).",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "schema": {
              "description": "Only comments on activities on this policy term (its instance key).",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListActivity"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List an account's activity comments",
        "tags": [
          "activities"
        ]
      }
    },
    "/records/activity-feed": {
      "get": {
        "description": "The caller's admitted activity, newest first, each with the event that recorded it. Filter by account, kind, launch tool call, author or timestamp. include_total counts every matching activity under the same owner scope.",
        "operationId": "listActivityFeed",
        "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": "Optional account filter, as a Records account id or stored book key. Without it, reads the caller's admitted activities across accounts.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "Optional account filter, as a Records account id or stored book key. Without it, reads the caller's admitted activities across accounts.",
              "type": "string"
            }
          },
          {
            "description": "Activity metadata kind, for example engine_run.",
            "explode": false,
            "in": "query",
            "name": "kind",
            "schema": {
              "description": "Activity metadata kind, for example engine_run.",
              "type": "string"
            }
          },
          {
            "description": "The tool call that wrote the launch marker.",
            "explode": false,
            "in": "query",
            "name": "launch_tool_call_id",
            "schema": {
              "description": "The tool call that wrote the launch marker.",
              "type": "string"
            }
          },
          {
            "description": "Activity author. Narrows the caller's owner scope and never widens it.",
            "explode": false,
            "in": "query",
            "name": "created_by",
            "schema": {
              "description": "Activity author. Narrows the caller's owner scope and never widens it.",
              "type": "string"
            }
          },
          {
            "description": "Inclusive activity timestamp lower bound in RFC 3339 format. Required without account_id when counting or filtering metadata.",
            "explode": false,
            "in": "query",
            "name": "since",
            "schema": {
              "description": "Inclusive activity timestamp lower bound in RFC 3339 format. Required without account_id when counting or filtering metadata.",
              "type": "string"
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. All activity filters are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. All activity filters are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the count of all matching activities the caller may read, independent of the cursor.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the count of all matching activities the caller may read, independent of the cursor.",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListActivityFeedEntry"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "List the caller's activity feed",
        "tags": [
          "activity-feed"
        ]
      }
    },
    "/records/applicants": {
      "get": {
        "description": "The applicant of each of an account's admitted policy terms, in one search. An account with more than 50 admitted terms refuses. Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listApplicantRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped account id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped account id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List applicants",
        "tags": [
          "policy_parties"
        ]
      }
    },
    "/records/appointment-requests": {
      "post": {
        "description": "Records one row with its author and time. request asks for an appointment with a carrier or a broker agreement with a wholesaler or MGA (note is the person's text); the Markets directory serves it on the row's office_appointment as request (status requested when nothing else places the office) until the office stands appointed. on_file states an appointment the office holds (agency_code, scope office, or agency for a seat with Markets edit) or a broker agreement (no code or scope: the agency's from a seat with Markets edit, else the office's); the carrier_appointments family serves it at once as appointed with source workbench_on_file, under the Company Manager code table and the tracker. withdrawn takes back an earlier row (withdraws): the author's own, or any for a seat with Markets edit. document_id attaches an uploaded letter or signed agreement. The route sends no mail and creates no task. One Idempotency-Key is one write: a repeated key answers the first.",
        "operationId": "recordAppointmentRequest",
        "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": "One key per write: a repeated key answers the first.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "description": "One key per write: a repeated key answers the first.",
              "maxLength": 128,
              "minLength": 8,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AppointmentRequestBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppointmentRequestAnswer"
                }
              }
            },
            "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"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Request or add an office's appointment or broker agreement with a market",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/audit": {
      "get": {
        "description": "The org's Audit trail under the caller's permissions: Workbench submission decision history, producer actions from the action ledger, commission checks on the submissions' quotes, the Workbench accounts' own policy terms, and placement terms from the warehouse, merged newest or oldest first with an exact total. Ledger targets and placements are read at one warehouse instant at the seat's can-open boundary. A commission check is assessed against the carrier's contracted terms for the page's rows only; a seat whose role withholds carrier compensation reads none, and selecting them is refused with 403. A page's source.snapshot_id passed back as snapshot reads the same snapshots, so a multi-page export is one relation. The hide.kind and hide.status filters resolve from the request when it names either, else the person's saved Audit view, else nothing hidden; a first page answers the view block with each option's count and how many rows the filters hide. An Office seat is refused.",
        "operationId": "listAudit",
        "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": "Free-text search, trimmed and case-insensitive: a substring of a row's account name, carriers, run id, actor name, reason comment or sentence. Placement terms match the warehouse placement search. A search that reaches commission checks over more than 5,000 distinct checks or 200 carrier and state pairs in the caller's scope is refused with 400 SEARCH_TOO_BROAD; narrow it with kind or origin.",
            "explode": false,
            "in": "query",
            "name": "q",
            "schema": {
              "description": "Free-text search, trimmed and case-insensitive: a substring of a row's account name, carriers, run id, actor name, reason comment or sentence. Placement terms match the warehouse placement search. A search that reaches commission checks over more than 5,000 distinct checks or 200 carrier and state pairs in the caller's scope is refused with 400 SEARCH_TOO_BROAD; narrow it with kind or origin.",
              "type": "string"
            }
          },
          {
            "description": "One row kind, or all (the default). commission_check is refused with 403 for a seat whose role withholds carrier compensation, and all leaves those rows out for that seat.",
            "explode": false,
            "in": "query",
            "name": "kind",
            "schema": {
              "description": "One row kind, or all (the default). commission_check is refused with 403 for a seat whose role withholds carrier compensation, and all leaves those rows out for that seat.",
              "enum": [
                "all",
                "recommendation",
                "override",
                "manual_package",
                "dismissal",
                "submission_activity",
                "producer_action",
                "commission_check",
                "placement_history"
              ],
              "type": "string"
            }
          },
          {
            "description": "One source, or all (the default). commission_assessment is refused with 403 for a seat whose role withholds carrier compensation.",
            "explode": false,
            "in": "query",
            "name": "origin",
            "schema": {
              "description": "One source, or all (the default). commission_assessment is refused with 403 for a seat whose role withholds carrier compensation.",
              "enum": [
                "all",
                "submission",
                "action_ledger",
                "commission_assessment",
                "placement_history"
              ],
              "type": "string"
            }
          },
          {
            "description": "A recommendation's run status, or all (the default). A status selects recommendation rows only.",
            "explode": false,
            "in": "query",
            "name": "status",
            "schema": {
              "description": "A recommendation's run status, or all (the default). A status selects recommendation rows only.",
              "enum": [
                "all",
                "pending",
                "running",
                "completed",
                "degraded",
                "failed"
              ],
              "type": "string"
            }
          },
          {
            "description": "Comma-separated row kinds to leave out: recommendation, override, dismissal, manual_package, commission_check, producer_action, placement_history, submission_activity. Empty or none hides nothing. Left out with every other view filter, the person's saved view or the default (nothing hidden) applies. commission_check is refused with 403 for a seat whose role withholds carrier compensation, as kind=commission_check is; that seat's saved view never applies it. Composes with kind, origin and status: a row shows only when every filter keeps it. The view block lists the kinds with their counts.",
            "explode": false,
            "in": "query",
            "name": "hide.kind",
            "schema": {
              "description": "Comma-separated row kinds to leave out: recommendation, override, dismissal, manual_package, commission_check, producer_action, placement_history, submission_activity. Empty or none hides nothing. Left out with every other view filter, the person's saved view or the default (nothing hidden) applies. commission_check is refused with 403 for a seat whose role withholds carrier compensation, as kind=commission_check is; that seat's saved view never applies it. Composes with kind, origin and status: a row shows only when every filter keeps it. The view block lists the kinds with their counts.",
              "type": "string"
            }
          },
          {
            "description": "Comma-separated run statuses to leave out: pending, running, completed, degraded, failed. A status hides recommendation rows only; a recommendation with no run status is never hidden by it. Empty or none hides nothing. Left out with every other view filter, the person's saved view or the default (nothing hidden) applies.",
            "explode": false,
            "in": "query",
            "name": "hide.status",
            "schema": {
              "description": "Comma-separated run statuses to leave out: pending, running, completed, degraded, failed. A status hides recommendation rows only; a recommendation with no run status is never hidden by it. Empty or none hides nothing. Left out with every other view filter, the person's saved view or the default (nothing hidden) applies.",
              "type": "string"
            }
          },
          {
            "description": "newest (the default) or oldest first. Rows whose stamp is not an instant order last either way; ties order by id.",
            "explode": false,
            "in": "query",
            "name": "sort",
            "schema": {
              "description": "newest (the default) or oldest first. Rows whose stamp is not an instant order last either way; ties order by id.",
              "enum": [
                "newest",
                "oldest"
              ],
              "type": "string"
            }
          },
          {
            "description": "Page size. Defaults to 25. At most 2000, so an export reads its whole file in one request; a larger value is coerced to 2000 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25. At most 2000, so an export reads its whole file in one request; a larger value is coerced to 2000 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "Rows to skip before the page, at most 1000000.",
            "explode": false,
            "in": "query",
            "name": "offset",
            "schema": {
              "description": "Rows to skip before the page, at most 1000000.",
              "format": "int64",
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "Continue an earlier page's read: pass back its source.snapshot_id and this page reads the same native and warehouse snapshots, so a multi-page export is one relation. A snapshot that is malformed, in the future or older than an hour is refused with 400. The id is not signed: it names only read times within the last hour, and every read stays under the caller's own scope.",
            "explode": false,
            "in": "query",
            "name": "snapshot",
            "schema": {
              "description": "Continue an earlier page's read: pass back its source.snapshot_id and this page reads the same native and warehouse snapshots, so a multi-page export is one relation. A snapshot that is malformed, in the future or older than an hour is refused with 400. The id is not signed: it names only read times within the last hour, and every read stays under the caller's own scope.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuditList"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "List the Audit trail",
        "tags": [
          "audit"
        ]
      }
    },
    "/records/audit/search": {
      "post": {
        "description": "GET /records/audit 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": "listAuditSearch",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "hide.kind": {
                    "description": "Comma-separated row kinds to leave out: recommendation, override, dismissal, manual_package, commission_check, producer_action, placement_history, submission_activity. Empty or none hides nothing. Left out with every other view filter, the person's saved view or the default (nothing hidden) applies. commission_check is refused with 403 for a seat whose role withholds carrier compensation, as kind=commission_check is; that seat's saved view never applies it. Composes with kind, origin and status: a row shows only when every filter keeps it. The view block lists the kinds with their counts.",
                    "type": "string"
                  },
                  "hide.status": {
                    "description": "Comma-separated run statuses to leave out: pending, running, completed, degraded, failed. A status hides recommendation rows only; a recommendation with no run status is never hidden by it. Empty or none hides nothing. Left out with every other view filter, the person's saved view or the default (nothing hidden) applies.",
                    "type": "string"
                  },
                  "kind": {
                    "description": "One row kind, or all (the default). commission_check is refused with 403 for a seat whose role withholds carrier compensation, and all leaves those rows out for that seat.",
                    "enum": [
                      "all",
                      "recommendation",
                      "override",
                      "manual_package",
                      "dismissal",
                      "submission_activity",
                      "producer_action",
                      "commission_check",
                      "placement_history"
                    ],
                    "type": "string"
                  },
                  "limit": {
                    "description": "Page size. Defaults to 25. At most 2000, so an export reads its whole file in one request; a larger value is coerced to 2000 with a LIMIT_COERCED warning.",
                    "format": "int64",
                    "minimum": 1,
                    "type": "integer"
                  },
                  "offset": {
                    "description": "Rows to skip before the page, at most 1000000.",
                    "format": "int64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "origin": {
                    "description": "One source, or all (the default). commission_assessment is refused with 403 for a seat whose role withholds carrier compensation.",
                    "enum": [
                      "all",
                      "submission",
                      "action_ledger",
                      "commission_assessment",
                      "placement_history"
                    ],
                    "type": "string"
                  },
                  "q": {
                    "description": "Free-text search, trimmed and case-insensitive: a substring of a row's account name, carriers, run id, actor name, reason comment or sentence. Placement terms match the warehouse placement search. A search that reaches commission checks over more than 5,000 distinct checks or 200 carrier and state pairs in the caller's scope is refused with 400 SEARCH_TOO_BROAD; narrow it with kind or origin.",
                    "type": "string"
                  },
                  "snapshot": {
                    "description": "Continue an earlier page's read: pass back its source.snapshot_id and this page reads the same native and warehouse snapshots, so a multi-page export is one relation. A snapshot that is malformed, in the future or older than an hour is refused with 400. The id is not signed: it names only read times within the last hour, and every read stays under the caller's own scope.",
                    "type": "string"
                  },
                  "sort": {
                    "description": "newest (the default) or oldest first. Rows whose stamp is not an instant order last either way; ties order by id.",
                    "enum": [
                      "newest",
                      "oldest"
                    ],
                    "type": "string"
                  },
                  "status": {
                    "description": "A recommendation's run status, or all (the default). A status selects recommendation rows only.",
                    "enum": [
                      "all",
                      "pending",
                      "running",
                      "completed",
                      "degraded",
                      "failed"
                    ],
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuditList"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "List the Audit trail (parameters in the body)",
        "tags": [
          "audit"
        ]
      }
    },
    "/records/audit/view": {
      "get": {
        "description": "The person's saved filters, which the register's list applies when a request names no view filter, and every column the seat may show, its role's default columns and the columns this person shows. A field the seat's field classes withhold is never listed.",
        "operationId": "getAuditView",
        "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"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRegisterView"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The acting person's audit filters and columns",
        "tags": [
          "register-views"
        ]
      },
      "put": {
        "description": "Writes the person's own row. Each filter must be one the register's list serves, with a value it takes; each column must be one of columns.available for this seat; anything else is refused with 422. A View as session is read-only here.",
        "operationId": "putAuditView",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterViewWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRegisterView"
                }
              }
            },
            "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"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Save the acting person's audit filters and columns",
        "tags": [
          "register-views"
        ]
      }
    },
    "/records/auto-attachments": {
      "get": {
        "description": "A personal auto term's attached forms. Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listAutoAttachmentRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List personal auto attachments",
        "tags": [
          "attachments"
        ]
      }
    },
    "/records/auto-coverages": {
      "get": {
        "description": "A personal auto term's coverages. Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listAutoCoverageRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List personal auto coverages",
        "tags": [
          "personal_lines_detail"
        ]
      }
    },
    "/records/benefit-plans": {
      "get": {
        "description": "The benefit plans an employer sponsors, from its Form 5500 filings: each plan's latest Form 5500 or 5500-SF from the Department of Labor's public datasets, with its participants, plan assets, fidelity bond, Schedule A insurance contracts (carrier, persons covered, premium, broker commissions) and Schedule C service providers. Find them by the sponsor's EIN (ein) or by text its name contains (sponsor); a name can match several employers, so read sponsor_name, sponsor_city and sponsor_state before naming one. Largest plans by participants first. Cite a figure with its plan_year and ack_id. The filings are public, refreshed from each monthly DOL release, and the same for every org.",
        "operationId": "listBenefitPlans",
        "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 plan sponsor's EIN, nine digits with or without the hyphen (12-3456789).",
            "explode": false,
            "in": "query",
            "name": "ein",
            "schema": {
              "description": "The plan sponsor's EIN, nine digits with or without the hyphen (12-3456789).",
              "maxLength": 20,
              "type": "string"
            }
          },
          {
            "description": "Text the sponsor's name or DBA name contains, any case, with at least 3 letters or digits in a row (\"acme\" finds ACME CORP). Send ein or sponsor, not both.",
            "explode": false,
            "in": "query",
            "name": "sponsor",
            "schema": {
              "description": "Text the sponsor's name or DBA name contains, any case, with at least 3 letters or digits in a row (\"acme\" finds ACME CORP). Send ein or sponsor, not both.",
              "maxLength": 200,
              "type": "string"
            }
          },
          {
            "description": "Page size, 25 by default, at most 200.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size, 25 by default, at most 200.",
              "format": "int64",
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "The page.next of the previous page.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The page.next of the previous page.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListBenefitPlanRecord"
                }
              }
            },
            "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"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Benefit plans an employer files with the Department of Labor",
        "tags": [
          "benefit-plans"
        ]
      }
    },
    "/records/benefit-plans/search": {
      "post": {
        "description": "GET /records/benefit-plans 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": "listBenefitPlansSearch",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "cursor": {
                    "description": "The page.next of the previous page.",
                    "type": "string"
                  },
                  "ein": {
                    "description": "The plan sponsor's EIN, nine digits with or without the hyphen (12-3456789).",
                    "maxLength": 20,
                    "type": "string"
                  },
                  "limit": {
                    "description": "Page size, 25 by default, at most 200.",
                    "format": "int64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "sponsor": {
                    "description": "Text the sponsor's name or DBA name contains, any case, with at least 3 letters or digits in a row (\"acme\" finds ACME CORP). Send ein or sponsor, not both.",
                    "maxLength": 200,
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListBenefitPlanRecord"
                }
              }
            },
            "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"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Benefit plans an employer files with the Department of Labor (parameters in the body)",
        "tags": [
          "benefit-plans"
        ]
      }
    },
    "/records/billing-transactions": {
      "get": {
        "description": "Invoices with their lines and bill-to splits for one account or policy. Send exactly one of account_id and policy_id. Monetary amounts retain exact decimal text. The contextual receipts, plans, balance and named gaps are available at the context rollup.",
        "operationId": "listBillingTransactions",
        "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": "This account's invoices (instance or bk1_ key); send account_id or policy_id, not both.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "This account's invoices (instance or bk1_ key); send account_id or policy_id, not both.",
              "type": "string"
            }
          },
          {
            "description": "This policy term's invoices (its instance key); send account_id or policy_id, not both.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "schema": {
              "description": "This policy term's invoices (its instance key); send account_id or policy_id, not both.",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The first invoice date kept (YYYY-MM-DD), inclusive. Frozen in the cursor.",
            "explode": false,
            "in": "query",
            "name": "invoice_date[gte]",
            "schema": {
              "description": "The first invoice date kept (YYYY-MM-DD), inclusive. Frozen in the cursor.",
              "type": "string"
            }
          },
          {
            "description": "The last invoice date kept (YYYY-MM-DD), inclusive. Frozen in the cursor.",
            "explode": false,
            "in": "query",
            "name": "invoice_date[lte]",
            "schema": {
              "description": "The last invoice date kept (YYYY-MM-DD), inclusive. Frozen in the cursor.",
              "type": "string"
            }
          },
          {
            "description": "Only invoices on a policy whose line matches this text, ignoring case and separators. Applied before pagination and total.",
            "explode": false,
            "in": "query",
            "name": "policy_line_of_business",
            "schema": {
              "description": "Only invoices on a policy whose line matches this text, ignoring case and separators. Applied before pagination and total.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the count of the account's or policy's invoices in the window under the caller's scope.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the count of the account's or policy's invoices in the window under the caller's scope.",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListInvoice"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List billing transactions",
        "tags": [
          "billing-transactions"
        ]
      }
    },
    "/records/billing-transactions/rollups/context": {
      "get": {
        "description": "The account or policy billing context: headers, payment plans and named source gaps. Account context also includes receipts, collection letters and the derived open receivable. Policy context does not allocate an account balance or receipts to a policy.",
        "operationId": "getBillingContext",
        "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"
              ]
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordInvoiceBalance"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read billing context",
        "tags": [
          "billing-transactions"
        ]
      }
    },
    "/records/blocked-notifications": {
      "get": {
        "description": "The agency's change notifications held for a blocked recipient. Whole-book: the source refuses a seat without whole-book scope. Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listBlockedNotificationRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "One notification recipient's id.",
            "explode": false,
            "in": "query",
            "name": "recipient_id",
            "schema": {
              "description": "One notification recipient's id.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List blocked change notifications",
        "tags": [
          "change_feed"
        ]
      }
    },
    "/records/carrier-appointments": {
      "get": {
        "description": "One row per carrier for the seat's office: appointed from the Company Manager code table, else from the 2026-09-21 appointment tracker, else from an appointment added from a market card, else written_here from trailing-12-month sold business. The same rows the Markets directory badges. A seat with no office, or an office the warehouse cannot resolve, answers no rows with the reason in unreachable (no_office, office_unresolved, warehouse_timeout, warehouse_error).",
        "operationId": "listCarrierAppointments",
        "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": "Only rows with this status: appointed (the office's appointments) or written_here.",
            "explode": false,
            "in": "query",
            "name": "status",
            "schema": {
              "description": "Only rows with this status: appointed (the office's appointments) or written_here.",
              "enum": [
                "appointed",
                "written_here"
              ],
              "type": "string"
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 2000 is coerced to 2000 with a LIMIT_COERCED warning, so one page holds an office's whole list.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 2000 is coerced to 2000 with a LIMIT_COERCED warning, so one page holds an office's whole list.",
              "format": "int64",
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "The page.next of the previous page.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The page.next of the previous page.",
              "type": "string"
            }
          },
          {
            "description": "Count every matching row.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "Count every matching row.",
              "type": "boolean"
            }
          },
          {
            "description": "An office agency code to read as: one of the seat's own offices, or for a seat with Markets edit (the carrier team, an administrator) any office of the org. Absent, the seat's own office.",
            "explode": false,
            "in": "query",
            "name": "office",
            "schema": {
              "description": "An office agency code to read as: one of the seat's own offices, or for a seat with Markets edit (the carrier team, an administrator) any office of the org. Absent, the seat's own office.",
              "maxLength": 40,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListCarrierAppointmentRecord"
                }
              }
            },
            "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"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "The carriers the acting seat's office is appointed with or has written",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/carrier-contacts": {
      "get": {
        "description": "Every contact for the market: the people and desks the firm's offices' contact lists name, loaded as batches into the platform, and the market's AMS 360 underwriter rows, with each value's lineage (the list, sender, office, sheet, row and date; AMS 360 and its change date; or a person's edit with its author and time) and each contact's history. The platform orders them for the acting seat: its own office first, then every office, other offices, the claims reporting mailboxes, and those who left the carrier, then the archived (group), people before desks, then by name. A claims reporting mailbox is a row of the claims reporting sheet; the sheet has no name, type or line column, so its name is the sheet's Carrier cell as written (\"Chubb (Cyber)\" takes Chubb's cyber claims), and its lineage cites the sheet and row. can_edit is the seat's edit right on the market, served with no contacts too: every seat that reads the contacts may edit them. office, status (current by default; left; archived), product_id and q (name, title or e-mail) filter before paging; facets=group, office and status count, each following the other active filters; facets=contact_type lists every type the market's contacts use, under no filter. An AMS 360 row is read only; a correction is a value beside it. AMS 360 that cannot be read is named in unreachable (ams360) and the list contacts are still served.",
        "operationId": "listMarketCarrierContacts",
        "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 market: a Markets directory market_ref, any identity that resolves to one, or the carrier's name as a contact list writes it (\"Chubb\"), resolved as a list load resolves it.",
            "explode": false,
            "in": "query",
            "name": "market",
            "required": true,
            "schema": {
              "description": "The market: a Markets directory market_ref, any identity that resolves to one, or the carrier's name as a contact list writes it (\"Chubb\"), resolved as a list load resolves it.",
              "maxLength": 600,
              "type": "string"
            }
          },
          {
            "description": "Only contacts serving this office: an agency code, or every for the contacts every office uses.",
            "explode": false,
            "in": "query",
            "name": "office",
            "schema": {
              "description": "Only contacts serving this office: an agency code, or every for the contacts every office uses.",
              "maxLength": 64,
              "type": "string"
            }
          },
          {
            "description": "current (the default), left or archived.",
            "explode": false,
            "in": "query",
            "name": "status",
            "schema": {
              "description": "current (the default), left or archived.",
              "enum": [
                "current",
                "left",
                "archived"
              ],
              "type": "string"
            }
          },
          {
            "description": "Only contacts whose product is this product_id of /records/products.",
            "explode": false,
            "in": "query",
            "name": "product_id",
            "schema": {
              "description": "Only contacts whose product is this product_id of /records/products.",
              "maxLength": 200,
              "type": "string"
            }
          },
          {
            "description": "Only contacts whose name, title or e-mail contains this text, any case.",
            "explode": false,
            "in": "query",
            "name": "q",
            "schema": {
              "description": "Only contacts whose name, title or e-mail contains this text, any case.",
              "maxLength": 200,
              "type": "string"
            }
          },
          {
            "description": "group, office, status, contact_type: count the contacts per value. Each count follows every other active filter, but contact_type follows none: every type the market's contacts use, once in any case (its most used spelling), A to Z.",
            "explode": true,
            "in": "query",
            "name": "facets",
            "schema": {
              "description": "group, office, status, contact_type: count the contacts per value. Each count follows every other active filter, but contact_type follows none: every type the market's contacts use, once in any case (its most used spelling), A to Z.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size, 25 by default, at most 200.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size, 25 by default, at most 200.",
              "format": "int64",
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "The page.next of the previous page.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The page.next of the previous page.",
              "type": "string"
            }
          },
          {
            "description": "Count every contact.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "Count every contact.",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierContactList"
                }
              }
            },
            "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"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Who to call at a market's carrier",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/carrier-contacts/edits": {
      "post": {
        "description": "Records one edit to carrier contacts as new rows with their author and time: added (1 to 200 new contacts, each for the acting seat's office or every office, each naming its carrier by market or by the carrier as a contact list writes it), corrected (a new value beside the source's, which stays visible as replaces), confirmed (still right), left (left the carrier; replaced_by names a contact already on the market, so a replacement on no list is added first) or reported (the contact needs a look: reason left_carrier, details_wrong or other with a note; the contact carries the newest report until a correction or a confirmation). archived (the contact leaves the current list and is served under status archived with who archived it and when; nothing is deleted) or restored (an archived or left contact is current again). Every seat that reads the market's contacts may make every kind of edit. A line is a product_id of /records/products. An AMS 360 contact is never changed; its correction is a value beside it. An added contact that duplicates a current contact at its carrier is skipped, and one whose carrier resolves to no single market is unmatched; rows and totals say which. preview answers the same rows and writes nothing. A contact carries no login, username, password or PIN, and a body that carries one is refused. One Idempotency-Key is one edit: a repeated key answers the first. data is the contact as GET /records/carrier-contacts serves it.",
        "operationId": "editMarketCarrierContact",
        "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": "One key per edit: a repeated key answers the first.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "description": "One key per edit: a repeated key answers the first.",
              "maxLength": 128,
              "minLength": 8,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CarrierContactEditRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierContactEditAnswer"
                }
              }
            },
            "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"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Add carrier contacts, or correct, confirm, mark as left, report, archive or restore a market's contact",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/carrier-contacts/search": {
      "post": {
        "description": "GET /records/carrier-contacts 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": "listMarketCarrierContactsSearch",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "cursor": {
                    "description": "The page.next of the previous page.",
                    "type": "string"
                  },
                  "facets": {
                    "description": "group, office, status, contact_type: count the contacts per value. Each count follows every other active filter, but contact_type follows none: every type the market's contacts use, once in any case (its most used spelling), A to Z.",
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "include_total": {
                    "description": "Count every contact.",
                    "type": "boolean"
                  },
                  "limit": {
                    "description": "Page size, 25 by default, at most 200.",
                    "format": "int64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "market": {
                    "description": "The market: a Markets directory market_ref, any identity that resolves to one, or the carrier's name as a contact list writes it (\"Chubb\"), resolved as a list load resolves it.",
                    "maxLength": 600,
                    "type": "string"
                  },
                  "office": {
                    "description": "Only contacts serving this office: an agency code, or every for the contacts every office uses.",
                    "maxLength": 64,
                    "type": "string"
                  },
                  "product_id": {
                    "description": "Only contacts whose product is this product_id of /records/products.",
                    "maxLength": 200,
                    "type": "string"
                  },
                  "q": {
                    "description": "Only contacts whose name, title or e-mail contains this text, any case.",
                    "maxLength": 200,
                    "type": "string"
                  },
                  "status": {
                    "description": "current (the default), left or archived.",
                    "enum": [
                      "current",
                      "left",
                      "archived"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "market"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarrierContactList"
                }
              }
            },
            "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"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Who to call at a market's carrier (parameters in the body)",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/carrier-templates": {
      "get": {
        "description": "Navigator's stored carrier templates, owner-scoped as the Navigator store read is, each filter applied before the page.",
        "operationId": "listCarrierTemplates",
        "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": "Page size, bounded by the API.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size, bounded by the API.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "Continue with page.next from the same collection.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "Continue with page.next from the same collection.",
              "type": "string"
            }
          },
          {
            "description": "Include the exact count of the filtered and authorized relation, before the cursor.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "Include the exact count of the filtered and authorized relation, before the cursor.",
              "type": "boolean"
            }
          },
          {
            "description": "Rows for these market entities, repeatable.",
            "explode": true,
            "in": "query",
            "name": "market_entity_key",
            "schema": {
              "description": "Rows for these market entities, repeatable.",
              "items": {
                "type": "string"
              },
              "maxItems": 200,
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "false keeps only the form versions nobody has retired, before the page and the total. Absent keeps every version.",
            "explode": false,
            "in": "query",
            "name": "deleted",
            "schema": {
              "description": "false keeps only the form versions nobody has retired, before the page and the total. Absent keeps every version.",
              "enum": [
                "false"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListWorkbenchRow"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "List carrier templates",
        "tags": [
          "carrier_documents"
        ]
      }
    },
    "/records/carrier-templates/{id}": {
      "get": {
        "description": "One stored row by its id, admitted as the Navigator store's keyed read is. An absent row and one the seat cannot read are one answer.",
        "operationId": "getCarrierTemplate",
        "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 stored row id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The stored row id.",
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordWorkbenchRow"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read one of the carrier templates",
        "tags": [
          "carrier_documents"
        ]
      }
    },
    "/records/certificate-details": {
      "get": {
        "description": "An account's certificates, each read in full by its number. Views: record. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listCertificateDetailRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped account id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped account id required before any source read.",
              "type": "string"
            }
          },
          {
            "description": "One certificate's number. Unset reads each of the account's certificates; an account with more than eight refuses: name one.",
            "explode": false,
            "in": "query",
            "name": "certificate_number",
            "schema": {
              "description": "One certificate's number. Unset reads each of the account's certificates; an account with more than eight refuses: name one.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read certificate details",
        "tags": [
          "certificates"
        ]
      }
    },
    "/records/certificate-drafts": {
      "get": {
        "description": "Navigator's stored certificate drafts, owner-scoped as the Navigator store read is, each filter applied before the page.",
        "operationId": "listCertificateDrafts",
        "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": "Page size, bounded by the API.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size, bounded by the API.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "Continue with page.next from the same collection.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "Continue with page.next from the same collection.",
              "type": "string"
            }
          },
          {
            "description": "Include the exact count of the filtered and authorized relation, before the cursor.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "Include the exact count of the filtered and authorized relation, before the cursor.",
              "type": "boolean"
            }
          },
          {
            "description": "Rows on these accounts, repeatable.",
            "explode": true,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "Rows on these accounts, repeatable.",
              "items": {
                "type": "string"
              },
              "maxItems": 200,
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Rows owned by this user.",
            "explode": false,
            "in": "query",
            "name": "user_id",
            "schema": {
              "description": "Rows owned by this user.",
              "type": "string"
            }
          },
          {
            "description": "false keeps only drafts nobody has discarded, before the page and the total. Absent keeps every draft.",
            "explode": false,
            "in": "query",
            "name": "discarded",
            "schema": {
              "description": "false keeps only drafts nobody has discarded, before the page and the total. Absent keeps every draft.",
              "enum": [
                "false"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListWorkbenchCertificateRow"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "List certificate drafts",
        "tags": [
          "certificate_drafts"
        ]
      }
    },
    "/records/certificate-drafts/{id}": {
      "get": {
        "description": "One stored row by its id, admitted as the Navigator store's keyed read is. An absent row and one the seat cannot read are one answer.",
        "operationId": "getCertificateDraft",
        "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 stored row id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The stored row id.",
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordWorkbenchCertificateRow"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read one of the certificate drafts",
        "tags": [
          "certificate_drafts"
        ]
      }
    },
    "/records/certificate-holders": {
      "get": {
        "description": "The account's standing holder register. Requires account_id; the register is one account's, so a limit up to 10000 returns the whole of it in one request. Printed holders from issued certificates are served by certificate children and the policy-specific holders rollup.",
        "operationId": "listCertificateHolders",
        "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": "full (the default) serves every standing register entry with every field, unchanged. list serves one item per holder, folded by holder name, and reads only holder and account identity, names, entered_date and changed_date; unselected fields carry no values. The item for a holder is its newest register entry, so changed_date is the latest change date. Entries with no name never merge. The total and pagination count holders, not register entries. On the warehouse path a register past 40,000 entries answers 422.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "description": "full (the default) serves every standing register entry with every field, unchanged. list serves one item per holder, folded by holder name, and reads only holder and account identity, names, entered_date and changed_date; unselected fields carry no values. The item for a holder is its newest register entry, so changed_date is the latest change date. Entries with no name never merge. The total and pagination count holders, not register entries. On the warehouse path a register past 40,000 entries answers 422.",
              "enum": [
                "full",
                "list"
              ],
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "account_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "true adds total, the account's standing holder count, on the first page (a later page omits it).",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the account's standing holder count, on the first page (a later page omits it).",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListCertificateHolder"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List standing account certificate holders",
        "tags": [
          "certificate-holders"
        ]
      }
    },
    "/records/certificates": {
      "get": {
        "description": "Issued certificates with account and policy filters, form type and optional holders on an account. Preserves source policy slots and keyed-position narrative rules. Printed holder rows and standing account holders are separate grains.",
        "operationId": "listCertificates",
        "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": "Only certificates issued on this account (instance or bk1_ key).",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "Only certificates issued on this account (instance or bk1_ key).",
              "type": "string"
            }
          },
          {
            "description": "Only certificates attached to this policy term (its instance key).",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "schema": {
              "description": "Only certificates attached to this policy term (its instance key).",
              "type": "string"
            }
          },
          {
            "description": "Entered date order, with undated rows last and source identity as tie breaker.",
            "explode": false,
            "in": "query",
            "name": "sort",
            "schema": {
              "description": "Entered date order, with undated rows last and source identity as tie breaker.",
              "enum": [
                "entered_date",
                "-entered_date"
              ],
              "type": "string"
            }
          },
          {
            "description": "Include exact certificate and printed-holder counts over the filtered relation before pagination.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "Include exact certificate and printed-holder counts over the filtered relation before pagination.",
              "type": "boolean"
            }
          },
          {
            "description": "Keeps certificates of this AMS 360 form type code.",
            "explode": false,
            "in": "query",
            "name": "form_type",
            "schema": {
              "description": "Keeps certificates of this AMS 360 form type code.",
              "type": "string"
            }
          },
          {
            "description": "holders; available only with account_id.",
            "explode": false,
            "in": "query",
            "name": "include",
            "schema": {
              "description": "holders; available only with account_id.",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CertificateList"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List certificates",
        "tags": [
          "certificates"
        ]
      }
    },
    "/records/certificates/rollups/holder-groups": {
      "get": {
        "description": "One row per holder of the account: the printed holder rows on its issued certificates and its standing register entries that name the holder, counted and ordered newest issue first, then holders never issued to. Rows with no holder name never merge. The platform filters, orders, counts and pages under the caller's scope; the total is exact.",
        "operationId": "listCertificateHolderGroups",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account whose certificate estate is grouped by holder (instance or bk1_ key).",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "required": true,
            "schema": {
              "description": "The account whose certificate estate is grouped by holder (instance or bk1_ key).",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "true adds total, the account's exact holder count. Every page carries the same figure.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the account's exact holder count. Every page carries the same figure.",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListCertificateHolderGroup"
                }
              }
            },
            "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"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Roll an account's certificate holders up by holder",
        "tags": [
          "certificates"
        ]
      }
    },
    "/records/certificates/rollups/holders": {
      "get": {
        "description": "The holders printed on issued certificates of one account that name one policy. Both filters are required and the existing scoped reader enforces their conjunction. These are printed holder rows, not entries in the standing account register.",
        "operationId": "listPrintedCertificateHolders",
        "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"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "account_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListBookCertificateHolderRow"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List printed holders for an account policy",
        "tags": [
          "certificates"
        ]
      }
    },
    "/records/certificates/{id}/holders": {
      "get": {
        "description": "The holders as printed on one issued certificate. Unknown and hidden parent certificates share one refusal.",
        "operationId": "listIssuedCertificateHolders",
        "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"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListBookCertificateHolderRow"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List holders printed on a certificate",
        "tags": [
          "certificates"
        ]
      }
    },
    "/records/claims": {
      "get": {
        "description": "The claim register, or claims on an account or policy. The platform applies the seat boundary, filters and cursor before it returns a page. Claim narratives retain the source reader's keyed-only rules.",
        "operationId": "listClaims",
        "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"
              ]
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Only claims on this account (instance or bk1_ key). Absent, with no policy_id: the subject's claim register.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "Only claims on this account (instance or bk1_ key). Absent, with no policy_id: the subject's claim register.",
              "type": "string"
            }
          },
          {
            "description": "Only claims on this policy term (its instance key).",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "schema": {
              "description": "Only claims on this policy term (its instance key).",
              "type": "string"
            }
          },
          {
            "description": "Keeps claims of this exact source claim status.",
            "explode": false,
            "in": "query",
            "name": "status",
            "schema": {
              "description": "Keeps claims of this exact source claim status.",
              "type": "string"
            }
          },
          {
            "description": "Only claims on a policy whose line matches this text, ignoring case and separators. Frozen in the cursor.",
            "explode": false,
            "in": "query",
            "name": "policy_line_of_business",
            "schema": {
              "description": "Only claims on a policy whose line matches this text, ignoring case and separators. Frozen in the cursor.",
              "type": "string"
            }
          },
          {
            "description": "First loss date kept (YYYY-MM-DD), inclusive. Applied before pagination.",
            "explode": false,
            "in": "query",
            "name": "loss_date[gte]",
            "schema": {
              "description": "First loss date kept (YYYY-MM-DD), inclusive. Applied before pagination.",
              "type": "string"
            }
          },
          {
            "description": "Last loss date kept (YYYY-MM-DD), inclusive. Applied before pagination.",
            "explode": false,
            "in": "query",
            "name": "loss_date[lte]",
            "schema": {
              "description": "Last loss date kept (YYYY-MM-DD), inclusive. Applied before pagination.",
              "type": "string"
            }
          },
          {
            "description": "payments,loss_history; available only with account_id.",
            "explode": false,
            "in": "query",
            "name": "include",
            "schema": {
              "description": "payments,loss_history; available only with account_id.",
              "type": "string"
            }
          },
          {
            "description": "Only claims of this served standing. Applied before pagination, totals and facets. Frozen in the cursor.",
            "explode": false,
            "in": "query",
            "name": "standing",
            "schema": {
              "description": "Only claims of this served standing. Applied before pagination, totals and facets. Frozen in the cursor.",
              "enum": [
                "open",
                "closed"
              ],
              "type": "string"
            }
          },
          {
            "description": "id (the default) is claim id order. standing is open claims first, then closed, each newest loss first. loss_date and -loss_date order by loss date. A claim with no loss date sorts last in every order; claim id breaks ties. Frozen in the cursor.",
            "explode": false,
            "in": "query",
            "name": "sort",
            "schema": {
              "description": "id (the default) is claim id order. standing is open claims first, then closed, each newest loss first. loss_date and -loss_date order by loss date. A claim with no loss date sorts last in every order; claim id breaks ties. Frozen in the cursor.",
              "enum": [
                "id",
                "standing",
                "loss_date",
                "-loss_date"
              ],
              "type": "string"
            }
          },
          {
            "description": "Include the count of every claim the filters admit for this seat, before the cursor.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "Include the count of every claim the filters admit for this seat, before the cursor.",
              "type": "boolean"
            }
          },
          {
            "description": "standing counts open and closed claims under the filters, before the cursor.",
            "explode": false,
            "in": "query",
            "name": "facets",
            "schema": {
              "description": "standing counts open and closed claims under the filters, before the cursor.",
              "enum": [
                "standing"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClaimList"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List claims",
        "tags": [
          "claims"
        ]
      }
    },
    "/records/claims/{id}": {
      "get": {
        "description": "One claim, read through its account under the seat's account boundary, as the account's claims list reads it. A claim-keyed read serves the claim's narrative fields, as its child collections do, and the claim's activity notes, newest first: notes.data are the notes saved on the claim's AMS 360 activities, one row each, saved at occurred_at by entered_by_usercode and entered_by_name; notes.total counts them. A note's date and author are its row's, never a date inside its text (what the note quotes) or an activity's changed_by (its last editor). Unknown and hidden claims share one refusal.",
        "operationId": "getClaim",
        "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 claim instance key.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The claim instance key.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordClaimDetail"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Get a claim",
        "tags": [
          "claims"
        ]
      }
    },
    "/records/claims/{id}/file": {
      "get": {
        "description": "The kept columns of a claim's payments, remarks, contacts, injured parties, property damage, risk items, drivers and loss history, read once under one admission of the claim, and what was paid on the claim, summed from those payments by the claims list's rule. A read that cannot answer any one list fails the whole file; a list is never served empty for a read that did not come back. Unknown and hidden claims share one refusal.",
        "operationId": "getClaimFile",
        "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 claim instance key.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The claim instance key.",
              "type": "string"
            }
          },
          {
            "description": "The account the claim is read under. A claim whose policy is not one of the account's policies the seat may read answers 404, the same as a claim the seat cannot read. Absent, the claim is read under the seat's admission alone.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "The account the claim is read under. A claim whose policy is not one of the account's policies the seat may read answers 404, the same as a claim the seat cannot read. Absent, the claim is read under the seat's admission alone.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordClaimFile"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Get a claim's file",
        "tags": [
          "claims"
        ]
      }
    },
    "/records/claims/{id}/injured": {
      "get": {
        "description": "List claim injured",
        "operationId": "listClaimInjured",
        "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 claim instance key.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The claim instance key.",
              "type": "string"
            }
          },
          {
            "description": "The account the claim is read under. A claim whose policy is not one of the account's policies the seat may read answers 404, the same as a claim the seat cannot read. Absent, the claim is read under the seat's admission alone.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "The account the claim is read under. A claim whose policy is not one of the account's policies the seat may read answers 404, the same as a claim the seat cannot read. Absent, the claim is read under the seat's admission alone.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListBookClaimInjuredRow"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List claim injured",
        "tags": [
          "claims"
        ]
      }
    },
    "/records/claims/{id}/loss-history": {
      "get": {
        "description": "List claim loss-history",
        "operationId": "listClaimLossHistory",
        "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 claim instance key.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The claim instance key.",
              "type": "string"
            }
          },
          {
            "description": "The account the claim is read under. A claim whose policy is not one of the account's policies the seat may read answers 404, the same as a claim the seat cannot read. Absent, the claim is read under the seat's admission alone.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "The account the claim is read under. A claim whose policy is not one of the account's policies the seat may read answers 404, the same as a claim the seat cannot read. Absent, the claim is read under the seat's admission alone.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListClaimLossHistory"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List claim loss-history",
        "tags": [
          "claims"
        ]
      }
    },
    "/records/claims/{id}/parties": {
      "get": {
        "description": "Every person the claim names, one row each with its kind: a claim contact (claimant, witness, adjuster and the other contact types the source keeps), an injured person, or a driver of a vehicle in the loss. A claim the seat cannot open answers 404.",
        "operationId": "listClaimParties",
        "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 claim's id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The claim's id.",
              "type": "string"
            }
          },
          {
            "description": "The account the claim is read under. A claim whose policy is not one of the account's policies the seat may read answers 404, the same as a claim the seat cannot read. Absent, the claim is read under the seat's admission alone.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "The account the claim is read under. A claim whose policy is not one of the account's policies the seat may read answers 404, the same as a claim the seat cannot read. Absent, the claim is read under the seat's admission alone.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListClaimPartiesResponse"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List the claim's parties",
        "tags": [
          "claims"
        ]
      }
    },
    "/records/claims/{id}/payments": {
      "get": {
        "description": "List claim payments",
        "operationId": "listClaimPayments",
        "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 claim instance key.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The claim instance key.",
              "type": "string"
            }
          },
          {
            "description": "The account the claim is read under. A claim whose policy is not one of the account's policies the seat may read answers 404, the same as a claim the seat cannot read. Absent, the claim is read under the seat's admission alone.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "The account the claim is read under. A claim whose policy is not one of the account's policies the seat may read answers 404, the same as a claim the seat cannot read. Absent, the claim is read under the seat's admission alone.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListBookClaimPaymentRow"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List claim payments",
        "tags": [
          "claims"
        ]
      }
    },
    "/records/claims/{id}/property-damage": {
      "get": {
        "description": "List claim property-damage",
        "operationId": "listClaimPropertyDamage",
        "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 claim instance key.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The claim instance key.",
              "type": "string"
            }
          },
          {
            "description": "The account the claim is read under. A claim whose policy is not one of the account's policies the seat may read answers 404, the same as a claim the seat cannot read. Absent, the claim is read under the seat's admission alone.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "The account the claim is read under. A claim whose policy is not one of the account's policies the seat may read answers 404, the same as a claim the seat cannot read. Absent, the claim is read under the seat's admission alone.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListBookClaimPropertyDamageRow"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List claim property-damage",
        "tags": [
          "claims"
        ]
      }
    },
    "/records/claims/{id}/remarks": {
      "get": {
        "description": "List claim remarks",
        "operationId": "listClaimRemarks",
        "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 claim instance key.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The claim instance key.",
              "type": "string"
            }
          },
          {
            "description": "The account the claim is read under. A claim whose policy is not one of the account's policies the seat may read answers 404, the same as a claim the seat cannot read. Absent, the claim is read under the seat's admission alone.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "The account the claim is read under. A claim whose policy is not one of the account's policies the seat may read answers 404, the same as a claim the seat cannot read. Absent, the claim is read under the seat's admission alone.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListBookClaimRemarkRow"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List claim remarks",
        "tags": [
          "claims"
        ]
      }
    },
    "/records/claims/{id}/risk-items": {
      "get": {
        "description": "List claim risk-items",
        "operationId": "listClaimRiskItems",
        "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 claim instance key.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The claim instance key.",
              "type": "string"
            }
          },
          {
            "description": "The account the claim is read under. A claim whose policy is not one of the account's policies the seat may read answers 404, the same as a claim the seat cannot read. Absent, the claim is read under the seat's admission alone.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "The account the claim is read under. A claim whose policy is not one of the account's policies the seat may read answers 404, the same as a claim the seat cannot read. Absent, the claim is read under the seat's admission alone.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListClaimRiskItem"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List claim risk-items",
        "tags": [
          "claims"
        ]
      }
    },
    "/records/class-knowledge": {
      "get": {
        "description": "Finds the AM Best class report behind a sales playbook by industry code or name; view=resolve picks the one report for a NAICS code. Use it first for any question about a kind of business, then read the report it names.",
        "operationId": "listClassKnowledge",
        "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": "list (default) browses the corpus, one row per record; resolve chooses one record for a NAICS code or prefix and serves its class name and stand-in basis; index serves one row per covered NAICS code (ClassIndexRowJSON): the record the code's choice reads, named as its playbook names it, ordered by name, at most 200 per page; include_total counts its rows and facets=corpus counts the corpus's records and classes. The register views serve one row each, read from the whole corpus: search ranks the class register against q (ClassSearchJSON), taxonomy serves the NAICS 2022 title table and the register's sector tree (ClassTaxonomyJSON). An account's evidence is ranked by POST /records/class-knowledge/candidates.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "description": "list (default) browses the corpus, one row per record; resolve chooses one record for a NAICS code or prefix and serves its class name and stand-in basis; index serves one row per covered NAICS code (ClassIndexRowJSON): the record the code's choice reads, named as its playbook names it, ordered by name, at most 200 per page; include_total counts its rows and facets=corpus counts the corpus's records and classes. The register views serve one row each, read from the whole corpus: search ranks the class register against q (ClassSearchJSON), taxonomy serves the NAICS 2022 title table and the register's sector tree (ClassTaxonomyJSON). An account's evidence is ranked by POST /records/class-knowledge/candidates.",
              "enum": [
                "list",
                "resolve",
                "index",
                "search",
                "taxonomy"
              ],
              "type": "string"
            }
          },
          {
            "description": "Page size. Defaults to 25; the collection's maximum is 100 (1000 for the summary view), and a larger value is coerced with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; the collection's maximum is 100 (1000 for the summary view), and a larger value is coerced with a LIMIT_COERCED warning.",
              "type": "string"
            }
          },
          {
            "description": "The opaque page.next of the previous page. The filters are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. The filters are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the filtered collection.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the filtered collection.",
              "type": "string"
            }
          },
          {
            "description": "The catalog connection to read. Absent: the org's single active connection.",
            "explode": false,
            "in": "query",
            "name": "connection_id",
            "schema": {
              "description": "The catalog connection to read. Absent: the org's single active connection.",
              "type": "string"
            }
          },
          {
            "description": "A search over the class title. Not with view=index.",
            "explode": false,
            "in": "query",
            "name": "search",
            "schema": {
              "description": "A search over the class title. Not with view=index.",
              "type": "string"
            }
          },
          {
            "description": "A NAICS code or prefix. resolve prefers exact-code records by the reviewed class rule; with no exact match it chooses the newest prefix candidate. index serves the classes whose code starts with it.",
            "explode": false,
            "in": "query",
            "name": "naics",
            "schema": {
              "description": "A NAICS code or prefix. resolve prefers exact-code records by the reviewed class rule; with no exact match it chooses the newest prefix candidate. index serves the classes whose code starts with it.",
              "type": "string"
            }
          },
          {
            "description": "With view=index, corpus counts the corpus: records (its records) and classes (the index's rows before any filter).",
            "explode": false,
            "in": "query",
            "name": "facets",
            "schema": {
              "description": "With view=index, corpus counts the corpus: records (its records) and classes (the index's rows before any filter).",
              "type": "string"
            }
          },
          {
            "description": "view=search: a producer's words or a NAICS or SIC code. Empty: the whole register in name order. At most 4000 characters.",
            "explode": false,
            "in": "query",
            "name": "q",
            "schema": {
              "description": "view=search: a producer's words or a NAICS or SIC code. Empty: the whole register in name order. At most 4000 characters.",
              "type": "string"
            }
          },
          {
            "description": "view=search: Census sector keys to leave out, comma separated (23, 48-49; unpublished for classes with no sector); none hides nothing.",
            "explode": false,
            "in": "query",
            "name": "hide.sector",
            "schema": {
              "description": "view=search: Census sector keys to leave out, comma separated (23, 48-49; unpublished for classes with no sector); none hides nothing.",
              "type": "string"
            }
          },
          {
            "description": "view=search: only classes under this 4-digit NAICS industry group.",
            "explode": false,
            "in": "query",
            "name": "industry_group",
            "schema": {
              "description": "view=search: only classes under this 4-digit NAICS industry group.",
              "type": "string"
            }
          },
          {
            "description": "view=search: the hits' order; rank (the default) is the ranker's.",
            "explode": false,
            "in": "query",
            "name": "sort",
            "schema": {
              "description": "view=search: the hits' order; rank (the default) is the ranker's.",
              "enum": [
                "rank",
                "name",
                "-name",
                "industry_group",
                "-industry_group"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListClassKnowledgeListRowJSON"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Find AM Best classes",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/class-knowledge/candidates": {
      "post": {
        "description": "A read: it writes nothing. Ranks the class register's names against the account's evidence (business name, industry, operations description, commodities) and answers two or three candidates, or insufficient, with the fields it read. Never a code the register does not carry. Admitted as the list is.",
        "operationId": "rankClassCandidates",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClassCandidatesRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordClassCandidatesJSON"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Rank class candidates for an account's evidence",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/class-knowledge/rollups/nearest": {
      "get": {
        "description": "The AM Best classes closest to a NAICS code that has no report of its own, best first. Use it when the lookup finds no report for the code.",
        "operationId": "getClassKnowledgeNearest",
        "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 NAICS code to rank classes near (at most 64 characters). A query that is not a code answers ranked=false with no classes.",
            "explode": false,
            "in": "query",
            "name": "naics",
            "schema": {
              "description": "The NAICS code to rank classes near (at most 64 characters). A query that is not a code answers ranked=false with no classes.",
              "type": "string"
            }
          },
          {
            "description": "Classes to answer, 1 to 25; absent answers the default.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Classes to answer, 1 to 25; absent answers the default.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClassKnowledgeNearestJSON"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          },
          "503": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Find the closest classes AM Best covers",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/class-knowledge/rollups/rating-codes": {
      "get": {
        "description": "The general liability and workers compensation class codes the agency's AMS 360 book wrote for a class, most used first, with the description the agency entered and the states each was written in. Use it when someone asks which codes to use for a kind of business, and pass state_id once they name a state: one state read also serves every code's whole-book counts, states, carriers and rate.",
        "operationId": "getClassKnowledgeRatingCodes",
        "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": "An id of GET /records/classes (a 2022 NAICS code). Customers whose NAICS falls under it, or whose SIC the Census concordances carry into it, form the cohort.",
            "explode": false,
            "in": "query",
            "name": "class_id",
            "required": true,
            "schema": {
              "description": "An id of GET /records/classes (a 2022 NAICS code). Customers whose NAICS falls under it, or whose SIC the Census concordances carry into it, form the cohort.",
              "type": "string"
            }
          },
          {
            "description": "A two-letter USPS state code. Adds each code's counts in the state (in_state) and narrows carriers and rates to it; codes, whole-book counts, descriptions and states never narrow. Each code also carries the whole book's carriers and rate in book_carriers and book_rate, so no second read without state_id is needed.",
            "explode": false,
            "in": "query",
            "name": "state_id",
            "schema": {
              "description": "A two-letter USPS state code. Adds each code's counts in the state (in_state) and narrows carriers and rates to it; codes, whole-book counts, descriptions and states never narrow. Each code also carries the whole book's carriers and rate in book_carriers and book_rate, so no second read without state_id is needed.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BookClasses"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          },
          "503": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Find the GL and WC codes the agency writes for a class",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/class-knowledge/search": {
      "post": {
        "description": "GET /records/class-knowledge 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": "listClassKnowledgeSearch",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "connection_id": {
                    "description": "The catalog connection to read. Absent: the org's single active connection.",
                    "type": "string"
                  },
                  "cursor": {
                    "description": "The opaque page.next of the previous page. The filters are frozen inside it.",
                    "type": "string"
                  },
                  "facets": {
                    "description": "With view=index, corpus counts the corpus: records (its records) and classes (the index's rows before any filter).",
                    "type": "string"
                  },
                  "hide.sector": {
                    "description": "view=search: Census sector keys to leave out, comma separated (23, 48-49; unpublished for classes with no sector); none hides nothing.",
                    "type": "string"
                  },
                  "include_total": {
                    "description": "true adds total, the row count of the filtered collection.",
                    "type": "string"
                  },
                  "industry_group": {
                    "description": "view=search: only classes under this 4-digit NAICS industry group.",
                    "type": "string"
                  },
                  "limit": {
                    "description": "Page size. Defaults to 25; the collection's maximum is 100 (1000 for the summary view), and a larger value is coerced with a LIMIT_COERCED warning.",
                    "type": "string"
                  },
                  "naics": {
                    "description": "A NAICS code or prefix. resolve prefers exact-code records by the reviewed class rule; with no exact match it chooses the newest prefix candidate. index serves the classes whose code starts with it.",
                    "type": "string"
                  },
                  "q": {
                    "description": "view=search: a producer's words or a NAICS or SIC code. Empty: the whole register in name order. At most 4000 characters.",
                    "type": "string"
                  },
                  "search": {
                    "description": "A search over the class title. Not with view=index.",
                    "type": "string"
                  },
                  "sort": {
                    "description": "view=search: the hits' order; rank (the default) is the ranker's.",
                    "enum": [
                      "rank",
                      "name",
                      "-name",
                      "industry_group",
                      "-industry_group"
                    ],
                    "type": "string"
                  },
                  "view": {
                    "description": "list (default) browses the corpus, one row per record; resolve chooses one record for a NAICS code or prefix and serves its class name and stand-in basis; index serves one row per covered NAICS code (ClassIndexRowJSON): the record the code's choice reads, named as its playbook names it, ordered by name, at most 200 per page; include_total counts its rows and facets=corpus counts the corpus's records and classes. The register views serve one row each, read from the whole corpus: search ranks the class register against q (ClassSearchJSON), taxonomy serves the NAICS 2022 title table and the register's sector tree (ClassTaxonomyJSON). An account's evidence is ranked by POST /records/class-knowledge/candidates.",
                    "enum": [
                      "list",
                      "resolve",
                      "index",
                      "search",
                      "taxonomy"
                    ],
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListClassKnowledgeListRowJSON"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Find AM Best classes (parameters in the body)",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/class-knowledge/{id}": {
      "get": {
        "description": "One AM Best class report: what the business does, its hazards by line, the underwriter checklist and the related classes. Use it after the lookup names the report, to answer what a producer needs to know about the class.",
        "operationId": "getClassKnowledge",
        "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 class knowledge record's id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The class knowledge record's id.",
              "type": "string"
            }
          },
          {
            "description": "The class code the record is read for: digits, 10 characters or fewer. It names intake's class and code; without it intake names the record's title.",
            "explode": false,
            "in": "query",
            "name": "naics",
            "schema": {
              "description": "The class code the record is read for: digits, 10 characters or fewer. It names intake's class and code; without it intake names the record's title.",
              "type": "string"
            }
          },
          {
            "description": "full (the default): the whole record, with each hazard line's narrative, the quality read and the intake shape. brief: what a class answer states, each field as full serves it: id, source_report_id, title, codes, am_publish_date, sources, report_description, risk_description, materials_equipment, checklist, related_reports, and hazard_indexes with every line's line_of_coverage, score and comments; it carries no hazard narrative (description), associations, quality or intake.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "description": "full (the default): the whole record, with each hazard line's narrative, the quality read and the intake shape. brief: what a class answer states, each field as full serves it: id, source_report_id, title, codes, am_publish_date, sources, report_description, risk_description, materials_equipment, checklist, related_reports, and hazard_indexes with every line's line_of_coverage, score and comments; it carries no hazard narrative (description), associations, quality or intake.",
              "enum": [
                "full",
                "brief"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordClassKnowledgeDetailJSON"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Read an AM Best class report",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/classes": {
      "get": {
        "description": "Every 2022 NAICS code the Census Bureau publishes, sector to national industry (1,012 six-digit codes), with its title, parent and level. q searches a code or code prefix, or words over titles, parents' titles and the Census index entries. Filters by level and parent. The same for every org: a platform reference, not book data.",
        "operationId": "listClasses",
        "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": "A code or code prefix (2212 finds 2212, 22121 and 221210; 31 finds the 31-33 sector), or words matched against each class's title, its parents' titles and its Census index entries (gas utility, natural gas brokers). The last word also matches as the start of a word, the way a typeahead asks (plumb finds Plumbing); earlier words match whole. Words are ranked best first, a whole word before a word start, the hierarchy's order among equals. At most 200 characters and 12 words.",
            "explode": false,
            "in": "query",
            "name": "q",
            "schema": {
              "description": "A code or code prefix (2212 finds 2212, 22121 and 221210; 31 finds the 31-33 sector), or words matched against each class's title, its parents' titles and its Census index entries (gas utility, natural gas brokers). The last word also matches as the start of a word, the way a typeahead asks (plumb finds Plumbing); earlier words match whole. Words are ranked best first, a whole word before a word start, the hierarchy's order among equals. At most 200 characters and 12 words.",
              "type": "string"
            }
          },
          {
            "description": "Only classes at this level.",
            "explode": false,
            "in": "query",
            "name": "level",
            "schema": {
              "description": "Only classes at this level.",
              "enum": [
                "sector",
                "subsector",
                "industry_group",
                "industry",
                "national_industry"
              ],
              "type": "string"
            }
          },
          {
            "description": "Only the classes one level under this code.",
            "explode": false,
            "in": "query",
            "name": "parent",
            "schema": {
              "description": "Only the classes one level under this code.",
              "type": "string"
            }
          },
          {
            "description": "Page size. Defaults to 50; a value above 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 50; a value above 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. q, level and parent are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. q, level and parent are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the number of classes the query answers.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the number of classes the query answers.",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListClassRecord"
                }
              }
            },
            "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"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List industry classes (NAICS 2022)",
        "tags": [
          "classes"
        ]
      }
    },
    "/records/classes/resolve": {
      "get": {
        "description": "Each input (a code of NAICS 2022, 2017, 2012, 2007, 2002 or 1997 or SIC 1987, or plain words) answers the 2022 codes it reaches, each with its path (exact, concordance with every Census table step, index_entry or title_words) and a heuristic confidence. A split concordance lists every target; an older-vintage group code is carried forward as every code under it, with a note. An unknown code is no_match with its reason, never a guess.",
        "operationId": "resolveClasses",
        "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": "What to resolve, repeatable up to 200: a code of any NAICS vintage or SIC 1987, or plain words. Each answers one resolution, in the order given.",
            "explode": true,
            "in": "query",
            "name": "input",
            "schema": {
              "description": "What to resolve, repeatable up to 200: a code of any NAICS vintage or SIC 1987, or plain words. Each answers one resolution, in the order given.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "How to read every input. Absent: digits are a code read as NAICS, newest vintage first, and as SIC 1987 only when no NAICS vintage holds a four-digit code; anything else is words. naics reads any NAICS vintage; a named vintage or sic1987 reads only that system; words never reads a code.",
            "explode": false,
            "in": "query",
            "name": "system",
            "schema": {
              "description": "How to read every input. Absent: digits are a code read as NAICS, newest vintage first, and as SIC 1987 only when no NAICS vintage holds a four-digit code; anything else is words. naics reads any NAICS vintage; a named vintage or sic1987 reads only that system; words never reads a code.",
              "enum": [
                "naics",
                "naics2022",
                "naics2017",
                "naics2012",
                "naics2007",
                "naics2002",
                "naics1997",
                "sic1987",
                "words"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListResolution"
                }
              }
            },
            "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"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Resolve codes or words to 2022 NAICS classes",
        "tags": [
          "classes"
        ]
      }
    },
    "/records/classes/search": {
      "post": {
        "description": "GET /records/classes 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": "listClassesSearch",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "cursor": {
                    "description": "The opaque page.next of the previous page. q, level and parent are frozen inside it.",
                    "type": "string"
                  },
                  "include_total": {
                    "description": "true adds total, the number of classes the query answers.",
                    "type": "boolean"
                  },
                  "level": {
                    "description": "Only classes at this level.",
                    "enum": [
                      "sector",
                      "subsector",
                      "industry_group",
                      "industry",
                      "national_industry"
                    ],
                    "type": "string"
                  },
                  "limit": {
                    "description": "Page size. Defaults to 50; a value above 200 is coerced to 200 with a LIMIT_COERCED warning.",
                    "format": "int64",
                    "minimum": 1,
                    "type": "integer"
                  },
                  "parent": {
                    "description": "Only the classes one level under this code.",
                    "type": "string"
                  },
                  "q": {
                    "description": "A code or code prefix (2212 finds 2212, 22121 and 221210; 31 finds the 31-33 sector), or words matched against each class's title, its parents' titles and its Census index entries (gas utility, natural gas brokers). The last word also matches as the start of a word, the way a typeahead asks (plumb finds Plumbing); earlier words match whole. Words are ranked best first, a whole word before a word start, the hierarchy's order among equals. At most 200 characters and 12 words.",
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListClassRecord"
                }
              }
            },
            "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"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List industry classes (NAICS 2022) (parameters in the body)",
        "tags": [
          "classes"
        ]
      }
    },
    "/records/codes": {
      "get": {
        "description": "Each datasource/domain/code retains its own label, sort and hidden values before cross-instance dictionary folding. Domain filters are required. The dictionary is source-bounded and refuses overflow; it is not paginated. A live code list (code_list, industry, additional_interest_type, profile_question, notification_type, transaction_type, activity_action, activity_checkpoint, activity_entity_type, task_action, task_entity_type, document_type, specialty_entry_type, service_agreement_type) is one domain read alone from the system of record by a seat bound to it, with that list's views and selectors and scheme paging; its rows carry source_key and source_fields until the catalog names the list's fields, and a seat the warehouse serves answers its absence. The domains rollup preserves the grouped dictionary. The agency's setup lists (line_of_business, document_classification, profile_question, carrier_question, relationship_type, relationship, code_string, coverage_code) are each a domain read alone with scheme paging: a warehouse seat reads their declared fields (code_string narrows by attribute_code), a seat bound to the system of record reads the live list where one exists.",
        "operationId": "listVocabularyCodes",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Required dictionary domains, comma-separated or repeated; the dictionary is not paginated and the source bounds the number of domains. A live code list is one domain read alone, with scheme paging, by a seat bound to the system of record: code_list, industry, additional_interest_type, profile_question, notification_type, transaction_type, activity_action, activity_checkpoint, activity_entity_type, task_action, task_entity_type, document_type, specialty_entry_type, service_agreement_type. A seat the warehouse serves answers a live list's absence.",
            "explode": false,
            "in": "query",
            "name": "domain",
            "schema": {
              "description": "Required dictionary domains, comma-separated or repeated; the dictionary is not paginated and the source bounds the number of domains. A live code list is one domain read alone, with scheme paging, by a seat bound to the system of record: code_list, industry, additional_interest_type, profile_question, notification_type, transaction_type, activity_action, activity_checkpoint, activity_entity_type, task_action, task_entity_type, document_type, specialty_entry_type, service_agreement_type. A seat the warehouse serves answers a live list's absence.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "A live code list's view. code_list: agency (default), values. industry: naics (default), naics-detail, sic. activity_entity_type, task_action, task_entity_type: list (default), alternate. Every other list: list.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "description": "A live code list's view. code_list: agency (default), values. industry: naics (default), naics-detail, sic. activity_entity_type, task_action, task_entity_type: list (default), alternate. Every other list: list.",
              "enum": [
                "list",
                "alternate",
                "agency",
                "values",
                "naics",
                "naics-detail",
                "sic",
                "basic",
                "full",
                "filtered",
                "record",
                "by-company"
              ],
              "type": "string"
            }
          },
          {
            "description": "code_list agency: the list's attribute code; unset lists every list.",
            "explode": false,
            "in": "query",
            "name": "attribute_code",
            "schema": {
              "description": "code_list agency: the list's attribute code; unset lists every list.",
              "type": "string"
            }
          },
          {
            "description": "code_list values: the value list's name (required).",
            "explode": false,
            "in": "query",
            "name": "list",
            "schema": {
              "description": "code_list values: the value list's name (required).",
              "type": "string"
            }
          },
          {
            "description": "industry naics and naics-detail (required there): a NAICS code.",
            "explode": false,
            "in": "query",
            "name": "code",
            "schema": {
              "description": "industry naics and naics-detail (required there): a NAICS code.",
              "type": "string"
            }
          },
          {
            "description": "industry naics: a name.",
            "explode": false,
            "in": "query",
            "name": "name",
            "schema": {
              "description": "industry naics: a name.",
              "type": "string"
            }
          },
          {
            "description": "industry naics: true or false.",
            "explode": false,
            "in": "query",
            "name": "active",
            "schema": {
              "description": "industry naics: true or false.",
              "type": "string"
            }
          },
          {
            "description": "industry sic: a SIC code.",
            "explode": false,
            "in": "query",
            "name": "sic_code",
            "schema": {
              "description": "industry sic: a SIC code.",
              "type": "string"
            }
          },
          {
            "description": "industry sic: a description.",
            "explode": false,
            "in": "query",
            "name": "description",
            "schema": {
              "description": "industry sic: a description.",
              "type": "string"
            }
          },
          {
            "description": "additional_interest_type: true for the master certificate interests.",
            "explode": false,
            "in": "query",
            "name": "master_certificate",
            "schema": {
              "description": "additional_interest_type: true for the master certificate interests.",
              "type": "string"
            }
          },
          {
            "description": "notification_type: the notification version.",
            "explode": false,
            "in": "query",
            "name": "version",
            "schema": {
              "description": "notification_type: the notification version.",
              "type": "string"
            }
          },
          {
            "description": "activity_checkpoint: one checkpoint code (1 claim, 4 customer, 6 download, 20 policy edit); unset reads every checkpoint.",
            "explode": false,
            "in": "query",
            "name": "checkpoint",
            "schema": {
              "description": "activity_checkpoint: one checkpoint code (1 claim, 4 customer, 6 download, 20 policy edit); unset reads every checkpoint.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListVocabularyCodesResponse"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "List codes",
        "tags": [
          "codes"
        ]
      }
    },
    "/records/codes/rollups/domains": {
      "get": {
        "description": "The unchanged domain dictionary: source-label groups retain their datasource sets, source sort/hidden fold and null-versus-empty labels. Unknown requested domains remain explicit empty blocks. Source-bounded, no pagination.",
        "operationId": "getCodeDomains",
        "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": "Required dictionary domains, comma-separated or repeated. The source bounds the number of domains and refuses overflow; this vocabulary is not paginated.",
            "explode": false,
            "in": "query",
            "name": "domain",
            "schema": {
              "description": "Required dictionary domains, comma-separated or repeated. The source bounds the number of domains and refuses overflow; this vocabulary is not paginated.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Only these AMS 360 datasources, comma-separated or repeated: one read per named datasource where the dictionary reads every datasource the Connection maps. Absent: every datasource.",
            "explode": false,
            "in": "query",
            "name": "datasource",
            "schema": {
              "description": "Only these AMS 360 datasources, comma-separated or repeated: one read per named datasource where the dictionary reads every datasource the Connection maps. Absent: every datasource.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordBookCodeVocabulary"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Read grouped code domains",
        "tags": [
          "codes"
        ]
      }
    },
    "/records/commission-template-changes": {
      "get": {
        "description": "The history of commission templates applied to one policy term. Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listCommissionTemplateChangeRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List commission template changes",
        "tags": [
          "commission_facts"
        ]
      }
    },
    "/records/commission-terms": {
      "get": {
        "description": "Commission and profit-share terms read from carrier documents, each with its citation. A member denied carrier compensation reads the terms without their figures.",
        "operationId": "listCommissionTerms",
        "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": "Page size. Defaults to 25; the collection's maximum is 100 (1000 for the summary view), and a larger value is coerced with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; the collection's maximum is 100 (1000 for the summary view), and a larger value is coerced with a LIMIT_COERCED warning.",
              "type": "string"
            }
          },
          {
            "description": "The opaque page.next of the previous page. The filters are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. The filters are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the filtered collection.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the filtered collection.",
              "type": "string"
            }
          },
          {
            "description": "The catalog connection to read. Absent: the org's single active connection.",
            "explode": false,
            "in": "query",
            "name": "connection_id",
            "schema": {
              "description": "The catalog connection to read. Absent: the org's single active connection.",
              "type": "string"
            }
          },
          {
            "description": "Only this market's terms (its entity key).",
            "explode": false,
            "in": "query",
            "name": "market_entity_key",
            "schema": {
              "description": "Only this market's terms (its entity key).",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "line",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "term_family",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Repeatable. Only terms that name one of these products (ids of /records/products) at their declared grain: a term at type grain answers every product of its type.",
            "explode": true,
            "in": "query",
            "name": "product",
            "schema": {
              "description": "Repeatable. Only terms that name one of these products (ids of /records/products) at their declared grain: a term at type grain answers every product of its type.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Repeatable. Only terms that name one of these product types, at type grain or through one of the type's products.",
            "explode": true,
            "in": "query",
            "name": "product_type",
            "schema": {
              "description": "Repeatable. Only terms that name one of these product types, at type grain or through one of the type's products.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListCatalogTermJSON"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List commission terms",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/contacts": {
      "get": {
        "description": "The named people at one account, every contact on one page. account_id is required; an account the acting seat cannot read is 404 NOT_VISIBLE_OR_ABSENT. The account record itself is GET /records/accounts/{id}.",
        "operationId": "listContacts",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account whose contacts to read (its instance key; a bk1_ key is accepted). Required: a contact list is read one account at a time.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "required": true,
            "schema": {
              "description": "The account whose contacts to read (its instance key; a bk1_ key is accepted). Required: a contact list is read one account at a time.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListContact"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List an account's contacts",
        "tags": [
          "contacts"
        ]
      }
    },
    "/records/contingencies/carriers/{marketEntityKey}": {
      "get": {
        "description": "The carrier's program for the year on the line (its all-lines program when it has no line program), the projection, the scenario outcome and tier ladder, the moves into and out of it summed, and its producers. Moves themselves are /contingencies/plan/moves?to= and ?from=. Served to firm-wide seats (scope all); any other scope is 403 CAPABILITY_DENIED, reason SCOPE_UNAVAILABLE. Before the first run it answers 424 SOURCE_UNAVAILABLE, reason NO_RUN_YET.",
        "operationId": "getContingencyCarrier",
        "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": "Program year: 2025, 2026 or 2027. Absent or unknown reads the supported current program year, as /contingencies/status selects it.",
            "explode": false,
            "in": "query",
            "name": "year",
            "schema": {
              "description": "Program year: 2025, 2026 or 2027. Absent or unknown reads the supported current program year, as /contingencies/status selects it.",
              "type": "string"
            }
          },
          {
            "description": "all, personal or commercial. Absent or unknown reads all.",
            "explode": false,
            "in": "query",
            "name": "line",
            "schema": {
              "description": "all, personal or commercial. Absent or unknown reads all.",
              "type": "string"
            }
          },
          {
            "description": "Team hours: 0, 1200, 2000 or 3000 for 2026; 2000 for 2025; 8000 for 2027. Absent or unsupported reads the year's default.",
            "explode": false,
            "in": "query",
            "name": "hours",
            "schema": {
              "description": "Team hours: 0, 1200, 2000 or 3000 for 2026; 2000 for 2025; 8000 for 2027. Absent or unsupported reads the year's default.",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "marketEntityKey",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordContingencyCarrierPlan"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "One carrier's plan: program, projection, outcome, ladder, flows and producers",
        "tags": [
          "contingencies"
        ]
      }
    },
    "/records/contingencies/plan": {
      "get": {
        "description": "The scenario's totals, effort curve, calibration (2025) and every program's outcome in rank order. An absent or unknown year, line or hours reads the scenario /contingencies/status selects, and the answer names it (scenario). Served to firm-wide seats (scope all); any other scope is 403 CAPABILITY_DENIED, reason SCOPE_UNAVAILABLE. Before the first run it answers 424 SOURCE_UNAVAILABLE, reason NO_RUN_YET.",
        "operationId": "getContingencyPlan",
        "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": "Program year: 2025, 2026 or 2027. Absent or unknown reads the supported current program year, as /contingencies/status selects it.",
            "explode": false,
            "in": "query",
            "name": "year",
            "schema": {
              "description": "Program year: 2025, 2026 or 2027. Absent or unknown reads the supported current program year, as /contingencies/status selects it.",
              "type": "string"
            }
          },
          {
            "description": "all, personal or commercial. Absent or unknown reads all.",
            "explode": false,
            "in": "query",
            "name": "line",
            "schema": {
              "description": "all, personal or commercial. Absent or unknown reads all.",
              "type": "string"
            }
          },
          {
            "description": "Team hours: 0, 1200, 2000 or 3000 for 2026; 2000 for 2025; 8000 for 2027. Absent or unsupported reads the year's default.",
            "explode": false,
            "in": "query",
            "name": "hours",
            "schema": {
              "description": "Team hours: 0, 1200, 2000 or 3000 for 2026; 2000 for 2025; 8000 for 2027. Absent or unsupported reads the year's default.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordContingencyPlan"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "The plan for a year, line and team-hours budget",
        "tags": [
          "contingencies"
        ]
      }
    },
    "/records/contingencies/plan/flows": {
      "get": {
        "description": "The scenario's planned moves summed by (from carrier or new business, to carrier): moves, routed and proactive counts, expected policies and expected premium. The overview's flow chart. Served to firm-wide seats (scope all); any other scope is 403 CAPABILITY_DENIED, reason SCOPE_UNAVAILABLE. Before the first run it answers 424 SOURCE_UNAVAILABLE, reason NO_RUN_YET.",
        "operationId": "getContingencyFlows",
        "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": "Program year: 2025, 2026 or 2027. Absent or unknown reads the supported current program year, as /contingencies/status selects it.",
            "explode": false,
            "in": "query",
            "name": "year",
            "schema": {
              "description": "Program year: 2025, 2026 or 2027. Absent or unknown reads the supported current program year, as /contingencies/status selects it.",
              "type": "string"
            }
          },
          {
            "description": "all, personal or commercial. Absent or unknown reads all.",
            "explode": false,
            "in": "query",
            "name": "line",
            "schema": {
              "description": "all, personal or commercial. Absent or unknown reads all.",
              "type": "string"
            }
          },
          {
            "description": "Team hours: 0, 1200, 2000 or 3000 for 2026; 2000 for 2025; 8000 for 2027. Absent or unsupported reads the year's default.",
            "explode": false,
            "in": "query",
            "name": "hours",
            "schema": {
              "description": "Team hours: 0, 1200, 2000 or 3000 for 2026; 2000 for 2025; 8000 for 2027. Absent or unsupported reads the year's default.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordContingencyFlows"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "The scenario's moves by carrier pair",
        "tags": [
          "contingencies"
        ]
      }
    },
    "/records/contingencies/plan/moves": {
      "get": {
        "description": "One row per planned move with the row key, instance, CustId, PolId, the incumbent and target, whether it is routed, the price and its source, the win chance and the expected premium. Served to firm-wide seats (scope all); any other scope is 403 CAPABILITY_DENIED, reason SCOPE_UNAVAILABLE. Before the first run it answers 424 SOURCE_UNAVAILABLE, reason NO_RUN_YET.",
        "operationId": "listContingencyMoves",
        "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": "Program year: 2025, 2026 or 2027. Absent or unknown reads the supported current program year, as /contingencies/status selects it.",
            "explode": false,
            "in": "query",
            "name": "year",
            "schema": {
              "description": "Program year: 2025, 2026 or 2027. Absent or unknown reads the supported current program year, as /contingencies/status selects it.",
              "type": "string"
            }
          },
          {
            "description": "all, personal or commercial. Absent or unknown reads all.",
            "explode": false,
            "in": "query",
            "name": "line",
            "schema": {
              "description": "all, personal or commercial. Absent or unknown reads all.",
              "type": "string"
            }
          },
          {
            "description": "Team hours: 0, 1200, 2000 or 3000 for 2026; 2000 for 2025; 8000 for 2027. Absent or unsupported reads the year's default.",
            "explode": false,
            "in": "query",
            "name": "hours",
            "schema": {
              "description": "Team hours: 0, 1200, 2000 or 3000 for 2026; 2000 for 2025; 8000 for 2027. Absent or unsupported reads the year's default.",
              "type": "string"
            }
          },
          {
            "description": "Moves into this market entity key.",
            "explode": false,
            "in": "query",
            "name": "to",
            "schema": {
              "description": "Moves into this market entity key.",
              "type": "string"
            }
          },
          {
            "description": "Moves out of this market entity key.",
            "explode": false,
            "in": "query",
            "name": "from",
            "schema": {
              "description": "Moves out of this market entity key.",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "platform",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "market",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "A producer key.",
            "explode": false,
            "in": "query",
            "name": "producer",
            "schema": {
              "description": "A producer key.",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "routed",
            "schema": {
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "price_source",
            "schema": {
              "enum": [
                "estimate",
                "proxy"
              ],
              "type": "string"
            }
          },
          {
            "description": "renews (default) ascending; expected_premium and client_saves descending.",
            "explode": false,
            "in": "query",
            "name": "sort",
            "schema": {
              "description": "renews (default) ascending; expected_premium and client_saves descending.",
              "enum": [
                "renews",
                "expected_premium",
                "client_saves"
              ],
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContingencyMoveList"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "The scenario's planned moves",
        "tags": [
          "contingencies"
        ]
      }
    },
    "/records/contingencies/plan/rollup": {
      "get": {
        "description": "One row per group: steer (proactive) and shop (routed) counts, hours, expected premium and the carriers moved to. Served to firm-wide seats (scope all); any other scope is 403 CAPABILITY_DENIED, reason SCOPE_UNAVAILABLE. Before the first run it answers 424 SOURCE_UNAVAILABLE, reason NO_RUN_YET.",
        "operationId": "listContingencyRollup",
        "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": "Program year: 2025, 2026 or 2027. Absent or unknown reads the supported current program year, as /contingencies/status selects it.",
            "explode": false,
            "in": "query",
            "name": "year",
            "schema": {
              "description": "Program year: 2025, 2026 or 2027. Absent or unknown reads the supported current program year, as /contingencies/status selects it.",
              "type": "string"
            }
          },
          {
            "description": "all, personal or commercial. Absent or unknown reads all.",
            "explode": false,
            "in": "query",
            "name": "line",
            "schema": {
              "description": "all, personal or commercial. Absent or unknown reads all.",
              "type": "string"
            }
          },
          {
            "description": "Team hours: 0, 1200, 2000 or 3000 for 2026; 2000 for 2025; 8000 for 2027. Absent or unsupported reads the year's default.",
            "explode": false,
            "in": "query",
            "name": "hours",
            "schema": {
              "description": "Team hours: 0, 1200, 2000 or 3000 for 2026; 2000 for 2025; 8000 for 2027. Absent or unsupported reads the year's default.",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "by",
            "required": true,
            "schema": {
              "enum": [
                "platform",
                "market",
                "producer"
              ],
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContingencyRollupList"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "The scenario's moves by platform, market or producer",
        "tags": [
          "contingencies"
        ]
      }
    },
    "/records/contingencies/positions": {
      "get": {
        "description": "One row per office (office_code * is the firm row): prior Dec 31, as-of and prior-year-to-date values, the source (book proxy or carrier statement), the production cross-check, pace and status. Served to firm-wide seats (scope all); any other scope is 403 CAPABILITY_DENIED, reason SCOPE_UNAVAILABLE. Before the first run it answers 424 SOURCE_UNAVAILABLE, reason NO_RUN_YET.",
        "operationId": "listContingencyPositions",
        "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"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "program_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "office",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "market",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "platform",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListContingencyPosition"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "A program's ledger by office",
        "tags": [
          "contingencies"
        ]
      }
    },
    "/records/contingencies/programs": {
      "get": {
        "description": "One row per program of the active run with its firm position and the current projection's tier, payout and whether the payout is conditional on a loss ratio no one has read. Served to firm-wide seats (scope all); any other scope is 403 CAPABILITY_DENIED, reason SCOPE_UNAVAILABLE. Before the first run it answers 424 SOURCE_UNAVAILABLE, reason NO_RUN_YET.",
        "operationId": "listContingencyPrograms",
        "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": "Plan year, resolved as /contingencies/status resolves a program year: a supported year reads that year, any other value (current, or empty) the supported current program year. Absent reads every year.",
            "explode": false,
            "in": "query",
            "name": "year",
            "schema": {
              "description": "Plan year, resolved as /contingencies/status resolves a program year: a supported year reads that year, any other value (current, or empty) the supported current program year. Absent reads every year.",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "line_scope",
            "schema": {
              "enum": [
                "personal",
                "commercial",
                "all"
              ],
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "mapping_status",
            "schema": {
              "enum": [
                "unmapped",
                "draft",
                "confirmed"
              ],
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "sensitivity",
            "schema": {
              "enum": [
                "count_gated",
                "premium_gated",
                "none"
              ],
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "stale_plan",
            "schema": {
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "Carrier name or program id contains.",
            "explode": false,
            "in": "query",
            "name": "q",
            "schema": {
              "description": "Carrier name or program id contains.",
              "maxLength": 200,
              "type": "string"
            }
          },
          {
            "description": "Register view: mapping statuses to leave out, comma separated (unmapped, draft, confirmed); none hides nothing. Absent reads the person's saved view, else nothing hidden.",
            "explode": false,
            "in": "query",
            "name": "hide.mapping_status",
            "schema": {
              "description": "Register view: mapping statuses to leave out, comma separated (unmapped, draft, confirmed); none hides nothing. Absent reads the person's saved view, else nothing hidden.",
              "type": "string"
            }
          },
          {
            "description": "Register view: sensitivities to leave out, comma separated (count_gated, premium_gated, not_sensitive); none hides nothing.",
            "explode": false,
            "in": "query",
            "name": "hide.sensitivity",
            "schema": {
              "description": "Register view: sensitivities to leave out, comma separated (count_gated, premium_gated, not_sensitive); none hides nothing.",
              "type": "string"
            }
          },
          {
            "description": "Register view: true leaves out programs whose terms are for an older year.",
            "explode": false,
            "in": "query",
            "name": "hide_stale_plan",
            "schema": {
              "description": "Register view: true leaves out programs whose terms are for an older year.",
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "Serve the exact count of programs this read keeps.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "Serve the exact count of programs this read keeps.",
              "type": "boolean"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Page size. Defaults to 25; more than 200 is coerced to 200.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; more than 200 is coerced to 200.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContingencyProgramList"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Every contingency program on file, mapped or not",
        "tags": [
          "contingencies"
        ]
      }
    },
    "/records/contingencies/programs/search": {
      "post": {
        "description": "GET /records/contingencies/programs 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": "listContingencyProgramsSearch",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "cursor": {
                    "type": "string"
                  },
                  "hide.mapping_status": {
                    "description": "Register view: mapping statuses to leave out, comma separated (unmapped, draft, confirmed); none hides nothing. Absent reads the person's saved view, else nothing hidden.",
                    "type": "string"
                  },
                  "hide.sensitivity": {
                    "description": "Register view: sensitivities to leave out, comma separated (count_gated, premium_gated, not_sensitive); none hides nothing.",
                    "type": "string"
                  },
                  "hide_stale_plan": {
                    "description": "Register view: true leaves out programs whose terms are for an older year.",
                    "enum": [
                      "true",
                      "false"
                    ],
                    "type": "string"
                  },
                  "include_total": {
                    "description": "Serve the exact count of programs this read keeps.",
                    "type": "boolean"
                  },
                  "limit": {
                    "description": "Page size. Defaults to 25; more than 200 is coerced to 200.",
                    "format": "int64",
                    "minimum": 1,
                    "type": "integer"
                  },
                  "line_scope": {
                    "enum": [
                      "personal",
                      "commercial",
                      "all"
                    ],
                    "type": "string"
                  },
                  "mapping_status": {
                    "enum": [
                      "unmapped",
                      "draft",
                      "confirmed"
                    ],
                    "type": "string"
                  },
                  "q": {
                    "description": "Carrier name or program id contains.",
                    "maxLength": 200,
                    "type": "string"
                  },
                  "sensitivity": {
                    "enum": [
                      "count_gated",
                      "premium_gated",
                      "none"
                    ],
                    "type": "string"
                  },
                  "stale_plan": {
                    "enum": [
                      "true",
                      "false"
                    ],
                    "type": "string"
                  },
                  "year": {
                    "description": "Plan year, resolved as /contingencies/status resolves a program year: a supported year reads that year, any other value (current, or empty) the supported current program year. Absent reads every year.",
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContingencyProgramList"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Every contingency program on file, mapped or not (parameters in the body)",
        "tags": [
          "contingencies"
        ]
      }
    },
    "/records/contingencies/programs/{programId}": {
      "get": {
        "description": "The program as the active run computed it, the typed mapping with its version (the If-Match its PATCH sends), the documents and cited terms, and the recent writes. Served to firm-wide seats (scope all); any other scope is 403 CAPABILITY_DENIED, reason SCOPE_UNAVAILABLE. Before the first run it answers 424 SOURCE_UNAVAILABLE, reason NO_RUN_YET.",
        "operationId": "getContingencyProgram",
        "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": "{market_entity_key}:{line_scope}:{plan_year}.",
            "in": "path",
            "name": "programId",
            "required": true,
            "schema": {
              "description": "{market_entity_key}:{line_scope}:{plan_year}.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordContingencyProgramDetail"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "One contingency program with its mapping, documents and history",
        "tags": [
          "contingencies"
        ]
      }
    },
    "/records/contingencies/status": {
      "get": {
        "description": "The active run: its data date, when it was published, whether it is stale, the open data gaps, proxy counts, supported scenario grid and normalized selection. A run with an unsupported program year answers 424 SCENARIO_GRID_UNAVAILABLE. Served to firm-wide seats (scope all); any other scope is 403 CAPABILITY_DENIED, reason SCOPE_UNAVAILABLE. Before the first run it answers 424 SOURCE_UNAVAILABLE, reason NO_RUN_YET.",
        "operationId": "getContingencyStatus",
        "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": "Program year: 2025, 2026 or 2027. Absent or unknown reads the supported current program year, as /contingencies/status selects it.",
            "explode": false,
            "in": "query",
            "name": "year",
            "schema": {
              "description": "Program year: 2025, 2026 or 2027. Absent or unknown reads the supported current program year, as /contingencies/status selects it.",
              "type": "string"
            }
          },
          {
            "description": "all, personal or commercial. Absent or unknown reads all.",
            "explode": false,
            "in": "query",
            "name": "line",
            "schema": {
              "description": "all, personal or commercial. Absent or unknown reads all.",
              "type": "string"
            }
          },
          {
            "description": "Team hours: 0, 1200, 2000 or 3000 for 2026; 2000 for 2025; 8000 for 2027. Absent or unsupported reads the year's default.",
            "explode": false,
            "in": "query",
            "name": "hours",
            "schema": {
              "description": "Team hours: 0, 1200, 2000 or 3000 for 2026; 2000 for 2025; 8000 for 2027. Absent or unsupported reads the year's default.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordContingencyStatus"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "The contingency run the planner serves",
        "tags": [
          "contingencies"
        ]
      }
    },
    "/records/contingency-programs/view": {
      "get": {
        "description": "The person's saved filters, which the register's list applies when a request names no view filter, and every column the seat may show, its role's default columns and the columns this person shows. A field the seat's field classes withhold is never listed.",
        "operationId": "getContingencyProgramsView",
        "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"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRegisterView"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The acting person's contingency-programs filters and columns",
        "tags": [
          "register-views"
        ]
      },
      "put": {
        "description": "Writes the person's own row. Each filter must be one the register's list serves, with a value it takes; each column must be one of columns.available for this seat; anything else is refused with 422. A View as session is read-only here.",
        "operationId": "putContingencyProgramsView",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterViewWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRegisterView"
                }
              }
            },
            "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"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Save the acting person's contingency-programs filters and columns",
        "tags": [
          "register-views"
        ]
      }
    },
    "/records/covered-auto-symbols": {
      "get": {
        "description": "Views: list. Source admission, field projection and continuation remain authoritative. Source parent keys are opaque references.",
        "operationId": "listRiskDetailView10",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read covered-auto-symbols",
        "tags": [
          "vehicles"
        ]
      }
    },
    "/records/deals": {
      "get": {
        "description": "Open Salesforce deals of every opportunity type (New Business, Existing Business, Cross-Sell) with matched AMS evidence, plus AMS prospects without a deal. A person seat reads the deals it owns, leads or services and its own prospects: the prospect's customer producer or CSR is one of the seat's AMS codes, or the seat holds a current assignment on one of its policy terms; accounts matched to the seat's open deals stay. A whole-book seat reads every open deal and every prospect its scope admits. Filters, order, total and page, or each due bucket's first deals (view=board), and the due rollup (rollups=due) run in one warehouse statement. The default order is due bucket, due date, then deal_key. Quiet deals remain visible.",
        "operationId": "listDeals",
        "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": "Keeps deals whose name holds these words, matched any case, spacing, punctuation and plural ignored.",
            "explode": false,
            "in": "query",
            "name": "q",
            "schema": {
              "description": "Keeps deals whose name holds these words, matched any case, spacing, punctuation and plural ignored.",
              "type": "string"
            }
          },
          {
            "description": "Keeps Salesforce deals whose state is this deal_stage value; none keeps the deals whose Salesforce stage the machine does not declare.",
            "explode": false,
            "in": "query",
            "name": "deal_stage",
            "schema": {
              "description": "Keeps Salesforce deals whose state is this deal_stage value; none keeps the deals whose Salesforce stage the machine does not declare.",
              "enum": [
                "information_gathering",
                "quoting",
                "proposal",
                "closed_won",
                "closed_lost",
                "closed_did_not_submit",
                "none"
              ],
              "type": "string"
            }
          },
          {
            "description": "Keeps AMS 360 prospects whose state is this prospect_stage value; none keeps the prospects whose stage the machine does not declare.",
            "explode": false,
            "in": "query",
            "name": "prospect_stage",
            "schema": {
              "description": "Keeps AMS 360 prospects whose state is this prospect_stage value; none keeps the prospects whose stage the machine does not declare.",
              "enum": [
                "prospect",
                "marketing",
                "submission_to_carrier",
                "quote_received",
                "proposal",
                "bind_request",
                "binder",
                "new_business",
                "declined_by_customer",
                "none"
              ],
              "type": "string"
            }
          },
          {
            "description": "Keeps deals whose stage words, ignoring case, or whose machine value is this text, on either machine. deal_stage and prospect_stage filter on one machine.",
            "explode": false,
            "in": "query",
            "name": "stage",
            "schema": {
              "description": "Keeps deals whose stage words, ignoring case, or whose machine value is this text, on either machine. deal_stage and prospect_stage filter on one machine.",
              "type": "string"
            }
          },
          {
            "description": "Keeps deals whose next action is this one.",
            "explode": false,
            "in": "query",
            "name": "next_action",
            "schema": {
              "description": "Keeps deals whose next action is this one.",
              "enum": [
                "set_effective_date",
                "past_effective",
                "build_submission",
                "follow_up_quotes",
                "remarket_or_close",
                "inactive_prospect",
                "draft_proposal",
                "follow_up_client"
              ],
              "type": "string"
            }
          },
          {
            "description": "salesforce: every Salesforce deal, each on deal_stage. ams360: every live AMS 360 prospect, one row per customer whether a deal matched it or not, each on prospect_stage. Absent: the Salesforce deals and the prospects no deal matched, each on its own machine.",
            "explode": false,
            "in": "query",
            "name": "source",
            "schema": {
              "description": "salesforce: every Salesforce deal, each on deal_stage. ams360: every live AMS 360 prospect, one row per customer whether a deal matched it or not, each on prospect_stage. Absent: the Salesforce deals and the prospects no deal matched, each on its own machine.",
              "enum": [
                "salesforce",
                "ams360"
              ],
              "type": "string"
            }
          },
          {
            "description": "true: deals that name an account (a Salesforce deal the platform matched to an AMS 360 account, or an AMS 360 prospect). false: deals with no account.",
            "explode": false,
            "in": "query",
            "name": "matched",
            "schema": {
              "description": "true: deals that name an account (a Salesforce deal the platform matched to an AMS 360 account, or an AMS 360 prospect). false: deals with no account.",
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "Read as past_due_days=1 when true and as 0 when false, unless past_due_days is sent. Left out, the person's saved view or the default applies.",
            "explode": false,
            "in": "query",
            "name": "hide_past_due",
            "schema": {
              "description": "Read as past_due_days=1 when true and as 0 when false, unless past_due_days is sent. Left out, the person's saved view or the default applies.",
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "Leaves out deals this many days or more past their due date; a deal with no due date stays. 1 leaves out every past due deal. 0 turns it off. Left out, the person's saved view or the default applies.",
            "explode": false,
            "in": "query",
            "name": "past_due_days",
            "schema": {
              "description": "Leaves out deals this many days or more past their due date; a deal with no due date stays. 1 leaves out every past due deal. 0 turns it off. Left out, the person's saved view or the default applies.",
              "format": "int64",
              "maximum": 3650,
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "Keeps deals on this AMS 360 account, named by its Records account id in either spelling: a Salesforce deal the platform matched to it, or its AMS 360 prospect.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "Keeps deals on this AMS 360 account, named by its Records account id in either spelling: a Salesforce deal the platform matched to it, or its AMS 360 prospect.",
              "type": "string"
            }
          },
          {
            "description": "Keeps deals whose owner, a Salesforce owner's name or an AMS 360 prospect's producer code, is this value exactly; the seat's own deals, the prospects where it is the producer or CSR included, are the read without it, and the owner field names whose each deal is. The due rollup's producer facet lists the values the seat's deals hold.",
            "explode": false,
            "in": "query",
            "name": "producer",
            "schema": {
              "description": "Keeps deals whose owner, a Salesforce owner's name or an AMS 360 prospect's producer code, is this value exactly; the seat's own deals, the prospects where it is the producer or CSR included, are the read without it, and the owner field names whose each deal is. The due rollup's producer facet lists the values the seat's deals hold.",
              "type": "string"
            }
          },
          {
            "description": "Keeps deals whose deal_type is this value exactly: the Salesforce opportunity type (New Business, Existing Business, Cross-Sell), New Business for an AMS 360 prospect. The due rollup's deal_type facet lists the values the seat's deals hold.",
            "explode": false,
            "in": "query",
            "name": "deal_type",
            "schema": {
              "description": "Keeps deals whose deal_type is this value exactly: the Salesforce opportunity type (New Business, Existing Business, Cross-Sell), New Business for an AMS 360 prospect. The due rollup's deal_type facet lists the values the seat's deals hold.",
              "maxLength": 64,
              "type": "string"
            }
          },
          {
            "description": "Keeps AMS 360 rows of this kind, read from AMS 360: renewal_remarketing for an account whose open submission group is coded renewal (REN); new_line for a client's open group coded new business (NB); new_business for a suspect or prospect otherwise. A Salesforce deal has no submission kind. The due rollup's submission_kind facet counts each kind.",
            "explode": false,
            "in": "query",
            "name": "submission_kind",
            "schema": {
              "description": "Keeps AMS 360 rows of this kind, read from AMS 360: renewal_remarketing for an account whose open submission group is coded renewal (REN); new_line for a client's open group coded new business (NB); new_business for a suspect or prospect otherwise. A Salesforce deal has no submission kind. The due rollup's submission_kind facet counts each kind.",
              "enum": [
                "new_business",
                "renewal_remarketing",
                "new_line"
              ],
              "type": "string"
            }
          },
          {
            "description": "Comma-separated stage values to leave out, from the requested source's machine, plus no_date for deals with no due date. Empty or none hides nothing. Left out, the person's saved view or the default applies. A read with no source takes no_date only. The view block lists the values with their counts.",
            "explode": false,
            "in": "query",
            "name": "hide.stage",
            "schema": {
              "description": "Comma-separated stage values to leave out, from the requested source's machine, plus no_date for deals with no due date. Empty or none hides nothing. Left out, the person's saved view or the default applies. A read with no source takes no_date only. The view block lists the values with their counts.",
              "type": "string"
            }
          },
          {
            "description": "Leaves out deals with no touch in this many days, except a deal with an open follow-up ahead, a binder or a due date ahead. A deal with no touch date stays. 0 turns it off. Left out, the person's saved view or the default applies.",
            "explode": false,
            "in": "query",
            "name": "no_touch_days",
            "schema": {
              "description": "Leaves out deals with no touch in this many days, except a deal with an open follow-up ahead, a binder or a due date ahead. A deal with no touch date stays. 0 turns it off. Left out, the person's saved view or the default applies.",
              "format": "int64",
              "maximum": 3650,
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "Leaves out deals created more than this many days ago. 0 turns it off. Left out, the person's saved view or the default applies.",
            "explode": false,
            "in": "query",
            "name": "created_days",
            "schema": {
              "description": "Leaves out deals created more than this many days ago. 0 turns it off. Left out, the person's saved view or the default applies.",
              "format": "int64",
              "maximum": 3650,
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "opportunities, the default: the deals every other parameter describes. leads: the seat's open Salesforce leads (neither converted nor unqualified), newest first by created day, each in the no_date bucket with kind lead. all: every opportunity in the requested order, then the open leads newest first; a hidden no_date bucket hides the leads. leads and all take source=salesforce and no stage, next action, matched, account, deal_type or q filter; producer narrows the leads by owner, and the other hide filters narrow opportunities only.",
            "explode": false,
            "in": "query",
            "name": "kind",
            "schema": {
              "description": "opportunities, the default: the deals every other parameter describes. leads: the seat's open Salesforce leads (neither converted nor unqualified), newest first by created day, each in the no_date bucket with kind lead. all: every opportunity in the requested order, then the open leads newest first; a hidden no_date bucket hides the leads. leads and all take source=salesforce and no stage, next action, matched, account, deal_type or q filter; producer narrows the leads by owner, and the other hide filters narrow opportunities only.",
              "enum": [
                "opportunities",
                "leads",
                "all"
              ],
              "type": "string"
            }
          },
          {
            "description": "Rows to skip, register views only: at most 1000000, not with cursor. A later page continues with page.next.",
            "explode": false,
            "in": "query",
            "name": "offset",
            "schema": {
              "description": "Rows to skip, register views only: at most 1000000, not with cursor. A later page continues with page.next.",
              "format": "int64",
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "due_bucket",
            "schema": {
              "enum": [
                "past_due",
                "d0_30",
                "d31_60",
                "d61_90",
                "d91_180",
                "d180_plus",
                "no_date"
              ],
              "type": "string"
            }
          },
          {
            "description": "The order of the filtered set; the default is due: due bucket, then nearest the seat's day first (the most recently past first within past_due, the soonest first after it), then deal key. name and -name order by the deal name. stage and -stage order by the stage's place in the New Business pipeline (new to binding), an unplaced stage after the placed ones by name. amount and -amount order by the deal's amount: the exact Salesforce expected revenue, or the AMS 360 premium of a deal with no Salesforce opportunity. expected_revenue orders by the exact Salesforce amount only. last_touch_on and -last_touch_on order by the latest touch. Ties keep the due order (which ends on deal_key), and a deal with no value for the sort key sorts last.",
            "explode": false,
            "in": "query",
            "name": "sort",
            "schema": {
              "description": "The order of the filtered set; the default is due: due bucket, then nearest the seat's day first (the most recently past first within past_due, the soonest first after it), then deal key. name and -name order by the deal name. stage and -stage order by the stage's place in the New Business pipeline (new to binding), an unplaced stage after the placed ones by name. amount and -amount order by the deal's amount: the exact Salesforce expected revenue, or the AMS 360 premium of a deal with no Salesforce opportunity. expected_revenue orders by the exact Salesforce amount only. last_touch_on and -last_touch_on order by the latest touch. Ties keep the due order (which ends on deal_key), and a deal with no value for the sort key sorts last.",
              "enum": [
                "due",
                "name",
                "-name",
                "stage",
                "-stage",
                "amount",
                "-amount",
                "expected_revenue",
                "-expected_revenue",
                "last_touch_on",
                "-last_touch_on"
              ],
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "board: the first limit deals of each due bucket in the requested order instead of one page of the whole list, with each bucket's count and next cursor in columns. A column's next cursor continues that bucket's own list (due_bucket). Takes no cursor, offset or due_bucket.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "description": "board: the first limit deals of each due bucket in the requested order instead of one page of the whole list, with each bucket's count and next cursor in columns. A column's next cursor continues that bucket's own list (due_bucket). Takes no cursor, offset or due_bucket.",
              "enum": [
                "board"
              ],
              "type": "string"
            }
          },
          {
            "description": "How view=board cuts its columns. due, the default: the due buckets. stage: the stages of the source's machine, in the machine's order, each with its count and next cursor in stage_columns, and its deals in the requested order (the due order by default: past due first, then the soonest). A stage column's next cursor continues that stage's own list (deal_stage or prospect_stage, none for the deals whose Salesforce stage the machine does not declare). Takes view=board, a source and kind opportunities.",
            "explode": false,
            "in": "query",
            "name": "group",
            "schema": {
              "description": "How view=board cuts its columns. due, the default: the due buckets. stage: the stages of the source's machine, in the machine's order, each with its count and next cursor in stage_columns, and its deals in the requested order (the due order by default: past due first, then the soonest). A stage column's next cursor continues that stage's own list (deal_stage or prospect_stage, none for the deals whose Salesforce stage the machine does not declare). Takes view=board, a source and kind opportunities.",
              "enum": [
                "due",
                "stage"
              ],
              "type": "string"
            }
          },
          {
            "description": "due answers GET /records/deals/rollups/due for the same filters in rollups.due, from the page's own read. stage answers the stage board's headers in rollups.stage: every open stage of the source's machine in its order, also when it holds no deal, with the count and amounts of the filtered deals on it. Both take no cursor or due_bucket; stage takes a source and kind opportunities.",
            "explode": false,
            "in": "query",
            "name": "rollups",
            "schema": {
              "description": "due answers GET /records/deals/rollups/due for the same filters in rollups.due, from the page's own read. stage answers the stage board's headers in rollups.stage: every open stage of the source's machine in its order, also when it holds no deal, with the count and amounts of the filtered deals on it. Both take no cursor or due_bucket; stage takes a source and kind opportunities.",
              "items": {
                "enum": [
                  "due",
                  "stage"
                ],
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DealList"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The acting seat's pursued deals, one page in the requested order",
        "tags": [
          "deals"
        ]
      }
    },
    "/records/deals/rollups/due": {
      "get": {
        "description": "Due bucket counts and exact deal amounts of the filtered deals, with each filter's facet",
        "operationId": "getDealsDueRollup",
        "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": "Keeps deals whose name holds these words, matched any case, spacing, punctuation and plural ignored.",
            "explode": false,
            "in": "query",
            "name": "q",
            "schema": {
              "description": "Keeps deals whose name holds these words, matched any case, spacing, punctuation and plural ignored.",
              "type": "string"
            }
          },
          {
            "description": "Keeps Salesforce deals whose state is this deal_stage value; none keeps the deals whose Salesforce stage the machine does not declare.",
            "explode": false,
            "in": "query",
            "name": "deal_stage",
            "schema": {
              "description": "Keeps Salesforce deals whose state is this deal_stage value; none keeps the deals whose Salesforce stage the machine does not declare.",
              "enum": [
                "information_gathering",
                "quoting",
                "proposal",
                "closed_won",
                "closed_lost",
                "closed_did_not_submit",
                "none"
              ],
              "type": "string"
            }
          },
          {
            "description": "Keeps AMS 360 prospects whose state is this prospect_stage value; none keeps the prospects whose stage the machine does not declare.",
            "explode": false,
            "in": "query",
            "name": "prospect_stage",
            "schema": {
              "description": "Keeps AMS 360 prospects whose state is this prospect_stage value; none keeps the prospects whose stage the machine does not declare.",
              "enum": [
                "prospect",
                "marketing",
                "submission_to_carrier",
                "quote_received",
                "proposal",
                "bind_request",
                "binder",
                "new_business",
                "declined_by_customer",
                "none"
              ],
              "type": "string"
            }
          },
          {
            "description": "Keeps deals whose stage words, ignoring case, or whose machine value is this text, on either machine. deal_stage and prospect_stage filter on one machine.",
            "explode": false,
            "in": "query",
            "name": "stage",
            "schema": {
              "description": "Keeps deals whose stage words, ignoring case, or whose machine value is this text, on either machine. deal_stage and prospect_stage filter on one machine.",
              "type": "string"
            }
          },
          {
            "description": "Keeps deals whose next action is this one.",
            "explode": false,
            "in": "query",
            "name": "next_action",
            "schema": {
              "description": "Keeps deals whose next action is this one.",
              "enum": [
                "set_effective_date",
                "past_effective",
                "build_submission",
                "follow_up_quotes",
                "remarket_or_close",
                "inactive_prospect",
                "draft_proposal",
                "follow_up_client"
              ],
              "type": "string"
            }
          },
          {
            "description": "salesforce: every Salesforce deal, each on deal_stage. ams360: every live AMS 360 prospect, one row per customer whether a deal matched it or not, each on prospect_stage. Absent: the Salesforce deals and the prospects no deal matched, each on its own machine.",
            "explode": false,
            "in": "query",
            "name": "source",
            "schema": {
              "description": "salesforce: every Salesforce deal, each on deal_stage. ams360: every live AMS 360 prospect, one row per customer whether a deal matched it or not, each on prospect_stage. Absent: the Salesforce deals and the prospects no deal matched, each on its own machine.",
              "enum": [
                "salesforce",
                "ams360"
              ],
              "type": "string"
            }
          },
          {
            "description": "true: deals that name an account (a Salesforce deal the platform matched to an AMS 360 account, or an AMS 360 prospect). false: deals with no account.",
            "explode": false,
            "in": "query",
            "name": "matched",
            "schema": {
              "description": "true: deals that name an account (a Salesforce deal the platform matched to an AMS 360 account, or an AMS 360 prospect). false: deals with no account.",
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "Read as past_due_days=1 when true and as 0 when false, unless past_due_days is sent. Left out, the person's saved view or the default applies.",
            "explode": false,
            "in": "query",
            "name": "hide_past_due",
            "schema": {
              "description": "Read as past_due_days=1 when true and as 0 when false, unless past_due_days is sent. Left out, the person's saved view or the default applies.",
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "Leaves out deals this many days or more past their due date; a deal with no due date stays. 1 leaves out every past due deal. 0 turns it off. Left out, the person's saved view or the default applies.",
            "explode": false,
            "in": "query",
            "name": "past_due_days",
            "schema": {
              "description": "Leaves out deals this many days or more past their due date; a deal with no due date stays. 1 leaves out every past due deal. 0 turns it off. Left out, the person's saved view or the default applies.",
              "format": "int64",
              "maximum": 3650,
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "Keeps deals on this AMS 360 account, named by its Records account id in either spelling: a Salesforce deal the platform matched to it, or its AMS 360 prospect.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "Keeps deals on this AMS 360 account, named by its Records account id in either spelling: a Salesforce deal the platform matched to it, or its AMS 360 prospect.",
              "type": "string"
            }
          },
          {
            "description": "Keeps deals whose owner, a Salesforce owner's name or an AMS 360 prospect's producer code, is this value exactly; the seat's own deals, the prospects where it is the producer or CSR included, are the read without it, and the owner field names whose each deal is. The due rollup's producer facet lists the values the seat's deals hold.",
            "explode": false,
            "in": "query",
            "name": "producer",
            "schema": {
              "description": "Keeps deals whose owner, a Salesforce owner's name or an AMS 360 prospect's producer code, is this value exactly; the seat's own deals, the prospects where it is the producer or CSR included, are the read without it, and the owner field names whose each deal is. The due rollup's producer facet lists the values the seat's deals hold.",
              "type": "string"
            }
          },
          {
            "description": "Keeps deals whose deal_type is this value exactly: the Salesforce opportunity type (New Business, Existing Business, Cross-Sell), New Business for an AMS 360 prospect. The due rollup's deal_type facet lists the values the seat's deals hold.",
            "explode": false,
            "in": "query",
            "name": "deal_type",
            "schema": {
              "description": "Keeps deals whose deal_type is this value exactly: the Salesforce opportunity type (New Business, Existing Business, Cross-Sell), New Business for an AMS 360 prospect. The due rollup's deal_type facet lists the values the seat's deals hold.",
              "maxLength": 64,
              "type": "string"
            }
          },
          {
            "description": "Keeps AMS 360 rows of this kind, read from AMS 360: renewal_remarketing for an account whose open submission group is coded renewal (REN); new_line for a client's open group coded new business (NB); new_business for a suspect or prospect otherwise. A Salesforce deal has no submission kind. The due rollup's submission_kind facet counts each kind.",
            "explode": false,
            "in": "query",
            "name": "submission_kind",
            "schema": {
              "description": "Keeps AMS 360 rows of this kind, read from AMS 360: renewal_remarketing for an account whose open submission group is coded renewal (REN); new_line for a client's open group coded new business (NB); new_business for a suspect or prospect otherwise. A Salesforce deal has no submission kind. The due rollup's submission_kind facet counts each kind.",
              "enum": [
                "new_business",
                "renewal_remarketing",
                "new_line"
              ],
              "type": "string"
            }
          },
          {
            "description": "Comma-separated stage values to leave out, from the requested source's machine, plus no_date for deals with no due date. Empty or none hides nothing. Left out, the person's saved view or the default applies. A read with no source takes no_date only. The view block lists the values with their counts.",
            "explode": false,
            "in": "query",
            "name": "hide.stage",
            "schema": {
              "description": "Comma-separated stage values to leave out, from the requested source's machine, plus no_date for deals with no due date. Empty or none hides nothing. Left out, the person's saved view or the default applies. A read with no source takes no_date only. The view block lists the values with their counts.",
              "type": "string"
            }
          },
          {
            "description": "Leaves out deals with no touch in this many days, except a deal with an open follow-up ahead, a binder or a due date ahead. A deal with no touch date stays. 0 turns it off. Left out, the person's saved view or the default applies.",
            "explode": false,
            "in": "query",
            "name": "no_touch_days",
            "schema": {
              "description": "Leaves out deals with no touch in this many days, except a deal with an open follow-up ahead, a binder or a due date ahead. A deal with no touch date stays. 0 turns it off. Left out, the person's saved view or the default applies.",
              "format": "int64",
              "maximum": 3650,
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "Leaves out deals created more than this many days ago. 0 turns it off. Left out, the person's saved view or the default applies.",
            "explode": false,
            "in": "query",
            "name": "created_days",
            "schema": {
              "description": "Leaves out deals created more than this many days ago. 0 turns it off. Left out, the person's saved view or the default applies.",
              "format": "int64",
              "maximum": 3650,
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "opportunities, the default: the deals every other parameter describes. leads: the seat's open Salesforce leads (neither converted nor unqualified), newest first by created day, each in the no_date bucket with kind lead. all: every opportunity in the requested order, then the open leads newest first; a hidden no_date bucket hides the leads. leads and all take source=salesforce and no stage, next action, matched, account, deal_type or q filter; producer narrows the leads by owner, and the other hide filters narrow opportunities only.",
            "explode": false,
            "in": "query",
            "name": "kind",
            "schema": {
              "description": "opportunities, the default: the deals every other parameter describes. leads: the seat's open Salesforce leads (neither converted nor unqualified), newest first by created day, each in the no_date bucket with kind lead. all: every opportunity in the requested order, then the open leads newest first; a hidden no_date bucket hides the leads. leads and all take source=salesforce and no stage, next action, matched, account, deal_type or q filter; producer narrows the leads by owner, and the other hide filters narrow opportunities only.",
              "enum": [
                "opportunities",
                "leads",
                "all"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordDealsDue"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Due bucket counts and exact deal amounts of the filtered deals, with each filter's facet",
        "tags": [
          "deals"
        ]
      }
    },
    "/records/deals/view": {
      "get": {
        "description": "One person's own row: the filters GET /records/deals applies when a request leaves them out.",
        "operationId": "getDealsView",
        "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"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordDealsView"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The acting person's saved deals filters and columns",
        "tags": [
          "deals"
        ]
      },
      "put": {
        "description": "Writes the person's own row. A View as session is read-only here.",
        "operationId": "putDealsView",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DealsViewWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordDealsView"
                }
              }
            },
            "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"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "500": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Save the acting person's deals filters and columns",
        "tags": [
          "deals"
        ]
      }
    },
    "/records/deals/{id}/activity": {
      "get": {
        "description": "The Salesforce tasks, calls, emails, meetings and notes on one open New Business deal and the days it entered each stage, in one list newest first: by date (an activity's completed, else created date; a stage entry's day), an activity before a stage entry on the same day, then id; paged by cursor. The deal is admitted as GET /records/deals admits it for source=salesforce: a deal the acting seat does not read, an AMS 360 prospect, an unknown key or an org with no deals source is 404 NOT_VISIBLE_OR_ABSENT.",
        "operationId": "listDealActivity",
        "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 deal's deal_key, as GET /records/deals serves it, of a Salesforce deal.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The deal's deal_key, as GET /records/deals serves it, of a Salesforce deal.",
              "type": "string"
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 100 is coerced to 100 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 100 is coerced to 100 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DealActivityList"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "One Salesforce deal's timeline: its activity and stage entries",
        "tags": [
          "deals"
        ]
      }
    },
    "/records/dependents": {
      "get": {
        "description": "Views: list, full, record. Source admission, field projection and continuation remain authoritative. Source parent keys are opaque references.",
        "operationId": "listAccountDetailView6",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped account id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped account id required before any source read.",
              "type": "string"
            }
          },
          {
            "description": "Requested business projection.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "default": "list",
              "description": "Requested business projection.",
              "enum": [
                "list",
                "full",
                "record"
              ],
              "type": "string"
            }
          },
          {
            "description": "Public record id in the account instance; required for the record view.",
            "explode": false,
            "in": "query",
            "name": "dependent_id",
            "schema": {
              "description": "Public record id in the account instance; required for the record view.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read dependents",
        "tags": [
          "dependents"
        ]
      }
    },
    "/records/document-extractions": {
      "get": {
        "description": "The stored document extractions, owner-scoped as the Navigator store read is, narrowed by account or document before the page.",
        "operationId": "listDocumentExtractions",
        "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": "Return all risk item dispositions for account_id, with an exact total. Refuses accounts beyond the risk item read bound. Cannot combine with document_id, cursor or limit.",
            "explode": false,
            "in": "query",
            "name": "complete_account",
            "schema": {
              "description": "Return all risk item dispositions for account_id, with an exact total. Refuses accounts beyond the risk item read bound. Cannot combine with document_id, cursor or limit.",
              "type": "boolean"
            }
          },
          {
            "description": "Rows for this exact risk item key.",
            "explode": false,
            "in": "query",
            "name": "item_key",
            "schema": {
              "description": "Rows for this exact risk item key.",
              "type": "string"
            }
          },
          {
            "description": "Rows on this account.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "Rows on this account.",
              "type": "string"
            }
          },
          {
            "description": "Rows on this document.",
            "explode": false,
            "in": "query",
            "name": "document_id",
            "schema": {
              "description": "Rows on this document.",
              "type": "string"
            }
          },
          {
            "description": "Include the exact count of the filtered, owner-scoped rows, before the cursor.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "Include the exact count of the filtered, owner-scoped rows, before the cursor.",
              "type": "boolean"
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListResourceWire"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "List document extractions",
        "tags": [
          "document_extractions"
        ]
      }
    },
    "/records/document-extractions/{id}": {
      "get": {
        "description": "One stored row by its id. An absent row and one the seat cannot read are one answer.",
        "operationId": "getDocumentExtraction",
        "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 uploaded document id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The uploaded document id.",
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordResourceWire"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read one of the document extractions",
        "tags": [
          "document_extractions"
        ]
      }
    },
    "/records/documents": {
      "get": {
        "description": "Filed document relations, optionally scoped to an account or policy. Narrative fields follow the source reader's keyed-position rules. The id identifies the relation; document_id identifies its attachment. Content is read separately from the content route.",
        "operationId": "listDocuments",
        "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 document library of uploads and carrier documents.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "description": "The document library of uploads and carrier documents.",
              "enum": [
                "register"
              ],
              "type": "string"
            }
          },
          {
            "description": "view=register. Selects native uploads, carrier paper, or both.",
            "explode": false,
            "in": "query",
            "name": "source",
            "schema": {
              "description": "view=register. Selects native uploads, carrier paper, or both.",
              "enum": [
                "all",
                "workbench",
                "carrier",
                "ams360"
              ],
              "type": "string"
            }
          },
          {
            "description": "Words in a filing's description or file name (or, with a digit, its policy number), or a library title.",
            "explode": false,
            "in": "query",
            "name": "q",
            "schema": {
              "description": "Words in a filing's description or file name (or, with a digit, its policy number), or a library title.",
              "maxLength": 200,
              "type": "string"
            }
          },
          {
            "description": "view=register. Keeps carrier paper in these document classes.",
            "explode": false,
            "in": "query",
            "name": "class",
            "schema": {
              "description": "view=register. Keeps carrier paper in these document classes.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "view=register. Keeps carrier paper for this market entity key.",
            "explode": false,
            "in": "query",
            "name": "carrier",
            "schema": {
              "description": "view=register. Keeps carrier paper for this market entity key.",
              "type": "string"
            }
          },
          {
            "description": "view=register. Includes the full filtered row count and its completeness flag.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "view=register. Includes the full filtered row count and its completeness flag.",
              "type": "boolean"
            }
          },
          {
            "description": "view=register. Origins to hide, comma-separated: workbench (uploads), carrier or none. Left out with every other view filter, the person's saved view or the default (nothing hidden) applies. The view block lists the values with their counts.",
            "explode": false,
            "in": "query",
            "name": "hide.source",
            "schema": {
              "description": "view=register. Origins to hide, comma-separated: workbench (uploads), carrier or none. Left out with every other view filter, the person's saved view or the default (nothing hidden) applies. The view block lists the values with their counts.",
              "type": "string"
            }
          },
          {
            "description": "view=register. Carrier classes to hide, comma-separated, or none. Uploads have no class and stay. Left out with every other view filter, the person's saved view or the default (nothing hidden) applies.",
            "explode": false,
            "in": "query",
            "name": "hide.class",
            "schema": {
              "description": "view=register. Carrier classes to hide, comma-separated, or none. Uploads have no class and stay. Left out with every other view filter, the person's saved view or the default (nothing hidden) applies.",
              "type": "string"
            }
          },
          {
            "description": "Filing categories to hide, comma-separated, or none. With account_id or policy_id. Left out with created_days too, the person's saved view or the default (nothing hidden) applies; the view block lists the categories with their counts.",
            "explode": false,
            "in": "query",
            "name": "hide.category",
            "schema": {
              "description": "Filing categories to hide, comma-separated, or none. With account_id or policy_id. Left out with created_days too, the person's saved view or the default (nothing hidden) applies; the view block lists the categories with their counts.",
              "type": "string"
            }
          },
          {
            "description": "Days back, 0 to 3650 (default 0, off). A filing's date is received, else entered, and an undated document stays. view=register, or with account_id or policy_id. Left out with every other view filter, the person's saved view or the default (off) applies.",
            "explode": false,
            "in": "query",
            "name": "created_days",
            "schema": {
              "description": "Days back, 0 to 3650 (default 0, off). A filing's date is received, else entered, and an undated document stays. view=register, or with account_id or policy_id. Left out with every other view filter, the person's saved view or the default (off) applies.",
              "format": "int64",
              "maximum": 3650,
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "view=register. Facets to count over the filtered library.",
            "explode": false,
            "in": "query",
            "name": "facets",
            "schema": {
              "description": "view=register. Facets to count over the filtered library.",
              "items": {
                "enum": [
                  "accounts",
                  "types",
                  "classes",
                  "carriers"
                ],
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Only documents filed on this account.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "Only documents filed on this account.",
              "type": "string"
            }
          },
          {
            "description": "Only documents filed on this policy term.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "schema": {
              "description": "Only documents filed on this policy term.",
              "type": "string"
            }
          },
          {
            "description": "view=register. On this certificate.",
            "explode": false,
            "in": "query",
            "name": "certificate_id",
            "schema": {
              "description": "view=register. On this certificate.",
              "type": "string"
            }
          },
          {
            "description": "One document type: an upload kind (register) or an agency code.",
            "explode": false,
            "in": "query",
            "name": "doc_type",
            "schema": {
              "description": "One document type: an upload kind (register) or an agency code.",
              "type": "string"
            }
          },
          {
            "description": "What the filing is about.",
            "explode": true,
            "in": "query",
            "name": "category",
            "schema": {
              "description": "What the filing is about.",
              "items": {
                "enum": [
                  "declarations",
                  "endorsement",
                  "application",
                  "carrier_correspondence",
                  "client_form",
                  "certificate",
                  "claim",
                  "loss_run",
                  "billing",
                  "binder",
                  "quote_proposal",
                  "id_card",
                  "audit",
                  "cancellation",
                  "renewal_notice",
                  "other_known",
                  "inline_image",
                  "merge_data",
                  "form_data",
                  "agency_report",
                  "unclassified"
                ],
                "type": "string"
              },
              "maxItems": 8,
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "How it arrived.",
            "explode": false,
            "in": "query",
            "name": "medium",
            "schema": {
              "description": "How it arrived.",
              "enum": [
                "file",
                "email",
                "letter",
                "fax",
                "voice",
                "image"
              ],
              "type": "string"
            }
          },
          {
            "description": "Who an email, letter or fax was with.",
            "explode": false,
            "in": "query",
            "name": "counterparty",
            "schema": {
              "description": "Who an email, letter or fax was with.",
              "enum": [
                "client",
                "carrier",
                "lender",
                "unknown"
              ],
              "type": "string"
            }
          },
          {
            "description": "On or after (YYYY-MM-DD).",
            "explode": false,
            "in": "query",
            "name": "entered[gte]",
            "schema": {
              "description": "On or after (YYYY-MM-DD).",
              "type": "string"
            }
          },
          {
            "description": "On or before (YYYY-MM-DD).",
            "explode": false,
            "in": "query",
            "name": "entered[lte]",
            "schema": {
              "description": "On or before (YYYY-MM-DD).",
              "type": "string"
            }
          },
          {
            "description": "-filed is newest first. match is the best match first: the file itself before a letter or an email about it, the document before a request about it, the asked kind first, then newest filed.",
            "explode": false,
            "in": "query",
            "name": "sort",
            "schema": {
              "description": "-filed is newest first. match is the best match first: the file itself before a letter or an email about it, the document before a request about it, the asked kind first, then newest filed.",
              "enum": [
                "-filed",
                "match"
              ],
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentsList"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List documents",
        "tags": [
          "documents"
        ]
      }
    },
    "/records/documents/search": {
      "post": {
        "description": "GET /records/documents 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": "listDocumentsSearch",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "account_id": {
                    "description": "Only documents filed on this account.",
                    "type": "string"
                  },
                  "carrier": {
                    "description": "view=register. Keeps carrier paper for this market entity key.",
                    "type": "string"
                  },
                  "category": {
                    "description": "What the filing is about.",
                    "items": {
                      "enum": [
                        "declarations",
                        "endorsement",
                        "application",
                        "carrier_correspondence",
                        "client_form",
                        "certificate",
                        "claim",
                        "loss_run",
                        "billing",
                        "binder",
                        "quote_proposal",
                        "id_card",
                        "audit",
                        "cancellation",
                        "renewal_notice",
                        "other_known",
                        "inline_image",
                        "merge_data",
                        "form_data",
                        "agency_report",
                        "unclassified"
                      ],
                      "type": "string"
                    },
                    "maxItems": 8,
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "certificate_id": {
                    "description": "view=register. On this certificate.",
                    "type": "string"
                  },
                  "class": {
                    "description": "view=register. Keeps carrier paper in these document classes.",
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "counterparty": {
                    "description": "Who an email, letter or fax was with.",
                    "enum": [
                      "client",
                      "carrier",
                      "lender",
                      "unknown"
                    ],
                    "type": "string"
                  },
                  "created_days": {
                    "description": "Days back, 0 to 3650 (default 0, off). A filing's date is received, else entered, and an undated document stays. view=register, or with account_id or policy_id. Left out with every other view filter, the person's saved view or the default (off) applies.",
                    "format": "int64",
                    "maximum": 3650,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "cursor": {
                    "type": "string"
                  },
                  "doc_type": {
                    "description": "One document type: an upload kind (register) or an agency code.",
                    "type": "string"
                  },
                  "entered[gte]": {
                    "description": "On or after (YYYY-MM-DD).",
                    "type": "string"
                  },
                  "entered[lte]": {
                    "description": "On or before (YYYY-MM-DD).",
                    "type": "string"
                  },
                  "facets": {
                    "description": "view=register. Facets to count over the filtered library.",
                    "items": {
                      "enum": [
                        "accounts",
                        "types",
                        "classes",
                        "carriers"
                      ],
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "hide.category": {
                    "description": "Filing categories to hide, comma-separated, or none. With account_id or policy_id. Left out with created_days too, the person's saved view or the default (nothing hidden) applies; the view block lists the categories with their counts.",
                    "type": "string"
                  },
                  "hide.class": {
                    "description": "view=register. Carrier classes to hide, comma-separated, or none. Uploads have no class and stay. Left out with every other view filter, the person's saved view or the default (nothing hidden) applies.",
                    "type": "string"
                  },
                  "hide.source": {
                    "description": "view=register. Origins to hide, comma-separated: workbench (uploads), carrier or none. Left out with every other view filter, the person's saved view or the default (nothing hidden) applies. The view block lists the values with their counts.",
                    "type": "string"
                  },
                  "include_total": {
                    "description": "view=register. Includes the full filtered row count and its completeness flag.",
                    "type": "boolean"
                  },
                  "limit": {
                    "format": "int64",
                    "minimum": 1,
                    "type": "integer"
                  },
                  "medium": {
                    "description": "How it arrived.",
                    "enum": [
                      "file",
                      "email",
                      "letter",
                      "fax",
                      "voice",
                      "image"
                    ],
                    "type": "string"
                  },
                  "policy_id": {
                    "description": "Only documents filed on this policy term.",
                    "type": "string"
                  },
                  "q": {
                    "description": "Words in a filing's description or file name (or, with a digit, its policy number), or a library title.",
                    "maxLength": 200,
                    "type": "string"
                  },
                  "sort": {
                    "description": "-filed is newest first. match is the best match first: the file itself before a letter or an email about it, the document before a request about it, the asked kind first, then newest filed.",
                    "enum": [
                      "-filed",
                      "match"
                    ],
                    "type": "string"
                  },
                  "source": {
                    "description": "view=register. Selects native uploads, carrier paper, or both.",
                    "enum": [
                      "all",
                      "workbench",
                      "carrier",
                      "ams360"
                    ],
                    "type": "string"
                  },
                  "subject": {
                    "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"
                    ]
                  },
                  "view": {
                    "description": "The document library of uploads and carrier documents.",
                    "enum": [
                      "register"
                    ],
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentsList"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List documents (parameters in the body)",
        "tags": [
          "documents"
        ]
      }
    },
    "/records/documents/view": {
      "get": {
        "description": "The person's saved filters, which the register's list applies when a request names no view filter, and every column the seat may show, its role's default columns and the columns this person shows. A field the seat's field classes withhold is never listed.",
        "operationId": "getDocumentsView",
        "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"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRegisterView"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The acting person's documents filters and columns",
        "tags": [
          "register-views"
        ]
      },
      "put": {
        "description": "Writes the person's own row. Each filter must be one the register's list serves, with a value it takes; each column must be one of columns.available for this seat; anything else is refused with 422. A View as session is read-only here.",
        "operationId": "putDocumentsView",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterViewWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRegisterView"
                }
              }
            },
            "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"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Save the acting person's documents filters and columns",
        "tags": [
          "register-views"
        ]
      }
    },
    "/records/documents/{id}/content": {
      "get": {
        "description": "The Records binary success exception. Returns the scoped attachment bytes with Content-Type, Content-Disposition, Content-Length and safe download headers. Active or unknown file types are attachments. With window=text, the filing's text window as JSON when the platform holds its parsed pages, else the same bytes. Unknown and hidden relations share one refusal.",
        "operationId": "getDocumentContent",
        "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"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "text asks for the filing's text window: the text of its first pages, and with find or section the first later window that holds the match, as the documents_read tool builds its answer, served as JSON from the pages the platform already parsed. When those cannot serve it (not parsed yet, not a PDF, a scanned page in the window, over the size bound, a seat bound to a live source), the answer is the file's bytes as without window, from the same request.",
            "explode": false,
            "in": "query",
            "name": "window",
            "schema": {
              "description": "text asks for the filing's text window: the text of its first pages, and with find or section the first later window that holds the match, as the documents_read tool builds its answer, served as JSON from the pages the platform already parsed. When those cannot serve it (not parsed yet, not a PDF, a scanned page in the window, over the size bound, a seat bound to a live source), the answer is the file's bytes as without window, from the same request.",
              "type": "string"
            }
          },
          {
            "description": "With window=text, the character the text window starts at.",
            "explode": false,
            "in": "query",
            "name": "offset",
            "schema": {
              "description": "With window=text, the character the text window starts at.",
              "type": "string"
            }
          },
          {
            "description": "With window=text, the text the window starts at.",
            "explode": false,
            "in": "query",
            "name": "section",
            "schema": {
              "description": "With window=text, the text the window starts at.",
              "type": "string"
            }
          },
          {
            "description": "With window=text, the text the window is centered on.",
            "explode": false,
            "in": "query",
            "name": "find",
            "schema": {
              "description": "With window=text, the text the window is centered on.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "contentMediaType": "application/octet-stream",
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "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"
          },
          "413": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "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"
          },
          "502": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Gateway"
          },
          "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": []
          }
        ],
        "summary": "Read document content",
        "tags": [
          "documents"
        ]
      }
    },
    "/records/documents/{id}/members/{member}/content": {
      "get": {
        "description": "Returns the bytes of one member of a filed container (a filed email's attachment, an Outlook message's, a zip's file) with the content route's headers. It reads the member as the pages route does: the same scope, the same source fetch and the same refusals. Unknown and hidden relations and members share one refusal.",
        "operationId": "getDocumentMemberContent",
        "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"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "A container member's path, from the container answer's members.",
            "in": "path",
            "name": "member",
            "required": true,
            "schema": {
              "description": "A container member's path, from the container answer's members.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "contentMediaType": "application/octet-stream",
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "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"
          },
          "413": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "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"
          },
          "502": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Gateway"
          },
          "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": []
          }
        ],
        "summary": "Read document member content",
        "tags": [
          "documents"
        ]
      }
    },
    "/records/documents/{id}/pages": {
      "get": {
        "description": "Reads a document's pages with citation addresses, as the content route reads its bytes: the same scope, the same source fetch and the same refusals. Unknown and hidden relations share one refusal.",
        "operationId": "getDocumentPages",
        "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"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "A container member's path, from the container answer's members; reads that member's pages.",
            "explode": false,
            "in": "query",
            "name": "member",
            "schema": {
              "description": "A container member's path, from the container answer's members; reads that member's pages.",
              "type": "string"
            }
          },
          {
            "description": "The first page, from 1. Send from and to together, at most 100 pages; omit both for the first 3 pages.",
            "explode": false,
            "in": "query",
            "name": "from",
            "schema": {
              "description": "The first page, from 1. Send from and to together, at most 100 pages; omit both for the first 3 pages.",
              "type": "string"
            }
          },
          {
            "description": "The last page, inclusive. A range that runs past the document's last page ends there; a first page past it is refused.",
            "explode": false,
            "in": "query",
            "name": "to",
            "schema": {
              "description": "The last page, inclusive. A range that runs past the document's last page ends there; a first page past it is refused.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordsDocumentPagesJSON"
                }
              }
            },
            "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"
          },
          "413": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "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"
          },
          "502": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Gateway"
          },
          "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": []
          }
        ],
        "summary": "Read document pages",
        "tags": [
          "documents"
        ]
      }
    },
    "/records/drive-other-car-coverages": {
      "get": {
        "description": "Views: list. Source admission, field projection and continuation remain authoritative. Source parent keys are opaque references.",
        "operationId": "listRiskDetailView5",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read drive-other-car-coverages",
        "tags": [
          "vehicles"
        ]
      }
    },
    "/records/driver-convictions": {
      "get": {
        "description": "Views: list. Source admission, field projection and continuation remain authoritative. Source parent keys are opaque references.",
        "operationId": "listRiskDetailView2",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read driver-convictions",
        "tags": [
          "drivers"
        ]
      }
    },
    "/records/driver-usages": {
      "get": {
        "description": "Views: list. Source admission, field projection and continuation remain authoritative. Source parent keys are opaque references.",
        "operationId": "listRiskDetailView3",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read driver-usages",
        "tags": [
          "drivers"
        ]
      }
    },
    "/records/drivers": {
      "get": {
        "description": "Views: personal-auto, commercial-auto. Source admission, field projection and continuation remain authoritative. Source parent keys are opaque references.",
        "operationId": "listRiskDetailView1",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          },
          {
            "description": "Requested business projection.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "default": "personal-auto",
              "description": "Requested business projection.",
              "enum": [
                "personal-auto",
                "commercial-auto"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read drivers",
        "tags": [
          "drivers"
        ]
      }
    },
    "/records/employee-images": {
      "get": {
        "description": "An employee's image. Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listEmployeeImageRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "The employee whose image to read. A person's seat reads only its own codes; a whole-book seat must name one.",
            "explode": false,
            "in": "query",
            "name": "employee_code",
            "schema": {
              "description": "The employee whose image to read. A person's seat reads only its own codes; a whole-book seat must name one.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List employee images",
        "tags": [
          "attachments"
        ]
      }
    },
    "/records/employee-suspenses": {
      "get": {
        "description": "Suspenses set on an employee rather than a customer, open and completed: the list, or each read in full by its id (record). Views: list, record. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listEmployeeSuspenseRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "The requested business projection.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "default": "list",
              "description": "The requested business projection.",
              "enum": [
                "list",
                "record"
              ],
              "type": "string"
            }
          },
          {
            "description": "The employee whose suspenses to read. A person's seat reads only its own codes; a whole-book seat must name one.",
            "explode": false,
            "in": "query",
            "name": "employee_code",
            "schema": {
              "description": "The employee whose suspenses to read. A person's seat reads only its own codes; a whole-book seat must name one.",
              "type": "string"
            }
          },
          {
            "description": "One suspense's native id (record).",
            "explode": false,
            "in": "query",
            "name": "suspense_id",
            "schema": {
              "description": "One suspense's native id (record).",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List employee suspenses",
        "tags": [
          "suspenses"
        ]
      }
    },
    "/records/employees": {
      "get": {
        "description": "view= reads the employee directory live from the system of record for a seat bound to it, with scheme paging; those rows carry source_key and source_fields until the catalog names the employee fields. A seat the warehouse serves reads by-code and by-short-name from the agency's staff register (the declared fields); its other views answer their absence (the staff register serves named individuals only on a matched read).",
        "operationId": "listEmployees",
        "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": "Page size, 1 to 50. Defaults to 20; a larger value is coerced to 50 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size, 1 to 50. Defaults to 20; a larger value is coerced to 50 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. The search is frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. The search is frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total (directory views).",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total (directory views).",
              "type": "boolean"
            }
          },
          {
            "description": "The book to read (directory views): own, book:&lt;code&gt; or member:&lt;member id&gt;.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read (directory views): own, book:&lt;code&gt; or member:&lt;member id&gt;.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Reads the employee directory live from the system of record, for a seat bound to it, list (the agency employees), all, directory, full, by-type, one employee by code, short name or last-name prefix, or search (the basic-information search). A seat the warehouse serves answers a view's absence.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "description": "Reads the employee directory live from the system of record, for a seat bound to it, list (the agency employees), all, directory, full, by-type, one employee by code, short name or last-name prefix, or search (the basic-information search). A seat the warehouse serves answers a view's absence.",
              "enum": [
                "list",
                "all",
                "by-code",
                "by-last-name",
                "by-short-name",
                "by-type",
                "directory",
                "full",
                "search"
              ],
              "type": "string"
            }
          },
          {
            "description": "An employee code (by-code, required; search narrows to it).",
            "explode": false,
            "in": "query",
            "name": "employee_code",
            "schema": {
              "description": "An employee code (by-code, required; search narrows to it).",
              "type": "string"
            }
          },
          {
            "description": "Narrow by-code on a warehouse seat to one AMS 360 datasource: a connected one, or the one a policy's employee codes came from (its personnel_datasource) when an in-force policy carries the code from it. A seat denied employee names reads no row of an unconnected one.",
            "explode": false,
            "in": "query",
            "name": "ams360_datasource",
            "schema": {
              "description": "Narrow by-code on a warehouse seat to one AMS 360 datasource: a connected one, or the one a policy's employee codes came from (its personnel_datasource) when an in-force policy carries the code from it. A seat denied employee names reads no row of an unconnected one.",
              "type": "string"
            }
          },
          {
            "description": "An employee short name (by-short-name, required; search narrows to it).",
            "explode": false,
            "in": "query",
            "name": "short_name",
            "schema": {
              "description": "An employee short name (by-short-name, required; search narrows to it).",
              "type": "string"
            }
          },
          {
            "description": "A last-name prefix (by-last-name, required).",
            "explode": false,
            "in": "query",
            "name": "last_name_prefix",
            "schema": {
              "description": "A last-name prefix (by-last-name, required).",
              "type": "string"
            }
          },
          {
            "description": "true to include executives (by-type).",
            "explode": false,
            "in": "query",
            "name": "include_executive",
            "schema": {
              "description": "true to include executives (by-type).",
              "type": "string"
            }
          },
          {
            "description": "true to include other employees (by-type).",
            "explode": false,
            "in": "query",
            "name": "include_other",
            "schema": {
              "description": "true to include other employees (by-type).",
              "type": "string"
            }
          },
          {
            "description": "true to include representatives (by-type; the source needs at least one include flag).",
            "explode": false,
            "in": "query",
            "name": "include_representative",
            "schema": {
              "description": "true to include representatives (by-type; the source needs at least one include flag).",
              "type": "string"
            }
          },
          {
            "description": "true to include sales center representatives (by-type).",
            "explode": false,
            "in": "query",
            "name": "include_sales_center_representative",
            "schema": {
              "description": "true to include sales center representatives (by-type).",
              "type": "string"
            }
          },
          {
            "description": "Narrow to an employee type (search).",
            "explode": false,
            "in": "query",
            "name": "employee_type",
            "schema": {
              "description": "Narrow to an employee type (search).",
              "type": "string"
            }
          },
          {
            "description": "Narrow to a first name (search).",
            "explode": false,
            "in": "query",
            "name": "first_name",
            "schema": {
              "description": "Narrow to a first name (search).",
              "type": "string"
            }
          },
          {
            "description": "Narrow to a last name (search).",
            "explode": false,
            "in": "query",
            "name": "last_name",
            "schema": {
              "description": "Narrow to a last name (search).",
              "type": "string"
            }
          },
          {
            "description": "Narrow to a status (search).",
            "explode": false,
            "in": "query",
            "name": "status",
            "schema": {
              "description": "Narrow to a status (search).",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListEmployeesResponse"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Read the agency's employees",
        "tags": [
          "employees"
        ]
      }
    },
    "/records/employees/search": {
      "post": {
        "description": "GET /records/employees 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": "listEmployeesSearch",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "ams360_datasource": {
                    "description": "Narrow by-code on a warehouse seat to one AMS 360 datasource: a connected one, or the one a policy's employee codes came from (its personnel_datasource) when an in-force policy carries the code from it. A seat denied employee names reads no row of an unconnected one.",
                    "type": "string"
                  },
                  "cursor": {
                    "description": "The opaque page.next of the previous page. The search is frozen inside it.",
                    "type": "string"
                  },
                  "employee_code": {
                    "description": "An employee code (by-code, required; search narrows to it).",
                    "type": "string"
                  },
                  "employee_type": {
                    "description": "Narrow to an employee type (search).",
                    "type": "string"
                  },
                  "first_name": {
                    "description": "Narrow to a first name (search).",
                    "type": "string"
                  },
                  "include_executive": {
                    "description": "true to include executives (by-type).",
                    "type": "string"
                  },
                  "include_other": {
                    "description": "true to include other employees (by-type).",
                    "type": "string"
                  },
                  "include_representative": {
                    "description": "true to include representatives (by-type; the source needs at least one include flag).",
                    "type": "string"
                  },
                  "include_sales_center_representative": {
                    "description": "true to include sales center representatives (by-type).",
                    "type": "string"
                  },
                  "include_total": {
                    "description": "true adds total (directory views).",
                    "type": "boolean"
                  },
                  "last_name": {
                    "description": "Narrow to a last name (search).",
                    "type": "string"
                  },
                  "last_name_prefix": {
                    "description": "A last-name prefix (by-last-name, required).",
                    "type": "string"
                  },
                  "limit": {
                    "description": "Page size, 1 to 50. Defaults to 20; a larger value is coerced to 50 with a LIMIT_COERCED warning.",
                    "format": "int64",
                    "minimum": 1,
                    "type": "integer"
                  },
                  "short_name": {
                    "description": "An employee short name (by-short-name, required; search narrows to it).",
                    "type": "string"
                  },
                  "status": {
                    "description": "Narrow to a status (search).",
                    "type": "string"
                  },
                  "subject": {
                    "description": "The book to read (directory views): own, book:&lt;code&gt; or member:&lt;member id&gt;.",
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "view": {
                    "description": "Reads the employee directory live from the system of record, for a seat bound to it, list (the agency employees), all, directory, full, by-type, one employee by code, short name or last-name prefix, or search (the basic-information search). A seat the warehouse serves answers a view's absence.",
                    "enum": [
                      "list",
                      "all",
                      "by-code",
                      "by-last-name",
                      "by-short-name",
                      "by-type",
                      "directory",
                      "full",
                      "search"
                    ],
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListEmployeesResponse"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Read the agency's employees (parameters in the body)",
        "tags": [
          "employees"
        ]
      }
    },
    "/records/employees/{id}": {
      "get": {
        "description": "One current staff-register record by employee key. Fields the staff register does not carry stay null; the licenses child carries the derived licensure corpus. A bound system answers explicit source absence.",
        "operationId": "getEmployee",
        "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 employee key (bemp1_...).",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The employee key (bemp1_...).",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordBookEmployeeDetail"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read an employee",
        "tags": [
          "employees"
        ]
      }
    },
    "/records/employees/{id}/licenses": {
      "get": {
        "description": "The employee's producer licensure rows under the derived corpus marker. present=false means no corpus has been derived for this book, which is not the same fact as an unlicensed employee. license_number serves here only. {id} is the employee key, or the staff-register code key ({instance}:employee:employee:{code}) for one AMS 360 employee code's rows.",
        "operationId": "getEmployeeLicenses",
        "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 employee key (bemp1_...).",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The employee key (bemp1_...).",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordBookEmployeeLicensure"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read an employee's licenses",
        "tags": [
          "employees"
        ]
      }
    },
    "/records/feature-requests": {
      "get": {
        "description": "Navigator's stored feature requests, owner-scoped as the Navigator store read is, each filter applied before the page.",
        "operationId": "listFeatureRequests",
        "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": "Page size, bounded by the API.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size, bounded by the API.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "Continue with page.next from the same collection.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "Continue with page.next from the same collection.",
              "type": "string"
            }
          },
          {
            "description": "Include the exact count of the filtered and authorized relation, before the cursor.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "Include the exact count of the filtered and authorized relation, before the cursor.",
              "type": "boolean"
            }
          },
          {
            "description": "Rows owned by this user.",
            "explode": false,
            "in": "query",
            "name": "user_id",
            "schema": {
              "description": "Rows owned by this user.",
              "type": "string"
            }
          },
          {
            "description": "Rows of this kind: a request, one seat's vote on a request, or a comment on a request. A row written before kinds existed is a request.",
            "explode": false,
            "in": "query",
            "name": "kind",
            "schema": {
              "description": "Rows of this kind: a request, one seat's vote on a request, or a comment on a request. A row written before kinds existed is a request.",
              "enum": [
                "request",
                "vote",
                "comment"
              ],
              "type": "string"
            }
          },
          {
            "description": "Votes and comments on these requests, repeatable.",
            "explode": true,
            "in": "query",
            "name": "request_id",
            "schema": {
              "description": "Votes and comments on these requests, repeatable.",
              "items": {
                "type": "string"
              },
              "maxItems": 200,
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "false keeps only the rows nobody has deleted or withdrawn, before the page and the total. Absent keeps every row.",
            "explode": false,
            "in": "query",
            "name": "deleted",
            "schema": {
              "description": "false keeps only the rows nobody has deleted or withdrawn, before the page and the total. Absent keeps every row.",
              "enum": [
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "viewer keeps the rows this seat may see: public rows and its own private ones, before the page and the total.",
            "explode": false,
            "in": "query",
            "name": "visibility",
            "schema": {
              "description": "viewer keeps the rows this seat may see: public rows and its own private ones, before the page and the total.",
              "enum": [
                "viewer"
              ],
              "type": "string"
            }
          },
          {
            "description": "votes orders by live votes, then newest, and serves each row's vote_count and whether this seat voted (viewer_voted). Absent keeps the store's order.",
            "explode": false,
            "in": "query",
            "name": "sort",
            "schema": {
              "description": "votes orders by live votes, then newest, and serves each row's vote_count and whether this seat voted (viewer_voted). Absent keeps the store's order.",
              "enum": [
                "votes"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListWorkbenchRow"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "List feature requests",
        "tags": [
          "feature_requests"
        ]
      }
    },
    "/records/feature-requests/{id}": {
      "get": {
        "description": "One stored row by its id, admitted as the Navigator store's keyed read is. An absent row and one the seat cannot read are one answer.",
        "operationId": "getFeatureRequest",
        "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 stored row id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The stored row id.",
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordWorkbenchRow"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read one of the feature requests",
        "tags": [
          "feature_requests"
        ]
      }
    },
    "/records/financial-filings": {
      "get": {
        "description": "A personal auto term's financial responsibility filings. Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listFinancialFilingRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List financial filings",
        "tags": [
          "personal_lines_detail"
        ]
      }
    },
    "/records/form-templates": {
      "get": {
        "description": "The agency's active form templates, latest edition each (active, alternate), or one template's layout summary (template). Views: active, alternate, template. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listFormTemplateRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "The requested business projection.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "default": "active",
              "description": "The requested business projection.",
              "enum": [
                "active",
                "alternate",
                "template"
              ],
              "type": "string"
            }
          },
          {
            "description": "The template's base name, for example 00452016-03 (template, required).",
            "explode": false,
            "in": "query",
            "name": "name",
            "schema": {
              "description": "The template's base name, for example 00452016-03 (template, required).",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List form templates",
        "tags": [
          "eforms"
        ]
      }
    },
    "/records/form-templates/{name}": {
      "get": {
        "description": "The XFDL template AMS 360 draws one ACORD e-form page with, parsed into positioned lines, labels, images and fields (1/1000 inch, origin top left). A field's id is the ACForm Field Id whose Value it shows. Read live from AMS 360 EMS on the org's AMS 360 API connection and cached. 404 when AMS 360 holds no such template; 424 when AMS 360 cannot be reached or the org has no AMS 360 API connection; 502 when AMS 360 answers a template that cannot be read.",
        "operationId": "getFormTemplate",
        "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 template's base name: the ACForm FileName without .UFF, for example 1252014-12-1. Must match ^[0-9A-Za-z][0-9A-Za-z-]{0,40}$.",
            "in": "path",
            "name": "name",
            "required": true,
            "schema": {
              "description": "The template's base name: the ACForm FileName without .UFF, for example 1252014-12-1. Must match ^[0-9A-Za-z][0-9A-Za-z-]{0,40}$.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordFormTemplate"
                }
              }
            },
            "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"
          },
          "502": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Gateway"
          },
          "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": []
          }
        ],
        "summary": "Read one AMS 360 e-form page template",
        "tags": [
          "form-templates"
        ]
      }
    },
    "/records/hired-auto-coverages": {
      "get": {
        "description": "Views: list. Source admission, field projection and continuation remain authoritative. Source parent keys are opaque references.",
        "operationId": "listRiskDetailView6",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read hired-auto-coverages",
        "tags": [
          "vehicles"
        ]
      }
    },
    "/records/home-attachments": {
      "get": {
        "description": "A homeowners location's attached forms. Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listHomeAttachmentRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List home attachments",
        "tags": [
          "personal_lines_detail"
        ]
      }
    },
    "/records/home-coverages": {
      "get": {
        "description": "A homeowners location's coverages. Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listHomeCoverageRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List home coverages",
        "tags": [
          "personal_lines_detail"
        ]
      }
    },
    "/records/home-interests": {
      "get": {
        "description": "A homeowners location's additional interests. Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listHomeInterestRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List home additional interests",
        "tags": [
          "personal_lines_detail"
        ]
      }
    },
    "/records/home-locations": {
      "get": {
        "description": "A homeowners term's locations. Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listHomeLocationRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List home locations",
        "tags": [
          "personal_lines_detail"
        ]
      }
    },
    "/records/home-questions": {
      "get": {
        "description": "A homeowners location's general information questions and answers. Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listHomeQuestionRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List home general information answers",
        "tags": [
          "personal_lines_detail"
        ]
      }
    },
    "/records/home-ratings": {
      "get": {
        "description": "A homeowners location's rating and underwriting details. Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listHomeRatingRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List home rating details",
        "tags": [
          "personal_lines_detail"
        ]
      }
    },
    "/records/invoice-customers": {
      "get": {
        "description": "The bill-to customers on an account's invoices. Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listInvoiceCustomerRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped account id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped account id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List invoice customers",
        "tags": [
          "invoices"
        ]
      }
    },
    "/records/invoices": {
      "get": {
        "description": "Invoices with their lines and bill-to splits for one account or policy. Send exactly one of account_id and policy_id. Monetary amounts retain exact decimal text. An account's invoice also carries its settlement: what the receivable ledger billed, the receipts and credits applied (a reversal subtracts) and the balance left, each with its posting; when the ledger was not read the invoice carries none and invoices.settlements is named on unreachable. The receipts, plans, balance and named gaps beside them are at the balance rollup.",
        "operationId": "listInvoices",
        "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": "This account's invoices (instance or bk1_ key); send account_id or policy_id, not both.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "This account's invoices (instance or bk1_ key); send account_id or policy_id, not both.",
              "type": "string"
            }
          },
          {
            "description": "This policy term's invoices (its instance key); send account_id or policy_id, not both.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "schema": {
              "description": "This policy term's invoices (its instance key); send account_id or policy_id, not both.",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The first invoice date kept (YYYY-MM-DD), inclusive. Frozen in the cursor.",
            "explode": false,
            "in": "query",
            "name": "invoice_date[gte]",
            "schema": {
              "description": "The first invoice date kept (YYYY-MM-DD), inclusive. Frozen in the cursor.",
              "type": "string"
            }
          },
          {
            "description": "The last invoice date kept (YYYY-MM-DD), inclusive. Frozen in the cursor.",
            "explode": false,
            "in": "query",
            "name": "invoice_date[lte]",
            "schema": {
              "description": "The last invoice date kept (YYYY-MM-DD), inclusive. Frozen in the cursor.",
              "type": "string"
            }
          },
          {
            "description": "Only invoices on a policy whose line matches this text, ignoring case and separators. Applied before pagination and total.",
            "explode": false,
            "in": "query",
            "name": "policy_line_of_business",
            "schema": {
              "description": "Only invoices on a policy whose line matches this text, ignoring case and separators. Applied before pagination and total.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the count of the account's or policy's invoices in the window under the caller's scope.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the count of the account's or policy's invoices in the window under the caller's scope.",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListInvoice"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List invoices",
        "tags": [
          "invoices"
        ]
      }
    },
    "/records/invoices/rollups/aging": {
      "get": {
        "description": "Every account in the subject with an open invoice, its open invoices by aging bucket (days past DUEDATE at the read day), and the totals by bucket. Open invoices with AR activity since AMS 360's last close run count apart as unsettled. subject=own is the seat's own codes (producer:me or client_manager:me narrows to one axis). invoice_date[gte] and [lte] bound the invoices by invoice date. gross_amount is as billed and is not net of partial receipts; derivation states the rule. An account absent from the answer has no open invoice in the window. A scope with more accounts than the rollup serves is refused (result too large), never trimmed. A seat bound to AMS 360 answers the source's absence as data.",
        "operationId": "getInvoiceAging",
        "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": "Only invoices dated on or after this day (YYYY-MM-DD).",
            "explode": false,
            "in": "query",
            "name": "invoice_date[gte]",
            "schema": {
              "description": "Only invoices dated on or after this day (YYYY-MM-DD).",
              "type": "string"
            }
          },
          {
            "description": "Only invoices dated on or before this day (YYYY-MM-DD).",
            "explode": false,
            "in": "query",
            "name": "invoice_date[lte]",
            "schema": {
              "description": "Only invoices dated on or before this day (YYYY-MM-DD).",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordInvoiceAging"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Read the book's aged open receivables",
        "tags": [
          "invoices"
        ]
      }
    },
    "/records/invoices/rollups/balance": {
      "get": {
        "description": "The account or policy billing context beside its invoices: headers, payment plans and named source gaps. An account's also carries receipts, collection letters and the open receivable, the net of the account's receivable ledger over the invoices the caller may read (aging and past due are not derived). A policy's does not allocate an account balance or receipts to a policy. Each part the read did not fill (receipts, payment_plans, billing_headers, collection_letters, open_receivable, and invoices.lines, invoices.bill_to and invoices.settlements, what settled or reduced each invoice) is named on unreachable with its reason: that part was not read, which never means the account has none.",
        "operationId": "getInvoiceBalance",
        "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"
              ]
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordInvoiceBalance"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read the invoices' balance",
        "tags": [
          "invoices"
        ]
      }
    },
    "/records/leader-retention/view": {
      "get": {
        "description": "The person's saved filters, which the register's list applies when a request names no view filter, and every column the seat may show, its role's default columns and the columns this person shows. A field the seat's field classes withhold is never listed.",
        "operationId": "getLeaderRetentionView",
        "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"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRegisterView"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The acting person's leader-retention filters and columns",
        "tags": [
          "register-views"
        ]
      },
      "put": {
        "description": "Writes the person's own row. Each filter must be one the register's list serves, with a value it takes; each column must be one of columns.available for this seat; anything else is refused with 422. A View as session is read-only here.",
        "operationId": "putLeaderRetentionView",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterViewWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRegisterView"
                }
              }
            },
            "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"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Save the acting person's leader-retention filters and columns",
        "tags": [
          "register-views"
        ]
      }
    },
    "/records/leads": {
      "get": {
        "description": "Salesforce leads, newest created first, each with its industry and created day (created_date_id, YYYYMMDD); a lead carries no X-date and no premium. A producer seat with a verified AMS 360 identity reads the leads it owns, a leader seat its team's, an org-wide seat every lead. Stage counts are at the stages rollup.",
        "operationId": "listCRMLeads",
        "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": "Keeps leads whose stage name equals this text exactly, as the agency spells it. The stages rollup lists the names in use.",
            "explode": false,
            "in": "query",
            "name": "stage",
            "schema": {
              "description": "Keeps leads whose stage name equals this text exactly, as the agency spells it. The stages rollup lists the names in use.",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Keeps leads whose industry names this text, case-insensitive; a lead listing several industries matches on any of them. real estate also keeps Apartments, Self-Storage Units and Lessors Risk.",
            "explode": false,
            "in": "query",
            "name": "industry",
            "schema": {
              "description": "Keeps leads whose industry names this text, case-insensitive; a lead listing several industries matches on any of them. real estate also keeps Apartments, Self-Storage Units and Lessors Risk.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the count of leads the filters keep, on the first page.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the count of leads the filters keep, on the first page.",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListLead"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "List leads",
        "tags": [
          "leads"
        ]
      }
    },
    "/records/leads/rollups/stages": {
      "get": {
        "description": "The existing CRM reader's complete stage counts, outcome counts and exact decimal revenue aggregates under the caller's scope and optional stage filter. The source snapshot identifies the read; no page aggregation or BFF scan.",
        "operationId": "getCRMLeadsStages",
        "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"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "stage",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordCRMStages"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Read leads stage totals",
        "tags": [
          "leads"
        ]
      }
    },
    "/records/loss-history": {
      "get": {
        "description": "Views: list. Source admission, field projection and continuation remain authoritative. Source parent keys are opaque references.",
        "operationId": "listRiskDetailView15",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read loss-history",
        "tags": [
          "loss_history"
        ]
      }
    },
    "/records/machines": {
      "get": {
        "description": "Every workflow machine the org declares: its values with the label, step, tone, next step and settled flag a surface shows, and its legal moves with who may make each. Surfaces read a state's words and next moves from here and keep no copy. One page holds every machine.",
        "operationId": "listMachines",
        "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"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListMachine"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "List the org's workflow machines",
        "tags": [
          "machines"
        ]
      }
    },
    "/records/machines/{field}": {
      "get": {
        "description": "One workflow machine the org declares, by its state field. 404 when the org declares no such machine.",
        "operationId": "getMachine",
        "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 machine's state field, for example renewal_stage.",
            "in": "path",
            "name": "field",
            "required": true,
            "schema": {
              "description": "The machine's state field, for example renewal_stage.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordMachine"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read one workflow machine",
        "tags": [
          "machines"
        ]
      }
    },
    "/records/market-appetite": {
      "get": {
        "description": "The served appetite: one row per market, class and line, with its eligibility and source. Paged by cursor.",
        "operationId": "listMarketAppetite",
        "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": "Page size. Defaults to 25; the collection's maximum is 100 (1000 for the summary view), and a larger value is coerced with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; the collection's maximum is 100 (1000 for the summary view), and a larger value is coerced with a LIMIT_COERCED warning.",
              "type": "string"
            }
          },
          {
            "description": "The opaque page.next of the previous page. The filters are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. The filters are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the filtered collection.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the filtered collection.",
              "type": "string"
            }
          },
          {
            "description": "The catalog connection to read. Absent: the org's single active connection.",
            "explode": false,
            "in": "query",
            "name": "connection_id",
            "schema": {
              "description": "The catalog connection to read. Absent: the org's single active connection.",
              "type": "string"
            }
          },
          {
            "description": "Only cells whose class is exactly this text.",
            "explode": false,
            "in": "query",
            "name": "business_class",
            "schema": {
              "description": "Only cells whose class is exactly this text.",
              "type": "string"
            }
          },
          {
            "description": "A producer's class question in their words (\"roofing\", \"restaurants\"). The text resolves through the catalog taxonomy's NAICS keyword bridge; a cell answers when its class holds a resolved keyword as a whole word, else when it contains the text. Keyword matches come first. Not with business_class.",
            "explode": false,
            "in": "query",
            "name": "class",
            "schema": {
              "description": "A producer's class question in their words (\"roofing\", \"restaurants\"). The text resolves through the catalog taxonomy's NAICS keyword bridge; a cell answers when its class holds a resolved keyword as a whole word, else when it contains the text. Keyword matches come first. Not with business_class.",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "state",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "line",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "eligibility",
            "schema": {
              "enum": [
                "acceptable",
                "will_consider",
                "not_a_market"
              ],
              "type": "string"
            }
          },
          {
            "description": "Only this market's cells (its entity key; a cell filed under a folded alias answers for its market).",
            "explode": false,
            "in": "query",
            "name": "market_entity_key",
            "schema": {
              "description": "Only this market's cells (its entity key; a cell filed under a folded alias answers for its market).",
              "type": "string"
            }
          },
          {
            "description": "Repeatable. Only cells that name one of these products (ids of /records/products) at their declared grain: a cell at type grain answers every product of its type.",
            "explode": true,
            "in": "query",
            "name": "product",
            "schema": {
              "description": "Repeatable. Only cells that name one of these products (ids of /records/products) at their declared grain: a cell at type grain answers every product of its type.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Repeatable. Only cells that name one of these product types, at type grain or through one of the type's products.",
            "explode": true,
            "in": "query",
            "name": "product_type",
            "schema": {
              "description": "Repeatable. Only cells that name one of these product types, at type grain or through one of the type's products.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListCatalogAppetiteJSON"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List market appetite",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/market-appetite/rollups/assertions": {
      "get": {
        "description": "The appetite assertions people published on one market: its current assertions, or one assertion's revisions. Each item's revision is the expected_revision a market_appetite.publish change names; can_publish says whether the acting member may publish.",
        "operationId": "getMarketAppetiteAssertions",
        "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 market's kind: catalog, a native catalog head (with entity_key), or ams, a live AMS 360 company (with datasource_id and company_id).",
            "explode": false,
            "in": "query",
            "name": "kind",
            "schema": {
              "description": "The market's kind: catalog, a native catalog head (with entity_key), or ams, a live AMS 360 company (with datasource_id and company_id).",
              "enum": [
                "catalog",
                "ams"
              ],
              "type": "string"
            }
          },
          {
            "description": "The market's catalog or source connection.",
            "explode": false,
            "in": "query",
            "name": "connection_id",
            "schema": {
              "description": "The market's catalog or source connection.",
              "type": "string"
            }
          },
          {
            "description": "A native market's entity key.",
            "explode": false,
            "in": "query",
            "name": "entity_key",
            "schema": {
              "description": "A native market's entity key.",
              "type": "string"
            }
          },
          {
            "description": "An AMS 360 company's datasource.",
            "explode": false,
            "in": "query",
            "name": "datasource_id",
            "schema": {
              "description": "An AMS 360 company's datasource.",
              "type": "string"
            }
          },
          {
            "description": "An AMS 360 company's source row id.",
            "explode": false,
            "in": "query",
            "name": "company_id",
            "schema": {
              "description": "An AMS 360 company's source row id.",
              "type": "string"
            }
          },
          {
            "description": "One assertion's revisions, newest first. Absent: the market's current assertions, withdrawals included.",
            "explode": false,
            "in": "query",
            "name": "assertion_id",
            "schema": {
              "description": "One assertion's revisions, newest first. Absent: the market's current assertions, withdrawals included.",
              "type": "string"
            }
          },
          {
            "description": "With line_code: only the current assertions on this business class key and line, every state and route; each item's revision is the expected_revision a change to that scope names. Never with assertion_id.",
            "explode": false,
            "in": "query",
            "name": "class_key",
            "schema": {
              "description": "With line_code: only the current assertions on this business class key and line, every state and route; each item's revision is the expected_revision a change to that scope names. Never with assertion_id.",
              "maxLength": 256,
              "type": "string"
            }
          },
          {
            "description": "With class_key: the line of the current assertions listed, a code of GET /records/products?view=lines (linevocabulary.IsLineCode). Any other value is a 400.",
            "explode": false,
            "in": "query",
            "name": "line_code",
            "schema": {
              "description": "With class_key: the line of the current assertions listed, a code of GET /records/products?view=lines (linevocabulary.IsLineCode). Any other value is a 400.",
              "maxLength": 64,
              "type": "string"
            }
          },
          {
            "description": "Page size, 1 to 250. Default 100.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size, 1 to 250. Default 100.",
              "format": "int64",
              "type": "integer"
            }
          },
          {
            "description": "Rows to skip.",
            "explode": false,
            "in": "query",
            "name": "offset",
            "schema": {
              "description": "Rows to skip.",
              "format": "int64",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogAppetiteAssertionsResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          },
          "503": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Appetite assertions on a market",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/market-appetite/rollups/evidence": {
      "get": {
        "description": "The original of one evidence document an appetite publication cites, as an attachment. The document must be filed on the market at the cited version, and the acting member must read the market's appetite.",
        "operationId": "getMarketAppetiteEvidence",
        "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 market's kind: catalog, a native catalog head (with entity_key), or ams, a live AMS 360 company (with datasource_id and company_id).",
            "explode": false,
            "in": "query",
            "name": "kind",
            "schema": {
              "description": "The market's kind: catalog, a native catalog head (with entity_key), or ams, a live AMS 360 company (with datasource_id and company_id).",
              "enum": [
                "catalog",
                "ams"
              ],
              "type": "string"
            }
          },
          {
            "description": "The market's catalog or source connection.",
            "explode": false,
            "in": "query",
            "name": "connection_id",
            "schema": {
              "description": "The market's catalog or source connection.",
              "type": "string"
            }
          },
          {
            "description": "A native market's entity key.",
            "explode": false,
            "in": "query",
            "name": "entity_key",
            "schema": {
              "description": "A native market's entity key.",
              "type": "string"
            }
          },
          {
            "description": "An AMS 360 company's datasource.",
            "explode": false,
            "in": "query",
            "name": "datasource_id",
            "schema": {
              "description": "An AMS 360 company's datasource.",
              "type": "string"
            }
          },
          {
            "description": "An AMS 360 company's source row id.",
            "explode": false,
            "in": "query",
            "name": "company_id",
            "schema": {
              "description": "An AMS 360 company's source row id.",
              "type": "string"
            }
          },
          {
            "description": "The evidence_ref id: the document's id.",
            "explode": false,
            "in": "query",
            "name": "id",
            "schema": {
              "description": "The evidence_ref id: the document's id.",
              "type": "string"
            }
          },
          {
            "description": "The evidence_ref version: the document's content SHA-256.",
            "explode": false,
            "in": "query",
            "name": "version",
            "schema": {
              "description": "The evidence_ref version: the document's content SHA-256.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          },
          "503": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Open appetite evidence",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/market-appetite/rollups/resolution": {
      "get": {
        "description": "Names what a question refers to in typed ids (class, line, state) and what the market-appetite collection holds for it: markets in the connection, with appetite data, and with evidence for the resolved classes. no_coverage says why nothing can be answered.",
        "operationId": "getMarketAppetiteResolution",
        "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": "Words naming a class, line or state. At most 500 characters.",
            "explode": false,
            "in": "query",
            "name": "q",
            "schema": {
              "description": "Words naming a class, line or state. At most 500 characters.",
              "type": "string"
            }
          },
          {
            "description": "Repeatable class id of GET /records/classes, at most 10.",
            "explode": true,
            "in": "query",
            "name": "class_id",
            "schema": {
              "description": "Repeatable class id of GET /records/classes, at most 10.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "A line id of GET /records/products?view=lines (catalog_lines).",
            "explode": false,
            "in": "query",
            "name": "line_id",
            "schema": {
              "description": "A line id of GET /records/products?view=lines (catalog_lines).",
              "type": "string"
            }
          },
          {
            "description": "A two-letter state code.",
            "explode": false,
            "in": "query",
            "name": "state_id",
            "schema": {
              "description": "A two-letter state code.",
              "type": "string"
            }
          },
          {
            "description": "Active catalog connection. Required if more than one is active.",
            "explode": false,
            "in": "query",
            "name": "connection_id",
            "schema": {
              "description": "Active catalog connection. Required if more than one is active.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MarketAppetiteResolutionResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          },
          "503": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Resolve a question to classes, lines, a state and market coverage",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/market-appetite/rollups/resolution/search": {
      "post": {
        "description": "GET /records/market-appetite/rollups/resolution 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": "getMarketAppetiteResolutionSearch",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "class_id": {
                    "description": "Repeatable class id of GET /records/classes, at most 10.",
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "connection_id": {
                    "description": "Active catalog connection. Required if more than one is active.",
                    "type": "string"
                  },
                  "line_id": {
                    "description": "A line id of GET /records/products?view=lines (catalog_lines).",
                    "type": "string"
                  },
                  "q": {
                    "description": "Words naming a class, line or state. At most 500 characters.",
                    "type": "string"
                  },
                  "state_id": {
                    "description": "A two-letter state code.",
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MarketAppetiteResolutionResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          },
          "503": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Resolve a question to classes, lines, a state and market coverage (parameters in the body)",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/market-appetite/rollups/synthesis": {
      "get": {
        "description": "The canonical markets with appetite for a class, matched and weighed across every channel. Inputs are class ids (GET /records/classes), a line id and a state code. Markets with only controlling declines sort last, then route_class ascending, strongest controlling eligibility, agreement first, book policies descending and name; total_markets counts every match before the window. An unlanded head returns colleague testimony only. Source references follow the seat's read policy. Every response is no-store.",
        "operationId": "getMarketAppetiteSynthesis",
        "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": "Repeatable class id (a 2022 NAICS code), at most 10. A sector row matches only a sector ask; a finer row matches broader and narrower codes. At least one is required.",
            "explode": true,
            "in": "query",
            "name": "class_id",
            "schema": {
              "description": "Repeatable class id (a 2022 NAICS code), at most 10. A sector row matches only a sector ask; a finer row matches broader and narrower codes. At least one is required.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Optional line id of GET /records/products?view=lines (catalog_lines). Includes that line and line-agnostic rows.",
            "explode": false,
            "in": "query",
            "name": "line_id",
            "schema": {
              "description": "Optional line id of GET /records/products?view=lines (catalog_lines). Includes that line and line-agnostic rows.",
              "type": "string"
            }
          },
          {
            "description": "Optional two-letter state code. Filters colleague testimony only; placed-book and guide evidence stay nationwide.",
            "explode": false,
            "in": "query",
            "name": "state_id",
            "schema": {
              "description": "Optional two-letter state code. Filters colleague testimony only; placed-book and guide evidence stay nationwide.",
              "type": "string"
            }
          },
          {
            "description": "Active catalog connection. Required if more than one is active.",
            "explode": false,
            "in": "query",
            "name": "connection_id",
            "schema": {
              "description": "Active catalog connection. Required if more than one is active.",
              "type": "string"
            }
          },
          {
            "description": "Markets per page, 1 to 40. Default 15.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Markets per page, 1 to 40. Default 15.",
              "format": "int64",
              "type": "integer"
            }
          },
          {
            "description": "Markets to skip, after the global order.",
            "explode": false,
            "in": "query",
            "name": "offset",
            "schema": {
              "description": "Markets to skip, after the global order.",
              "format": "int64",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MarketAppetiteSynthesisResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          },
          "503": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Find market appetite for a class",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/market-documents": {
      "get": {
        "description": "The carrier documents the acting member may open, by the member's document tiers. Paged by cursor.",
        "operationId": "listMarketDocuments",
        "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"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Only documents of these classes (comma separated).",
            "explode": false,
            "in": "query",
            "name": "class",
            "schema": {
              "description": "Only documents of these classes (comma separated).",
              "type": "string"
            }
          },
          {
            "description": "Only this market's documents (its entity key).",
            "explode": false,
            "in": "query",
            "name": "market",
            "schema": {
              "description": "Only this market's documents (its entity key).",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "q",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "connection_id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListCatalogDocumentListItem"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List market documents",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/market-documents/{id}/content": {
      "get": {
        "description": "The original of one carrier document the acting member may open, as a short-lived URL. The document must back the org's current served catalog, and the member's document tier for its class must open it.",
        "operationId": "getMarketDocumentContent",
        "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 document's source_blob_ref from GET /records/market-documents, percent-encoded (carrier%2Fclass%2Fsha).",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The document's source_blob_ref from GET /records/market-documents, percent-encoded (carrier%2Fclass%2Fsha).",
              "type": "string"
            }
          },
          {
            "description": "The catalog connection to read. Absent: the org's single active connection.",
            "explode": false,
            "in": "query",
            "name": "connection_id",
            "schema": {
              "description": "The catalog connection to read. Absent: the org's single active connection.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordMarketDocumentContentJSON"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          },
          "503": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Open a market document",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/market-people": {
      "get": {
        "description": "The active people whose producer code wrote policies on the market in the last 36 months, ranked by accounts, then the largest account premium, then name; kind=office lists the offices instead, terminated and house codes counted toward their office; kind=summary answers one row per market: its top office, the Market Leader there (else its top writer), up to 4 ranked people to ask (asks), its active writers and its offices. A seat whose book scope is narrower than the whole book reads its scope first: people and offices inside it lead, and the summary counts only policies inside it, or every policy when none is; until that book is read at the warehouse's current data, the summary counts every policy and unreachable names book_scope. Several markets are one read, each row naming its market_ref. The market resolves through the Markets directory fold to every AMS company code it folds. Each person carries their office, lines, the nearest Market Leader and VP of sales in their HR chain. Premium is summed only over policies inside the seat's own book scope; accounts and policies count every policy for a whole-book seat, and for any other seat only the policies inside its own book scope, null for a row with none there.",
        "operationId": "listMarketPeople",
        "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 market: a Markets directory market_ref, or any identity that resolves to one (an AMS company tuple, a dim_company: key). Repeat it for several markets, at most 200, each at most 600 characters; the rows come in the order asked.",
            "explode": true,
            "in": "query",
            "name": "market",
            "required": true,
            "schema": {
              "description": "The market: a Markets directory market_ref, or any identity that resolves to one (an AMS company tuple, a dim_company: key). Repeat it for several markets, at most 200, each at most 600 characters; the rows come in the order asked.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "person (the default): the ranked writers, those inside the seat's own book scope first. office: the offices that wrote it, those inside the scope first. summary: one row per market, its top office (the most accounts), the person to ask there (ask), up to 4 ranked people to ask (asks), its active writers (people) and every office that wrote it (offices), counted inside the seat's scope when any policy is there.",
            "explode": false,
            "in": "query",
            "name": "kind",
            "schema": {
              "description": "person (the default): the ranked writers, those inside the seat's own book scope first. office: the offices that wrote it, those inside the scope first. summary: one row per market, its top office (the most accounts), the person to ask there (ask), up to 4 ranked people to ask (asks), its active writers (people) and every office that wrote it (offices), counted inside the seat's scope when any policy is there.",
              "enum": [
                "person",
                "office",
                "summary"
              ],
              "type": "string"
            }
          },
          {
            "description": "Only policies of offices on this platform (SOUTH, NORTHWEST, ...).",
            "explode": false,
            "in": "query",
            "name": "platform",
            "schema": {
              "description": "Only policies of offices on this platform (SOUTH, NORTHWEST, ...).",
              "maxLength": 64,
              "type": "string"
            }
          },
          {
            "description": "Only policies issued in this state: a USPS code or state name; anything else is a 400.",
            "explode": false,
            "in": "query",
            "name": "state",
            "schema": {
              "description": "Only policies issued in this state: a USPS code or state name; anything else is a 400.",
              "type": "string"
            }
          },
          {
            "description": "Only policies of this line: a code of the served line vocabulary (GET /records/products?view=lines), matched to the AMS line names it lands as; anything else is a 400.",
            "explode": false,
            "in": "query",
            "name": "line",
            "schema": {
              "description": "Only policies of this line: a code of the served line vocabulary (GET /records/products?view=lines), matched to the AMS line names it lands as; anything else is a 400.",
              "maxLength": 64,
              "type": "string"
            }
          },
          {
            "description": "Page size, 25 by default, at most 200.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size, 25 by default, at most 200.",
              "format": "int64",
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "The page.next of the previous page.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The page.next of the previous page.",
              "type": "string"
            }
          },
          {
            "description": "Count every matching row.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "Count every matching row.",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListMarketPersonRecord"
                }
              }
            },
            "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"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Who in the firm wrote a market",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/market-relationships": {
      "get": {
        "description": "The markets the firm holds a current appointment with, one row per canonical market identity (entity_key, name), in entity key order. Paged by cursor; include_total counts the set.",
        "operationId": "listMarketRelationships",
        "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": "appointment_identities (the default and only view): each market the firm holds a current appointment with, by its canonical identity.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "description": "appointment_identities (the default and only view): each market the firm holds a current appointment with, by its canonical identity.",
              "enum": [
                "appointment_identities"
              ],
              "type": "string"
            }
          },
          {
            "description": "The catalog connection to read. Absent: the org's single active connection.",
            "explode": false,
            "in": "query",
            "name": "connection_id",
            "schema": {
              "description": "The catalog connection to read. Absent: the org's single active connection.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListCatalogAppointmentIdentityJSON"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List market appointment identities",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/markets": {
      "get": {
        "description": "The markets the firm places with, from the org's served catalog: view=full (the default) serves each market with its current products and relationships, view=summary one row per market with its counts. Paged by cursor. Org-wide rows, redacted to the acting member's policy.",
        "operationId": "listMarkets",
        "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": "Page size. Defaults to 25; the collection's maximum is 100 (1000 for the summary view), and a larger value is coerced with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; the collection's maximum is 100 (1000 for the summary view), and a larger value is coerced with a LIMIT_COERCED warning.",
              "type": "string"
            }
          },
          {
            "description": "The opaque page.next of the previous page. The filters are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. The filters are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the filtered collection.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the filtered collection.",
              "type": "string"
            }
          },
          {
            "description": "The catalog connection to read. Absent: the org's single active connection.",
            "explode": false,
            "in": "query",
            "name": "connection_id",
            "schema": {
              "description": "The catalog connection to read. Absent: the org's single active connection.",
              "type": "string"
            }
          },
          {
            "description": "full (the default): each market with its current products and relationships. summary: one row per market with its counts.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "description": "full (the default): each market with its current products and relationships. summary: one row per market with its counts.",
              "enum": [
                "full",
                "summary"
              ],
              "type": "string"
            }
          },
          {
            "description": "Repeatable. Only markets whose appetite names one of these products (ids of the org's /records/products list) with an acceptable or will-consider stance, read at each appetite row's declared grain: a row at type grain answers every product of its type. An id outside the org's list is refused.",
            "explode": true,
            "in": "query",
            "name": "product",
            "schema": {
              "description": "Repeatable. Only markets whose appetite names one of these products (ids of the org's /records/products list) with an acceptable or will-consider stance, read at each appetite row's declared grain: a row at type grain answers every product of its type. An id outside the org's list is refused.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Repeatable. Only markets whose appetite names one of these product types (type ids of /records/products?level=type), at type grain or through one of the type's products. One question with product: a market answers either.",
            "explode": true,
            "in": "query",
            "name": "product_type",
            "schema": {
              "description": "Repeatable. Only markets whose appetite names one of these product types (type ids of /records/products?level=type), at type grain or through one of the type's products. One question with product: a market answers either.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Repeatable. Only markets whose appetite names one of these business classes with an acceptable or will-consider stance; asked with product, one appetite row answers both.",
            "explode": true,
            "in": "query",
            "name": "class",
            "schema": {
              "description": "Repeatable. Only markets whose appetite names one of these business classes with an acceptable or will-consider stance; asked with product, one appetite row answers both.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Repeatable. Only markets with a current product on one of these lines.",
            "explode": true,
            "in": "query",
            "name": "line",
            "schema": {
              "description": "Repeatable. Only markets with a current product on one of these lines.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Repeatable. Only markets with a current product written in one of these states (two letters each).",
            "explode": true,
            "in": "query",
            "name": "state",
            "schema": {
              "description": "Repeatable. Only markets with a current product written in one of these states (two letters each).",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Only markets whose products do not prohibit this NAICS code.",
            "explode": false,
            "in": "query",
            "name": "naics",
            "schema": {
              "description": "Only markets whose products do not prohibit this NAICS code.",
              "type": "string"
            }
          },
          {
            "description": "A search over the market's name, its products' lines and the carrier wording extraction mapped to an org product.",
            "explode": false,
            "in": "query",
            "name": "search",
            "schema": {
              "description": "A search over the market's name, its products' lines and the carrier wording extraction mapped to an org product.",
              "type": "string"
            }
          },
          {
            "description": "Only markets with a product paying at least this percentage. A seat denied carrier compensation is refused this filter.",
            "explode": false,
            "in": "query",
            "name": "min_commission_pct",
            "schema": {
              "description": "Only markets with a product paying at least this percentage. A seat denied carrier compensation is refused this filter.",
              "type": "string"
            }
          },
          {
            "description": "Comma separated: product, product_type. Each named facet is counted by the platform over the markets that answer every other filter, and only values a served market's appetite names appear.",
            "explode": false,
            "in": "query",
            "name": "facets",
            "schema": {
              "description": "Comma separated: product, product_type. Each named facet is counted by the platform over the markets that answer every other filter, and only values a served market's appetite names appear.",
              "type": "string"
            }
          },
          {
            "description": "Narrows the product facet to values whose name or mapped carrier wording contains this text.",
            "explode": false,
            "in": "query",
            "name": "facet_search",
            "schema": {
              "description": "Narrows the product facet to values whose name or mapped carrier wording contains this text.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListCatalogMarketJSON"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List markets",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/markets/rollups/class-lines": {
      "get": {
        "description": "For one class (a NAICS code), the program lines of the commercial placement pool the agency's book usually places it on, most placed first: each line whose distinct clients in the class number at least 40% of those on the class's most-placed line, read from the published book evidence. The finest NAICS depth whose most-placed line holds at least 20 clients answers, and read_at names it. Bonds are left out. Only the lines are served, never a count.",
        "operationId": "getMarketsClassLines",
        "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 class: a NAICS code of two to six digits.",
            "explode": false,
            "in": "query",
            "name": "class_naics",
            "schema": {
              "description": "The class: a NAICS code of two to six digits.",
              "type": "string"
            }
          },
          {
            "description": "The catalog connection; absent, the org's single active one.",
            "explode": false,
            "in": "query",
            "name": "connection_id",
            "schema": {
              "description": "The catalog connection; absent, the org's single active one.",
              "type": "string"
            }
          },
          {
            "description": "The Markets directory source connection; absent, the org's bound one.",
            "explode": false,
            "in": "query",
            "name": "source_connection_id",
            "schema": {
              "description": "The Markets directory source connection; absent, the org's bound one.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MarketsClassLinesJSON"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          },
          "503": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "The lines the book usually places a class on",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/markets/rollups/classes": {
      "get": {
        "description": "The 2022 NAICS industry groups the agency's book placed policies in, with any market on any line, most placed first, ties by code, paged by the platform. Each row is the group's class as /records/classes serves it, and its code is a class_naics the directory answers. The book is the org's whole book, the same for every seat, as the directory's book lines are. Only the order is served, never a count. A placed code that is not a 2022 industry group is left out and counted in a PLACED_CLASS_UNKNOWN warning.",
        "operationId": "getMarketsClasses",
        "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": "Page size. Defaults to 200, the most; a value above 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 200, the most; a value above 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page; the connection is frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page; the connection is frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "The catalog connection; absent, the org's single active one.",
            "explode": false,
            "in": "query",
            "name": "connection_id",
            "schema": {
              "description": "The catalog connection; absent, the org's single active one.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListClassRecord"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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": []
          }
        ],
        "summary": "The business types the book placed",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/markets/rollups/directory": {
      "get": {
        "description": "The joined Markets register: every admitted AMS company and document market, folded and deduplicated, each with its match to the question (products, product types, states, class, line), counted over the complete result, ranked globally and paged by the platform. facets=product,product_type adds the product facet. When premium_placed_partial is true, describe premium_placed as at least that amount; withheld premium is not zero.",
        "operationId": "getMarketsDirectory",
        "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": "Repeatable. Rows whose appetite names one of these products (ids of /records/products) with an acceptable or will-consider stance, read at each appetite row's declared grain. An id outside the org's list is refused.",
            "explode": true,
            "in": "query",
            "name": "product",
            "schema": {
              "description": "Repeatable. Rows whose appetite names one of these products (ids of /records/products) with an acceptable or will-consider stance, read at each appetite row's declared grain. An id outside the org's list is refused.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Repeatable. Rows whose appetite names one of these product types (type ids of /records/products?level=type). One question with product: a row answers either.",
            "explode": true,
            "in": "query",
            "name": "product_type",
            "schema": {
              "description": "Repeatable. Rows whose appetite names one of these product types (type ids of /records/products?level=type). One question with product: a row answers either.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Repeatable. Rows confirmed in one of these states (two letters each). Ask every state of a question in one call: each row's state_evidence answers every asked state (listed, excluded or not_on_file, with the line codes), and view=brief serves that answer for every row without cutting the page. A state question reads with has_appetite left out: many carriers that write every asked state have no class appetite on file.",
            "explode": true,
            "in": "query",
            "name": "state",
            "schema": {
              "description": "Repeatable. Rows confirmed in one of these states (two letters each). Ask every state of a question in one call: each row's state_evidence answers every asked state (listed, excluded or not_on_file, with the line codes), and view=brief serves that answer for every row without cutting the page. A state question reads with has_appetite left out: many carriers that write every asked state have no class appetite on file.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "listed keeps only the rows whose products list the asked line in at least one asked state: the markets that write in some of the states, each with state_evidence for every asked state. Use it with state for a several-state question, with hide.answer none, so a market with no class appetite on file still answers. Applied before the counts and the page; with no state asked it keeps every row.",
            "explode": false,
            "in": "query",
            "name": "state_evidence",
            "schema": {
              "description": "listed keeps only the rows whose products list the asked line in at least one asked state: the markets that write in some of the states, each with state_evidence for every asked state. Use it with state for a several-state question, with hide.answer none, so a market with no class appetite on file still answers. Applied before the counts and the page; with no state asked it keeps every row.",
              "enum": [
                "listed"
              ],
              "type": "string"
            }
          },
          {
            "description": "A line code question, a code of GET /records/products?view=lines (for example workers_comp); the directory answers one. Any other value is a 400 (invalid_line).",
            "explode": false,
            "in": "query",
            "name": "line",
            "schema": {
              "description": "A line code question, a code of GET /records/products?view=lines (for example workers_comp); the directory answers one. Any other value is a 400 (invalid_line).",
              "type": "string"
            }
          },
          {
            "description": "A NAICS class the appetite must name.",
            "explode": false,
            "in": "query",
            "name": "class_naics",
            "schema": {
              "description": "A NAICS class the appetite must name.",
              "type": "string"
            }
          },
          {
            "description": "A plain-language question resolved to a class, line and state.",
            "explode": false,
            "in": "query",
            "name": "ask",
            "schema": {
              "description": "A plain-language question resolved to a class, line and state.",
              "type": "string"
            }
          },
          {
            "description": "Words that start the row's names or its written papers' names.",
            "explode": false,
            "in": "query",
            "name": "search",
            "schema": {
              "description": "Words that start the row's names or its written papers' names.",
              "type": "string"
            }
          },
          {
            "description": "full (the default): each row as the Markets screen draws it, with every written paper, the AMS identity, the paper standing (appointment) and the provenance. brief: each row's answer to the question only: market_ref, entity_key, name, market_type, am_best_rating, office_appointment (the seat's office appointment, the row's one appointment fact), match_status, match_unknown_reasons, class_appetite, state_evidence, class_detail, appetite_grade, line_codes, appetite_class_count, appetite_context, book_placed, book_lines, written_paper_count, product_matches and asked_product_count, each as full serves it. states: the brief row for a several-state question, about 0.5 KB a row: market_ref, entity_key, name, market_type, am_best_rating, office_appointment, match_status, match_unknown_reasons, class_appetite, state_evidence, appetite_grade, line_codes, appetite_class_count and written_paper_count, plus firm_appointments under appointment=any_office. Filters, counts, order and page are the same in every view.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "description": "full (the default): each row as the Markets screen draws it, with every written paper, the AMS identity, the paper standing (appointment) and the provenance. brief: each row's answer to the question only: market_ref, entity_key, name, market_type, am_best_rating, office_appointment (the seat's office appointment, the row's one appointment fact), match_status, match_unknown_reasons, class_appetite, state_evidence, class_detail, appetite_grade, line_codes, appetite_class_count, appetite_context, book_placed, book_lines, written_paper_count, product_matches and asked_product_count, each as full serves it. states: the brief row for a several-state question, about 0.5 KB a row: market_ref, entity_key, name, market_type, am_best_rating, office_appointment, match_status, match_unknown_reasons, class_appetite, state_evidence, appetite_grade, line_codes, appetite_class_count and written_paper_count, plus firm_appointments under appointment=any_office. Filters, counts, order and page are the same in every view.",
              "enum": [
                "full",
                "brief",
                "states"
              ],
              "type": "string"
            }
          },
          {
            "description": "With none asked, the default: verdict when a naics is asked, else premium_placed for a seat with an office list and most_complete otherwise (the envelope's sort names the applied order). most_complete, name, office (the seat's office's appointed rows first), premium_placed or policies_placed (the most premium or policies the scope placed with the market first, the business book_placed counts; with premium_placed each row carries premium_placed, unless premium_withheld is true, when policies_placed applies instead), policies_in_force (the former name of policies_placed, the same order), rating (A.M. Best rating, best first, unrated last), or verdict (with the carrier appetite model on, the rows carrying appetite_grade first, by grade: Excellent, Good, Fair, Weak, then Not enough on file, the rows the question excludes after them, with the order below breaking ties; then the asked class's class_appetite.eligibility: acceptable, then will_consider, then no class answer, then not_a_market with every row the question excludes, which only this sort lists; inside each, first the rows whose class answer states the asked class itself, then those whose class_appetite.match_grain is class, then by channel: the seat's office's appointed direct carriers, then intermediaries it is appointed with or wrote through, then other direct carriers, then the preferred wholesalers, then every other wholesaler or MGA; with no naics asked, that channel order alone). Ties fall to the default order.",
            "explode": false,
            "in": "query",
            "name": "sort",
            "schema": {
              "description": "With none asked, the default: verdict when a naics is asked, else premium_placed for a seat with an office list and most_complete otherwise (the envelope's sort names the applied order). most_complete, name, office (the seat's office's appointed rows first), premium_placed or policies_placed (the most premium or policies the scope placed with the market first, the business book_placed counts; with premium_placed each row carries premium_placed, unless premium_withheld is true, when policies_placed applies instead), policies_in_force (the former name of policies_placed, the same order), rating (A.M. Best rating, best first, unrated last), or verdict (with the carrier appetite model on, the rows carrying appetite_grade first, by grade: Excellent, Good, Fair, Weak, then Not enough on file, the rows the question excludes after them, with the order below breaking ties; then the asked class's class_appetite.eligibility: acceptable, then will_consider, then no class answer, then not_a_market with every row the question excludes, which only this sort lists; inside each, first the rows whose class answer states the asked class itself, then those whose class_appetite.match_grain is class, then by channel: the seat's office's appointed direct carriers, then intermediaries it is appointed with or wrote through, then other direct carriers, then the preferred wholesalers, then every other wholesaler or MGA; with no naics asked, that channel order alone). Ties fall to the default order.",
              "enum": [
                "most_complete",
                "name",
                "office",
                "premium_placed",
                "policies_placed",
                "policies_in_force",
                "rating",
                "verdict"
              ],
              "type": "string"
            }
          },
          {
            "description": "Whose business each row's book_placed and the placed sorts count: firm (the default), the whole firm; office, the seat's office (the office parameter's, else its own); book, the policies the seat's own producer codes hold. Each counts the same business: commercial-lines policies placed in the last five years with a NAICS sector, and their customers. The envelope's scope names the scope answered and the ones this seat can ask for; asking for one it cannot is a 400 (scope_unavailable).",
            "explode": false,
            "in": "query",
            "name": "scope",
            "schema": {
              "description": "Whose business each row's book_placed and the placed sorts count: firm (the default), the whole firm; office, the seat's office (the office parameter's, else its own); book, the policies the seat's own producer codes hold. Each counts the same business: commercial-lines policies placed in the last five years with a NAICS sector, and their customers. The envelope's scope names the scope answered and the ones this seat can ask for; asking for one it cannot is a 400 (scope_unavailable).",
              "enum": [
                "firm",
                "office",
                "book"
              ],
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "page",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Rows per page, 1 to 1000.",
            "explode": false,
            "in": "query",
            "name": "page_size",
            "schema": {
              "description": "Rows per page, 1 to 1000.",
              "type": "string"
            }
          },
          {
            "description": "With a class asked: the hour the risk closes, on the business-day clock: 21 (9 PM) to 28 (4 AM), or 48 (open around the clock); all (or empty) states none. A row leaves the list only when every source it folds that answers the class states a limit refusing it; a row whose sources state no closing-hour limit stays, and each listed row's class_detail says which. Left out, none applies: a saved view never holds it, and a line, state or plain question ignores it. The view block lists each value with the rows it keeps.",
            "explode": false,
            "in": "query",
            "name": "closing_hour",
            "schema": {
              "description": "With a class asked: the hour the risk closes, on the business-day clock: 21 (9 PM) to 28 (4 AM), or 48 (open around the clock); all (or empty) states none. A row leaves the list only when every source it folds that answers the class states a limit refusing it; a row whose sources state no closing-hour limit stays, and each listed row's class_detail says which. Left out, none applies: a saved view never holds it, and a line, state or plain question ignores it. The view block lists each value with the rows it keeps.",
              "type": "string"
            }
          },
          {
            "description": "With a class asked: the risk's annual sales in dollars, one of the values the view block lists (250000 to 50000000); all (or empty) states none. A row leaves the list only when every source it folds that answers the class states a limit refusing it; a row whose sources state no sales limit stays, and each listed row's class_detail says which. Left out, none applies: a saved view never holds it, and a line, state or plain question ignores it.",
            "explode": false,
            "in": "query",
            "name": "annual_sales",
            "schema": {
              "description": "With a class asked: the risk's annual sales in dollars, one of the values the view block lists (250000 to 50000000); all (or empty) states none. A row leaves the list only when every source it folds that answers the class states a limit refusing it; a row whose sources state no sales limit stays, and each listed row's class_detail says which. Left out, none applies: a saved view never holds it, and a line, state or plain question ignores it.",
              "type": "string"
            }
          },
          {
            "description": "unknown leaves out the rows whose answer to a line, class or state question is not on file; none (or empty) shows them. Left out, the person's saved view or the default applies: hidden for a line or class question, shown for a state question. A read with no such question ignores it. The view block lists the value with its count.",
            "explode": false,
            "in": "query",
            "name": "hide.answer",
            "schema": {
              "description": "unknown leaves out the rows whose answer to a line, class or state question is not on file; none (or empty) shows them. Left out, the person's saved view or the default applies: hidden for a line or class question, shown for a state question. A read with no such question ignores it. The view block lists the value with its count.",
              "type": "string"
            }
          },
          {
            "description": "true lists terminated appointments. Left out, the person's saved view or the default (false) applies.",
            "explode": false,
            "in": "query",
            "name": "include_terminated",
            "schema": {
              "description": "true lists terminated appointments. Left out, the person's saved view or the default (false) applies.",
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "true lists rows with no profile on file. Left out, the person's saved view or the default (false) applies.",
            "explode": false,
            "in": "query",
            "name": "include_empty",
            "schema": {
              "description": "true lists rows with no profile on file. Left out, the person's saved view or the default (false) applies.",
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "true keeps only rows with appetite on file (for the asked class, when one is asked), and drops every row whose appetite is not on file, even one confirmed in every asked state. Leave it out for a state or line question. Left out, the person's saved view or the default (false) applies.",
            "explode": false,
            "in": "query",
            "name": "has_appetite",
            "schema": {
              "description": "true keeps only rows with appetite on file (for the asked class, when one is asked), and drops every row whose appetite is not on file, even one confirmed in every asked state. Leave it out for a state or line question. Left out, the person's saved view or the default (false) applies.",
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "true keeps only rows with a usable AM Best rating. Left out, the person's saved view or the default (false) applies.",
            "explode": false,
            "in": "query",
            "name": "has_rating",
            "schema": {
              "description": "true keeps only rows with a usable AM Best rating. Left out, the person's saved view or the default (false) applies.",
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "Only rows of one appointment relationship with the carrier: at_office (the seat's office is appointed or wrote through it: appointed and written_here together), appointed (the acting seat's office holds an appointment, at market or office level), written_here (the seat's office holds none, but its carrier market sold with the carrier in the trailing 12 months), or any_office (the seat's office is appointed, or another office of the firm holds an appointment code row with the carrier; each row's firm_appointments then names the offices to place through, the seat's own first, and another office's appointment is never the seat's office's). Absent keeps every row. Applied before the counts and the page. appointed, written_here and any_office list carriers with an empty profile too; at_office keeps include_empty's rule; a seat with no resolved office answers no rows for appointed, written_here or at_office. any_office answers 503 firm_appointments_unavailable when the firm's appointments cannot be read.",
            "explode": false,
            "in": "query",
            "name": "appointment",
            "schema": {
              "description": "Only rows of one appointment relationship with the carrier: at_office (the seat's office is appointed or wrote through it: appointed and written_here together), appointed (the acting seat's office holds an appointment, at market or office level), written_here (the seat's office holds none, but its carrier market sold with the carrier in the trailing 12 months), or any_office (the seat's office is appointed, or another office of the firm holds an appointment code row with the carrier; each row's firm_appointments then names the offices to place through, the seat's own first, and another office's appointment is never the seat's office's). Absent keeps every row. Applied before the counts and the page. appointed, written_here and any_office list carriers with an empty profile too; at_office keeps include_empty's rule; a seat with no resolved office answers no rows for appointed, written_here or at_office. any_office answers 503 firm_appointments_unavailable when the firm's appointments cannot be read.",
              "enum": [
                "appointed",
                "written_here",
                "at_office",
                "any_office"
              ],
              "type": "string"
            }
          },
          {
            "description": "An office agency code to read as: one of the seat's own offices, or for a seat with Markets edit (the carrier team, an administrator) any office of the org. Absent, the seat's own office.",
            "explode": false,
            "in": "query",
            "name": "office",
            "schema": {
              "description": "An office agency code to read as: one of the seat's own offices, or for a seat with Markets edit (the carrier team, an administrator) any office of the org. Absent, the seat's own office.",
              "maxLength": 40,
              "type": "string"
            }
          },
          {
            "description": "Only this catalog head's row (its entity key), with group_companies: the companies of its group that keep their own card. The carrier page's one-row read: the list view's toggles (include_empty, include_terminated, hide.answer, has_appetite, has_rating) never hide it. A head folded under another head has no row of its own and answers none.",
            "explode": false,
            "in": "query",
            "name": "entity_key",
            "schema": {
              "description": "Only this catalog head's row (its entity key), with group_companies: the companies of its group that keep their own card. The carrier page's one-row read: the list view's toggles (include_empty, include_terminated, hide.answer, has_appetite, has_rating) never hide it. A head folded under another head has no row of its own and answers none.",
              "maxLength": 200,
              "type": "string"
            }
          },
          {
            "description": "With company_id: only this AMS source row.",
            "explode": false,
            "in": "query",
            "name": "datasource_id",
            "schema": {
              "description": "With company_id: only this AMS source row.",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "company_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The catalog connection; absent, the org's single active one.",
            "explode": false,
            "in": "query",
            "name": "connection_id",
            "schema": {
              "description": "The catalog connection; absent, the org's single active one.",
              "type": "string"
            }
          },
          {
            "description": "The Markets directory source connection; absent, the org's bound one.",
            "explode": false,
            "in": "query",
            "name": "source_connection_id",
            "schema": {
              "description": "The Markets directory source connection; absent, the org's bound one.",
              "type": "string"
            }
          },
          {
            "description": "Comma separated: product, product_type. Counted by the platform over the rows that answer every filter but the product question, under the seat's directory scope; only values a row's appetite names appear.",
            "explode": false,
            "in": "query",
            "name": "facets",
            "schema": {
              "description": "Comma separated: product, product_type. Counted by the platform over the rows that answer every filter but the product question, under the seat's directory scope; only values a row's appetite names appear.",
              "type": "string"
            }
          },
          {
            "description": "Narrows the product facet to values whose name or mapped carrier wording contains this text.",
            "explode": false,
            "in": "query",
            "name": "facet_search",
            "schema": {
              "description": "Narrows the product facet to values whose name or mapped carrier wording contains this text.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogDirectoryEnvelope"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          },
          "503": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "The Markets directory",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/markets/rollups/directory/search": {
      "post": {
        "description": "GET /records/markets/rollups/directory 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": "getMarketsDirectorySearch",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "annual_sales": {
                    "description": "With a class asked: the risk's annual sales in dollars, one of the values the view block lists (250000 to 50000000); all (or empty) states none. A row leaves the list only when every source it folds that answers the class states a limit refusing it; a row whose sources state no sales limit stays, and each listed row's class_detail says which. Left out, none applies: a saved view never holds it, and a line, state or plain question ignores it.",
                    "type": "string"
                  },
                  "appointment": {
                    "description": "Only rows of one appointment relationship with the carrier: at_office (the seat's office is appointed or wrote through it: appointed and written_here together), appointed (the acting seat's office holds an appointment, at market or office level), written_here (the seat's office holds none, but its carrier market sold with the carrier in the trailing 12 months), or any_office (the seat's office is appointed, or another office of the firm holds an appointment code row with the carrier; each row's firm_appointments then names the offices to place through, the seat's own first, and another office's appointment is never the seat's office's). Absent keeps every row. Applied before the counts and the page. appointed, written_here and any_office list carriers with an empty profile too; at_office keeps include_empty's rule; a seat with no resolved office answers no rows for appointed, written_here or at_office. any_office answers 503 firm_appointments_unavailable when the firm's appointments cannot be read.",
                    "enum": [
                      "appointed",
                      "written_here",
                      "at_office",
                      "any_office"
                    ],
                    "type": "string"
                  },
                  "ask": {
                    "description": "A plain-language question resolved to a class, line and state.",
                    "type": "string"
                  },
                  "class_naics": {
                    "description": "A NAICS class the appetite must name.",
                    "type": "string"
                  },
                  "closing_hour": {
                    "description": "With a class asked: the hour the risk closes, on the business-day clock: 21 (9 PM) to 28 (4 AM), or 48 (open around the clock); all (or empty) states none. A row leaves the list only when every source it folds that answers the class states a limit refusing it; a row whose sources state no closing-hour limit stays, and each listed row's class_detail says which. Left out, none applies: a saved view never holds it, and a line, state or plain question ignores it. The view block lists each value with the rows it keeps.",
                    "type": "string"
                  },
                  "company_id": {
                    "type": "string"
                  },
                  "connection_id": {
                    "description": "The catalog connection; absent, the org's single active one.",
                    "type": "string"
                  },
                  "datasource_id": {
                    "description": "With company_id: only this AMS source row.",
                    "type": "string"
                  },
                  "entity_key": {
                    "description": "Only this catalog head's row (its entity key), with group_companies: the companies of its group that keep their own card. The carrier page's one-row read: the list view's toggles (include_empty, include_terminated, hide.answer, has_appetite, has_rating) never hide it. A head folded under another head has no row of its own and answers none.",
                    "maxLength": 200,
                    "type": "string"
                  },
                  "facet_search": {
                    "description": "Narrows the product facet to values whose name or mapped carrier wording contains this text.",
                    "type": "string"
                  },
                  "facets": {
                    "description": "Comma separated: product, product_type. Counted by the platform over the rows that answer every filter but the product question, under the seat's directory scope; only values a row's appetite names appear.",
                    "type": "string"
                  },
                  "has_appetite": {
                    "description": "true keeps only rows with appetite on file (for the asked class, when one is asked), and drops every row whose appetite is not on file, even one confirmed in every asked state. Leave it out for a state or line question. Left out, the person's saved view or the default (false) applies.",
                    "enum": [
                      "true",
                      "false"
                    ],
                    "type": "string"
                  },
                  "has_rating": {
                    "description": "true keeps only rows with a usable AM Best rating. Left out, the person's saved view or the default (false) applies.",
                    "enum": [
                      "true",
                      "false"
                    ],
                    "type": "string"
                  },
                  "hide.answer": {
                    "description": "unknown leaves out the rows whose answer to a line, class or state question is not on file; none (or empty) shows them. Left out, the person's saved view or the default applies: hidden for a line or class question, shown for a state question. A read with no such question ignores it. The view block lists the value with its count.",
                    "type": "string"
                  },
                  "include_empty": {
                    "description": "true lists rows with no profile on file. Left out, the person's saved view or the default (false) applies.",
                    "enum": [
                      "true",
                      "false"
                    ],
                    "type": "string"
                  },
                  "include_terminated": {
                    "description": "true lists terminated appointments. Left out, the person's saved view or the default (false) applies.",
                    "enum": [
                      "true",
                      "false"
                    ],
                    "type": "string"
                  },
                  "line": {
                    "description": "A line code question, a code of GET /records/products?view=lines (for example workers_comp); the directory answers one. Any other value is a 400 (invalid_line).",
                    "type": "string"
                  },
                  "office": {
                    "description": "An office agency code to read as: one of the seat's own offices, or for a seat with Markets edit (the carrier team, an administrator) any office of the org. Absent, the seat's own office.",
                    "maxLength": 40,
                    "type": "string"
                  },
                  "page": {
                    "type": "string"
                  },
                  "page_size": {
                    "description": "Rows per page, 1 to 1000.",
                    "type": "string"
                  },
                  "product": {
                    "description": "Repeatable. Rows whose appetite names one of these products (ids of /records/products) with an acceptable or will-consider stance, read at each appetite row's declared grain. An id outside the org's list is refused.",
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "product_type": {
                    "description": "Repeatable. Rows whose appetite names one of these product types (type ids of /records/products?level=type). One question with product: a row answers either.",
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "scope": {
                    "description": "Whose business each row's book_placed and the placed sorts count: firm (the default), the whole firm; office, the seat's office (the office parameter's, else its own); book, the policies the seat's own producer codes hold. Each counts the same business: commercial-lines policies placed in the last five years with a NAICS sector, and their customers. The envelope's scope names the scope answered and the ones this seat can ask for; asking for one it cannot is a 400 (scope_unavailable).",
                    "enum": [
                      "firm",
                      "office",
                      "book"
                    ],
                    "type": "string"
                  },
                  "search": {
                    "description": "Words that start the row's names or its written papers' names.",
                    "type": "string"
                  },
                  "sort": {
                    "description": "With none asked, the default: verdict when a naics is asked, else premium_placed for a seat with an office list and most_complete otherwise (the envelope's sort names the applied order). most_complete, name, office (the seat's office's appointed rows first), premium_placed or policies_placed (the most premium or policies the scope placed with the market first, the business book_placed counts; with premium_placed each row carries premium_placed, unless premium_withheld is true, when policies_placed applies instead), policies_in_force (the former name of policies_placed, the same order), rating (A.M. Best rating, best first, unrated last), or verdict (with the carrier appetite model on, the rows carrying appetite_grade first, by grade: Excellent, Good, Fair, Weak, then Not enough on file, the rows the question excludes after them, with the order below breaking ties; then the asked class's class_appetite.eligibility: acceptable, then will_consider, then no class answer, then not_a_market with every row the question excludes, which only this sort lists; inside each, first the rows whose class answer states the asked class itself, then those whose class_appetite.match_grain is class, then by channel: the seat's office's appointed direct carriers, then intermediaries it is appointed with or wrote through, then other direct carriers, then the preferred wholesalers, then every other wholesaler or MGA; with no naics asked, that channel order alone). Ties fall to the default order.",
                    "enum": [
                      "most_complete",
                      "name",
                      "office",
                      "premium_placed",
                      "policies_placed",
                      "policies_in_force",
                      "rating",
                      "verdict"
                    ],
                    "type": "string"
                  },
                  "source_connection_id": {
                    "description": "The Markets directory source connection; absent, the org's bound one.",
                    "type": "string"
                  },
                  "state": {
                    "description": "Repeatable. Rows confirmed in one of these states (two letters each). Ask every state of a question in one call: each row's state_evidence answers every asked state (listed, excluded or not_on_file, with the line codes), and view=brief serves that answer for every row without cutting the page. A state question reads with has_appetite left out: many carriers that write every asked state have no class appetite on file.",
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "state_evidence": {
                    "description": "listed keeps only the rows whose products list the asked line in at least one asked state: the markets that write in some of the states, each with state_evidence for every asked state. Use it with state for a several-state question, with hide.answer none, so a market with no class appetite on file still answers. Applied before the counts and the page; with no state asked it keeps every row.",
                    "enum": [
                      "listed"
                    ],
                    "type": "string"
                  },
                  "view": {
                    "description": "full (the default): each row as the Markets screen draws it, with every written paper, the AMS identity, the paper standing (appointment) and the provenance. brief: each row's answer to the question only: market_ref, entity_key, name, market_type, am_best_rating, office_appointment (the seat's office appointment, the row's one appointment fact), match_status, match_unknown_reasons, class_appetite, state_evidence, class_detail, appetite_grade, line_codes, appetite_class_count, appetite_context, book_placed, book_lines, written_paper_count, product_matches and asked_product_count, each as full serves it. states: the brief row for a several-state question, about 0.5 KB a row: market_ref, entity_key, name, market_type, am_best_rating, office_appointment, match_status, match_unknown_reasons, class_appetite, state_evidence, appetite_grade, line_codes, appetite_class_count and written_paper_count, plus firm_appointments under appointment=any_office. Filters, counts, order and page are the same in every view.",
                    "enum": [
                      "full",
                      "brief",
                      "states"
                    ],
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogDirectoryEnvelope"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          },
          "503": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "The Markets directory (parameters in the body)",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/markets/rollups/intelligence": {
      "get": {
        "description": "One placement seat's market, resolved from the run's key or its AMS name, and that market's appetite on the asked line: the class row read (class_scope), bottom line, guide statement, carrier conditions, the placed book (book_scope), the line's word (line_verdict) and whether an agreement is on file. Every judgment carries reasons, basis and as_of.",
        "operationId": "getMarketIntelligence",
        "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 seat's market key, when recorded.",
            "explode": false,
            "in": "query",
            "name": "entity_key",
            "schema": {
              "description": "The seat's market key, when recorded.",
              "type": "string"
            }
          },
          {
            "description": "The seat's AMS counterparty name, tried first without a key.",
            "explode": false,
            "in": "query",
            "name": "name",
            "schema": {
              "description": "The seat's AMS counterparty name, tried first without a key.",
              "type": "string"
            }
          },
          {
            "description": "The card's brand name.",
            "explode": false,
            "in": "query",
            "name": "brand",
            "schema": {
              "description": "The card's brand name.",
              "type": "string"
            }
          },
          {
            "description": "The seat's line: an id of GET /records/products?view=lines.",
            "explode": false,
            "in": "query",
            "name": "line_id",
            "required": true,
            "schema": {
              "description": "The seat's line: an id of GET /records/products?view=lines.",
              "type": "string"
            }
          },
          {
            "description": "A USPS state code. Scopes colleague testimony and the appointed lines; the placed book is state-scoped only when every placed row names it.",
            "explode": false,
            "in": "query",
            "name": "state_id",
            "schema": {
              "description": "A USPS state code. Scopes colleague testimony and the appointed lines; the placed book is state-scoped only when every placed row names it.",
              "type": "string"
            }
          },
          {
            "description": "The risk's class: an id of GET /records/classes (a 2022 NAICS code).",
            "explode": false,
            "in": "query",
            "name": "class_id",
            "schema": {
              "description": "The risk's class: an id of GET /records/classes (a 2022 NAICS code).",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "connection_id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordMarketIntelligenceRead"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          },
          "503": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "A placement seat's market intelligence",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/markets/rollups/intelligence/search": {
      "post": {
        "description": "GET /records/markets/rollups/intelligence 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": "getMarketIntelligenceSearch",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "brand": {
                    "description": "The card's brand name.",
                    "type": "string"
                  },
                  "class_id": {
                    "description": "The risk's class: an id of GET /records/classes (a 2022 NAICS code).",
                    "type": "string"
                  },
                  "connection_id": {
                    "type": "string"
                  },
                  "entity_key": {
                    "description": "The seat's market key, when recorded.",
                    "type": "string"
                  },
                  "line_id": {
                    "description": "The seat's line: an id of GET /records/products?view=lines.",
                    "type": "string"
                  },
                  "name": {
                    "description": "The seat's AMS counterparty name, tried first without a key.",
                    "type": "string"
                  },
                  "state_id": {
                    "description": "A USPS state code. Scopes colleague testimony and the appointed lines; the placed book is state-scoped only when every placed row names it.",
                    "type": "string"
                  }
                },
                "required": [
                  "line_id"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordMarketIntelligenceRead"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          },
          "503": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "A placement seat's market intelligence (parameters in the body)",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/markets/rollups/marks": {
      "get": {
        "description": "For each carrier label as a document or the book writes it, the market it names and that market's website and logo, in the order asked. A label resolves by its exact normalized name, a market alias or a reviewed label alias, never by a near match; one that names no market answers null.",
        "operationId": "getMarketMarks",
        "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": "Carrier labels as a document or the book writes them, repeatable, at most 200, each at most 200 characters. Each resolves by its exact normalized name, a market alias or a reviewed label alias; never by a near match.",
            "explode": true,
            "in": "query",
            "name": "labels",
            "schema": {
              "description": "Carrier labels as a document or the book writes them, repeatable, at most 200, each at most 200 characters. Each resolves by its exact normalized name, a market alias or a reviewed label alias; never by a near match.",
              "items": {
                "type": "string"
              },
              "maxItems": 200,
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "connection_id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordMarketMarksJSON"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          },
          "503": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Markets for carrier labels",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/markets/rollups/marks/search": {
      "post": {
        "description": "GET /records/markets/rollups/marks 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": "getMarketMarksSearch",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "connection_id": {
                    "type": "string"
                  },
                  "labels": {
                    "description": "Carrier labels as a document or the book writes them, repeatable, at most 200, each at most 200 characters. Each resolves by its exact normalized name, a market alias or a reviewed label alias; never by a near match.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 200,
                    "type": [
                      "array",
                      "null"
                    ]
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordMarketMarksJSON"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          },
          "503": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Markets for carrier labels (parameters in the body)",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/markets/rollups/routes": {
      "get": {
        "description": "For each named directory row, the brokers and wholesalers the agency placed its paper through. Rows with no route are absent.",
        "operationId": "getMarketsDirectoryRoutes",
        "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": "Repeatable. The directory page's market_ref values for the markets whose placement routes to read. Supply market_ref or ref; both use the same validation and combined page bound.",
            "explode": true,
            "in": "query",
            "name": "market_ref",
            "schema": {
              "description": "Repeatable. The directory page's market_ref values for the markets whose placement routes to read. Supply market_ref or ref; both use the same validation and combined page bound.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Repeatable. An alias for market_ref, used by the directory page. Values from both parameters are combined and deduplicated.",
            "explode": true,
            "in": "query",
            "name": "ref",
            "schema": {
              "description": "Repeatable. An alias for market_ref, used by the directory page. Values from both parameters are combined and deduplicated.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "connection_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "source_connection_id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogDirectoryRoutesEnvelope"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          },
          "503": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "The Markets directory's placement routes",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/markets/search": {
      "post": {
        "description": "GET /records/markets 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": "listMarketsSearch",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "class": {
                    "description": "Repeatable. Only markets whose appetite names one of these business classes with an acceptable or will-consider stance; asked with product, one appetite row answers both.",
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "connection_id": {
                    "description": "The catalog connection to read. Absent: the org's single active connection.",
                    "type": "string"
                  },
                  "cursor": {
                    "description": "The opaque page.next of the previous page. The filters are frozen inside it.",
                    "type": "string"
                  },
                  "facet_search": {
                    "description": "Narrows the product facet to values whose name or mapped carrier wording contains this text.",
                    "type": "string"
                  },
                  "facets": {
                    "description": "Comma separated: product, product_type. Each named facet is counted by the platform over the markets that answer every other filter, and only values a served market's appetite names appear.",
                    "type": "string"
                  },
                  "include_total": {
                    "description": "true adds total, the row count of the filtered collection.",
                    "type": "string"
                  },
                  "limit": {
                    "description": "Page size. Defaults to 25; the collection's maximum is 100 (1000 for the summary view), and a larger value is coerced with a LIMIT_COERCED warning.",
                    "type": "string"
                  },
                  "line": {
                    "description": "Repeatable. Only markets with a current product on one of these lines.",
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "min_commission_pct": {
                    "description": "Only markets with a product paying at least this percentage. A seat denied carrier compensation is refused this filter.",
                    "type": "string"
                  },
                  "naics": {
                    "description": "Only markets whose products do not prohibit this NAICS code.",
                    "type": "string"
                  },
                  "product": {
                    "description": "Repeatable. Only markets whose appetite names one of these products (ids of the org's /records/products list) with an acceptable or will-consider stance, read at each appetite row's declared grain: a row at type grain answers every product of its type. An id outside the org's list is refused.",
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "product_type": {
                    "description": "Repeatable. Only markets whose appetite names one of these product types (type ids of /records/products?level=type), at type grain or through one of the type's products. One question with product: a market answers either.",
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "search": {
                    "description": "A search over the market's name, its products' lines and the carrier wording extraction mapped to an org product.",
                    "type": "string"
                  },
                  "state": {
                    "description": "Repeatable. Only markets with a current product written in one of these states (two letters each).",
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "view": {
                    "description": "full (the default): each market with its current products and relationships. summary: one row per market with its counts.",
                    "enum": [
                      "full",
                      "summary"
                    ],
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListCatalogMarketJSON"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List markets (parameters in the body)",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/markets/view": {
      "get": {
        "description": "The person's saved filters, which the register's list applies when a request names no view filter, and every column the seat may show, its role's default columns and the columns this person shows. A field the seat's field classes withhold is never listed.",
        "operationId": "getMarketsView",
        "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"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRegisterView"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The acting person's markets filters and columns",
        "tags": [
          "register-views"
        ]
      },
      "put": {
        "description": "Writes the person's own row. Each filter must be one the register's list serves, with a value it takes; each column must be one of columns.available for this seat; anything else is refused with 422. A View as session is read-only here.",
        "operationId": "putMarketsView",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterViewWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRegisterView"
                }
              }
            },
            "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"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Save the acting person's markets filters and columns",
        "tags": [
          "register-views"
        ]
      }
    },
    "/records/markets/{id}": {
      "get": {
        "description": "One market with its products, relationships, appetite and cited documents, and the carrier's website, logo and square symbol. A retired market's key answers its canonical market.",
        "operationId": "getMarket",
        "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 market's entity key.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The market's entity key.",
              "type": "string"
            }
          },
          {
            "description": "Resolve the market's products for this state.",
            "explode": false,
            "in": "query",
            "name": "state",
            "schema": {
              "description": "Resolve the market's products for this state.",
              "type": "string"
            }
          },
          {
            "description": "true serves older schedules beside the governing rows.",
            "explode": false,
            "in": "query",
            "name": "history",
            "schema": {
              "description": "true serves older schedules beside the governing rows.",
              "type": "string"
            }
          },
          {
            "description": "true serves seat: the market's terms as one placement seat reads them, for the state parameter and line.",
            "explode": false,
            "in": "query",
            "name": "seat",
            "schema": {
              "description": "true serves seat: the market's terms as one placement seat reads them, for the state parameter and line.",
              "type": "string"
            }
          },
          {
            "description": "With seat=true: the seat's line as the seat names it (a catalog line code, a book line, an app line), canonicalized by the catalog's line rule. Absent or program reads every commercial line.",
            "explode": false,
            "in": "query",
            "name": "line",
            "schema": {
              "description": "With seat=true: the seat's line as the seat names it (a catalog line code, a book line, an app line), canonicalized by the catalog's line rule. Absent or program reads every commercial line.",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "connection_id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordCatalogMarketDetailJSON"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Get a market",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/markets/{id}/logo": {
      "get": {
        "description": "The market's official logo, fetched from the carrier's own website or Wikimedia Commons and stored by the platform, as its original bytes; with mark=symbol, its square symbol. An SVG passed acceptance (no script, event handler or outside reference) and is served under a policy that runs nothing. With v= naming the current etag the answer may be cached for good. A market with no logo answers 404.",
        "operationId": "getMarketLogo",
        "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 market's entity key, as the directory and GET /records/markets/{id} serve it. A retired or aliased key answers its canonical market.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The market's entity key, as the directory and GET /records/markets/{id} serve it. A retired or aliased key answers its canonical market.",
              "type": "string"
            }
          },
          {
            "description": "The logo's etag. When it names the current logo the answer may be cached for good.",
            "explode": false,
            "in": "query",
            "name": "v",
            "schema": {
              "description": "The logo's etag. When it names the current logo the answer may be cached for good.",
              "type": "string"
            }
          },
          {
            "description": "logo (the default) serves the full logo; symbol serves the carrier's square symbol, with its own etag.",
            "explode": false,
            "in": "query",
            "name": "mark",
            "schema": {
              "description": "logo (the default) serves the full logo; symbol serves the carrier's square symbol, with its own etag.",
              "enum": [
                "logo",
                "symbol"
              ],
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "connection_id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "image/*": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          },
          "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"
          },
          "503": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "A market's logo",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/markets/{id}/rollups/product-groups": {
      "get": {
        "description": "The market's governing product rows folded into producer line groups: each group's variants with their labels and served facts, commission ranges, undisclosed and held counts, governing schedules, states, conditions and programs, in the register order, paged by the platform. A member denied carrier compensation reads the groups without any figure.",
        "operationId": "getMarketProductGroups",
        "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 market's entity key.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The market's entity key.",
              "type": "string"
            }
          },
          {
            "description": "register (the default): personal lines, then commercial, then the rest; inside each, the lines with the most rate rows lead, then label. placement: commercial, surety, personal, then the rest, by the same two keys.",
            "explode": false,
            "in": "query",
            "name": "order",
            "schema": {
              "description": "register (the default): personal lines, then commercial, then the rest; inside each, the lines with the most rate rows lead, then label. placement: commercial, surety, personal, then the rest, by the same two keys.",
              "enum": [
                "register",
                "placement"
              ],
              "type": "string"
            }
          },
          {
            "description": "Groups per page, 1 to 200.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Groups per page, 1 to 200.",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "true adds the exact group count.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds the exact group count.",
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "The catalog connection; absent, the org's single active one.",
            "explode": false,
            "in": "query",
            "name": "connection_id",
            "schema": {
              "description": "The catalog connection; absent, the org's single active one.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListRegisterProductGroup"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          },
          "503": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "A market's product groups",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/markets/{id}/rollups/terms-and-appetite": {
      "get": {
        "description": "For one carrier and a product (the policy's product), the commission terms and the appetite that meet on product, or on type where the term or cell declares type grain, with exact counts. One join rule for terms, appetite and policies. include=classes adds the market's appetite folded into class rows: each class's verdict and bottom line (with naics, the class row it lands on takes its word and bottom line from the carrier appetite grade, served as classes.appetite_grade, with the Markets directory's guide answer for the asked class in the bottom line; a guide's not a market makes the word won't write), its lines with the carrier's word, the outcome and book record and colleagues' notes on each, the lines a class of its kind usually carries, and the carrier's conditions, grouped by source with each condition's lines (condition_groups). With class_words, classes.matched_class_ids ranks the class rows that answer the class in words. Without a product the join answers the market's whole set.",
        "operationId": "getMarketTermsAndAppetite",
        "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 market's entity key (the carrier the policy is written with).",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The market's entity key (the carrier the policy is written with).",
              "type": "string"
            }
          },
          {
            "description": "Repeatable. The products to meet on (the policy's product id from /records/policies/{id}, an id of /records/products).",
            "explode": true,
            "in": "query",
            "name": "product",
            "schema": {
              "description": "Repeatable. The products to meet on (the policy's product id from /records/policies/{id}, an id of /records/products).",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Repeatable. The product types to meet on.",
            "explode": true,
            "in": "query",
            "name": "product_type",
            "schema": {
              "description": "Repeatable. The product types to meet on.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "connection_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Repeatable. classes adds the market's appetite as class rows (classes); commission adds the market's commission figures as its screens state them (commission). With either, product and product_type are optional.",
            "explode": true,
            "in": "query",
            "name": "include",
            "schema": {
              "description": "Repeatable. classes adds the market's appetite as class rows (classes); commission adds the market's commission figures as its screens state them (commission). With either, product and product_type are optional.",
              "items": {
                "enum": [
                  "classes",
                  "commission"
                ],
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Two letters. With include=classes: the appointed lines are the market's products that apply in this state.",
            "explode": false,
            "in": "query",
            "name": "state",
            "schema": {
              "description": "Two letters. With include=classes: the appointed lines are the market's products that apply in this state.",
              "type": "string"
            }
          },
          {
            "description": "With include=commission: a line code or label; the commission headline and statement state that line's figure.",
            "explode": false,
            "in": "query",
            "name": "line",
            "schema": {
              "description": "With include=commission: a line code or label; the commission headline and statement state that line's figure.",
              "type": "string"
            }
          },
          {
            "description": "With include=classes: a NAICS code; classes.naics_class_id names the class row it lands on.",
            "explode": false,
            "in": "query",
            "name": "naics",
            "schema": {
              "description": "With include=classes: a NAICS code; classes.naics_class_id names the class row it lands on.",
              "type": "string"
            }
          },
          {
            "description": "With include=classes: a class in words (at most 200 characters); classes.matched_class_ids names the class rows that answer it, best first.",
            "explode": false,
            "in": "query",
            "name": "class_words",
            "schema": {
              "description": "With include=classes: a class in words (at most 200 characters); classes.matched_class_ids names the class rows that answer it, best first.",
              "maxLength": 200,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordMarketTermsAndAppetiteJSON"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          },
          "503": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "A market's terms and appetite",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/mobile-homes": {
      "get": {
        "description": "A homeowners location's mobile home details. Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listMobileHomeRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List mobile homes",
        "tags": [
          "personal_lines_detail"
        ]
      }
    },
    "/records/motor-carriers": {
      "get": {
        "description": "A motor carrier's USDOT registration and the insurance FMCSA holds for its authority, read live from FMCSA's public datasets: its USDOT number, legal and DBA names, status, power units and drivers as reported on its MCS-150 (as of mcs150_date), operation, cargo, safety rating, authority dockets, and each active or pending insurance filing with its insurer, coverage, limit and dates, with insurer_of_record the insurer of its in-force primary liability filing. Find the carrier by USDOT number (usdot) or by name (name). Cite the values with snapshot_url and census_as_of, and the insurance with insurance_as_of. The data is public and the same for every org.",
        "operationId": "listMotorCarriers",
        "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 carrier's USDOT number, when known; send usdot or name, not both.",
            "explode": false,
            "in": "query",
            "name": "usdot",
            "schema": {
              "description": "The carrier's USDOT number, when known; send usdot or name, not both.",
              "maxLength": 8,
              "type": "string"
            }
          },
          {
            "description": "Words of the carrier's legal or DBA name as the person gives it (\"Knight Transportation\"); active registrations come first, then the largest fleets.",
            "explode": false,
            "in": "query",
            "name": "name",
            "schema": {
              "description": "Words of the carrier's legal or DBA name as the person gives it (\"Knight Transportation\"); active registrations come first, then the largest fleets.",
              "maxLength": 120,
              "type": "string"
            }
          },
          {
            "description": "Carriers a name search returns, 5 by default, at most 10.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Carriers a name search returns, 5 by default, at most 10.",
              "format": "int64",
              "minimum": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListMotorCarrierRecord"
                }
              }
            },
            "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"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "A trucking company's FMCSA registration and insurance on file",
        "tags": [
          "motor-carriers"
        ]
      }
    },
    "/records/motor-carriers/search": {
      "post": {
        "description": "GET /records/motor-carriers 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": "listMotorCarriersSearch",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "limit": {
                    "description": "Carriers a name search returns, 5 by default, at most 10.",
                    "format": "int64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "name": {
                    "description": "Words of the carrier's legal or DBA name as the person gives it (\"Knight Transportation\"); active registrations come first, then the largest fleets.",
                    "maxLength": 120,
                    "type": "string"
                  },
                  "usdot": {
                    "description": "The carrier's USDOT number, when known; send usdot or name, not both.",
                    "maxLength": 8,
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListMotorCarrierRecord"
                }
              }
            },
            "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"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "A trucking company's FMCSA registration and insurance on file (parameters in the body)",
        "tags": [
          "motor-carriers"
        ]
      }
    },
    "/records/non-owned-auto-coverages": {
      "get": {
        "description": "Views: list. Source admission, field projection and continuation remain authoritative. Source parent keys are opaque references.",
        "operationId": "listRiskDetailView7",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read non-owned-auto-coverages",
        "tags": [
          "vehicles"
        ]
      }
    },
    "/records/notes": {
      "get": {
        "description": "Everything written on an account, a policy term or a claim, newest first, each row naming its kind (note, remark, memo) and its source (system: the customer's system; store: the platform store). With account_id: the account's AMS 360 notes and policy remarks and the producers' memos, paged by cursor; policy_id narrows them to one policy term. With claim_id: the claim's remarks, every one on one page. A row is served only when the seat may read its kind there: a policy remark needs the policy's details, a claim remark the claim. An account or claim the seat cannot read is 404.",
        "operationId": "listNotes",
        "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": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "The account whose notes to read (its instance key); send account_id or claim_id.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "The account whose notes to read (its instance key); send account_id or claim_id.",
              "type": "string"
            }
          },
          {
            "description": "With account_id: only rows on this policy term (its instance key).",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "schema": {
              "description": "With account_id: only rows on this policy term (its instance key).",
              "type": "string"
            }
          },
          {
            "description": "The claim whose remarks to read (its instance key); send account_id or claim_id.",
            "explode": false,
            "in": "query",
            "name": "claim_id",
            "schema": {
              "description": "The claim whose remarks to read (its instance key); send account_id or claim_id.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListNote"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List notes",
        "tags": [
          "notes"
        ]
      }
    },
    "/records/offerings": {
      "get": {
        "description": "What each market writes, one row per current product with its market. Paged by cursor.",
        "operationId": "listOfferings",
        "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": "Page size. Defaults to 25; the collection's maximum is 100 (1000 for the summary view), and a larger value is coerced with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; the collection's maximum is 100 (1000 for the summary view), and a larger value is coerced with a LIMIT_COERCED warning.",
              "type": "string"
            }
          },
          {
            "description": "The opaque page.next of the previous page. The filters are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. The filters are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the filtered collection.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the filtered collection.",
              "type": "string"
            }
          },
          {
            "description": "The catalog connection to read. Absent: the org's single active connection.",
            "explode": false,
            "in": "query",
            "name": "connection_id",
            "schema": {
              "description": "The catalog connection to read. Absent: the org's single active connection.",
              "type": "string"
            }
          },
          {
            "description": "list serves raw product rows. merged serves one carrier/canonical placement line, ordered globally by stored carrier name, line and carrier identity.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "description": "list serves raw product rows. merged serves one carrier/canonical placement line, ordered globally by stored carrier name, line and carrier identity.",
              "enum": [
                "list",
                "merged"
              ],
              "type": "string"
            }
          },
          {
            "description": "With view=merged, coverage returns global stated_markets and total_markets counts for the filtered relation.",
            "explode": false,
            "in": "query",
            "name": "facets",
            "schema": {
              "description": "With view=merged, coverage returns global stated_markets and total_markets counts for the filtered relation.",
              "type": "string"
            }
          },
          {
            "description": "Repeatable. With view=merged use canonical placement lines, for example general_liability or bop.",
            "explode": true,
            "in": "query",
            "name": "line",
            "schema": {
              "description": "Repeatable. With view=merged use canonical placement lines, for example general_liability or bop.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "state",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "naics",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "search",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "min_commission_pct",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "With view=list: order every page by the market's stored name, then line, then product id (the default orders by market identity). view=merged is always in that name order.",
            "explode": false,
            "in": "query",
            "name": "sort",
            "schema": {
              "description": "With view=list: order every page by the market's stored name, then line, then product id (the default orders by market identity). view=merged is always in that name order.",
              "enum": [
                "market_name"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOfferingViewJSON"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List carrier offerings",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/opportunities": {
      "get": {
        "description": "Customer CRM records, distinct from platform ranking output. The source system and tenant scope each source record ID. Stage counts and exact revenue denominators are available at the stages rollup, with source snapshot metadata; list and rollup consumers must compare snapshots. An org-wide seat reads the whole register. A producer seat with a verified AMS 360 identity reads its own open New Business opportunities, ordered by close date, each with its line of business, its Gone quiet flag and the AMS account id of the one own AMS 360 account it matches (otherwise null); an empty list with no unreachable notice is a producer with no open New Business deals. Producer-only scope notices remain explicit unreachable data.",
        "operationId": "listCRMOpportunities",
        "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": "Keeps records whose stage name equals this text exactly, as the agency spells it. The family's stages rollup lists the names in use.",
            "explode": false,
            "in": "query",
            "name": "stage",
            "schema": {
              "description": "Keeps records whose stage name equals this text exactly, as the agency spells it. The family's stages rollup lists the names in use.",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListOpportunity"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "List opportunities",
        "tags": [
          "opportunities"
        ]
      }
    },
    "/records/opportunities/rollups/stages": {
      "get": {
        "description": "The existing CRM reader's complete stage counts, outcome counts and exact decimal revenue aggregates under the caller's scope and optional stage filter. The source snapshot identifies the read; no page aggregation or BFF scan.",
        "operationId": "getCRMOpportunitiesStages",
        "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"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "stage",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordCRMStages"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Read opportunities stage totals",
        "tags": [
          "opportunities"
        ]
      }
    },
    "/records/opportunity-signals": {
      "get": {
        "description": "Engine-produced book signals (cross-sell, carrier move, coverage gap and win-back), distinct from CRM deals at /records/opportunities. Reads the active run under current account and policy admission. Filters and totals apply to the entire authorized relation. No active run is unavailable, never an empty success. This read submits no run. It answers who to call: rows come retain first (revenue in force a move can keep), then grow, and a judged row carries a brief with why_now, who_to_call (only a client contact, with role and a complete phone or email from the agency's records), a separate colleague to loop in, contact_note when no client contact is verified, and three things to say.",
        "operationId": "listOpportunitySignals",
        "parameters": [
          {
            "description": "API-owned order and row cap for a work view. account requires an account key.",
            "explode": false,
            "in": "query",
            "name": "work_view",
            "schema": {
              "description": "API-owned order and row cap for a work view. account requires an account key.",
              "enum": [
                "today",
                "account"
              ],
              "type": "string"
            }
          },
          {
            "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": "Comma-separated book signal levers: carrier_move, cross_sell, coverage_gap, win_back. Disabled levers are refused.",
            "explode": false,
            "in": "query",
            "name": "lever",
            "schema": {
              "description": "Comma-separated book signal levers: carrier_move, cross_sell, coverage_gap, win_back. Disabled levers are refused.",
              "type": "string"
            }
          },
          {
            "description": "Comma-separated priority bands: critical, high, medium, low.",
            "explode": false,
            "in": "query",
            "name": "band",
            "schema": {
              "description": "Comma-separated priority bands: critical, high, medium, low.",
              "type": "string"
            }
          },
          {
            "description": "retain: keep revenue you have (in force today, a move can keep it). grow: win revenue you do not have yet. Set by the Engine config's kinds map; retain rows rank first. Narrows rows and totals with type= as their intersection; a type outside the kind is refused.",
            "explode": false,
            "in": "query",
            "name": "kind",
            "schema": {
              "description": "retain: keep revenue you have (in force today, a move can keep it). grow: win revenue you do not have yet. Set by the Engine config's kinds map; retain rows rank first. Narrows rows and totals with type= as their intersection; a type outside the kind is refused.",
              "enum": [
                "retain",
                "grow"
              ],
              "type": "string"
            }
          },
          {
            "description": "Comma-separated observation types from the opportunity engine.",
            "explode": false,
            "in": "query",
            "name": "type",
            "schema": {
              "description": "Comma-separated observation types from the opportunity engine.",
              "type": "string"
            }
          },
          {
            "description": "Exact line of business code.",
            "explode": false,
            "in": "query",
            "name": "line",
            "schema": {
              "description": "Exact line of business code.",
              "type": "string"
            }
          },
          {
            "description": "Policy world filter.",
            "explode": false,
            "in": "query",
            "name": "world",
            "schema": {
              "description": "Policy world filter.",
              "type": "string"
            }
          },
          {
            "description": "Exact NAICS industry filter.",
            "explode": false,
            "in": "query",
            "name": "industry",
            "schema": {
              "description": "Exact NAICS industry filter.",
              "type": "string"
            }
          },
          {
            "description": "Exact book account key, within the caller's admitted book.",
            "explode": false,
            "in": "query",
            "name": "account",
            "schema": {
              "description": "Exact book account key, within the caller's admitted book.",
              "type": "string"
            }
          },
          {
            "description": "Non-negative premium floor in dollars, applied before totals.",
            "explode": false,
            "in": "query",
            "name": "min_premium",
            "schema": {
              "description": "Non-negative premium floor in dollars, applied before totals.",
              "type": "string"
            }
          },
          {
            "description": "Inclusive first calendar day (YYYY-MM-DD) of moment_date, the date the opportunity acts on: the renewal ahead, the term that ended. Narrows rows and totals; a row with no moment_date is left out while either end is set.",
            "explode": false,
            "in": "query",
            "name": "moment_from",
            "schema": {
              "description": "Inclusive first calendar day (YYYY-MM-DD) of moment_date, the date the opportunity acts on: the renewal ahead, the term that ended. Narrows rows and totals; a row with no moment_date is left out while either end is set.",
              "type": "string"
            }
          },
          {
            "description": "Inclusive last calendar day (YYYY-MM-DD) of moment_date. Either end may be left open; moment_from after moment_to is refused.",
            "explode": false,
            "in": "query",
            "name": "moment_to",
            "schema": {
              "description": "Inclusive last calendar day (YYYY-MM-DD) of moment_date. Either end may be left open; moment_from after moment_to is refused.",
              "type": "string"
            }
          },
          {
            "description": "true: only the signals the previous run did not serve, the run the active run replaced when it flipped. Narrows rows, totals and facets alike, so facets=true counts the new signals by line. With no previous run on record no signal is new. Refused with dismissed.",
            "explode": false,
            "in": "query",
            "name": "new",
            "schema": {
              "description": "true: only the signals the previous run did not serve, the run the active run replaced when it flipped. Narrows rows, totals and facets alike, so facets=true counts the new signals by line. With no previous run on record no signal is new. Refused with dismissed.",
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "Account name search within the admitted book: the name holds these words, any case, spacing, punctuation and plural ignored.",
            "explode": false,
            "in": "query",
            "name": "q",
            "schema": {
              "description": "Account name search within the admitted book: the name holds these words, any case, spacing, punctuation and plural ignored.",
              "type": "string"
            }
          },
          {
            "description": "Global sort; default rank. pursued requires dismissed=pursuing.",
            "explode": false,
            "in": "query",
            "name": "sort",
            "schema": {
              "description": "Global sort; default rank. pursued requires dismissed=pursuing.",
              "enum": [
                "rank",
                "premium",
                "account",
                "timing",
                "workable",
                "pursued"
              ],
              "type": "string"
            }
          },
          {
            "description": "Sort direction. Rank is always ascending.",
            "explode": false,
            "in": "query",
            "name": "dir",
            "schema": {
              "description": "Sort direction. Rank is always ascending.",
              "enum": [
                "asc",
                "desc"
              ],
              "type": "string"
            }
          },
          {
            "description": "Market filter within the caller's admitted book.",
            "explode": false,
            "in": "query",
            "name": "market",
            "schema": {
              "description": "Market filter within the caller's admitted book.",
              "type": "string"
            }
          },
          {
            "description": "Office filter within the caller's admitted book.",
            "explode": false,
            "in": "query",
            "name": "office",
            "schema": {
              "description": "Office filter within the caller's admitted book.",
              "type": "string"
            }
          },
          {
            "description": "The acting person's set-aside or pursuing signals. Absent reads active signals.",
            "explode": false,
            "in": "query",
            "name": "dismissed",
            "schema": {
              "description": "The acting person's set-aside or pursuing signals. Absent reads active signals.",
              "enum": [
                "only",
                "pursuing"
              ],
              "type": "string"
            }
          },
          {
            "description": "Page size, default 25, maximum 100 with an explicit coercion warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size, default 25, maximum 100 with an explicit coercion warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "Opaque page.next from this caller, subject, filters and active run.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "Opaque page.next from this caller, subject, filters and active run.",
              "type": "string"
            }
          },
          {
            "description": "Rows to skip before the page, in the global sort. Exclusive with cursor; the page answers the offset it applied.",
            "explode": false,
            "in": "query",
            "name": "offset",
            "schema": {
              "description": "Rows to skip before the page, in the global sort. Exclusive with cursor; the page answers the offset it applied.",
              "format": "int64",
              "maximum": 1000000,
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "Comma-separated kinds to leave out: retain, grow. Empty or none hides nothing. Left out with every other view filter, the person's saved view or the default applies. The view block lists each value with its count.",
            "explode": false,
            "in": "query",
            "name": "hide.kind",
            "schema": {
              "description": "Comma-separated kinds to leave out: retain, grow. Empty or none hides nothing. Left out with every other view filter, the person's saved view or the default applies. The view block lists each value with its count.",
              "type": "string"
            }
          },
          {
            "description": "Comma-separated priority bands to leave out: critical, high, medium, low. Empty or none hides nothing.",
            "explode": false,
            "in": "query",
            "name": "hide.band",
            "schema": {
              "description": "Comma-separated priority bands to leave out: critical, high, medium, low. Empty or none hides nothing.",
              "type": "string"
            }
          },
          {
            "description": "Comma-separated enabled levers to leave out. Empty or none hides nothing.",
            "explode": false,
            "in": "query",
            "name": "hide.lever",
            "schema": {
              "description": "Comma-separated enabled levers to leave out. Empty or none hides nothing.",
              "type": "string"
            }
          },
          {
            "description": "true (default): the default view leaves out the acting person's dismissed and snoozed signals. false keeps them in the list.",
            "explode": false,
            "in": "query",
            "name": "hide_dismissed",
            "schema": {
              "description": "true (default): the default view leaves out the acting person's dismissed and snoozed signals. false keeps them in the list.",
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "true: include the chip counts: lever, kind, type, band, line, world, industry and office over the caller's admitted signals, unfiltered by the page filters. producer and client_manager (alone or with true, comma separated) add the owner facets: the AMS 360 codes of the admitted signals with their staff names and counts, busiest first, counted without that owner selection, capped (facets.producer_truncated, facets.client_manager_truncated say it was cut).",
            "explode": false,
            "in": "query",
            "name": "facets",
            "schema": {
              "description": "true: include the chip counts: lever, kind, type, band, line, world, industry and office over the caller's admitted signals, unfiltered by the page filters. producer and client_manager (alone or with true, comma separated) add the owner facets: the AMS 360 codes of the admitted signals with their staff names and counts, busiest first, counted without that owner selection, capped (facets.producer_truncated, facets.client_manager_truncated say it was cut).",
              "type": "string"
            }
          },
          {
            "description": "Words that each start a word of an owner's name, or equal an owner's AMS 360 code, in any order, at most 64 characters. It narrows the owner facets' lists (search a list the facet cap cut) and selects no signal and moves no count.",
            "explode": false,
            "in": "query",
            "name": "owner_q",
            "schema": {
              "description": "Words that each start a word of an owner's name, or equal an owner's AMS 360 code, in any order, at most 64 characters. It narrows the owner facets' lists (search a list the facet cap cut) and selects no signal and moves no count.",
              "maxLength": 64,
              "type": "string"
            }
          },
          {
            "description": "Include the exact filtered count across every page.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "Include the exact filtered count across every page.",
              "type": "boolean"
            }
          },
          {
            "description": "Comma-separated figures to leave out of this read when no control of the caller shows them: industry (facets.industry reads empty) and account_count (slice.account_count is absent). Each leaves out the work that computes it; the rows, total and every other figure are the same.",
            "explode": false,
            "in": "query",
            "name": "leave_out",
            "schema": {
              "description": "Comma-separated figures to leave out of this read when no control of the caller shows them: industry (facets.industry reads empty) and account_count (slice.account_count is absent). Each leaves out the work that computes it; the rows, total and every other figure are the same.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpportunitySignalsEnvelope"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "List book opportunity signals",
        "tags": [
          "opportunity-signals"
        ]
      }
    },
    "/records/opportunity-signals/search": {
      "post": {
        "description": "GET /records/opportunity-signals 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": "listOpportunitySignalsSearch",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "account": {
                    "description": "Exact book account key, within the caller's admitted book.",
                    "type": "string"
                  },
                  "band": {
                    "description": "Comma-separated priority bands: critical, high, medium, low.",
                    "type": "string"
                  },
                  "cursor": {
                    "description": "Opaque page.next from this caller, subject, filters and active run.",
                    "type": "string"
                  },
                  "dir": {
                    "description": "Sort direction. Rank is always ascending.",
                    "enum": [
                      "asc",
                      "desc"
                    ],
                    "type": "string"
                  },
                  "dismissed": {
                    "description": "The acting person's set-aside or pursuing signals. Absent reads active signals.",
                    "enum": [
                      "only",
                      "pursuing"
                    ],
                    "type": "string"
                  },
                  "facets": {
                    "description": "true: include the chip counts: lever, kind, type, band, line, world, industry and office over the caller's admitted signals, unfiltered by the page filters. producer and client_manager (alone or with true, comma separated) add the owner facets: the AMS 360 codes of the admitted signals with their staff names and counts, busiest first, counted without that owner selection, capped (facets.producer_truncated, facets.client_manager_truncated say it was cut).",
                    "type": "string"
                  },
                  "hide.band": {
                    "description": "Comma-separated priority bands to leave out: critical, high, medium, low. Empty or none hides nothing.",
                    "type": "string"
                  },
                  "hide.kind": {
                    "description": "Comma-separated kinds to leave out: retain, grow. Empty or none hides nothing. Left out with every other view filter, the person's saved view or the default applies. The view block lists each value with its count.",
                    "type": "string"
                  },
                  "hide.lever": {
                    "description": "Comma-separated enabled levers to leave out. Empty or none hides nothing.",
                    "type": "string"
                  },
                  "hide_dismissed": {
                    "description": "true (default): the default view leaves out the acting person's dismissed and snoozed signals. false keeps them in the list.",
                    "enum": [
                      "true",
                      "false"
                    ],
                    "type": "string"
                  },
                  "include_total": {
                    "description": "Include the exact filtered count across every page.",
                    "type": "boolean"
                  },
                  "industry": {
                    "description": "Exact NAICS industry filter.",
                    "type": "string"
                  },
                  "kind": {
                    "description": "retain: keep revenue you have (in force today, a move can keep it). grow: win revenue you do not have yet. Set by the Engine config's kinds map; retain rows rank first. Narrows rows and totals with type= as their intersection; a type outside the kind is refused.",
                    "enum": [
                      "retain",
                      "grow"
                    ],
                    "type": "string"
                  },
                  "leave_out": {
                    "description": "Comma-separated figures to leave out of this read when no control of the caller shows them: industry (facets.industry reads empty) and account_count (slice.account_count is absent). Each leaves out the work that computes it; the rows, total and every other figure are the same.",
                    "type": "string"
                  },
                  "lever": {
                    "description": "Comma-separated book signal levers: carrier_move, cross_sell, coverage_gap, win_back. Disabled levers are refused.",
                    "type": "string"
                  },
                  "limit": {
                    "description": "Page size, default 25, maximum 100 with an explicit coercion warning.",
                    "format": "int64",
                    "minimum": 1,
                    "type": "integer"
                  },
                  "line": {
                    "description": "Exact line of business code.",
                    "type": "string"
                  },
                  "market": {
                    "description": "Market filter within the caller's admitted book.",
                    "type": "string"
                  },
                  "min_premium": {
                    "description": "Non-negative premium floor in dollars, applied before totals.",
                    "type": "string"
                  },
                  "moment_from": {
                    "description": "Inclusive first calendar day (YYYY-MM-DD) of moment_date, the date the opportunity acts on: the renewal ahead, the term that ended. Narrows rows and totals; a row with no moment_date is left out while either end is set.",
                    "type": "string"
                  },
                  "moment_to": {
                    "description": "Inclusive last calendar day (YYYY-MM-DD) of moment_date. Either end may be left open; moment_from after moment_to is refused.",
                    "type": "string"
                  },
                  "new": {
                    "description": "true: only the signals the previous run did not serve, the run the active run replaced when it flipped. Narrows rows, totals and facets alike, so facets=true counts the new signals by line. With no previous run on record no signal is new. Refused with dismissed.",
                    "enum": [
                      "true",
                      "false"
                    ],
                    "type": "string"
                  },
                  "office": {
                    "description": "Office filter within the caller's admitted book.",
                    "type": "string"
                  },
                  "offset": {
                    "description": "Rows to skip before the page, in the global sort. Exclusive with cursor; the page answers the offset it applied.",
                    "format": "int64",
                    "maximum": 1000000,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "owner_q": {
                    "description": "Words that each start a word of an owner's name, or equal an owner's AMS 360 code, in any order, at most 64 characters. It narrows the owner facets' lists (search a list the facet cap cut) and selects no signal and moves no count.",
                    "maxLength": 64,
                    "type": "string"
                  },
                  "q": {
                    "description": "Account name search within the admitted book: the name holds these words, any case, spacing, punctuation and plural ignored.",
                    "type": "string"
                  },
                  "sort": {
                    "description": "Global sort; default rank. pursued requires dismissed=pursuing.",
                    "enum": [
                      "rank",
                      "premium",
                      "account",
                      "timing",
                      "workable",
                      "pursued"
                    ],
                    "type": "string"
                  },
                  "subject": {
                    "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"
                    ]
                  },
                  "type": {
                    "description": "Comma-separated observation types from the opportunity engine.",
                    "type": "string"
                  },
                  "work_view": {
                    "description": "API-owned order and row cap for a work view. account requires an account key.",
                    "enum": [
                      "today",
                      "account"
                    ],
                    "type": "string"
                  },
                  "world": {
                    "description": "Policy world filter.",
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpportunitySignalsEnvelope"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "List book opportunity signals (parameters in the body)",
        "tags": [
          "opportunity-signals"
        ]
      }
    },
    "/records/opportunity-signals/summary": {
      "get": {
        "description": "The active run's rows folded per named account (at most 100 keys, one register page) under the caller's book scope. An account the caller may not read, or that carries no row, is absent.",
        "operationId": "summarizeOpportunitySignals",
        "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": "Comma-separated served account keys, at most 100.",
            "explode": false,
            "in": "query",
            "name": "accounts",
            "schema": {
              "description": "Comma-separated served account keys, at most 100.",
              "type": "string"
            }
          },
          {
            "description": "How many of each account's rows ride beside its fold, 0 to 10; default 0.",
            "explode": false,
            "in": "query",
            "name": "rows",
            "schema": {
              "description": "How many of each account's rows ride beside its fold, 0 to 10; default 0.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EngineOpportunityAccountSummaryEnvelope"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Fold opportunity signals per named account",
        "tags": [
          "opportunity-signals"
        ]
      }
    },
    "/records/opportunity-signals/view": {
      "get": {
        "description": "The person's saved filters, which the register's list applies when a request names no view filter, and every column the seat may show, its role's default columns and the columns this person shows. A field the seat's field classes withhold is never listed.",
        "operationId": "getOpportunitySignalsView",
        "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"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRegisterView"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The acting person's opportunity-signals filters and columns",
        "tags": [
          "register-views"
        ]
      },
      "put": {
        "description": "Writes the person's own row. Each filter must be one the register's list serves, with a value it takes; each column must be one of columns.available for this seat; anything else is refused with 422. A View as session is read-only here.",
        "operationId": "putOpportunitySignalsView",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterViewWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRegisterView"
                }
              }
            },
            "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"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Save the acting person's opportunity-signals filters and columns",
        "tags": [
          "register-views"
        ]
      }
    },
    "/records/opportunity-signals/wins": {
      "get": {
        "description": "Claimed wins and the closes after a Yes nobody claimed, with totals computed in SQL. Org scope only: leader, admin and operator seats.",
        "operationId": "listOpportunitySignalWins",
        "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"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpportunityWinsReport"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Read the org's claimed wins",
        "tags": [
          "opportunity-signals"
        ]
      }
    },
    "/records/opportunity-signals/{opportunityID}": {
      "get": {
        "description": "One row of the active opportunity run, under the caller's account and policy admission. A row the caller may not read, or the active run no longer serves, is a 404.",
        "operationId": "getOpportunitySignal",
        "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 opportunity signal's id, as the list returns it.",
            "in": "path",
            "name": "opportunityID",
            "required": true,
            "schema": {
              "description": "The opportunity signal's id, as the list returns it.",
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EngineOpportunityRow"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Read one opportunity signal",
        "tags": [
          "opportunity-signals"
        ]
      }
    },
    "/records/opportunity-signals/{opportunityID}/annotation": {
      "delete": {
        "description": "Removes the acting person's own annotation at the revision the caller read; the removal is recorded, not erased. A scoped key also needs actions:write.",
        "operationId": "deleteOpportunitySignalAnnotation",
        "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 opportunity signal's id.",
            "in": "path",
            "name": "opportunityID",
            "required": true,
            "schema": {
              "description": "The opportunity signal's id.",
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "description": "The annotation reference (a UUID) the row carries.",
            "explode": false,
            "in": "query",
            "name": "annotation_ref",
            "schema": {
              "description": "The annotation reference (a UUID) the row carries.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OpportunityAnnotationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpportunityAnnotationResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Remove the caller's annotation from a signal",
        "tags": [
          "opportunity-signals"
        ]
      },
      "get": {
        "description": "The acting person's own annotation, never another person's. Private, no-store.",
        "operationId": "getOpportunitySignalAnnotation",
        "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 opportunity signal's id.",
            "in": "path",
            "name": "opportunityID",
            "required": true,
            "schema": {
              "description": "The opportunity signal's id.",
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "description": "The annotation reference (a UUID) the row carries.",
            "explode": false,
            "in": "query",
            "name": "annotation_ref",
            "schema": {
              "description": "The annotation reference (a UUID) the row carries.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpportunityAnnotationResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Read the caller's annotation on a signal",
        "tags": [
          "opportunity-signals"
        ]
      },
      "put": {
        "description": "Writes the acting person's own annotation at the revision the caller read; a stale revision is a 409. A repeat with the same request_id answers the first write. A scoped key also needs actions:write.",
        "operationId": "putOpportunitySignalAnnotation",
        "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 opportunity signal's id.",
            "in": "path",
            "name": "opportunityID",
            "required": true,
            "schema": {
              "description": "The opportunity signal's id.",
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "description": "The annotation reference (a UUID) the row carries.",
            "explode": false,
            "in": "query",
            "name": "annotation_ref",
            "schema": {
              "description": "The annotation reference (a UUID) the row carries.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OpportunityAnnotationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpportunityAnnotationResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Set the caller's annotation on a signal",
        "tags": [
          "opportunity-signals"
        ]
      }
    },
    "/records/opportunity-signals/{opportunityID}/dismissal": {
      "delete": {
        "description": "Removes the acting person's own dismissal at the revision the caller read; the removal is recorded, not erased. A scoped key also needs actions:write.",
        "operationId": "deleteOpportunitySignalDismissal",
        "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 opportunity signal's id, as the list returns it.",
            "in": "path",
            "name": "opportunityID",
            "required": true,
            "schema": {
              "description": "The opportunity signal's id, as the list returns it.",
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OpportunityDismissalRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpportunityDismissalResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Remove the caller's dismissal from a signal",
        "tags": [
          "opportunity-signals"
        ]
      },
      "get": {
        "description": "The acting person's own dismissal, never another person's. Private, no-store.",
        "operationId": "getOpportunitySignalDismissal",
        "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 opportunity signal's id, as the list returns it.",
            "in": "path",
            "name": "opportunityID",
            "required": true,
            "schema": {
              "description": "The opportunity signal's id, as the list returns it.",
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpportunityDismissalResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Read the caller's dismissal on a signal",
        "tags": [
          "opportunity-signals"
        ]
      },
      "put": {
        "description": "Writes the acting person's own dismissal at the revision the caller read; a stale revision is a 409. A repeat with the same request_id answers the first write. A scoped key also needs actions:write.",
        "operationId": "putOpportunitySignalDismissal",
        "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 opportunity signal's id, as the list returns it.",
            "in": "path",
            "name": "opportunityID",
            "required": true,
            "schema": {
              "description": "The opportunity signal's id, as the list returns it.",
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OpportunityDismissalRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpportunityDismissalResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Set the caller's dismissal on a signal",
        "tags": [
          "opportunity-signals"
        ]
      }
    },
    "/records/opportunity-signals/{opportunityID}/win": {
      "delete": {
        "description": "Removes the acting person's own win at the revision the caller read; the removal is recorded, not erased. A scoped key also needs actions:write.",
        "operationId": "deleteOpportunitySignalWin",
        "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 opportunity signal's id, as the list returns it.",
            "in": "path",
            "name": "opportunityID",
            "required": true,
            "schema": {
              "description": "The opportunity signal's id, as the list returns it.",
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OpportunityWinRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpportunityWinResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Remove the caller's win from a signal",
        "tags": [
          "opportunity-signals"
        ]
      },
      "get": {
        "description": "The acting person's own win, never another person's. Private, no-store.",
        "operationId": "getOpportunitySignalWin",
        "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 opportunity signal's id, as the list returns it.",
            "in": "path",
            "name": "opportunityID",
            "required": true,
            "schema": {
              "description": "The opportunity signal's id, as the list returns it.",
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpportunityWinResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Read the caller's win on a signal",
        "tags": [
          "opportunity-signals"
        ]
      },
      "put": {
        "description": "Writes the acting person's own win at the revision the caller read; a stale revision is a 409. A repeat with the same request_id answers the first write. A scoped key also needs actions:write.",
        "operationId": "putOpportunitySignalWin",
        "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 opportunity signal's id, as the list returns it.",
            "in": "path",
            "name": "opportunityID",
            "required": true,
            "schema": {
              "description": "The opportunity signal's id, as the list returns it.",
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OpportunityWinRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpportunityWinResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Set the caller's win on a signal",
        "tags": [
          "opportunity-signals"
        ]
      }
    },
    "/records/opportunity-signals/{opportunityID}/won-candidates": {
      "get": {
        "description": "The account's policies effective since the opportunity first showed, in the order Navigator preselects from.",
        "operationId": "listOpportunitySignalWonCandidates",
        "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 opportunity signal's id, as the list returns it.",
            "in": "path",
            "name": "opportunityID",
            "required": true,
            "schema": {
              "description": "The opportunity signal's id, as the list returns it.",
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpportunityWonCandidatesResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List the policies a win can claim",
        "tags": [
          "opportunity-signals"
        ]
      }
    },
    "/records/pages/account_open": {
      "get": {
        "description": "Read a declared Records page",
        "operationId": "readPage_account_open",
        "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 existing instance key of the record to open. Absent on a register page.",
            "explode": false,
            "in": "query",
            "name": "record",
            "schema": {
              "description": "The existing instance key of the record to open. Absent on a register page.",
              "type": "string"
            }
          },
          {
            "description": "The account a claim or policy page is opened from (its instance or bk1_ key). Required on a claim or policy page and refused on any other. A policy page finds only a policy of this account.",
            "explode": false,
            "in": "query",
            "name": "account",
            "schema": {
              "description": "The account a claim or policy page is opened from (its instance or bk1_ key). Required on a claim or policy page and refused on any other. A policy page finds only a policy of this account.",
              "type": "string"
            }
          },
          {
            "description": "Maximum rows requested per paged source. Defaults to 25.",
            "explode": false,
            "in": "query",
            "name": "window",
            "schema": {
              "description": "Maximum rows requested per paged source. Defaults to 25.",
              "format": "int64",
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "A sort the page's view section declares. Absent: its default sort.",
            "explode": false,
            "in": "query",
            "name": "sort",
            "schema": {
              "description": "A sort the page's view section declares. Absent: its default sort.",
              "maxLength": 64,
              "type": "string"
            }
          },
          {
            "description": "Position in the view section's ordered rows: the previous answer's next.",
            "explode": false,
            "in": "query",
            "name": "offset",
            "schema": {
              "description": "Position in the view section's ordered rows: the previous answer's next.",
              "format": "int64",
              "maximum": 1000000000,
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "Rows of the view section to return, up to its declared maximum.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Rows of the view section to return, up to its declared maximum.",
              "format": "int64",
              "maximum": 1000,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "A filter of the page's view section, as key:value, repeatable: a catalog key the section declares (keep, select, days, amount or toggle), or hide.&lt;field&gt;:&lt;value&gt;.",
            "explode": true,
            "in": "query",
            "name": "filter",
            "schema": {
              "description": "A filter of the page's view section, as key:value, repeatable: a catalog key the section declares (keep, select, days, amount or toggle), or hide.&lt;field&gt;:&lt;value&gt;.",
              "items": {
                "type": "string"
              },
              "maxItems": 50,
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Read and answer only these sections of the page, by name, repeatable. Absent: every section the page serves unasked; a section read only on request is answered only when named. A name the page does not declare, or a section that needs one left out, is 400.",
            "explode": true,
            "in": "query",
            "name": "sections",
            "schema": {
              "description": "Read and answer only these sections of the page, by name, repeatable. Absent: every section the page serves unasked; a section read only on request is answered only when named. A name the page does not declare, or a section that needs one left out, is 400.",
              "items": {
                "type": "string"
              },
              "maxItems": 32,
              "type": [
                "array",
                "null"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordPageAnswer"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read a declared Records page",
        "tags": [
          "pages"
        ]
      }
    },
    "/records/pages/claim_file": {
      "get": {
        "description": "Read a declared Records page",
        "operationId": "readPage_claim_file",
        "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 existing instance key of the record to open. Absent on a register page.",
            "explode": false,
            "in": "query",
            "name": "record",
            "schema": {
              "description": "The existing instance key of the record to open. Absent on a register page.",
              "type": "string"
            }
          },
          {
            "description": "The account a claim or policy page is opened from (its instance or bk1_ key). Required on a claim or policy page and refused on any other. A policy page finds only a policy of this account.",
            "explode": false,
            "in": "query",
            "name": "account",
            "schema": {
              "description": "The account a claim or policy page is opened from (its instance or bk1_ key). Required on a claim or policy page and refused on any other. A policy page finds only a policy of this account.",
              "type": "string"
            }
          },
          {
            "description": "Maximum rows requested per paged source. Defaults to 25.",
            "explode": false,
            "in": "query",
            "name": "window",
            "schema": {
              "description": "Maximum rows requested per paged source. Defaults to 25.",
              "format": "int64",
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "A sort the page's view section declares. Absent: its default sort.",
            "explode": false,
            "in": "query",
            "name": "sort",
            "schema": {
              "description": "A sort the page's view section declares. Absent: its default sort.",
              "maxLength": 64,
              "type": "string"
            }
          },
          {
            "description": "Position in the view section's ordered rows: the previous answer's next.",
            "explode": false,
            "in": "query",
            "name": "offset",
            "schema": {
              "description": "Position in the view section's ordered rows: the previous answer's next.",
              "format": "int64",
              "maximum": 1000000000,
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "Rows of the view section to return, up to its declared maximum.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Rows of the view section to return, up to its declared maximum.",
              "format": "int64",
              "maximum": 1000,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "A filter of the page's view section, as key:value, repeatable: a catalog key the section declares (keep, select, days, amount or toggle), or hide.&lt;field&gt;:&lt;value&gt;.",
            "explode": true,
            "in": "query",
            "name": "filter",
            "schema": {
              "description": "A filter of the page's view section, as key:value, repeatable: a catalog key the section declares (keep, select, days, amount or toggle), or hide.&lt;field&gt;:&lt;value&gt;.",
              "items": {
                "type": "string"
              },
              "maxItems": 50,
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Read and answer only these sections of the page, by name, repeatable. Absent: every section the page serves unasked; a section read only on request is answered only when named. A name the page does not declare, or a section that needs one left out, is 400.",
            "explode": true,
            "in": "query",
            "name": "sections",
            "schema": {
              "description": "Read and answer only these sections of the page, by name, repeatable. Absent: every section the page serves unasked; a section read only on request is answered only when named. A name the page does not declare, or a section that needs one left out, is 400.",
              "items": {
                "type": "string"
              },
              "maxItems": 32,
              "type": [
                "array",
                "null"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordPageAnswer"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read a declared Records page",
        "tags": [
          "pages"
        ]
      }
    },
    "/records/pages/policies": {
      "get": {
        "description": "Read a declared Records page",
        "operationId": "readPage_policies",
        "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 existing instance key of the record to open. Absent on a register page.",
            "explode": false,
            "in": "query",
            "name": "record",
            "schema": {
              "description": "The existing instance key of the record to open. Absent on a register page.",
              "type": "string"
            }
          },
          {
            "description": "The account a claim or policy page is opened from (its instance or bk1_ key). Required on a claim or policy page and refused on any other. A policy page finds only a policy of this account.",
            "explode": false,
            "in": "query",
            "name": "account",
            "schema": {
              "description": "The account a claim or policy page is opened from (its instance or bk1_ key). Required on a claim or policy page and refused on any other. A policy page finds only a policy of this account.",
              "type": "string"
            }
          },
          {
            "description": "Maximum rows requested per paged source. Defaults to 25.",
            "explode": false,
            "in": "query",
            "name": "window",
            "schema": {
              "description": "Maximum rows requested per paged source. Defaults to 25.",
              "format": "int64",
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "A sort the page's view section declares. Absent: its default sort.",
            "explode": false,
            "in": "query",
            "name": "sort",
            "schema": {
              "description": "A sort the page's view section declares. Absent: its default sort.",
              "maxLength": 64,
              "type": "string"
            }
          },
          {
            "description": "Position in the view section's ordered rows: the previous answer's next.",
            "explode": false,
            "in": "query",
            "name": "offset",
            "schema": {
              "description": "Position in the view section's ordered rows: the previous answer's next.",
              "format": "int64",
              "maximum": 1000000000,
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "Rows of the view section to return, up to its declared maximum.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Rows of the view section to return, up to its declared maximum.",
              "format": "int64",
              "maximum": 1000,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "A filter of the page's view section, as key:value, repeatable: a catalog key the section declares (keep, select, days, amount or toggle), or hide.&lt;field&gt;:&lt;value&gt;.",
            "explode": true,
            "in": "query",
            "name": "filter",
            "schema": {
              "description": "A filter of the page's view section, as key:value, repeatable: a catalog key the section declares (keep, select, days, amount or toggle), or hide.&lt;field&gt;:&lt;value&gt;.",
              "items": {
                "type": "string"
              },
              "maxItems": 50,
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Read and answer only these sections of the page, by name, repeatable. Absent: every section the page serves unasked; a section read only on request is answered only when named. A name the page does not declare, or a section that needs one left out, is 400.",
            "explode": true,
            "in": "query",
            "name": "sections",
            "schema": {
              "description": "Read and answer only these sections of the page, by name, repeatable. Absent: every section the page serves unasked; a section read only on request is answered only when named. A name the page does not declare, or a section that needs one left out, is 400.",
              "items": {
                "type": "string"
              },
              "maxItems": 32,
              "type": [
                "array",
                "null"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordPageAnswer"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read a declared Records page",
        "tags": [
          "pages"
        ]
      }
    },
    "/records/pages/policy_open": {
      "get": {
        "description": "Read a declared Records page",
        "operationId": "readPage_policy_open",
        "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 existing instance key of the record to open. Absent on a register page.",
            "explode": false,
            "in": "query",
            "name": "record",
            "schema": {
              "description": "The existing instance key of the record to open. Absent on a register page.",
              "type": "string"
            }
          },
          {
            "description": "The account a claim or policy page is opened from (its instance or bk1_ key). Required on a claim or policy page and refused on any other. A policy page finds only a policy of this account.",
            "explode": false,
            "in": "query",
            "name": "account",
            "schema": {
              "description": "The account a claim or policy page is opened from (its instance or bk1_ key). Required on a claim or policy page and refused on any other. A policy page finds only a policy of this account.",
              "type": "string"
            }
          },
          {
            "description": "Maximum rows requested per paged source. Defaults to 25.",
            "explode": false,
            "in": "query",
            "name": "window",
            "schema": {
              "description": "Maximum rows requested per paged source. Defaults to 25.",
              "format": "int64",
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "A sort the page's view section declares. Absent: its default sort.",
            "explode": false,
            "in": "query",
            "name": "sort",
            "schema": {
              "description": "A sort the page's view section declares. Absent: its default sort.",
              "maxLength": 64,
              "type": "string"
            }
          },
          {
            "description": "Position in the view section's ordered rows: the previous answer's next.",
            "explode": false,
            "in": "query",
            "name": "offset",
            "schema": {
              "description": "Position in the view section's ordered rows: the previous answer's next.",
              "format": "int64",
              "maximum": 1000000000,
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "Rows of the view section to return, up to its declared maximum.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Rows of the view section to return, up to its declared maximum.",
              "format": "int64",
              "maximum": 1000,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "A filter of the page's view section, as key:value, repeatable: a catalog key the section declares (keep, select, days, amount or toggle), or hide.&lt;field&gt;:&lt;value&gt;.",
            "explode": true,
            "in": "query",
            "name": "filter",
            "schema": {
              "description": "A filter of the page's view section, as key:value, repeatable: a catalog key the section declares (keep, select, days, amount or toggle), or hide.&lt;field&gt;:&lt;value&gt;.",
              "items": {
                "type": "string"
              },
              "maxItems": 50,
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Read and answer only these sections of the page, by name, repeatable. Absent: every section the page serves unasked; a section read only on request is answered only when named. A name the page does not declare, or a section that needs one left out, is 400.",
            "explode": true,
            "in": "query",
            "name": "sections",
            "schema": {
              "description": "Read and answer only these sections of the page, by name, repeatable. Absent: every section the page serves unasked; a section read only on request is answered only when named. A name the page does not declare, or a section that needs one left out, is 400.",
              "items": {
                "type": "string"
              },
              "maxItems": 32,
              "type": [
                "array",
                "null"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordPageAnswer"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read a declared Records page",
        "tags": [
          "pages"
        ]
      }
    },
    "/records/pages/policy_open/stream": {
      "get": {
        "description": "The page's read, with each section sent as it settles: a section frame per section, then one page frame. A stream that ends with no page frame failed: every section it did not send is unavailable.",
        "operationId": "streamPage_policy_open",
        "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 existing instance key of the record to open. Absent on a register page.",
            "explode": false,
            "in": "query",
            "name": "record",
            "schema": {
              "description": "The existing instance key of the record to open. Absent on a register page.",
              "type": "string"
            }
          },
          {
            "description": "The account a claim or policy page is opened from (its instance or bk1_ key). Required on a claim or policy page and refused on any other. A policy page finds only a policy of this account.",
            "explode": false,
            "in": "query",
            "name": "account",
            "schema": {
              "description": "The account a claim or policy page is opened from (its instance or bk1_ key). Required on a claim or policy page and refused on any other. A policy page finds only a policy of this account.",
              "type": "string"
            }
          },
          {
            "description": "Maximum rows requested per paged source. Defaults to 25.",
            "explode": false,
            "in": "query",
            "name": "window",
            "schema": {
              "description": "Maximum rows requested per paged source. Defaults to 25.",
              "format": "int64",
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "A sort the page's view section declares. Absent: its default sort.",
            "explode": false,
            "in": "query",
            "name": "sort",
            "schema": {
              "description": "A sort the page's view section declares. Absent: its default sort.",
              "maxLength": 64,
              "type": "string"
            }
          },
          {
            "description": "Position in the view section's ordered rows: the previous answer's next.",
            "explode": false,
            "in": "query",
            "name": "offset",
            "schema": {
              "description": "Position in the view section's ordered rows: the previous answer's next.",
              "format": "int64",
              "maximum": 1000000000,
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "Rows of the view section to return, up to its declared maximum.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Rows of the view section to return, up to its declared maximum.",
              "format": "int64",
              "maximum": 1000,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "A filter of the page's view section, as key:value, repeatable: a catalog key the section declares (keep, select, days, amount or toggle), or hide.&lt;field&gt;:&lt;value&gt;.",
            "explode": true,
            "in": "query",
            "name": "filter",
            "schema": {
              "description": "A filter of the page's view section, as key:value, repeatable: a catalog key the section declares (keep, select, days, amount or toggle), or hide.&lt;field&gt;:&lt;value&gt;.",
              "items": {
                "type": "string"
              },
              "maxItems": 50,
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Read and answer only these sections of the page, by name, repeatable. Absent: every section the page serves unasked; a section read only on request is answered only when named. A name the page does not declare, or a section that needs one left out, is 400.",
            "explode": true,
            "in": "query",
            "name": "sections",
            "schema": {
              "description": "Read and answer only these sections of the page, by name, repeatable. Absent: every section the page serves unasked; a section read only on request is answered only when named. A name the page does not declare, or a section that needs one left out, is 400.",
              "items": {
                "type": "string"
              },
              "maxItems": 32,
              "type": [
                "array",
                "null"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "text/event-stream": {
                "schema": {
                  "$ref": "#/components/schemas/RecordPageFrame"
                }
              }
            },
            "description": "An event stream. Each message carries id (the resume cursor), event (the frame type) and data (one RecordPageFrame as JSON). `: ka` comments keep an idle stream open; a final `: end` comment closes the server's window, after which the reader resubscribes with after= its last id if it needs more."
          },
          "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": []
          }
        ],
        "summary": "Stream a declared Records page",
        "tags": [
          "pages"
        ]
      }
    },
    "/records/pages/today": {
      "get": {
        "description": "Read a declared Records page",
        "operationId": "readPage_today",
        "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 existing instance key of the record to open. Absent on a register page.",
            "explode": false,
            "in": "query",
            "name": "record",
            "schema": {
              "description": "The existing instance key of the record to open. Absent on a register page.",
              "type": "string"
            }
          },
          {
            "description": "The account a claim or policy page is opened from (its instance or bk1_ key). Required on a claim or policy page and refused on any other. A policy page finds only a policy of this account.",
            "explode": false,
            "in": "query",
            "name": "account",
            "schema": {
              "description": "The account a claim or policy page is opened from (its instance or bk1_ key). Required on a claim or policy page and refused on any other. A policy page finds only a policy of this account.",
              "type": "string"
            }
          },
          {
            "description": "Maximum rows requested per paged source. Defaults to 25.",
            "explode": false,
            "in": "query",
            "name": "window",
            "schema": {
              "description": "Maximum rows requested per paged source. Defaults to 25.",
              "format": "int64",
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "A sort the page's view section declares. Absent: its default sort.",
            "explode": false,
            "in": "query",
            "name": "sort",
            "schema": {
              "description": "A sort the page's view section declares. Absent: its default sort.",
              "maxLength": 64,
              "type": "string"
            }
          },
          {
            "description": "Position in the view section's ordered rows: the previous answer's next.",
            "explode": false,
            "in": "query",
            "name": "offset",
            "schema": {
              "description": "Position in the view section's ordered rows: the previous answer's next.",
              "format": "int64",
              "maximum": 1000000000,
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "Rows of the view section to return, up to its declared maximum.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Rows of the view section to return, up to its declared maximum.",
              "format": "int64",
              "maximum": 1000,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "A filter of the page's view section, as key:value, repeatable: a catalog key the section declares (keep, select, days, amount or toggle), or hide.&lt;field&gt;:&lt;value&gt;.",
            "explode": true,
            "in": "query",
            "name": "filter",
            "schema": {
              "description": "A filter of the page's view section, as key:value, repeatable: a catalog key the section declares (keep, select, days, amount or toggle), or hide.&lt;field&gt;:&lt;value&gt;.",
              "items": {
                "type": "string"
              },
              "maxItems": 50,
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Read and answer only these sections of the page, by name, repeatable. Absent: every section the page serves unasked; a section read only on request is answered only when named. A name the page does not declare, or a section that needs one left out, is 400.",
            "explode": true,
            "in": "query",
            "name": "sections",
            "schema": {
              "description": "Read and answer only these sections of the page, by name, repeatable. Absent: every section the page serves unasked; a section read only on request is answered only when named. A name the page does not declare, or a section that needs one left out, is 400.",
              "items": {
                "type": "string"
              },
              "maxItems": 32,
              "type": [
                "array",
                "null"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordPageAnswer"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read a declared Records page",
        "tags": [
          "pages"
        ]
      }
    },
    "/records/personnel": {
      "get": {
        "description": "Views: list, full. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listPolicySourceView4",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "The exact policy to admit before source reads.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "The exact policy to admit before source reads.",
              "type": "string"
            }
          },
          {
            "description": "The requested business projection.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "default": "list",
              "description": "The requested business projection.",
              "enum": [
                "list",
                "full"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read personnel",
        "tags": [
          "policy_personnel"
        ]
      }
    },
    "/records/placement-approaches": {
      "get": {
        "description": "Navigator's stored placement approaches, owner-scoped as the Navigator store read is, each filter applied before the page.",
        "operationId": "listPlacementApproaches",
        "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": "Page size, bounded by the API.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size, bounded by the API.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "Continue with page.next from the same collection.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "Continue with page.next from the same collection.",
              "type": "string"
            }
          },
          {
            "description": "Include the exact count of the filtered and authorized relation, before the cursor.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "Include the exact count of the filtered and authorized relation, before the cursor.",
              "type": "boolean"
            }
          },
          {
            "description": "Rows on these accounts, repeatable.",
            "explode": true,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "Rows on these accounts, repeatable.",
              "items": {
                "type": "string"
              },
              "maxItems": 200,
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Rows in this placement cycle.",
            "explode": false,
            "in": "query",
            "name": "cycle_id",
            "schema": {
              "description": "Rows in this placement cycle.",
              "type": "string"
            }
          },
          {
            "description": "Rows in this slot.",
            "explode": false,
            "in": "query",
            "name": "slot",
            "schema": {
              "description": "Rows in this slot.",
              "type": "string"
            }
          },
          {
            "description": "Rows for this market key.",
            "explode": false,
            "in": "query",
            "name": "market_key",
            "schema": {
              "description": "Rows for this market key.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListWorkbenchRow"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "List placement approaches",
        "tags": [
          "placement_choices"
        ]
      }
    },
    "/records/placement-approaches/{id}": {
      "get": {
        "description": "One stored row by its id, admitted as the Navigator store's keyed read is. An absent row and one the seat cannot read are one answer.",
        "operationId": "getPlacementApproach",
        "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 stored row id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The stored row id.",
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordWorkbenchRow"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read one of the placement approaches",
        "tags": [
          "placement_choices"
        ]
      }
    },
    "/records/placement-feedback": {
      "get": {
        "description": "The placement feedback events one run holds, oldest first by default, inside the caller's owner scope, with page and (on include_total) the exact count. A page of up to 1000 events lets a card restore a run's history in one read; complete says the response holds the whole stream.",
        "operationId": "listPlacementFeedbackReplay",
        "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 run whose feedback to replay (a UUID).",
            "explode": false,
            "in": "query",
            "name": "run_id",
            "required": true,
            "schema": {
              "description": "The run whose feedback to replay (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "Only events of this type.",
            "explode": false,
            "in": "query",
            "name": "event_type",
            "schema": {
              "description": "Only events of this type.",
              "type": "string"
            }
          },
          {
            "description": "asc (the default) is event order, the order a fold applies events in; desc is newest first.",
            "explode": false,
            "in": "query",
            "name": "order",
            "schema": {
              "description": "asc (the default) is event order, the order a fold applies events in; desc is newest first.",
              "enum": [
                "asc",
                "desc"
              ],
              "type": "string"
            }
          },
          {
            "description": "Include the exact count of the run's events inside the caller's scope, before the cursor.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "Include the exact count of the run's events inside the caller's scope, before the cursor.",
              "type": "boolean"
            }
          },
          {
            "description": "Page size. Defaults to 200; a larger value than 1000 is coerced to 1000 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 200; a larger value than 1000 is coerced to 1000 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlacementFeedbackReplay"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Replay a run's placement feedback",
        "tags": [
          "placement_feedback"
        ]
      }
    },
    "/records/placements": {
      "get": {
        "description": "One cursor page of placements (a policy term as it was placed, with the carrier and premium of the term before it) the acting seat may read, newest first by default.",
        "operationId": "listPlacements",
        "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": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Rows to skip, register views only: at most 1000000, not with cursor. A later page continues with page.next.",
            "explode": false,
            "in": "query",
            "name": "offset",
            "schema": {
              "description": "Rows to skip, register views only: at most 1000000, not with cursor. A later page continues with page.next.",
              "format": "int64",
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "A search over the account's name and the policy number.",
            "explode": false,
            "in": "query",
            "name": "q",
            "schema": {
              "description": "A search over the account's name and the policy number.",
              "type": "string"
            }
          },
          {
            "description": "The carrier, as the history names it.",
            "explode": false,
            "in": "query",
            "name": "carrier_name",
            "schema": {
              "description": "The carrier, as the history names it.",
              "type": "string"
            }
          },
          {
            "description": "The line of business.",
            "explode": false,
            "in": "query",
            "name": "line",
            "schema": {
              "description": "The line of business.",
              "type": "string"
            }
          },
          {
            "description": "The placements of one account (its instance key).",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "The placements of one account (its instance key).",
              "type": "string"
            }
          },
          {
            "description": "Default -term_effective_date, newest first.",
            "explode": false,
            "in": "query",
            "name": "sort",
            "schema": {
              "description": "Default -term_effective_date, newest first.",
              "enum": [
                "term_effective_date",
                "-term_effective_date",
                "term_expiration_date",
                "-term_expiration_date",
                "client_name",
                "-client_name",
                "carrier_name",
                "-carrier_name",
                "full_term_premium",
                "-full_term_premium"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListPlacement"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "List the placements in the subject's book",
        "tags": [
          "placements"
        ]
      }
    },
    "/records/placements/rollups/history": {
      "get": {
        "description": "The filtered placement count, the placements that changed carrier and by term kind, and their premium, under the same filters as GET /records/placements.",
        "operationId": "getPlacementsHistoryRollup",
        "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": "A search over the account's name and the policy number.",
            "explode": false,
            "in": "query",
            "name": "q",
            "schema": {
              "description": "A search over the account's name and the policy number.",
              "type": "string"
            }
          },
          {
            "description": "The carrier, as the history names it.",
            "explode": false,
            "in": "query",
            "name": "carrier_name",
            "schema": {
              "description": "The carrier, as the history names it.",
              "type": "string"
            }
          },
          {
            "description": "The line of business.",
            "explode": false,
            "in": "query",
            "name": "line",
            "schema": {
              "description": "The line of business.",
              "type": "string"
            }
          },
          {
            "description": "The placements of one account (its instance key).",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "The placements of one account (its instance key).",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordPlacementsHistoryRollup"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The placement history's side figures",
        "tags": [
          "placements"
        ]
      }
    },
    "/records/playbooks/view": {
      "get": {
        "description": "The person's saved filters, which the register's list applies when a request names no view filter, and every column the seat may show, its role's default columns and the columns this person shows. A field the seat's field classes withhold is never listed.",
        "operationId": "getPlaybooksView",
        "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"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRegisterView"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The acting person's playbooks filters and columns",
        "tags": [
          "register-views"
        ]
      },
      "put": {
        "description": "Writes the person's own row. Each filter must be one the register's list serves, with a value it takes; each column must be one of columns.available for this seat; anything else is refused with 422. A View as session is read-only here.",
        "operationId": "putPlaybooksView",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterViewWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRegisterView"
                }
              }
            },
            "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"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Save the acting person's playbooks filters and columns",
        "tags": [
          "register-views"
        ]
      }
    },
    "/records/policies": {
      "get": {
        "description": "One cursor page of policy terms the acting seat may read, narrowed by the subject and the filters: view=basic in expiration order, view=full the policy register.",
        "operationId": "listPolicies",
        "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": "Page size. Defaults to 25. For view=cancellations, larger values are coerced to 5000. view=basic accepts up to 10000; view=full, view=renewal and view=certificates_due accept up to 100. Values above each view's ceiling are reduced with a LIMIT_COERCED warning. AMS 360 bound-seat policy-number lookup accepts up to 200.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25. For view=cancellations, larger values are coerced to 5000. view=basic accepts up to 10000; view=full, view=renewal and view=certificates_due accept up to 100. Values above each view's ceiling are reduced with a LIMIT_COERCED warning. AMS 360 bound-seat policy-number lookup accepts up to 200.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "view=full. true reads the page's rows and page.next alone, and the answer says so with rows_only: true. total, facets, view and rollups are absent, never 0: the read does not count them. Not with include_total, facets or rollups (400 ROWS_ONLY_WITH_FIGURES). A cursor does not carry it: send it on every page of a rows-only list.",
            "explode": false,
            "in": "query",
            "name": "rows_only",
            "schema": {
              "description": "view=full. true reads the page's rows and page.next alone, and the answer says so with rows_only: true. total, facets, view and rollups are absent, never 0: the read does not count them. Not with include_total, facets or rollups (400 ROWS_ONLY_WITH_FIGURES). A cursor does not carry it: send it on every page of a rows-only list.",
              "type": "boolean"
            }
          },
          {
            "description": "view=full. true reads the figures alone, with no rows. total (with include_total), facets, view and rollups each match the full read's for the same filters; data is empty, page.next is absent and the answer says figures_only: true. The register statement keeps no page row. Not with rows_only, cursor or offset (400 FIGURES_ONLY_WITH_ROWS).",
            "explode": false,
            "in": "query",
            "name": "figures_only",
            "schema": {
              "description": "view=full. true reads the figures alone, with no rows. total (with include_total), facets, view and rollups each match the full read's for the same filters; data is empty, page.next is absent and the answer says figures_only: true. The register statement keeps no page row. Not with rows_only, cursor or offset (400 FIGURES_ONLY_WITH_ROWS).",
              "type": "boolean"
            }
          },
          {
            "description": "Rows to skip, register views only: at most 1000000, not with cursor. A later page continues with page.next.",
            "explode": false,
            "in": "query",
            "name": "offset",
            "schema": {
              "description": "Rows to skip, register views only: at most 1000000, not with cursor. A later page continues with page.next.",
              "format": "int64",
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "view=renewal. Exact Records policy identity.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "schema": {
              "description": "view=renewal. Exact Records policy identity.",
              "type": "string"
            }
          },
          {
            "description": "view=renewal. Keeps renewals at one workflow stage. not_recorded keeps those with no stage recorded; not_started keeps those too, beside the renewals recorded as not started. It matches the stage on record, not the stage the renewal page shows, so a row it keeps can show another stage.",
            "explode": false,
            "in": "query",
            "name": "stage",
            "schema": {
              "description": "view=renewal. Keeps renewals at one workflow stage. not_recorded keeps those with no stage recorded; not_started keeps those too, beside the renewals recorded as not started. It matches the stage on record, not the stage the renewal page shows, so a row it keeps can show another stage.",
              "enum": [
                "not_recorded",
                "not_started",
                "reviewing",
                "hold",
                "remarketing",
                "renewing_as_is",
                "quoted",
                "proposal_out",
                "bind_requested",
                "bound",
                "non_renewed",
                "lost",
                "closed"
              ],
              "type": "string"
            }
          },
          {
            "description": "view=renewal. Keeps renewals at one risk level. The read derives the level for each renewal (from its workflow stage and days to expiration, among other things); it is not a stored field.",
            "explode": false,
            "in": "query",
            "name": "risk",
            "schema": {
              "description": "view=renewal. Keeps renewals at one risk level. The read derives the level for each renewal (from its workflow stage and days to expiration, among other things); it is not a stored field.",
              "enum": [
                "at_risk",
                "watch",
                "steady"
              ],
              "type": "string"
            }
          },
          {
            "description": "view=renewal. Keeps renewals of one renewal nature. Sending it computes nature, risk and facets in SQL.",
            "explode": false,
            "in": "query",
            "name": "renewal_nature",
            "schema": {
              "description": "view=renewal. Keeps renewals of one renewal nature. Sending it computes nature, risk and facets in SQL.",
              "enum": [
                "renews",
                "one_time",
                "multi_year",
                "bond_continuous",
                "bond_term",
                "non_renewed"
              ],
              "type": "string"
            }
          },
          {
            "description": "view=renewal. only returns closed lines; absent excludes them from rows and facets.",
            "explode": false,
            "in": "query",
            "name": "closed",
            "schema": {
              "description": "view=renewal. only returns closed lines; absent excludes them from rows and facets.",
              "enum": [
                "only"
              ],
              "type": "string"
            }
          },
          {
            "description": "view=renewal. The renewal desk's assignee code.",
            "explode": false,
            "in": "query",
            "name": "desk_assigned_to",
            "schema": {
              "description": "view=renewal. The renewal desk's assignee code.",
              "type": "string"
            }
          },
          {
            "description": "view=renewal. issued keeps renewals with an issued certificate; contractor_board_due keeps those due a contractor board reminder this week. omit requires steps=omit and no facets, rollups or work view; certificates is then unreachable with reason not_requested. contractor_board_due fills renewal.contractor_board_reminder_on and reaches the 90-day reminder with days_to_expiration[lte] of 97 or more.",
            "explode": false,
            "in": "query",
            "name": "certificates",
            "schema": {
              "description": "view=renewal. issued keeps renewals with an issued certificate; contractor_board_due keeps those due a contractor board reminder this week. omit requires steps=omit and no facets, rollups or work view; certificates is then unreachable with reason not_requested. contractor_board_due fills renewal.contractor_board_reminder_on and reaches the 90-day reminder with days_to_expiration[lte] of 97 or more.",
              "enum": [
                "issued",
                "contractor_board_due",
                "omit"
              ],
              "type": "string"
            }
          },
          {
            "description": "view=renewal. only keeps renewals whose account and renewal period meet the retention focus rule. The rule is revenue plus fees of $10,000 or more for the period under one department line, so a seat whose field classes withhold carrier compensation is refused it with 403 FIELD_DENIED.",
            "explode": false,
            "in": "query",
            "name": "focus",
            "schema": {
              "description": "view=renewal. only keeps renewals whose account and renewal period meet the retention focus rule. The rule is revenue plus fees of $10,000 or more for the period under one department line, so a seat whose field classes withhold carrier compensation is refused it with 403 FIELD_DENIED.",
              "enum": [
                "only"
              ],
              "type": "string"
            }
          },
          {
            "description": "view=renewal. policy (default): one row per renewal; account: each account's nearest renewal.",
            "explode": false,
            "in": "query",
            "name": "grain",
            "schema": {
              "description": "view=renewal. policy (default): one row per renewal; account: each account's nearest renewal.",
              "enum": [
                "policy",
                "account"
              ],
              "type": "string"
            }
          },
          {
            "description": "view=renewal. Inclusive lower day bound, -30 to the window less one. It sits inside the days_to_expiration[lte] window. A sent value always applies, to the rows, the filtered total and the facets alike: 0 is from today and leaves out the renewals already past their expiration, a negative reaches that many days behind it (the register keeps renewals up to 30 days past expiration). Absent, there is no lower bound, unless days_to_expiration[lt] is sent: 1 or more bands the page only, from 0; 0 or below bands from -30 in the rows, total and facets.",
            "explode": false,
            "in": "query",
            "name": "days_to_expiration[gte]",
            "schema": {
              "description": "view=renewal. Inclusive lower day bound, -30 to the window less one. It sits inside the days_to_expiration[lte] window. A sent value always applies, to the rows, the filtered total and the facets alike: 0 is from today and leaves out the renewals already past their expiration, a negative reaches that many days behind it (the register keeps renewals up to 30 days past expiration). Absent, there is no lower bound, unless days_to_expiration[lt] is sent: 1 or more bands the page only, from 0; 0 or below bands from -30 in the rows, total and facets.",
              "pattern": "^-?[0-9]{1,3}$",
              "type": "string"
            }
          },
          {
            "description": "view=renewal. Exclusive upper day bound, -29 to the window (default the window). At 0 or below with days_to_expiration[gte] absent, the band starts 30 days back (the lookback), so lt=0 is the renewals past their date; at 0 or below it narrows the filtered total and the facets too.",
            "explode": false,
            "in": "query",
            "name": "days_to_expiration[lt]",
            "schema": {
              "description": "view=renewal. Exclusive upper day bound, -29 to the window (default the window). At 0 or below with days_to_expiration[gte] absent, the band starts 30 days back (the lookback), so lt=0 is the renewals past their date; at 0 or below it narrows the filtered total and the facets too.",
              "pattern": "^-?[0-9]{1,3}$",
              "type": "string"
            }
          },
          {
            "description": "view=renewal, repeatable. Keeps renewals in any of these states. It applies to the rows, the filtered total and the facets, and narrows the renewal_state, producer, client_manager, office, market, policy_line_of_business and carrier_attribution facets; the renewal_state facet does not leave out its own filter, so it counts only the states asked for.",
            "explode": true,
            "in": "query",
            "name": "renewal_state",
            "schema": {
              "description": "view=renewal, repeatable. Keeps renewals in any of these states. It applies to the rows, the filtered total and the facets, and narrows the renewal_state, producer, client_manager, office, market, policy_line_of_business and carrier_attribution facets; the renewal_state facet does not leave out its own filter, so it counts only the states asked for.",
              "items": {
                "enum": [
                  "open",
                  "information",
                  "remarketing",
                  "quoted",
                  "proposal_out",
                  "bind_requested",
                  "offer_in",
                  "renewed",
                  "overdue",
                  "renewed_then_cancelled",
                  "rewritten",
                  "lost",
                  "cancelled",
                  "non_renewed",
                  "confirm"
                ],
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "view=renewal. true: open work, the upcoming renewals the Renewals page lists; false: finished. Finished is renewed, lost and the like. It narrows the rows, the filtered total and the facets; with days_to_expiration[lt]=0, true is the open renewals past their date.",
            "explode": false,
            "in": "query",
            "name": "renewal_open",
            "schema": {
              "description": "view=renewal. true: open work, the upcoming renewals the Renewals page lists; false: finished. Finished is renewed, lost and the like. It narrows the rows, the filtered total and the facets; with days_to_expiration[lt]=0, true is the open renewals past their date.",
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "view=renewal. omit serves each row's standing without its renewal steps, and the step statement does not run. steps, next_step_key, next_step_label, next_status_key, next_step_due, next_step_args, available_decisions and hold_path are then unreachable with reason not_requested.",
            "explode": false,
            "in": "query",
            "name": "steps",
            "schema": {
              "description": "view=renewal. omit serves each row's standing without its renewal steps, and the step statement does not run. steps, next_step_key, next_step_label, next_status_key, next_step_due, next_step_args, available_decisions and hold_path are then unreachable with reason not_requested.",
              "enum": [
                "omit"
              ],
              "type": "string"
            }
          },
          {
            "description": "view=cancellations, required. The first cancellation effective date (YYYY-MM-DD).",
            "explode": false,
            "in": "query",
            "name": "cancellation_effective_date[gte]",
            "schema": {
              "description": "view=cancellations, required. The first cancellation effective date (YYYY-MM-DD).",
              "type": "string"
            }
          },
          {
            "description": "view=cancellations, required. The last cancellation effective date (YYYY-MM-DD), at most 366 days after the first.",
            "explode": false,
            "in": "query",
            "name": "cancellation_effective_date[lte]",
            "schema": {
              "description": "view=cancellations, required. The last cancellation effective date (YYYY-MM-DD), at most 366 days after the first.",
              "type": "string"
            }
          },
          {
            "description": "view=cancellations. Whether policies AMS 360 reinstated after their cancellation are kept. exclude (default) drops them; include keeps each with its reinstated_on; only keeps just those.",
            "explode": false,
            "in": "query",
            "name": "reinstated",
            "schema": {
              "description": "view=cancellations. Whether policies AMS 360 reinstated after their cancellation are kept. exclude (default) drops them; include keeps each with its reinstated_on; only keeps just those.",
              "enum": [
                "exclude",
                "include",
                "only"
              ],
              "type": "string"
            }
          },
          {
            "description": "view=cancellations, repeatable, at most 20. An office by name or agency code as the reader wrote it. Each resolves only against the offices the acting seat's scope reaches; one that reaches none is echoed as an OFFICE_NOT_VISIBLE warning and adds no rows.",
            "explode": true,
            "in": "query",
            "name": "office_name",
            "schema": {
              "description": "view=cancellations, repeatable, at most 20. An office by name or agency code as the reader wrote it. Each resolves only against the offices the acting seat's scope reaches; one that reaches none is echoed as an OFFICE_NOT_VISIBLE warning and adds no rows.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "A named work window with its own date bounds, order and row cap. Omit date/order/page-size parameters with this selector.",
            "explode": false,
            "in": "query",
            "name": "work_view",
            "schema": {
              "description": "A named work window with its own date bounds, order and row cap. Omit date/order/page-size parameters with this selector.",
              "enum": [
                "today",
                "market_insight",
                "certificates",
                "retention_review"
              ],
              "type": "string"
            }
          },
          {
            "description": "basic (default): policy terms; full: policy register; renewal: renewal register; certificates_due: renewals with certificates; cancellations: cancelled terms. basic: the policy term rows in expiration order; its limit goes up to 10000, for a walk of the whole relation. full: the register's rows with its filters, sorts and facets. renewal: the renewal register's rows (each term in force at the read pin expiring inside the window, with its renewal block). certificates_due: renewal rows whose policy carries a live certificate, soonest first, reading the subject, days_to_expiration[lte] (default 30), limit, offset and include_total. cancellations: the terms AMS 360 recorded a cancellation on inside cancellation_effective_date[gte] to [lte], oldest first, reading the subject, its own filters, world, policy_line_of_business, limit, offset, include_total and facets=office,office_covered.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "description": "basic (default): policy terms; full: policy register; renewal: renewal register; certificates_due: renewals with certificates; cancellations: cancelled terms. basic: the policy term rows in expiration order; its limit goes up to 10000, for a walk of the whole relation. full: the register's rows with its filters, sorts and facets. renewal: the renewal register's rows (each term in force at the read pin expiring inside the window, with its renewal block). certificates_due: renewal rows whose policy carries a live certificate, soonest first, reading the subject, days_to_expiration[lte] (default 30), limit, offset and include_total. cancellations: the terms AMS 360 recorded a cancellation on inside cancellation_effective_date[gte] to [lte], oldest first, reading the subject, its own filters, world, policy_line_of_business, limit, offset, include_total and facets=office,office_covered.",
              "enum": [
                "basic",
                "full",
                "renewal",
                "certificates_due",
                "cancellations"
              ],
              "type": "string"
            }
          },
          {
            "description": "Keeps policies whose line of business equals this text. view=basic matches it exactly; view=full, view=renewal and view=cancellations ignore case. view=certificates_due and account_scope=register do not take it.",
            "explode": false,
            "in": "query",
            "name": "policy_line_of_business",
            "schema": {
              "description": "Keeps policies whose line of business equals this text. view=basic matches it exactly; view=full, view=renewal and view=cancellations ignore case. view=certificates_due and account_scope=register do not take it.",
              "type": "string"
            }
          },
          {
            "description": "view=full and view=renewal. Repeatable: products to keep (ids or names, GET /records/products). OR within product and product_type, AND with other filters. An id outside the org's list is a 400 (UNKNOWN_PRODUCT); an unreadable list is a 503 (PRODUCT_LIST_UNAVAILABLE); a live AMS 360 read, which carries no product, is a 424 (FILTER_NOT_IN_SOURCE). The product facet's No product value (the org's unknown member, the source's own no-product row) selects the policies recorded with no product. Not with hide.product or hide.product_type.",
            "explode": true,
            "in": "query",
            "name": "product",
            "schema": {
              "description": "view=full and view=renewal. Repeatable: products to keep (ids or names, GET /records/products). OR within product and product_type, AND with other filters. An id outside the org's list is a 400 (UNKNOWN_PRODUCT); an unreadable list is a 503 (PRODUCT_LIST_UNAVAILABLE); a live AMS 360 read, which carries no product, is a 424 (FILTER_NOT_IN_SOURCE). The product facet's No product value (the org's unknown member, the source's own no-product row) selects the policies recorded with no product. Not with hide.product or hide.product_type.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "view=full and view=renewal. Repeatable: product types to keep (type:&lt;name&gt;, from GET /records/products). OR'd with product. A type outside the org's list is a 400 (UNKNOWN_PRODUCT_TYPE); otherwise refused as product is.",
            "explode": true,
            "in": "query",
            "name": "product_type",
            "schema": {
              "description": "view=full and view=renewal. Repeatable: product types to keep (type:&lt;name&gt;, from GET /records/products). OR'd with product. A type outside the org's list is a 400 (UNKNOWN_PRODUCT_TYPE); otherwise refused as product is.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Terms expiring within this many days: renewal and full 1 to 400 (default the seat's horizon); basic 1 to 365; certificates_due default 30. Days are counted from the read date; the seat's horizon is its renewal_horizon_days. basic: 1 to 365 with no default; the window always ends that many days after the read date, and policy_expiration_date[gte] moves only its start (policy_expiration_date[lte], when sent, is the end in place of it). full: the window of status=expiring (1 to 400, default is the seat renewal_horizon_days). renewal: 1 to 400, default is the seat renewal_horizon_days. certificates_due: 1 to 400, default 30. view=cancellations does not take it.",
            "explode": false,
            "in": "query",
            "name": "days_to_expiration[lte]",
            "schema": {
              "description": "Terms expiring within this many days: renewal and full 1 to 400 (default the seat's horizon); basic 1 to 365; certificates_due default 30. Days are counted from the read date; the seat's horizon is its renewal_horizon_days. basic: 1 to 365 with no default; the window always ends that many days after the read date, and policy_expiration_date[gte] moves only its start (policy_expiration_date[lte], when sent, is the end in place of it). full: the window of status=expiring (1 to 400, default is the seat renewal_horizon_days). renewal: 1 to 400, default is the seat renewal_horizon_days. certificates_due: 1 to 400, default 30. view=cancellations does not take it.",
              "pattern": "^[0-9]{1,3}$",
              "patternDescription": "a whole number of days: 1 to 400 for view=renewal and view=full (leave it out for the seat's renewal horizon), 1 to 365 for view=basic",
              "type": "string"
            }
          },
          {
            "description": "view=basic and view=renewal. The policies of one account (its instance key).",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "view=basic and view=renewal. The policies of one account (its instance key).",
              "type": "string"
            }
          },
          {
            "description": "view=basic. The policies of these accounts: the parameter repeated once per account id or comma-separated ids, at most 200, read as one statement per page. An id the subject cannot read adds no row. Not with account_id or account_scope. Each row serves its identity half without the premium (number, line, carrier, dates, owners, in force) unless include=term.",
            "explode": true,
            "in": "query",
            "name": "account_id[in]",
            "schema": {
              "description": "view=basic. The policies of these accounts: the parameter repeated once per account id or comma-separated ids, at most 200, read as one statement per page. An id the subject cannot read adds no row. Not with account_id or account_scope. Each row serves its identity half without the premium (number, line, carrier, dates, owners, in force) unless include=term.",
              "items": {
                "type": "string"
              },
              "maxItems": 200,
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "view=basic with account_id[in]: term adds each row's term half (the premium with its quality and basis) and product.",
            "explode": false,
            "in": "query",
            "name": "include",
            "schema": {
              "description": "view=basic with account_id[in]: term adds each row's term half (the premium with its quality and basis) and product.",
              "enum": [
                "term"
              ],
              "type": "string"
            }
          },
          {
            "description": "view=basic with account_id. all (default): every term on the account, the policies read. register: the account's policies as the account detail serves them (the seat's register scope, with the account executive, representative and revenue columns), in one page; it takes no date, line, instance or cursor.",
            "explode": false,
            "in": "query",
            "name": "account_scope",
            "schema": {
              "description": "view=basic with account_id. all (default): every term on the account, the policies read. register: the account's policies as the account detail serves them (the seat's register scope, with the account executive, representative and revenue columns), in one page; it takes no date, line, instance or cursor.",
              "enum": [
                "all",
                "register"
              ],
              "type": "string"
            }
          },
          {
            "description": "view=basic. Terms expiring on or after this date (YYYY-MM-DD or RFC 3339).",
            "explode": false,
            "in": "query",
            "name": "policy_expiration_date[gte]",
            "schema": {
              "description": "view=basic. Terms expiring on or after this date (YYYY-MM-DD or RFC 3339).",
              "type": "string"
            }
          },
          {
            "description": "view=basic. Terms expiring on or before this date (YYYY-MM-DD or RFC 3339).",
            "explode": false,
            "in": "query",
            "name": "policy_expiration_date[lte]",
            "schema": {
              "description": "view=basic. Terms expiring on or before this date (YYYY-MM-DD or RFC 3339).",
              "type": "string"
            }
          },
          {
            "description": "view=basic. The source instance (datasource) the policies were read from.",
            "explode": false,
            "in": "query",
            "name": "instance",
            "schema": {
              "description": "view=basic. The source instance (datasource) the policies were read from.",
              "type": "string"
            }
          },
          {
            "description": "basic: exact number. Matching ignores case, spaces and punctuation. AMS 360 bound seats: this filter plus subject and pagination only, up to 200 rows per page.",
            "explode": false,
            "in": "query",
            "name": "policy_number",
            "schema": {
              "description": "basic: exact number. Matching ignores case, spaces and punctuation. AMS 360 bound seats: this filter plus subject and pagination only, up to 200 rows per page.",
              "type": "string"
            }
          },
          {
            "description": "view=basic. In force on date.",
            "explode": false,
            "in": "query",
            "name": "active_on",
            "schema": {
              "description": "view=basic. In force on date.",
              "type": "string"
            }
          },
          {
            "description": "view=basic. Up to 100 policy ids.",
            "explode": true,
            "in": "query",
            "name": "id",
            "schema": {
              "description": "view=basic. Up to 100 policy ids.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "view=full. A prefix of the policy number or of the account's name.",
            "explode": false,
            "in": "query",
            "name": "q",
            "schema": {
              "description": "view=full. A prefix of the policy number or of the account's name.",
              "type": "string"
            }
          },
          {
            "description": "view=full: absent, hide.status applies; expiring: in force and within days_to_expiration[lte]. view=basic takes in_force (terms in force on the read date; an active_on you send wins) and all (no filter, the basic default); expiring is a 400 there.",
            "explode": false,
            "in": "query",
            "name": "status",
            "schema": {
              "description": "view=full: absent, hide.status applies; expiring: in force and within days_to_expiration[lte]. view=basic takes in_force (terms in force on the read date; an active_on you send wins) and all (no filter, the basic default); expiring is a 400 there.",
              "enum": [
                "in_force",
                "expiring",
                "all"
              ],
              "type": "string"
            }
          },
          {
            "description": "view=full. Statuses to hide, comma-separated: in_force, ended (expired or not yet in force), cancelled, or none. Default cancelled,ended, which keeps in-force terms. Not with status. Left out with status, world and the other hide filter, the person's saved view or the default applies. The view block counts each status under every other filter.",
            "explode": false,
            "in": "query",
            "name": "hide.status",
            "schema": {
              "description": "view=full. Statuses to hide, comma-separated: in_force, ended (expired or not yet in force), cancelled, or none. Default cancelled,ended, which keeps in-force terms. Not with status. Left out with status, world and the other hide filter, the person's saved view or the default applies. The view block counts each status under every other filter.",
              "type": "string"
            }
          },
          {
            "description": "view=full. Worlds to hide, comma-separated: commercial, personal, benefits, life, other, or none. Default none. Not with world. Left out with status, world and the other hide filter, the person's saved view or the default applies.",
            "explode": false,
            "in": "query",
            "name": "hide.world",
            "schema": {
              "description": "view=full. Worlds to hide, comma-separated: commercial, personal, benefits, life, other, or none. Default none. Not with world. Left out with status, world and the other hide filter, the person's saved view or the default applies.",
              "type": "string"
            }
          },
          {
            "description": "view=full and view=renewal. Repeatable: products to hide, each a product id or name (GET /records/products) or a value facets=product returns, its No product value (the org's unknown member) included; none hides nothing. A policy is hidden when its product is one of them; a policy with no product row stays. Not with product or product_type. Default none; a saved view does not carry it. Refused as product is: an id outside the org's list is a 400 (UNKNOWN_PRODUCT), an unreadable list a 503 (PRODUCT_LIST_UNAVAILABLE), a live AMS 360 read a 424 (FILTER_NOT_IN_SOURCE). The product facet counts without it, and on view=full the view block's hidden.by_filter[hide.product] counts the policies it hides.",
            "explode": true,
            "in": "query",
            "name": "hide.product",
            "schema": {
              "description": "view=full and view=renewal. Repeatable: products to hide, each a product id or name (GET /records/products) or a value facets=product returns, its No product value (the org's unknown member) included; none hides nothing. A policy is hidden when its product is one of them; a policy with no product row stays. Not with product or product_type. Default none; a saved view does not carry it. Refused as product is: an id outside the org's list is a 400 (UNKNOWN_PRODUCT), an unreadable list a 503 (PRODUCT_LIST_UNAVAILABLE), a live AMS 360 read a 424 (FILTER_NOT_IN_SOURCE). The product facet counts without it, and on view=full the view block's hidden.by_filter[hide.product] counts the policies it hides.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "view=full and view=renewal. Repeatable: product types to hide (type:&lt;name&gt;, from GET /records/products), each standing for every product of the type; with hide.product, a policy is hidden when either names its product. Not with product or product_type. A type outside the org's list is a 400 (UNKNOWN_PRODUCT_TYPE); otherwise refused as hide.product is.",
            "explode": true,
            "in": "query",
            "name": "hide.product_type",
            "schema": {
              "description": "view=full and view=renewal. Repeatable: product types to hide (type:&lt;name&gt;, from GET /records/products), each standing for every product of the type; with hide.product, a policy is hidden when either names its product. Not with product or product_type. A type outside the org's list is a 400 (UNKNOWN_PRODUCT_TYPE); otherwise refused as hide.product is.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "view=full and view=renewal. One book; all is every book. With no book named, view=renewal leaves out benefits and life renewals (a renewal list is a property and casualty desk's); view=full reads every book; view=cancellations reads every book unless one is named.",
            "explode": false,
            "in": "query",
            "name": "world",
            "schema": {
              "description": "view=full and view=renewal. One book; all is every book. With no book named, view=renewal leaves out benefits and life renewals (a renewal list is a property and casualty desk's); view=full reads every book; view=cancellations reads every book unless one is named.",
              "enum": [
                "commercial",
                "personal",
                "benefits",
                "life",
                "other",
                "all"
              ],
              "type": "string"
            }
          },
          {
            "description": "view=full. The carrier, as the register names it.",
            "explode": false,
            "in": "query",
            "name": "carrier_attribution",
            "schema": {
              "description": "view=full. The carrier, as the register names it.",
              "type": "string"
            }
          },
          {
            "description": "view=full. The AM Best rating of each policy's writing company, from the agency's company list. not_rated: AM Best's own NR, the carriers a signed non-AM Best placement acknowledgement covers. not_on_file: the writing company has no AM Best rating on file (often an intermediary in the writing company field), so its rating is unknown. Each row then carries am_best_company, the writing company whose rating matched. The live AMS 360 read refuses it (FILTER_NOT_IN_SOURCE).",
            "explode": false,
            "in": "query",
            "name": "am_best_rating",
            "schema": {
              "description": "view=full. The AM Best rating of each policy's writing company, from the agency's company list. not_rated: AM Best's own NR, the carriers a signed non-AM Best placement acknowledgement covers. not_on_file: the writing company has no AM Best rating on file (often an intermediary in the writing company field), so its rating is unknown. Each row then carries am_best_company, the writing company whose rating matched. The live AMS 360 read refuses it (FILTER_NOT_IN_SOURCE).",
              "enum": [
                "not_rated",
                "not_on_file"
              ],
              "type": "string"
            }
          },
          {
            "description": "view=full. A reporting market; all is no filter.",
            "explode": false,
            "in": "query",
            "name": "market",
            "schema": {
              "description": "view=full. A reporting market; all is no filter.",
              "type": "string"
            }
          },
          {
            "description": "view=full: an office by name or agency code. A name resolves only against the offices the acting seat's scope reaches and narrows to every office it names, echoed as an OFFICE_RESOLVED warning with each office's label and code; a name that reaches none reads no rows and is echoed as OFFICE_NOT_VISIBLE. view=renewal: an office (agency) code.",
            "explode": false,
            "in": "query",
            "name": "office",
            "schema": {
              "description": "view=full: an office by name or agency code. A name resolves only against the offices the acting seat's scope reaches and narrows to every office it names, echoed as an OFFICE_RESOLVED warning with each office's label and code; a name that reaches none reads no rows and is echoed as OFFICE_NOT_VISIBLE. view=renewal: an office (agency) code.",
              "type": "string"
            }
          },
          {
            "description": "view=full. Premium floor in whole dollars.",
            "explode": false,
            "in": "query",
            "name": "full_term_premium_effective[gte]",
            "schema": {
              "description": "view=full. Premium floor in whole dollars.",
              "pattern": "^[0-9]{1,12}$",
              "type": "string"
            }
          },
          {
            "description": "view=full and view=renewal. Words that each start a word of an owner's name, or equal an owner's AMS 360 code, in any order, at most 64 characters. It narrows the producer and client_manager facets' lists (search a list the facet cap cut) and selects no policy, moves no count and reads under the same admission. With facets=producer or facets=client_manager at limit=1 it is the one-facet read.",
            "explode": false,
            "in": "query",
            "name": "owner_q",
            "schema": {
              "description": "view=full and view=renewal. Words that each start a word of an owner's name, or equal an owner's AMS 360 code, in any order, at most 64 characters. It narrows the producer and client_manager facets' lists (search a list the facet cap cut) and selects no policy, moves no count and reads under the same admission. With facets=producer or facets=client_manager at limit=1 it is the one-facet read.",
              "maxLength": 64,
              "type": "string"
            }
          },
          {
            "description": "Sort key (default policy_expiration_date; view=basic: only it). view=cancellations sorts by cancelled_on (its default, ascending), account_name, office or cancel_type, a leading - reversing the key; every other view refuses those three keys, and view=cancellations refuses the other keys. raw_producer_name sorts view=full only. contractor_board_reminder_on sorts view=renewal with certificates=contractor_board_due only, by the day each reminder is due.",
            "explode": false,
            "in": "query",
            "name": "sort",
            "schema": {
              "description": "Sort key (default policy_expiration_date; view=basic: only it). view=cancellations sorts by cancelled_on (its default, ascending), account_name, office or cancel_type, a leading - reversing the key; every other view refuses those three keys, and view=cancellations refuses the other keys. raw_producer_name sorts view=full only. contractor_board_reminder_on sorts view=renewal with certificates=contractor_board_due only, by the day each reminder is due.",
              "enum": [
                "policy_expiration_date",
                "-policy_expiration_date",
                "policy_number",
                "-policy_number",
                "account_name",
                "-account_name",
                "carrier_attribution",
                "-carrier_attribution",
                "full_term_premium_effective",
                "-full_term_premium_effective",
                "account_executive_name",
                "-account_executive_name",
                "account_representative_name",
                "-account_representative_name",
                "raw_producer_name",
                "-raw_producer_name",
                "contractor_board_reminder_on",
                "-contractor_board_reminder_on",
                "cancelled_on",
                "-cancelled_on",
                "office",
                "-office",
                "cancel_type",
                "-cancel_type"
              ],
              "type": "string"
            }
          },
          {
            "description": "The admitted account policy whose renewal workspace is requested. Requires account_id and rollups=renewal_workspace. Absent selects the soonest-expiring admitted term.",
            "explode": false,
            "in": "query",
            "name": "workspace_policy_id",
            "schema": {
              "description": "The admitted account policy whose renewal workspace is requested. Requires account_id and rollups=renewal_workspace. Absent selects the soonest-expiring admitted term.",
              "type": "string"
            }
          },
          {
            "description": "view=basic with account_id: renewal_workspace answers the selected term workspace; the page is the account's register terms, under either account_scope. view=full: register answers its side figures in rollups.register. view=renewal: renewals answers its counts and figures in rollups.renewals. Each uses the page's own read.",
            "explode": false,
            "in": "query",
            "name": "rollups",
            "schema": {
              "description": "view=basic with account_id: renewal_workspace answers the selected term workspace; the page is the account's register terms, under either account_scope. view=full: register answers its side figures in rollups.register. view=renewal: renewals answers its counts and figures in rollups.renewals. Each uses the page's own read.",
              "items": {
                "enum": [
                  "register",
                  "renewals",
                  "renewal_step",
                  "renewal_workspace"
                ],
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Facets to count over the filtered policies, on view=full, renewal and cancellations. Each owner, org, carrier and product facet is counted without its own filter, and so is renewal_open (view=renewal: the open, true, and finished, false, renewals under the serving derivation, so a page filtered to renewal_open=true still counts the finished ones). view=full counts producer, client_manager, office, market, carrier_attribution, product (each product name the policies carry, once per name, parent its type; an id outside the org's list is kept with no parent, the org's unknown member labeled No product and any other labeled by its id) and product_type (each type, summed over its products), status and world (each counted without its own filter, the counts the view block shows), and a view=full request at limit=1, with no offset, cursor, include_total or rollups, whose only facets are office and market is the office list: it reads the org facet alone and serves no rows, total or view block; the same request naming exactly one of producer, client_manager, carrier_attribution, product, product_type, status or world, with no rows_only or figures_only, counts that facet alone, the full read's count for the same filters, and serves no rows, total or view block; view=renewal counts every one but office_covered (a view=renewal request at limit=1, with no offset, cursor or rollups, whose only facets are office and market is the office list: it reads the summary alone and serves no rows); view=cancellations counts office (every office the scope reaches, with its cancellations) and office_covered (the offices the rows were read from). The stage facet counts the stage on record, not the stage the renewal page shows.",
            "explode": false,
            "in": "query",
            "name": "facets",
            "schema": {
              "description": "Facets to count over the filtered policies, on view=full, renewal and cancellations. Each owner, org, carrier and product facet is counted without its own filter, and so is renewal_open (view=renewal: the open, true, and finished, false, renewals under the serving derivation, so a page filtered to renewal_open=true still counts the finished ones). view=full counts producer, client_manager, office, market, carrier_attribution, product (each product name the policies carry, once per name, parent its type; an id outside the org's list is kept with no parent, the org's unknown member labeled No product and any other labeled by its id) and product_type (each type, summed over its products), status and world (each counted without its own filter, the counts the view block shows), and a view=full request at limit=1, with no offset, cursor, include_total or rollups, whose only facets are office and market is the office list: it reads the org facet alone and serves no rows, total or view block; the same request naming exactly one of producer, client_manager, carrier_attribution, product, product_type, status or world, with no rows_only or figures_only, counts that facet alone, the full read's count for the same filters, and serves no rows, total or view block; view=renewal counts every one but office_covered (a view=renewal request at limit=1, with no offset, cursor or rollups, whose only facets are office and market is the office list: it reads the summary alone and serves no rows); view=cancellations counts office (every office the scope reaches, with its cancellations) and office_covered (the offices the rows were read from). The stage facet counts the stage on record, not the stage the renewal page shows.",
              "items": {
                "enum": [
                  "producer",
                  "client_manager",
                  "office",
                  "market",
                  "carrier_attribution",
                  "product",
                  "product_type",
                  "policy_line_of_business",
                  "status",
                  "world",
                  "renewal_nature",
                  "risk",
                  "stage",
                  "renewal_state",
                  "renewal_open",
                  "office_covered"
                ],
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyList"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "List the policies in the subject's book",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/rollups/register": {
      "get": {
        "description": "The filtered policy count, the filtered slice, the book totals and the book's facet counts over the subject's policies, under the same filters as GET /records/policies?view=full.",
        "operationId": "getPolicyRegisterRollup",
        "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"
              ]
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "policy_line_of_business",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The window of status=expiring (1 to 400, default is the seat renewal_horizon_days).",
            "explode": false,
            "in": "query",
            "name": "days_to_expiration[lte]",
            "schema": {
              "description": "The window of status=expiring (1 to 400, default is the seat renewal_horizon_days).",
              "pattern": "^[0-9]{1,3}$",
              "patternDescription": "a whole number of days, 1 to 400; leave it out for the seat's renewal horizon",
              "type": "string"
            }
          },
          {
            "description": "A prefix of the policy number or of the account's name.",
            "explode": false,
            "in": "query",
            "name": "q",
            "schema": {
              "description": "A prefix of the policy number or of the account's name.",
              "type": "string"
            }
          },
          {
            "description": "Absent means hide.status, whose default keeps in_force.",
            "explode": false,
            "in": "query",
            "name": "status",
            "schema": {
              "description": "Absent means hide.status, whose default keeps in_force.",
              "enum": [
                "in_force",
                "expiring",
                "all"
              ],
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "world",
            "schema": {
              "enum": [
                "commercial",
                "personal",
                "benefits",
                "life",
                "other"
              ],
              "type": "string"
            }
          },
          {
            "description": "Statuses to hide, comma-separated: in_force, ended, cancelled, or none. Default cancelled,ended. Not with status.",
            "explode": false,
            "in": "query",
            "name": "hide.status",
            "schema": {
              "description": "Statuses to hide, comma-separated: in_force, ended, cancelled, or none. Default cancelled,ended. Not with status.",
              "type": "string"
            }
          },
          {
            "description": "Worlds to hide, comma-separated: commercial, personal, benefits, life, other, or none. Default none. Not with world.",
            "explode": false,
            "in": "query",
            "name": "hide.world",
            "schema": {
              "description": "Worlds to hide, comma-separated: commercial, personal, benefits, life, other, or none. Default none. Not with world.",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "carrier_attribution",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "market",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "office",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Premium floor in whole dollars.",
            "explode": false,
            "in": "query",
            "name": "full_term_premium_effective[gte]",
            "schema": {
              "description": "Premium floor in whole dollars.",
              "pattern": "^[0-9]{1,12}$",
              "type": "string"
            }
          },
          {
            "description": "Repeatable: policies whose product is one of these org product ids.",
            "explode": true,
            "in": "query",
            "name": "product",
            "schema": {
              "description": "Repeatable: policies whose product is one of these org product ids.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Repeatable: policies whose product is of one of these product types; OR'd with product.",
            "explode": true,
            "in": "query",
            "name": "product_type",
            "schema": {
              "description": "Repeatable: policies whose product is of one of these product types; OR'd with product.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Repeatable: products to hide, as GET /records/policies?view=full reads them. Not with product or product_type.",
            "explode": true,
            "in": "query",
            "name": "hide.product",
            "schema": {
              "description": "Repeatable: products to hide, as GET /records/policies?view=full reads them. Not with product or product_type.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Repeatable: product types to hide. Not with product or product_type.",
            "explode": true,
            "in": "query",
            "name": "hide.product_type",
            "schema": {
              "description": "Repeatable: product types to hide. Not with product or product_type.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordPolicyRegisterRollup"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The policy register's side figures",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/rollups/renewal-steps": {
      "get": {
        "description": "One entry per requested term, in request order. AMS 360 reads allowed activities and completed suspenses on the term and its successor, newest wins (scope policy), then account activity only when those terms have no allowed step (scope account); open_step is the earliest-due open allowed suspense. ams, open_step and workbench are null when nothing is readable. No free-text notes are returned.",
        "operationId": "getPolicyRenewalStepsRollup",
        "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 terms to read, 1 to 200, comma separated, each &lt;policy id&gt;@&lt;YYYY-MM-DD&gt;: the policy term's id and the date its steps are read from (a register row's expiration less 150 days; a renewed term is read with its predecessor's date).",
            "explode": false,
            "in": "query",
            "name": "term[in]",
            "schema": {
              "description": "The terms to read, 1 to 200, comma separated, each &lt;policy id&gt;@&lt;YYYY-MM-DD&gt;: the policy term's id and the date its steps are read from (a register row's expiration less 150 days; a renewed term is read with its predecessor's date).",
              "items": {
                "type": "string"
              },
              "maxItems": 200,
              "minItems": 1,
              "type": [
                "array",
                "null"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordPolicyRenewalSteps"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The last recorded and open renewal steps of a page of terms",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/rollups/retention": {
      "get": {
        "description": "One row per account and renewal month with its revenue, owners and retention mark, the markets they were drawn from and the filters applied; a preset or an owner subject makes it the bounded leader account read. One bounded statement: past its ceiling it answers 424 SOURCE_UNAVAILABLE.",
        "operationId": "getPolicyRetentionRollup",
        "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": "One of the organization's market map platforms, any case. Absent: California, or every platform for a preset or an owner subject.",
            "explode": false,
            "in": "query",
            "name": "platform",
            "schema": {
              "description": "One of the organization's market map platforms, any case. Absent: California, or every platform for a preset or an owner subject.",
              "type": "string"
            }
          },
          {
            "description": "One of the platform's markets, or platform (the default).",
            "explode": false,
            "in": "query",
            "name": "market",
            "schema": {
              "description": "One of the platform's markets, or platform (the default).",
              "type": "string"
            }
          },
          {
            "description": "The renewal months, YYYY-MM, at most twelve. Absent: the read month and the next three.",
            "explode": false,
            "in": "query",
            "name": "expiration_month[in]",
            "schema": {
              "description": "The renewal months, YYYY-MM, at most twelve. Absent: the read month and the next three.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "The leader view's revenue floor in whole dollars (default 10000; none for a seat withheld carrier compensation, which is refused this filter). Not with a preset or an owner subject.",
            "explode": false,
            "in": "query",
            "name": "revenue[gte]",
            "schema": {
              "description": "The leader view's revenue floor in whole dollars (default 10000; none for a seat withheld carrier compensation, which is refused this filter). Not with a preset or an owner subject.",
              "pattern": "^[0-9]{1,12}$",
              "type": "string"
            }
          },
          {
            "description": "include keeps, labelled, the accounts the population exclusions drop. Not with a preset or an owner subject.",
            "explode": false,
            "in": "query",
            "name": "excluded",
            "schema": {
              "description": "include keeps, labelled, the accounts the population exclusions drop. Not with a preset or an owner subject.",
              "enum": [
                "include"
              ],
              "type": "string"
            }
          },
          {
            "description": "Talk track order, applied before its cap. Requires an owner subject without a preset. revenue is refused for a seat withheld carrier compensation.",
            "explode": false,
            "in": "query",
            "name": "sort",
            "schema": {
              "description": "Talk track order, applied before its cap. Requires an owner subject without a preset. revenue is refused for a seat withheld carrier compensation.",
              "enum": [
                "month",
                "revenue",
                "lastAction"
              ],
              "type": "string"
            }
          },
          {
            "description": "A bounded leader account read.",
            "explode": false,
            "in": "query",
            "name": "preset",
            "schema": {
              "description": "A bounded leader account read.",
              "enum": [
                "to_know",
                "needs_attention"
              ],
              "type": "string"
            }
          },
          {
            "description": "The bounded read's population rule (default revenue_10k, or all for a seat withheld carrier compensation, which is refused revenue_10k and top_quartile_by_count). Only with a preset or an owner subject.",
            "explode": false,
            "in": "query",
            "name": "focus",
            "schema": {
              "description": "The bounded read's population rule (default revenue_10k, or all for a seat withheld carrier compensation, which is refused revenue_10k and top_quartile_by_count). Only with a preset or an owner subject.",
              "enum": [
                "revenue_10k",
                "top_quartile_by_count",
                "all"
              ],
              "type": "string"
            }
          },
          {
            "description": "Account name search: the name holds these words, any case, spacing, punctuation and plural ignored. Narrows the rows the seat's book scope and owner subject admit, before the cap.",
            "explode": false,
            "in": "query",
            "name": "q",
            "schema": {
              "description": "Account name search: the name holds these words, any case, spacing, punctuation and plural ignored. Narrows the rows the seat's book scope and owner subject admit, before the cap.",
              "maxLength": 200,
              "type": "string"
            }
          },
          {
            "description": "Comma-separated outlooks to leave out: good, at_risk, lost, unmarked. Empty or none hides nothing. Left out with stale_only, the person's saved view or the default (nothing hidden) applies.",
            "explode": false,
            "in": "query",
            "name": "hide.outlook",
            "schema": {
              "description": "Comma-separated outlooks to leave out: good, at_risk, lost, unmarked. Empty or none hides nothing. Left out with stale_only, the person's saved view or the default (nothing hidden) applies.",
              "type": "string"
            }
          },
          {
            "description": "true keeps only the stale At Risk rows (at_risk_stale). Left out with hide.outlook, the person's saved view or the default (off) applies.",
            "explode": false,
            "in": "query",
            "name": "stale_only",
            "schema": {
              "description": "true keeps only the stale At Risk rows (at_risk_stale). Left out with hide.outlook, the person's saved view or the default (off) applies.",
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRetentionRenewalsRollup"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The retention leader view over the subject's renewals",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/rollups/retention/search": {
      "post": {
        "description": "GET /records/policies/rollups/retention 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": "getPolicyRetentionRollupSearch",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "excluded": {
                    "description": "include keeps, labelled, the accounts the population exclusions drop. Not with a preset or an owner subject.",
                    "enum": [
                      "include"
                    ],
                    "type": "string"
                  },
                  "expiration_month[in]": {
                    "description": "The renewal months, YYYY-MM, at most twelve. Absent: the read month and the next three.",
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "focus": {
                    "description": "The bounded read's population rule (default revenue_10k, or all for a seat withheld carrier compensation, which is refused revenue_10k and top_quartile_by_count). Only with a preset or an owner subject.",
                    "enum": [
                      "revenue_10k",
                      "top_quartile_by_count",
                      "all"
                    ],
                    "type": "string"
                  },
                  "hide.outlook": {
                    "description": "Comma-separated outlooks to leave out: good, at_risk, lost, unmarked. Empty or none hides nothing. Left out with stale_only, the person's saved view or the default (nothing hidden) applies.",
                    "type": "string"
                  },
                  "market": {
                    "description": "One of the platform's markets, or platform (the default).",
                    "type": "string"
                  },
                  "platform": {
                    "description": "One of the organization's market map platforms, any case. Absent: California, or every platform for a preset or an owner subject.",
                    "type": "string"
                  },
                  "preset": {
                    "description": "A bounded leader account read.",
                    "enum": [
                      "to_know",
                      "needs_attention"
                    ],
                    "type": "string"
                  },
                  "q": {
                    "description": "Account name search: the name holds these words, any case, spacing, punctuation and plural ignored. Narrows the rows the seat's book scope and owner subject admit, before the cap.",
                    "maxLength": 200,
                    "type": "string"
                  },
                  "revenue[gte]": {
                    "description": "The leader view's revenue floor in whole dollars (default 10000; none for a seat withheld carrier compensation, which is refused this filter). Not with a preset or an owner subject.",
                    "pattern": "^[0-9]{1,12}$",
                    "type": "string"
                  },
                  "sort": {
                    "description": "Talk track order, applied before its cap. Requires an owner subject without a preset. revenue is refused for a seat withheld carrier compensation.",
                    "enum": [
                      "month",
                      "revenue",
                      "lastAction"
                    ],
                    "type": "string"
                  },
                  "stale_only": {
                    "description": "true keeps only the stale At Risk rows (at_risk_stale). Left out with hide.outlook, the person's saved view or the default (off) applies.",
                    "enum": [
                      "true",
                      "false"
                    ],
                    "type": "string"
                  },
                  "subject": {
                    "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"
                    ]
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRetentionRenewalsRollup"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The retention leader view over the subject's renewals (parameters in the body)",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/search": {
      "post": {
        "description": "GET /records/policies 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": "listPoliciesSearch",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "account_id": {
                    "description": "view=basic and view=renewal. The policies of one account (its instance key).",
                    "type": "string"
                  },
                  "account_id[in]": {
                    "description": "view=basic. The policies of these accounts: the parameter repeated once per account id or comma-separated ids, at most 200, read as one statement per page. An id the subject cannot read adds no row. Not with account_id or account_scope. Each row serves its identity half without the premium (number, line, carrier, dates, owners, in force) unless include=term.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 200,
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "account_scope": {
                    "description": "view=basic with account_id. all (default): every term on the account, the policies read. register: the account's policies as the account detail serves them (the seat's register scope, with the account executive, representative and revenue columns), in one page; it takes no date, line, instance or cursor.",
                    "enum": [
                      "all",
                      "register"
                    ],
                    "type": "string"
                  },
                  "active_on": {
                    "description": "view=basic. In force on date.",
                    "type": "string"
                  },
                  "am_best_rating": {
                    "description": "view=full. The AM Best rating of each policy's writing company, from the agency's company list. not_rated: AM Best's own NR, the carriers a signed non-AM Best placement acknowledgement covers. not_on_file: the writing company has no AM Best rating on file (often an intermediary in the writing company field), so its rating is unknown. Each row then carries am_best_company, the writing company whose rating matched. The live AMS 360 read refuses it (FILTER_NOT_IN_SOURCE).",
                    "enum": [
                      "not_rated",
                      "not_on_file"
                    ],
                    "type": "string"
                  },
                  "cancellation_effective_date[gte]": {
                    "description": "view=cancellations, required. The first cancellation effective date (YYYY-MM-DD).",
                    "type": "string"
                  },
                  "cancellation_effective_date[lte]": {
                    "description": "view=cancellations, required. The last cancellation effective date (YYYY-MM-DD), at most 366 days after the first.",
                    "type": "string"
                  },
                  "carrier_attribution": {
                    "description": "view=full. The carrier, as the register names it.",
                    "type": "string"
                  },
                  "certificates": {
                    "description": "view=renewal. issued keeps renewals with an issued certificate; contractor_board_due keeps those due a contractor board reminder this week. omit requires steps=omit and no facets, rollups or work view; certificates is then unreachable with reason not_requested. contractor_board_due fills renewal.contractor_board_reminder_on and reaches the 90-day reminder with days_to_expiration[lte] of 97 or more.",
                    "enum": [
                      "issued",
                      "contractor_board_due",
                      "omit"
                    ],
                    "type": "string"
                  },
                  "closed": {
                    "description": "view=renewal. only returns closed lines; absent excludes them from rows and facets.",
                    "enum": [
                      "only"
                    ],
                    "type": "string"
                  },
                  "cursor": {
                    "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
                    "type": "string"
                  },
                  "days_to_expiration[gte]": {
                    "description": "view=renewal. Inclusive lower day bound, -30 to the window less one. It sits inside the days_to_expiration[lte] window. A sent value always applies, to the rows, the filtered total and the facets alike: 0 is from today and leaves out the renewals already past their expiration, a negative reaches that many days behind it (the register keeps renewals up to 30 days past expiration). Absent, there is no lower bound, unless days_to_expiration[lt] is sent: 1 or more bands the page only, from 0; 0 or below bands from -30 in the rows, total and facets.",
                    "pattern": "^-?[0-9]{1,3}$",
                    "type": "string"
                  },
                  "days_to_expiration[lt]": {
                    "description": "view=renewal. Exclusive upper day bound, -29 to the window (default the window). At 0 or below with days_to_expiration[gte] absent, the band starts 30 days back (the lookback), so lt=0 is the renewals past their date; at 0 or below it narrows the filtered total and the facets too.",
                    "pattern": "^-?[0-9]{1,3}$",
                    "type": "string"
                  },
                  "days_to_expiration[lte]": {
                    "description": "Terms expiring within this many days: renewal and full 1 to 400 (default the seat's horizon); basic 1 to 365; certificates_due default 30. Days are counted from the read date; the seat's horizon is its renewal_horizon_days. basic: 1 to 365 with no default; the window always ends that many days after the read date, and policy_expiration_date[gte] moves only its start (policy_expiration_date[lte], when sent, is the end in place of it). full: the window of status=expiring (1 to 400, default is the seat renewal_horizon_days). renewal: 1 to 400, default is the seat renewal_horizon_days. certificates_due: 1 to 400, default 30. view=cancellations does not take it.",
                    "pattern": "^[0-9]{1,3}$",
                    "patternDescription": "a whole number of days: 1 to 400 for view=renewal and view=full (leave it out for the seat's renewal horizon), 1 to 365 for view=basic",
                    "type": "string"
                  },
                  "desk_assigned_to": {
                    "description": "view=renewal. The renewal desk's assignee code.",
                    "type": "string"
                  },
                  "facets": {
                    "description": "Facets to count over the filtered policies, on view=full, renewal and cancellations. Each owner, org, carrier and product facet is counted without its own filter, and so is renewal_open (view=renewal: the open, true, and finished, false, renewals under the serving derivation, so a page filtered to renewal_open=true still counts the finished ones). view=full counts producer, client_manager, office, market, carrier_attribution, product (each product name the policies carry, once per name, parent its type; an id outside the org's list is kept with no parent, the org's unknown member labeled No product and any other labeled by its id) and product_type (each type, summed over its products), status and world (each counted without its own filter, the counts the view block shows), and a view=full request at limit=1, with no offset, cursor, include_total or rollups, whose only facets are office and market is the office list: it reads the org facet alone and serves no rows, total or view block; the same request naming exactly one of producer, client_manager, carrier_attribution, product, product_type, status or world, with no rows_only or figures_only, counts that facet alone, the full read's count for the same filters, and serves no rows, total or view block; view=renewal counts every one but office_covered (a view=renewal request at limit=1, with no offset, cursor or rollups, whose only facets are office and market is the office list: it reads the summary alone and serves no rows); view=cancellations counts office (every office the scope reaches, with its cancellations) and office_covered (the offices the rows were read from). The stage facet counts the stage on record, not the stage the renewal page shows.",
                    "items": {
                      "enum": [
                        "producer",
                        "client_manager",
                        "office",
                        "market",
                        "carrier_attribution",
                        "product",
                        "product_type",
                        "policy_line_of_business",
                        "status",
                        "world",
                        "renewal_nature",
                        "risk",
                        "stage",
                        "renewal_state",
                        "renewal_open",
                        "office_covered"
                      ],
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "figures_only": {
                    "description": "view=full. true reads the figures alone, with no rows. total (with include_total), facets, view and rollups each match the full read's for the same filters; data is empty, page.next is absent and the answer says figures_only: true. The register statement keeps no page row. Not with rows_only, cursor or offset (400 FIGURES_ONLY_WITH_ROWS).",
                    "type": "boolean"
                  },
                  "focus": {
                    "description": "view=renewal. only keeps renewals whose account and renewal period meet the retention focus rule. The rule is revenue plus fees of $10,000 or more for the period under one department line, so a seat whose field classes withhold carrier compensation is refused it with 403 FIELD_DENIED.",
                    "enum": [
                      "only"
                    ],
                    "type": "string"
                  },
                  "full_term_premium_effective[gte]": {
                    "description": "view=full. Premium floor in whole dollars.",
                    "pattern": "^[0-9]{1,12}$",
                    "type": "string"
                  },
                  "grain": {
                    "description": "view=renewal. policy (default): one row per renewal; account: each account's nearest renewal.",
                    "enum": [
                      "policy",
                      "account"
                    ],
                    "type": "string"
                  },
                  "hide.product": {
                    "description": "view=full and view=renewal. Repeatable: products to hide, each a product id or name (GET /records/products) or a value facets=product returns, its No product value (the org's unknown member) included; none hides nothing. A policy is hidden when its product is one of them; a policy with no product row stays. Not with product or product_type. Default none; a saved view does not carry it. Refused as product is: an id outside the org's list is a 400 (UNKNOWN_PRODUCT), an unreadable list a 503 (PRODUCT_LIST_UNAVAILABLE), a live AMS 360 read a 424 (FILTER_NOT_IN_SOURCE). The product facet counts without it, and on view=full the view block's hidden.by_filter[hide.product] counts the policies it hides.",
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "hide.product_type": {
                    "description": "view=full and view=renewal. Repeatable: product types to hide (type:&lt;name&gt;, from GET /records/products), each standing for every product of the type; with hide.product, a policy is hidden when either names its product. Not with product or product_type. A type outside the org's list is a 400 (UNKNOWN_PRODUCT_TYPE); otherwise refused as hide.product is.",
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "hide.status": {
                    "description": "view=full. Statuses to hide, comma-separated: in_force, ended (expired or not yet in force), cancelled, or none. Default cancelled,ended, which keeps in-force terms. Not with status. Left out with status, world and the other hide filter, the person's saved view or the default applies. The view block counts each status under every other filter.",
                    "type": "string"
                  },
                  "hide.world": {
                    "description": "view=full. Worlds to hide, comma-separated: commercial, personal, benefits, life, other, or none. Default none. Not with world. Left out with status, world and the other hide filter, the person's saved view or the default applies.",
                    "type": "string"
                  },
                  "id": {
                    "description": "view=basic. Up to 100 policy ids.",
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "include": {
                    "description": "view=basic with account_id[in]: term adds each row's term half (the premium with its quality and basis) and product.",
                    "enum": [
                      "term"
                    ],
                    "type": "string"
                  },
                  "include_total": {
                    "description": "true adds total, the row count of the whole relation.",
                    "type": "boolean"
                  },
                  "instance": {
                    "description": "view=basic. The source instance (datasource) the policies were read from.",
                    "type": "string"
                  },
                  "limit": {
                    "description": "Page size. Defaults to 25. For view=cancellations, larger values are coerced to 5000. view=basic accepts up to 10000; view=full, view=renewal and view=certificates_due accept up to 100. Values above each view's ceiling are reduced with a LIMIT_COERCED warning. AMS 360 bound-seat policy-number lookup accepts up to 200.",
                    "format": "int64",
                    "minimum": 1,
                    "type": "integer"
                  },
                  "market": {
                    "description": "view=full. A reporting market; all is no filter.",
                    "type": "string"
                  },
                  "office": {
                    "description": "view=full: an office by name or agency code. A name resolves only against the offices the acting seat's scope reaches and narrows to every office it names, echoed as an OFFICE_RESOLVED warning with each office's label and code; a name that reaches none reads no rows and is echoed as OFFICE_NOT_VISIBLE. view=renewal: an office (agency) code.",
                    "type": "string"
                  },
                  "office_name": {
                    "description": "view=cancellations, repeatable, at most 20. An office by name or agency code as the reader wrote it. Each resolves only against the offices the acting seat's scope reaches; one that reaches none is echoed as an OFFICE_NOT_VISIBLE warning and adds no rows.",
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "offset": {
                    "description": "Rows to skip, register views only: at most 1000000, not with cursor. A later page continues with page.next.",
                    "format": "int64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "owner_q": {
                    "description": "view=full and view=renewal. Words that each start a word of an owner's name, or equal an owner's AMS 360 code, in any order, at most 64 characters. It narrows the producer and client_manager facets' lists (search a list the facet cap cut) and selects no policy, moves no count and reads under the same admission. With facets=producer or facets=client_manager at limit=1 it is the one-facet read.",
                    "maxLength": 64,
                    "type": "string"
                  },
                  "policy_expiration_date[gte]": {
                    "description": "view=basic. Terms expiring on or after this date (YYYY-MM-DD or RFC 3339).",
                    "type": "string"
                  },
                  "policy_expiration_date[lte]": {
                    "description": "view=basic. Terms expiring on or before this date (YYYY-MM-DD or RFC 3339).",
                    "type": "string"
                  },
                  "policy_id": {
                    "description": "view=renewal. Exact Records policy identity.",
                    "type": "string"
                  },
                  "policy_line_of_business": {
                    "description": "Keeps policies whose line of business equals this text. view=basic matches it exactly; view=full, view=renewal and view=cancellations ignore case. view=certificates_due and account_scope=register do not take it.",
                    "type": "string"
                  },
                  "policy_number": {
                    "description": "basic: exact number. Matching ignores case, spaces and punctuation. AMS 360 bound seats: this filter plus subject and pagination only, up to 200 rows per page.",
                    "type": "string"
                  },
                  "product": {
                    "description": "view=full and view=renewal. Repeatable: products to keep (ids or names, GET /records/products). OR within product and product_type, AND with other filters. An id outside the org's list is a 400 (UNKNOWN_PRODUCT); an unreadable list is a 503 (PRODUCT_LIST_UNAVAILABLE); a live AMS 360 read, which carries no product, is a 424 (FILTER_NOT_IN_SOURCE). The product facet's No product value (the org's unknown member, the source's own no-product row) selects the policies recorded with no product. Not with hide.product or hide.product_type.",
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "product_type": {
                    "description": "view=full and view=renewal. Repeatable: product types to keep (type:&lt;name&gt;, from GET /records/products). OR'd with product. A type outside the org's list is a 400 (UNKNOWN_PRODUCT_TYPE); otherwise refused as product is.",
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "q": {
                    "description": "view=full. A prefix of the policy number or of the account's name.",
                    "type": "string"
                  },
                  "reinstated": {
                    "description": "view=cancellations. Whether policies AMS 360 reinstated after their cancellation are kept. exclude (default) drops them; include keeps each with its reinstated_on; only keeps just those.",
                    "enum": [
                      "exclude",
                      "include",
                      "only"
                    ],
                    "type": "string"
                  },
                  "renewal_nature": {
                    "description": "view=renewal. Keeps renewals of one renewal nature. Sending it computes nature, risk and facets in SQL.",
                    "enum": [
                      "renews",
                      "one_time",
                      "multi_year",
                      "bond_continuous",
                      "bond_term",
                      "non_renewed"
                    ],
                    "type": "string"
                  },
                  "renewal_open": {
                    "description": "view=renewal. true: open work, the upcoming renewals the Renewals page lists; false: finished. Finished is renewed, lost and the like. It narrows the rows, the filtered total and the facets; with days_to_expiration[lt]=0, true is the open renewals past their date.",
                    "enum": [
                      "true",
                      "false"
                    ],
                    "type": "string"
                  },
                  "renewal_state": {
                    "description": "view=renewal, repeatable. Keeps renewals in any of these states. It applies to the rows, the filtered total and the facets, and narrows the renewal_state, producer, client_manager, office, market, policy_line_of_business and carrier_attribution facets; the renewal_state facet does not leave out its own filter, so it counts only the states asked for.",
                    "items": {
                      "enum": [
                        "open",
                        "information",
                        "remarketing",
                        "quoted",
                        "proposal_out",
                        "bind_requested",
                        "offer_in",
                        "renewed",
                        "overdue",
                        "renewed_then_cancelled",
                        "rewritten",
                        "lost",
                        "cancelled",
                        "non_renewed",
                        "confirm"
                      ],
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "risk": {
                    "description": "view=renewal. Keeps renewals at one risk level. The read derives the level for each renewal (from its workflow stage and days to expiration, among other things); it is not a stored field.",
                    "enum": [
                      "at_risk",
                      "watch",
                      "steady"
                    ],
                    "type": "string"
                  },
                  "rollups": {
                    "description": "view=basic with account_id: renewal_workspace answers the selected term workspace; the page is the account's register terms, under either account_scope. view=full: register answers its side figures in rollups.register. view=renewal: renewals answers its counts and figures in rollups.renewals. Each uses the page's own read.",
                    "items": {
                      "enum": [
                        "register",
                        "renewals",
                        "renewal_step",
                        "renewal_workspace"
                      ],
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "rows_only": {
                    "description": "view=full. true reads the page's rows and page.next alone, and the answer says so with rows_only: true. total, facets, view and rollups are absent, never 0: the read does not count them. Not with include_total, facets or rollups (400 ROWS_ONLY_WITH_FIGURES). A cursor does not carry it: send it on every page of a rows-only list.",
                    "type": "boolean"
                  },
                  "sort": {
                    "description": "Sort key (default policy_expiration_date; view=basic: only it). view=cancellations sorts by cancelled_on (its default, ascending), account_name, office or cancel_type, a leading - reversing the key; every other view refuses those three keys, and view=cancellations refuses the other keys. raw_producer_name sorts view=full only. contractor_board_reminder_on sorts view=renewal with certificates=contractor_board_due only, by the day each reminder is due.",
                    "enum": [
                      "policy_expiration_date",
                      "-policy_expiration_date",
                      "policy_number",
                      "-policy_number",
                      "account_name",
                      "-account_name",
                      "carrier_attribution",
                      "-carrier_attribution",
                      "full_term_premium_effective",
                      "-full_term_premium_effective",
                      "account_executive_name",
                      "-account_executive_name",
                      "account_representative_name",
                      "-account_representative_name",
                      "raw_producer_name",
                      "-raw_producer_name",
                      "contractor_board_reminder_on",
                      "-contractor_board_reminder_on",
                      "cancelled_on",
                      "-cancelled_on",
                      "office",
                      "-office",
                      "cancel_type",
                      "-cancel_type"
                    ],
                    "type": "string"
                  },
                  "stage": {
                    "description": "view=renewal. Keeps renewals at one workflow stage. not_recorded keeps those with no stage recorded; not_started keeps those too, beside the renewals recorded as not started. It matches the stage on record, not the stage the renewal page shows, so a row it keeps can show another stage.",
                    "enum": [
                      "not_recorded",
                      "not_started",
                      "reviewing",
                      "hold",
                      "remarketing",
                      "renewing_as_is",
                      "quoted",
                      "proposal_out",
                      "bind_requested",
                      "bound",
                      "non_renewed",
                      "lost",
                      "closed"
                    ],
                    "type": "string"
                  },
                  "status": {
                    "description": "view=full: absent, hide.status applies; expiring: in force and within days_to_expiration[lte]. view=basic takes in_force (terms in force on the read date; an active_on you send wins) and all (no filter, the basic default); expiring is a 400 there.",
                    "enum": [
                      "in_force",
                      "expiring",
                      "all"
                    ],
                    "type": "string"
                  },
                  "steps": {
                    "description": "view=renewal. omit serves each row's standing without its renewal steps, and the step statement does not run. steps, next_step_key, next_step_label, next_status_key, next_step_due, next_step_args, available_decisions and hold_path are then unreachable with reason not_requested.",
                    "enum": [
                      "omit"
                    ],
                    "type": "string"
                  },
                  "subject": {
                    "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"
                    ]
                  },
                  "view": {
                    "description": "basic (default): policy terms; full: policy register; renewal: renewal register; certificates_due: renewals with certificates; cancellations: cancelled terms. basic: the policy term rows in expiration order; its limit goes up to 10000, for a walk of the whole relation. full: the register's rows with its filters, sorts and facets. renewal: the renewal register's rows (each term in force at the read pin expiring inside the window, with its renewal block). certificates_due: renewal rows whose policy carries a live certificate, soonest first, reading the subject, days_to_expiration[lte] (default 30), limit, offset and include_total. cancellations: the terms AMS 360 recorded a cancellation on inside cancellation_effective_date[gte] to [lte], oldest first, reading the subject, its own filters, world, policy_line_of_business, limit, offset, include_total and facets=office,office_covered.",
                    "enum": [
                      "basic",
                      "full",
                      "renewal",
                      "certificates_due",
                      "cancellations"
                    ],
                    "type": "string"
                  },
                  "work_view": {
                    "description": "A named work window with its own date bounds, order and row cap. Omit date/order/page-size parameters with this selector.",
                    "enum": [
                      "today",
                      "market_insight",
                      "certificates",
                      "retention_review"
                    ],
                    "type": "string"
                  },
                  "workspace_policy_id": {
                    "description": "The admitted account policy whose renewal workspace is requested. Requires account_id and rollups=renewal_workspace. Absent selects the soonest-expiring admitted term.",
                    "type": "string"
                  },
                  "world": {
                    "description": "view=full and view=renewal. One book; all is every book. With no book named, view=renewal leaves out benefits and life renewals (a renewal list is a property and casualty desk's); view=full reads every book; view=cancellations reads every book unless one is named.",
                    "enum": [
                      "commercial",
                      "personal",
                      "benefits",
                      "life",
                      "other",
                      "all"
                    ],
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyList"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "List the policies in the subject's book (parameters in the body)",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/view": {
      "get": {
        "description": "The person's saved filters, which the register's list applies when a request names no view filter, and every column the seat may show, its role's default columns and the columns this person shows. A field the seat's field classes withhold is never listed.",
        "operationId": "getPoliciesView",
        "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"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRegisterView"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The acting person's policies filters and columns",
        "tags": [
          "register-views"
        ]
      },
      "put": {
        "description": "Writes the person's own row. Each filter must be one the register's list serves, with a value it takes; each column must be one of columns.available for this seat; anything else is refused with 422. A View as session is read-only here.",
        "operationId": "putPoliciesView",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterViewWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRegisterView"
                }
              }
            },
            "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"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Save the acting person's policies filters and columns",
        "tags": [
          "register-views"
        ]
      }
    },
    "/records/policies/{id}": {
      "get": {
        "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": []
          }
        ],
        "summary": "Read one policy",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/{id}/activity": {
      "get": {
        "description": "The policy's AMS 360 follow-ups, notes and remarks and its Navigator activity and tasks, newest first and paged by cursor in one order across every source. hide.kind and no_touch_days filter every source before paging; total is the rows the filters keep, and the view block counts each kind and the rows the filters hide. An account or policy the acting seat cannot read is 404 NOT_VISIBLE_OR_ABSENT.",
        "operationId": "listPolicyActivity",
        "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"
            }
          },
          {
            "description": "The account the policy belongs to (its instance key). The rows are admitted through the acting seat's read of that account and policy.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "required": true,
            "schema": {
              "description": "The account the policy belongs to (its instance key). The rows are admitted through the acting seat's read of that account and policy.",
              "type": "string"
            }
          },
          {
            "description": "Comma-separated kinds to leave out; the view block lists them with their counts. Empty or none hides nothing. Left out with no_touch_days too, the person's saved view or the default (nothing hidden) applies.",
            "explode": false,
            "in": "query",
            "name": "hide.kind",
            "schema": {
              "description": "Comma-separated kinds to leave out; the view block lists them with their counts. Empty or none hides nothing. Left out with no_touch_days too, the person's saved view or the default (nothing hidden) applies.",
              "type": "string"
            }
          },
          {
            "description": "Days back a row's date may be, 0 to 3650, 0 off; an undated row stays. Left out with hide.kind too, the person's saved view or the default (off) applies.",
            "explode": false,
            "in": "query",
            "name": "no_touch_days",
            "schema": {
              "description": "Days back a row's date may be, 0 to 3650, 0 off; an undated row stays. Left out with hide.kind too, the person's saved view or the default (off) applies.",
              "format": "int64",
              "maximum": 3650,
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. The filters are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. The filters are frozen inside it.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyActivityList"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List a policy's activity",
        "tags": [
          "activities"
        ]
      }
    },
    "/records/policies/{id}/admission": {
      "get": {
        "description": "Whether the calling seat may open the policy, and the account it belongs to: the seat's full policy authority on the policy, the same decision every policy collection read is gated on. A policy the seat may not open and one that does not exist answer the same 404. A seat bound to AMS 360 has no admission here; its answer names the absent source.",
        "operationId": "getPolicyAdmission",
        "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/RecordPolicyAdmission"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read the seat's admission to a policy",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/{id}/applicants": {
      "get": {
        "description": "The applicant blocks the policy term's ACORD applications carry, by generation.",
        "operationId": "getPolicyApplicants",
        "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/RecordBookPolicyApplicant"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "The policy's applicant blocks",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/{id}/binders": {
      "get": {
        "description": "Every binder issued on the policy term, one row each (its newest policy version): its number, status, dates, description, who signed it, its note, and the additional interests it names.",
        "operationId": "listPolicyBinders",
        "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": "Serve every item's newest version, removed ones with them (row_status D), as the policy's history shows them. Only a collection that serves current rows (vehicles, drivers, locations) reads it; it has no as-of date.",
            "explode": false,
            "in": "query",
            "name": "include_removed",
            "schema": {
              "description": "Serve every item's newest version, removed ones with them (row_status D), as the policy's history shows them. Only a collection that serves current rows (vehicles, drivers, locations) reads it; it has no as-of date.",
              "type": "boolean"
            }
          },
          {
            "description": "The date (YYYY-MM-DD) a current-rows collection is read as of: each item's version in effect on it. Defaults to today in the agency's time zone (America/Los_Angeles).",
            "explode": false,
            "in": "query",
            "name": "as_of",
            "schema": {
              "description": "The date (YYYY-MM-DD) a current-rows collection is read as of: each item's version in effect on it. Defaults to today in the agency's time zone (America/Los_Angeles).",
              "format": "date",
              "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/ListPolicyBindersResponse"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List the policy's binders",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/{id}/changes": {
      "get": {
        "description": "Every policy change request on the policy term, one row each (its newest policy version): its number, type, what it is about, who created it and when, the company it went to, whether it is confirmed, its note, and the additional interests it names.",
        "operationId": "listPolicyChanges",
        "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": "Serve every item's newest version, removed ones with them (row_status D), as the policy's history shows them. Only a collection that serves current rows (vehicles, drivers, locations) reads it; it has no as-of date.",
            "explode": false,
            "in": "query",
            "name": "include_removed",
            "schema": {
              "description": "Serve every item's newest version, removed ones with them (row_status D), as the policy's history shows them. Only a collection that serves current rows (vehicles, drivers, locations) reads it; it has no as-of date.",
              "type": "boolean"
            }
          },
          {
            "description": "The date (YYYY-MM-DD) a current-rows collection is read as of: each item's version in effect on it. Defaults to today in the agency's time zone (America/Los_Angeles).",
            "explode": false,
            "in": "query",
            "name": "as_of",
            "schema": {
              "description": "The date (YYYY-MM-DD) a current-rows collection is read as of: each item's version in effect on it. Defaults to today in the agency's time zone (America/Los_Angeles).",
              "format": "date",
              "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/ListPolicyChangesResponse"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List the policy's change requests",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/{id}/checklist": {
      "get": {
        "description": "Every workflow checklist on the policy term, one row each (its newest policy version, keyed as AMS 360 keys it, by its policy and effective date): which checklist, who started it and when, whether it is complete, and its steps with their targets and who closed them.",
        "operationId": "listPolicyChecklist",
        "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": "Serve every item's newest version, removed ones with them (row_status D), as the policy's history shows them. Only a collection that serves current rows (vehicles, drivers, locations) reads it; it has no as-of date.",
            "explode": false,
            "in": "query",
            "name": "include_removed",
            "schema": {
              "description": "Serve every item's newest version, removed ones with them (row_status D), as the policy's history shows them. Only a collection that serves current rows (vehicles, drivers, locations) reads it; it has no as-of date.",
              "type": "boolean"
            }
          },
          {
            "description": "The date (YYYY-MM-DD) a current-rows collection is read as of: each item's version in effect on it. Defaults to today in the agency's time zone (America/Los_Angeles).",
            "explode": false,
            "in": "query",
            "name": "as_of",
            "schema": {
              "description": "The date (YYYY-MM-DD) a current-rows collection is read as of: each item's version in effect on it. Defaults to today in the agency's time zone (America/Los_Angeles).",
              "format": "date",
              "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/ListPolicyChecklistResponse"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List the policy's checklists",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/{id}/classes": {
      "get": {
        "description": "Every rating class the policy term carries, one row per class (its newest policy version): general liability hazards (ACORD 126) and workers compensation ratings (ACORD 130), each with its kind, its location, its class code and description, its basis and its exposure. A workers compensation class carries the line's included and excluded individuals.",
        "operationId": "listPolicyClasses",
        "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": "Serve every item's newest version, removed ones with them (row_status D), as the policy's history shows them. Only a collection that serves current rows (vehicles, drivers, locations) reads it; it has no as-of date.",
            "explode": false,
            "in": "query",
            "name": "include_removed",
            "schema": {
              "description": "Serve every item's newest version, removed ones with them (row_status D), as the policy's history shows them. Only a collection that serves current rows (vehicles, drivers, locations) reads it; it has no as-of date.",
              "type": "boolean"
            }
          },
          {
            "description": "The date (YYYY-MM-DD) a current-rows collection is read as of: each item's version in effect on it. Defaults to today in the agency's time zone (America/Los_Angeles).",
            "explode": false,
            "in": "query",
            "name": "as_of",
            "schema": {
              "description": "The date (YYYY-MM-DD) a current-rows collection is read as of: each item's version in effect on it. Defaults to today in the agency's time zone (America/Los_Angeles).",
              "format": "date",
              "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/ListPolicyClassesResponse"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List the policy's rating classes",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/{id}/coverage-records": {
      "get": {
        "description": "The platform's coverage record of the policy term, its revision, and the record merged with the term's coverages and forms. The record's writes stay retired on the scheme.",
        "operationId": "getPolicyCoverageRecords",
        "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"
            }
          },
          {
            "description": "The account the policy term belongs to (its instance key). The record is admitted through the acting seat's read of that account, so a term on another account answers as one that does not exist.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "required": true,
            "schema": {
              "description": "The account the policy term belongs to (its instance key). The record is admitted through the acting seat's read of that account, so a term on another account answers as one that does not exist.",
              "type": "string"
            }
          },
          {
            "description": "history adds the record's revisions, newest first.",
            "explode": false,
            "in": "query",
            "name": "include",
            "schema": {
              "description": "history adds the record's revisions, newest first.",
              "enum": [
                "history"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordPolicyCoverageRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "The policy's coverage record",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/{id}/coverages": {
      "get": {
        "description": "The policy term's coverage schedule, every coverage on one page.",
        "operationId": "listPolicyCoverages",
        "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/PolicyCoveragesSchemeBody"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List the policy's coverages",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/{id}/drivers": {
      "get": {
        "description": "Every driver the policy term schedules, one row per driver (its version in effect on the as-of date; a removed one is served only with include_removed): business auto drivers (ACORD 127) and personal auto drivers, each with its kind. A personal auto driver carries the vehicles they use. A renewal whose schedule sits on the customer's marketing records reads them when the policy itself holds none.",
        "operationId": "listPolicyDrivers",
        "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": "Serve every item's newest version, removed ones with them (row_status D), as the policy's history shows them. Only a collection that serves current rows (vehicles, drivers, locations) reads it; it has no as-of date.",
            "explode": false,
            "in": "query",
            "name": "include_removed",
            "schema": {
              "description": "Serve every item's newest version, removed ones with them (row_status D), as the policy's history shows them. Only a collection that serves current rows (vehicles, drivers, locations) reads it; it has no as-of date.",
              "type": "boolean"
            }
          },
          {
            "description": "The date (YYYY-MM-DD) a current-rows collection is read as of: each item's version in effect on it. Defaults to today in the agency's time zone (America/Los_Angeles).",
            "explode": false,
            "in": "query",
            "name": "as_of",
            "schema": {
              "description": "The date (YYYY-MM-DD) a current-rows collection is read as of: each item's version in effect on it. Defaults to today in the agency's time zone (America/Los_Angeles).",
              "format": "date",
              "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/ListPolicyDriversResponse"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List the policy's drivers",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/{id}/equipment": {
      "get": {
        "description": "Every piece or grouping of equipment the policy term schedules, one row each (its newest policy version): scheduled and unscheduled contractors equipment on an equipment floater, and scheduled data processing and media equipment, each with its kind, its number, what it is, its amount of insurance and its valuation. Floater equipment carries its floater, its category and where it is stored.",
        "operationId": "listPolicyEquipment",
        "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": "Serve every item's newest version, removed ones with them (row_status D), as the policy's history shows them. Only a collection that serves current rows (vehicles, drivers, locations) reads it; it has no as-of date.",
            "explode": false,
            "in": "query",
            "name": "include_removed",
            "schema": {
              "description": "Serve every item's newest version, removed ones with them (row_status D), as the policy's history shows them. Only a collection that serves current rows (vehicles, drivers, locations) reads it; it has no as-of date.",
              "type": "boolean"
            }
          },
          {
            "description": "The date (YYYY-MM-DD) a current-rows collection is read as of: each item's version in effect on it. Defaults to today in the agency's time zone (America/Los_Angeles).",
            "explode": false,
            "in": "query",
            "name": "as_of",
            "schema": {
              "description": "The date (YYYY-MM-DD) a current-rows collection is read as of: each item's version in effect on it. Defaults to today in the agency's time zone (America/Los_Angeles).",
              "format": "date",
              "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/ListPolicyEquipmentResponse"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List the policy's equipment",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/{id}/exposures": {
      "get": {
        "description": "The policy term's vehicles, drivers, locations, buildings, hazards and ratings.",
        "operationId": "getPolicyExposures",
        "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/RecordBookPolicyExposureSchedule"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "The policy's exposure schedule",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/{id}/forms": {
      "get": {
        "description": "The policy term's forms: policy and coverage forms, form types, electronic forms, question answers and company context.",
        "operationId": "getPolicyForms",
        "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/RecordPolicyFormsSchedule"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "The policy's forms schedule",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/{id}/lines": {
      "get": {
        "description": "Every line of business on the policy term, one row each (its newest policy version): what line it is, its description, plan type and writing company, the ACORD form it is entered on, its AMS 360 data-entry form and whether that form holds owned vehicles, its display order, and the annual policies it issues.",
        "operationId": "listPolicyLines",
        "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": "Serve every item's newest version, removed ones with them (row_status D), as the policy's history shows them. Only a collection that serves current rows (vehicles, drivers, locations) reads it; it has no as-of date.",
            "explode": false,
            "in": "query",
            "name": "include_removed",
            "schema": {
              "description": "Serve every item's newest version, removed ones with them (row_status D), as the policy's history shows them. Only a collection that serves current rows (vehicles, drivers, locations) reads it; it has no as-of date.",
              "type": "boolean"
            }
          },
          {
            "description": "The date (YYYY-MM-DD) a current-rows collection is read as of: each item's version in effect on it. Defaults to today in the agency's time zone (America/Los_Angeles).",
            "explode": false,
            "in": "query",
            "name": "as_of",
            "schema": {
              "description": "The date (YYYY-MM-DD) a current-rows collection is read as of: each item's version in effect on it. Defaults to today in the agency's time zone (America/Los_Angeles).",
              "format": "date",
              "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/ListPolicyLinesResponse"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List the policy's lines of business",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/{id}/locations": {
      "get": {
        "description": "Every location the policy term schedules, one row per location (its version in effect on the as-of date; a removed one is served only with include_removed): commercial premises, and the inland marine locations equipment is kept at, each with its kind. A premises carries the nature of the business, its buildings, the commercial property application for each premises or building (construction, protection, alarms, updates and exposures), the subjects of insurance and their amounts (building, business personal property, business income and the rest), the value reporting declarations, and the additional interests (mortgagees, loss payees) on the premises.",
        "operationId": "listPolicyLocations",
        "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": "Serve every item's newest version, removed ones with them (row_status D), as the policy's history shows them. Only a collection that serves current rows (vehicles, drivers, locations) reads it; it has no as-of date.",
            "explode": false,
            "in": "query",
            "name": "include_removed",
            "schema": {
              "description": "Serve every item's newest version, removed ones with them (row_status D), as the policy's history shows them. Only a collection that serves current rows (vehicles, drivers, locations) reads it; it has no as-of date.",
              "type": "boolean"
            }
          },
          {
            "description": "The date (YYYY-MM-DD) a current-rows collection is read as of: each item's version in effect on it. Defaults to today in the agency's time zone (America/Los_Angeles).",
            "explode": false,
            "in": "query",
            "name": "as_of",
            "schema": {
              "description": "The date (YYYY-MM-DD) a current-rows collection is read as of: each item's version in effect on it. Defaults to today in the agency's time zone (America/Los_Angeles).",
              "format": "date",
              "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/ListPolicyLocationsResponse"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List the policy's locations",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/{id}/named-insureds": {
      "get": {
        "description": "The policy term's named insureds, every one on one page.",
        "operationId": "listPolicyNamedInsureds",
        "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/ListBookNamedInsured"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List the policy's named insureds",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/{id}/parties": {
      "get": {
        "description": "The policy term's named insureds, co-insureds, additional interests and policy contacts, each with its own availability.",
        "operationId": "getPolicyParties",
        "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/RecordBookPolicyParties"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "The policy's parties",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/{id}/personnel": {
      "get": {
        "description": "The policy term's personnel assignments, their periods and the producer links.",
        "operationId": "getPolicyPersonnel",
        "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/RecordBookPolicyServicing"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "The policy's servicing personnel",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/{id}/premiums": {
      "get": {
        "description": "Every premium row the policy term carries, one row each (its newest policy version, or its own transaction for a line's premium): a line's premium on a transaction with its written, billed, full term and annualized figures, the companies and sub-customers it is split among, and the transaction it belongs to; each rated coverage or class with its location, limits, deductibles, rate and premium; and a line's premium totals.",
        "operationId": "listPolicyPremiums",
        "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": "Serve every item's newest version, removed ones with them (row_status D), as the policy's history shows them. Only a collection that serves current rows (vehicles, drivers, locations) reads it; it has no as-of date.",
            "explode": false,
            "in": "query",
            "name": "include_removed",
            "schema": {
              "description": "Serve every item's newest version, removed ones with them (row_status D), as the policy's history shows them. Only a collection that serves current rows (vehicles, drivers, locations) reads it; it has no as-of date.",
              "type": "boolean"
            }
          },
          {
            "description": "The date (YYYY-MM-DD) a current-rows collection is read as of: each item's version in effect on it. Defaults to today in the agency's time zone (America/Los_Angeles).",
            "explode": false,
            "in": "query",
            "name": "as_of",
            "schema": {
              "description": "The date (YYYY-MM-DD) a current-rows collection is read as of: each item's version in effect on it. Defaults to today in the agency's time zone (America/Los_Angeles).",
              "format": "date",
              "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/ListPolicyPremiumsResponse"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List the policy's premiums",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/{id}/prior-carriers": {
      "get": {
        "description": "Every prior carrier the policy term records, one row each (its newest policy version): the carrier, its NAIC code, the prior policy's number, type, dates, premium and limits, and how long the insured was with it.",
        "operationId": "listPolicyPriorCarriers",
        "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": "Serve every item's newest version, removed ones with them (row_status D), as the policy's history shows them. Only a collection that serves current rows (vehicles, drivers, locations) reads it; it has no as-of date.",
            "explode": false,
            "in": "query",
            "name": "include_removed",
            "schema": {
              "description": "Serve every item's newest version, removed ones with them (row_status D), as the policy's history shows them. Only a collection that serves current rows (vehicles, drivers, locations) reads it; it has no as-of date.",
              "type": "boolean"
            }
          },
          {
            "description": "The date (YYYY-MM-DD) a current-rows collection is read as of: each item's version in effect on it. Defaults to today in the agency's time zone (America/Los_Angeles).",
            "explode": false,
            "in": "query",
            "name": "as_of",
            "schema": {
              "description": "The date (YYYY-MM-DD) a current-rows collection is read as of: each item's version in effect on it. Defaults to today in the agency's time zone (America/Los_Angeles).",
              "format": "date",
              "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/ListPolicyPriorCarriersResponse"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List the policy's prior carriers",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/{id}/profile": {
      "get": {
        "description": "The policy's attributes. A policy the seat cannot open answers 404. Rows are the source grain; a seat the warehouse serves answers the source's absence until the profile fields are named.",
        "operationId": "listPolicyProfile",
        "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": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "The policy's id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The policy's id.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List a policy's profile",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/{id}/property-items": {
      "get": {
        "description": "Every scheduled item of property the policy term lists, one row each (its newest policy version): personal articles, glass, signs, valuable papers, accounts receivable, farm items, and a builders risk's specific jobs and job types, each with its kind, what it is, where it is and its amount.",
        "operationId": "listPolicyPropertyItems",
        "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": "Serve every item's newest version, removed ones with them (row_status D), as the policy's history shows them. Only a collection that serves current rows (vehicles, drivers, locations) reads it; it has no as-of date.",
            "explode": false,
            "in": "query",
            "name": "include_removed",
            "schema": {
              "description": "Serve every item's newest version, removed ones with them (row_status D), as the policy's history shows them. Only a collection that serves current rows (vehicles, drivers, locations) reads it; it has no as-of date.",
              "type": "boolean"
            }
          },
          {
            "description": "The date (YYYY-MM-DD) a current-rows collection is read as of: each item's version in effect on it. Defaults to today in the agency's time zone (America/Los_Angeles).",
            "explode": false,
            "in": "query",
            "name": "as_of",
            "schema": {
              "description": "The date (YYYY-MM-DD) a current-rows collection is read as of: each item's version in effect on it. Defaults to today in the agency's time zone (America/Los_Angeles).",
              "format": "date",
              "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/ListPolicyPropertyItemsResponse"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List the policy's scheduled property",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/{id}/rollups/commission": {
      "get": {
        "description": "The agency's realized commission transactions on the policy term and their rollup. The whole answer is carrier compensation: a seat whose field classes withhold it is 403 CAPABILITY_DENIED.",
        "operationId": "getPolicyCommissionRollup",
        "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/RecordBookPolicyCommission"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "The policy's realized commission",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/{id}/rollups/commission-lines": {
      "get": {
        "description": "The commission billed on every premium line of the policy term, keyed by the line id a transactions line carries: the one home of a line's billed commission. Read under the transactions rule: a seat that can open the policy's transactions reads the lines, and billed_commission is carrier compensation, withheld where that class is.",
        "operationId": "listPolicyCommissionLines",
        "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/ListBookPolicyCommissionLine"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "The billed commission on each of the policy's premium lines",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/{id}/rollups/terms": {
      "get": {
        "description": "The policy periods before and after this one, as the source asserts each link (the policy's prior and next pointers and the agency's renewal list), on one page: a reader never walks the links one hop at a time.",
        "operationId": "listPolicyTerms",
        "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/ListBookPolicyTermLink"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "The policy's sequence of terms",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/{id}/transactions": {
      "get": {
        "description": "One cursor page of the policy term's dated premium transactions, oldest first.",
        "operationId": "listPolicyTransactions",
        "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"
            }
          },
          {
            "description": "Page size. Defaults to 25; up to 2000 (one policy term carries at most about 1,750 transactions, so one page reads them all); a larger value is coerced to 2000 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; up to 2000 (one policy term carries at most about 1,750 transactions, so one page reads them all); a larger value is coerced to 2000 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the exact transaction count, when this first page ends the relation (no page.next); otherwise total is left out and unreachable names it.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the exact transaction count, when this first page ends the relation (no page.next); otherwise total is left out and unreachable names it.",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListPolicyTransactionRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List the policy's premium transactions",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/{id}/underwriting": {
      "get": {
        "description": "The underwriting answers the policy term carries that a screen reads: the workers compensation policy section (its states and whether Part 1 is entered), one row per question, for the policy version in effect.",
        "operationId": "listPolicyUnderwriting",
        "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": "Serve every item's newest version, removed ones with them (row_status D), as the policy's history shows them. Only a collection that serves current rows (vehicles, drivers, locations) reads it; it has no as-of date.",
            "explode": false,
            "in": "query",
            "name": "include_removed",
            "schema": {
              "description": "Serve every item's newest version, removed ones with them (row_status D), as the policy's history shows them. Only a collection that serves current rows (vehicles, drivers, locations) reads it; it has no as-of date.",
              "type": "boolean"
            }
          },
          {
            "description": "The date (YYYY-MM-DD) a current-rows collection is read as of: each item's version in effect on it. Defaults to today in the agency's time zone (America/Los_Angeles).",
            "explode": false,
            "in": "query",
            "name": "as_of",
            "schema": {
              "description": "The date (YYYY-MM-DD) a current-rows collection is read as of: each item's version in effect on it. Defaults to today in the agency's time zone (America/Los_Angeles).",
              "format": "date",
              "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/ListPolicyUnderwritingResponse"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List the policy's underwriting answers",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policies/{id}/vehicles": {
      "get": {
        "description": "Every vehicle the policy term schedules, one row per vehicle (its version in effect on the as-of date; a removed one is served only with include_removed): business auto vehicles (ACORD 127), personal auto vehicles, the vehicle types of an umbrella's auto exposure, and the hired, non-owned and drive-other-car exposures of a business auto line, and a trucker's vehicle types, each with its kind. A business auto vehicle carries its garage, the premises the garage is at, and the line's covered auto symbols. A renewal whose business auto schedule sits on the customer's marketing records reads them when the policy itself holds no vehicle.",
        "operationId": "listPolicyVehicles",
        "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": "Serve every item's newest version, removed ones with them (row_status D), as the policy's history shows them. Only a collection that serves current rows (vehicles, drivers, locations) reads it; it has no as-of date.",
            "explode": false,
            "in": "query",
            "name": "include_removed",
            "schema": {
              "description": "Serve every item's newest version, removed ones with them (row_status D), as the policy's history shows them. Only a collection that serves current rows (vehicles, drivers, locations) reads it; it has no as-of date.",
              "type": "boolean"
            }
          },
          {
            "description": "The date (YYYY-MM-DD) a current-rows collection is read as of: each item's version in effect on it. Defaults to today in the agency's time zone (America/Los_Angeles).",
            "explode": false,
            "in": "query",
            "name": "as_of",
            "schema": {
              "description": "The date (YYYY-MM-DD) a current-rows collection is read as of: each item's version in effect on it. Defaults to today in the agency's time zone (America/Los_Angeles).",
              "format": "date",
              "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/ListPolicyVehiclesResponse"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List the policy's vehicles",
        "tags": [
          "policies"
        ]
      }
    },
    "/records/policy-brokers": {
      "get": {
        "description": "Views: record. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listPolicySourceView6",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "The exact policy to admit before source reads.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "The exact policy to admit before source reads.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read policy-brokers",
        "tags": [
          "policy_personnel"
        ]
      }
    },
    "/records/policy-claims": {
      "get": {
        "description": "A policy term's claims (list), or the same claims with every claim field (full). Views: list, full. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listPolicyClaimRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          },
          {
            "description": "The requested business projection.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "default": "list",
              "description": "The requested business projection.",
              "enum": [
                "list",
                "full"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List a policy's claims",
        "tags": [
          "claims"
        ]
      }
    },
    "/records/policy-fees": {
      "get": {
        "description": "Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listPolicySourceView13",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "The exact policy to admit before source reads.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "The exact policy to admit before source reads.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read policy-fees",
        "tags": [
          "premium_rows"
        ]
      }
    },
    "/records/policy_activity/view": {
      "get": {
        "description": "The person's saved filters, which the register's list applies when a request names no view filter, and every column the seat may show, its role's default columns and the columns this person shows. A field the seat's field classes withhold is never listed.",
        "operationId": "getPolicy_activityView",
        "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"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRegisterView"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The acting person's policy_activity filters and columns",
        "tags": [
          "register-views"
        ]
      },
      "put": {
        "description": "Writes the person's own row. Each filter must be one the register's list serves, with a value it takes; each column must be one of columns.available for this seat; anything else is refused with 422. A View as session is read-only here.",
        "operationId": "putPolicy_activityView",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterViewWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRegisterView"
                }
              }
            },
            "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"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Save the acting person's policy_activity filters and columns",
        "tags": [
          "register-views"
        ]
      }
    },
    "/records/portfolio-collections": {
      "get": {
        "description": "The manager filter, totals, aging and one page of properties from the real-estate app store, under the caller's app-store visibility. The platform applies the filters and cuts the page.",
        "operationId": "listPortfolioCollections",
        "parameters": [
          {
            "description": "Only this property manager's properties. At most once.",
            "explode": false,
            "in": "query",
            "name": "manager",
            "schema": {
              "description": "Only this property manager's properties. At most once.",
              "type": "string"
            }
          },
          {
            "description": "Only this fund's properties. At most once.",
            "explode": false,
            "in": "query",
            "name": "fund",
            "schema": {
              "description": "Only this fund's properties. At most once.",
              "type": "string"
            }
          },
          {
            "description": "A positive integer.",
            "explode": false,
            "in": "query",
            "name": "page",
            "schema": {
              "description": "A positive integer.",
              "type": "string"
            }
          },
          {
            "description": "A positive integer.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "A positive integer.",
              "type": "string"
            }
          },
          {
            "description": "The org the app expects; it must equal the authenticated org. Required once.",
            "in": "header",
            "name": "Nexio-Expected-Org",
            "schema": {
              "description": "The org the app expects; it must equal the authenticated org. Required once.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PortfolioCollectionsBody"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Read the portfolio's Collections view",
        "tags": [
          "Records"
        ]
      }
    },
    "/records/portfolio/leasing": {
      "get": {
        "description": "The portfolio's leasing view under the caller's app-store visibility.",
        "operationId": "getPortfolioLeasing",
        "parameters": [
          {
            "description": "Only this property manager's portfolio. At most once.",
            "explode": false,
            "in": "query",
            "name": "manager",
            "schema": {
              "description": "Only this property manager's portfolio. At most once.",
              "type": "string"
            }
          },
          {
            "description": "Only this fund's portfolio. At most once.",
            "explode": false,
            "in": "query",
            "name": "fund",
            "schema": {
              "description": "Only this fund's portfolio. At most once.",
              "type": "string"
            }
          },
          {
            "description": "The org the app expects; it must equal the authenticated org. Required once.",
            "in": "header",
            "name": "Nexio-Expected-Org",
            "schema": {
              "description": "The org the app expects; it must equal the authenticated org. Required once.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PortfolioLeasingBody"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Read the portfolio's Leasing view",
        "tags": [
          "Records"
        ]
      }
    },
    "/records/portfolio/operations": {
      "get": {
        "description": "The portfolio's operations view under the caller's app-store visibility.",
        "operationId": "getPortfolioOperations",
        "parameters": [
          {
            "description": "Only this property manager's portfolio. At most once.",
            "explode": false,
            "in": "query",
            "name": "manager",
            "schema": {
              "description": "Only this property manager's portfolio. At most once.",
              "type": "string"
            }
          },
          {
            "description": "Only this fund's portfolio. At most once.",
            "explode": false,
            "in": "query",
            "name": "fund",
            "schema": {
              "description": "Only this fund's portfolio. At most once.",
              "type": "string"
            }
          },
          {
            "description": "The org the app expects; it must equal the authenticated org. Required once.",
            "in": "header",
            "name": "Nexio-Expected-Org",
            "schema": {
              "description": "The org the app expects; it must equal the authenticated org. Required once.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PortfolioOperationsBody"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Read the portfolio's Operations view",
        "tags": [
          "Records"
        ]
      }
    },
    "/records/portfolio/plan": {
      "get": {
        "description": "The portfolio's plan under the caller's app-store visibility.",
        "operationId": "getPortfolioPlan",
        "parameters": [
          {
            "description": "Only this property manager's portfolio. At most once.",
            "explode": false,
            "in": "query",
            "name": "manager",
            "schema": {
              "description": "Only this property manager's portfolio. At most once.",
              "type": "string"
            }
          },
          {
            "description": "Only this fund's portfolio. At most once.",
            "explode": false,
            "in": "query",
            "name": "fund",
            "schema": {
              "description": "Only this fund's portfolio. At most once.",
              "type": "string"
            }
          },
          {
            "description": "The org the app expects; it must equal the authenticated org. Required once.",
            "in": "header",
            "name": "Nexio-Expected-Org",
            "schema": {
              "description": "The org the app expects; it must equal the authenticated org. Required once.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PortfolioPlanBody"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Read the portfolio's Plan view",
        "tags": [
          "Records"
        ]
      }
    },
    "/records/portfolio/properties": {
      "get": {
        "description": "One page of the portfolio's properties, sorted and filtered by the platform.",
        "operationId": "listPortfolioProperties",
        "parameters": [
          {
            "description": "Only this property manager's properties.",
            "explode": false,
            "in": "query",
            "name": "manager",
            "schema": {
              "description": "Only this property manager's properties.",
              "type": "string"
            }
          },
          {
            "description": "Only this fund's properties.",
            "explode": false,
            "in": "query",
            "name": "fund",
            "schema": {
              "description": "Only this fund's properties.",
              "type": "string"
            }
          },
          {
            "description": "The sort column.",
            "explode": false,
            "in": "query",
            "name": "sort",
            "schema": {
              "description": "The sort column.",
              "type": "string"
            }
          },
          {
            "description": "asc or desc.",
            "explode": false,
            "in": "query",
            "name": "direction",
            "schema": {
              "description": "asc or desc.",
              "type": "string"
            }
          },
          {
            "description": "Only properties linked or not linked to an account.",
            "explode": false,
            "in": "query",
            "name": "linked",
            "schema": {
              "description": "Only properties linked or not linked to an account.",
              "type": "string"
            }
          },
          {
            "description": "A positive integer.",
            "explode": false,
            "in": "query",
            "name": "page",
            "schema": {
              "description": "A positive integer.",
              "type": "string"
            }
          },
          {
            "description": "A positive integer.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "A positive integer.",
              "type": "string"
            }
          },
          {
            "description": "The org the app expects; it must equal the authenticated org. Required once.",
            "in": "header",
            "name": "Nexio-Expected-Org",
            "schema": {
              "description": "The org the app expects; it must equal the authenticated org. Required once.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PortfolioPropertiesBody"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List the portfolio's properties",
        "tags": [
          "Records"
        ]
      }
    },
    "/records/portfolio/today": {
      "get": {
        "description": "The portfolio's day view under the caller's app-store visibility.",
        "operationId": "getPortfolioToday",
        "parameters": [
          {
            "description": "Only this property manager's portfolio. At most once.",
            "explode": false,
            "in": "query",
            "name": "manager",
            "schema": {
              "description": "Only this property manager's portfolio. At most once.",
              "type": "string"
            }
          },
          {
            "description": "Only this fund's portfolio. At most once.",
            "explode": false,
            "in": "query",
            "name": "fund",
            "schema": {
              "description": "Only this fund's portfolio. At most once.",
              "type": "string"
            }
          },
          {
            "description": "The org the app expects; it must equal the authenticated org. Required once.",
            "in": "header",
            "name": "Nexio-Expected-Org",
            "schema": {
              "description": "The org the app expects; it must equal the authenticated org. Required once.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PortfolioTodayBody"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Read the portfolio's Today view",
        "tags": [
          "Records"
        ]
      }
    },
    "/records/premiums": {
      "get": {
        "description": "Views: list, full, record. The source owns field projection, admission and continuation. Source parent keys are opaque references. Selectors by view: {'record': ['premium_id']}.",
        "operationId": "listPolicySourceView12",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "The exact policy to admit before source reads.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "The exact policy to admit before source reads.",
              "type": "string"
            }
          },
          {
            "description": "The requested business projection.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "default": "list",
              "description": "The requested business projection.",
              "enum": [
                "list",
                "full",
                "record"
              ],
              "type": "string"
            }
          },
          {
            "description": "Public premium record id from the list response, in the policy instance. Required for the record view.",
            "explode": false,
            "in": "query",
            "name": "premium_id",
            "schema": {
              "description": "Public premium record id from the list response, in the policy instance. Required for the record view.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read premiums",
        "tags": [
          "premium_rows"
        ]
      }
    },
    "/records/procedure-documents": {
      "get": {
        "description": "Every procedure document the org reads: its own where it wrote one, the default otherwise, in procedure id order, or best search rank first with q. Nexio-authored guidance from the platform store, not book rows. The library is read whole and searched, filtered, counted and paged here; it answers 503 reason LIBRARY_OVER_BOUND past 500 documents rather than part of the library.",
        "operationId": "listProcedureDocuments",
        "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": "A producer's words: matched against title, purpose, step titles, What to do and Navigator text, with the profession's abbreviations folded in (BOR, COI, x-date). Hits come best rank first, catalog order within a rank. When no document holds every word, the documents with a step holding more than half of them come instead, best step first.",
            "explode": false,
            "in": "query",
            "name": "q",
            "schema": {
              "description": "A producer's words: matched against title, purpose, step titles, What to do and Navigator text, with the profession's abbreviations folded in (BOR, COI, x-date). Hits come best rank first, catalog order within a rank. When no document holds every word, the documents with a step holding more than half of them come instead, best step first.",
              "maxLength": 200,
              "type": "string"
            }
          },
          {
            "description": "Register view: families to leave out, comma separated (client-experience, standard-practice); none hides nothing. Absent reads the person's saved view, else nothing hidden.",
            "explode": false,
            "in": "query",
            "name": "hide.family",
            "schema": {
              "description": "Register view: families to leave out, comma separated (client-experience, standard-practice); none hides nothing. Absent reads the person's saved view, else nothing hidden.",
              "type": "string"
            }
          },
          {
            "description": "Serve the exact count of documents this read keeps.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "Serve the exact count of documents this read keeps.",
              "type": "boolean"
            }
          },
          {
            "description": "Page size. Absent reads the whole library in one page (at most 500).",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Absent reads the whole library in one page (at most 500).",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The page token from page.next.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The page token from page.next.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProcedureDocumentList"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The org's procedure documents",
        "tags": [
          "procedures"
        ]
      }
    },
    "/records/procedure-documents/search": {
      "post": {
        "description": "GET /records/procedure-documents 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": "listProcedureDocumentsSearch",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "cursor": {
                    "description": "The page token from page.next.",
                    "type": "string"
                  },
                  "hide.family": {
                    "description": "Register view: families to leave out, comma separated (client-experience, standard-practice); none hides nothing. Absent reads the person's saved view, else nothing hidden.",
                    "type": "string"
                  },
                  "include_total": {
                    "description": "Serve the exact count of documents this read keeps.",
                    "type": "boolean"
                  },
                  "limit": {
                    "description": "Page size. Absent reads the whole library in one page (at most 500).",
                    "format": "int64",
                    "minimum": 1,
                    "type": "integer"
                  },
                  "q": {
                    "description": "A producer's words: matched against title, purpose, step titles, What to do and Navigator text, with the profession's abbreviations folded in (BOR, COI, x-date). Hits come best rank first, catalog order within a rank. When no document holds every word, the documents with a step holding more than half of them come instead, best step first.",
                    "maxLength": 200,
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProcedureDocumentList"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The org's procedure documents (parameters in the body)",
        "tags": [
          "procedures"
        ]
      }
    },
    "/records/procedure-documents/{procedure_id}": {
      "put": {
        "description": "Writes the org's own document for the procedure id, which shadows the default of the same id. The org's live key only, never a scoped key; org_id in the body must name the key's org. An idempotent upsert.",
        "operationId": "putProcedureDocument",
        "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 procedure id.",
            "in": "path",
            "name": "procedure_id",
            "required": true,
            "schema": {
              "description": "The procedure id.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProcedureDocumentSeed"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordProcedureDocument"
                }
              }
            },
            "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"
          },
          "413": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Seed one of the org's procedure documents",
        "tags": [
          "procedures"
        ]
      }
    },
    "/records/procedure-sources": {
      "get": {
        "description": "Every procedure source the org reads: its own where it wrote one, the default otherwise, in source id order, in one page. Answers 503 reason LIBRARY_OVER_BOUND past 500 sources rather than part of the library.",
        "operationId": "listProcedureSources",
        "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"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListProcedureSource"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The source documents the org's procedures cite",
        "tags": [
          "procedures"
        ]
      }
    },
    "/records/procedure-sources/{source_id}": {
      "put": {
        "description": "Writes the org's own source for the source id, which shadows the default of the same id. The org's live key only, never a scoped key; org_id in the body must name the key's org. An idempotent upsert.",
        "operationId": "putProcedureSource",
        "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 source id.",
            "in": "path",
            "name": "source_id",
            "required": true,
            "schema": {
              "description": "The source id.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProcedureSourceSeed"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordProcedureSource"
                }
              }
            },
            "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"
          },
          "413": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Seed one of the org's procedure sources",
        "tags": [
          "procedures"
        ]
      }
    },
    "/records/procedures/view": {
      "get": {
        "description": "The person's saved filters, which the register's list applies when a request names no view filter, and every column the seat may show, its role's default columns and the columns this person shows. A field the seat's field classes withhold is never listed.",
        "operationId": "getProceduresView",
        "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"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRegisterView"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The acting person's procedures filters and columns",
        "tags": [
          "register-views"
        ]
      },
      "put": {
        "description": "Writes the person's own row. Each filter must be one the register's list serves, with a value it takes; each column must be one of columns.available for this seat; anything else is refused with 422. A View as session is read-only here.",
        "operationId": "putProceduresView",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterViewWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRegisterView"
                }
              }
            },
            "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"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Save the acting person's procedures filters and columns",
        "tags": [
          "register-views"
        ]
      }
    },
    "/records/products": {
      "get": {
        "description": "List the organization's products or line vocabulary",
        "operationId": "listProducts",
        "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": "lines returns the static insurance line vocabulary; omitted reads the organization's sourced products.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "description": "lines returns the static insurance line vocabulary; omitted reads the organization's sourced products.",
              "enum": [
                "lines"
              ],
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "level",
            "schema": {
              "default": "product",
              "enum": [
                "product",
                "type",
                "category",
                "line_of_business"
              ],
              "type": "string"
            }
          },
          {
            "description": "Exact IDs at the requested level; repeated IDs are ORed.",
            "explode": true,
            "in": "query",
            "name": "id",
            "schema": {
              "description": "Exact IDs at the requested level; repeated IDs are ORed.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "search",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "type",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "category",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "line_of_business",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductsListResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          },
          "503": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List the organization's products or line vocabulary",
        "tags": [
          "records"
        ]
      }
    },
    "/records/products/search": {
      "post": {
        "description": "GET /records/products 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": "listProductsSearch",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "category": {
                    "type": "string"
                  },
                  "cursor": {
                    "type": "string"
                  },
                  "id": {
                    "description": "Exact IDs at the requested level; repeated IDs are ORed.",
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "include_total": {
                    "type": "string"
                  },
                  "level": {
                    "default": "product",
                    "enum": [
                      "product",
                      "type",
                      "category",
                      "line_of_business"
                    ],
                    "type": "string"
                  },
                  "limit": {
                    "type": "string"
                  },
                  "line_of_business": {
                    "type": "string"
                  },
                  "search": {
                    "type": "string"
                  },
                  "type": {
                    "type": "string"
                  },
                  "view": {
                    "description": "lines returns the static insurance line vocabulary; omitted reads the organization's sourced products.",
                    "enum": [
                      "lines"
                    ],
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductsListResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          },
          "503": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List the organization's products or line vocabulary (parameters in the body)",
        "tags": [
          "records"
        ]
      }
    },
    "/records/products/{id}": {
      "get": {
        "description": "Get an organization product",
        "operationId": "getProduct",
        "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"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "level",
            "schema": {
              "default": "product",
              "enum": [
                "product",
                "type",
                "category",
                "line_of_business"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordOrgProduct"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Bad Request"
          },
          "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"
          },
          "503": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Get an organization product",
        "tags": [
          "records"
        ]
      }
    },
    "/records/proposals/{id}/rollups/comparison": {
      "get": {
        "description": "One workspace proposal's options in their own rank order, each against the account's expiring program: lines as rows, each option's cell per line (a multi-line carrier quote prints its premium once, on its first line), its total and whether it is complete, its change against expiring measured only on the expiring lines it carries and only when both sides are complete, and our commission per option. Unknown money is null, never zero. Commission figures are the carrier_compensation field class and are null for a seat whose role withholds it. An expiring program that could not be read, the cycle's quotes when the seat has no quotes grant, and a quote an option names that the seat cannot read are each named in unreachable. A proposal outside the caller's scope is a 404.",
        "operationId": "getProposalComparison",
        "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 workspace proposal id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The workspace proposal id.",
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordProposalComparison"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Compare a proposal's options against the expiring program",
        "tags": [
          "proposals"
        ]
      }
    },
    "/records/quote-comparisons": {
      "post": {
        "description": "Compute and save a quote comparison",
        "operationId": "compareQuotes",
        "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"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "additionalProperties": true,
                    "anyOf": [
                      {
                        "properties": {
                          "accountId": {
                            "minLength": 1
                          }
                        },
                        "required": [
                          "accountId"
                        ]
                      },
                      {
                        "properties": {
                          "optionsUnderReview": {
                            "minItems": 1
                          }
                        },
                        "required": [
                          "optionsUnderReview"
                        ]
                      }
                    ],
                    "not": {
                      "required": [
                        "sourceComparisonId"
                      ]
                    },
                    "properties": {
                      "accountId": {
                        "type": "string"
                      },
                      "accountNotes": {
                        "type": "string"
                      },
                      "expiringProgram": {
                        "additionalProperties": {},
                        "type": "object"
                      },
                      "lines": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "optionsUnderReview": {
                        "default": [],
                        "items": {
                          "additionalProperties": true,
                          "properties": {
                            "annualCost": {
                              "anyOf": [
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "string"
                                }
                              ]
                            },
                            "autoSymbols": {
                              "items": {
                                "additionalProperties": true,
                                "properties": {
                                  "coverage": {
                                    "type": "string"
                                  },
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "string"
                                      }
                                    ]
                                  },
                                  "symbols": {
                                    "anyOf": [
                                      {
                                        "items": {
                                          "type": "string"
                                        },
                                        "type": "array"
                                      },
                                      {
                                        "type": "string"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "coverage",
                                  "symbols"
                                ],
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "carrier": {
                              "type": "string"
                            },
                            "deductibles": {
                              "items": {
                                "additionalProperties": true,
                                "properties": {
                                  "amount": {
                                    "anyOf": [
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "string"
                                      }
                                    ]
                                  },
                                  "appliesTo": {
                                    "type": "string"
                                  },
                                  "basis": {
                                    "enum": [
                                      "per_occurrence",
                                      "per_claim",
                                      "aggregate",
                                      "per_vehicle"
                                    ],
                                    "type": "string"
                                  },
                                  "lineOfBusiness": {
                                    "type": "string"
                                  },
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "string"
                                      }
                                    ]
                                  },
                                  "type": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "type",
                                  "amount"
                                ],
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "exclusions": {
                              "items": {
                                "additionalProperties": true,
                                "properties": {
                                  "formNumber": {
                                    "type": "string"
                                  },
                                  "lineOfBusiness": {
                                    "type": "string"
                                  },
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "string"
                                      }
                                    ]
                                  },
                                  "title": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "title"
                                ],
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "feesIncluded": {
                              "type": "number"
                            },
                            "forms": {
                              "items": {
                                "additionalProperties": true,
                                "properties": {
                                  "edition": {
                                    "type": "string"
                                  },
                                  "formNumber": {
                                    "type": "string"
                                  },
                                  "lineOfBusiness": {
                                    "type": "string"
                                  },
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "string"
                                      }
                                    ]
                                  },
                                  "title": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "premiumByLine": {
                              "additionalProperties": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  }
                                ]
                              },
                              "type": "object"
                            },
                            "quoteNumber": {
                              "type": "string"
                            },
                            "rates": {
                              "items": {
                                "additionalProperties": true,
                                "properties": {
                                  "baseRate": {
                                    "type": "number"
                                  },
                                  "classCode": {
                                    "type": "string"
                                  },
                                  "description": {
                                    "type": "string"
                                  },
                                  "exposureBasis": {
                                    "type": "string"
                                  },
                                  "lineOfBusiness": {
                                    "type": "string"
                                  },
                                  "netRate": {
                                    "type": "number"
                                  },
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "string"
                                      }
                                    ]
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "scheduleItems": {
                              "items": {
                                "additionalProperties": true,
                                "properties": {
                                  "kind": {
                                    "enum": [
                                      "vehicle",
                                      "driver",
                                      "location"
                                    ],
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "page": {
                                    "anyOf": [
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "string"
                                      }
                                    ]
                                  },
                                  "vin": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "kind",
                                  "name"
                                ],
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "taxesIncluded": {
                              "type": "number"
                            },
                            "terms": {
                              "additionalProperties": {
                                "anyOf": [
                                  {
                                    "additionalProperties": true,
                                    "properties": {
                                      "appliesTo": {
                                        "type": "string"
                                      },
                                      "compareOn": {
                                        "enum": [
                                          "limit",
                                          "retention"
                                        ],
                                        "type": "string"
                                      },
                                      "figures": {
                                        "additionalProperties": true,
                                        "properties": {
                                          "excluded": {
                                            "type": "boolean"
                                          },
                                          "limit": {
                                            "type": "number"
                                          },
                                          "retention": {
                                            "type": "number"
                                          }
                                        },
                                        "type": "object"
                                      },
                                      "group": {
                                        "enum": [
                                          "deal",
                                          "coverage",
                                          "symbols"
                                        ],
                                        "type": "string"
                                      },
                                      "label": {
                                        "type": "string"
                                      },
                                      "mattersBecause": {
                                        "type": "string"
                                      },
                                      "text": {
                                        "type": "string"
                                      }
                                    },
                                    "type": "object"
                                  },
                                  {
                                    "type": "string"
                                  }
                                ]
                              },
                              "type": "object"
                            },
                            "warranties": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            }
                          },
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "requiredLimits": {
                        "items": {
                          "additionalProperties": true,
                          "properties": {
                            "basis": {
                              "type": "string"
                            },
                            "dimension": {
                              "type": "string"
                            },
                            "limit": {
                              "type": "number"
                            },
                            "source": {
                              "enum": [
                                "producer-stated",
                                "inferred"
                              ],
                              "type": "string"
                            }
                          },
                          "required": [
                            "dimension",
                            "limit",
                            "source"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "submissionId": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "accountId": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "createNew": {
                        "type": "boolean"
                      },
                      "sourceComparisonId": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "submissionId": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "sourceComparisonId",
                      "accountId"
                    ],
                    "type": "object"
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QuoteComparisonResponse"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Compute and save a quote comparison",
        "tags": [
          "Records"
        ]
      }
    },
    "/records/quote-comparisons/{id}": {
      "get": {
        "description": "Read a saved quote comparison",
        "operationId": "getQuoteComparison",
        "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"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QuoteComparisonResponse"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Read a saved quote comparison",
        "tags": [
          "Records"
        ]
      }
    },
    "/records/quotes": {
      "get": {
        "description": "Saved workspace records with their full permitted payload. Owner scope, account and submission filters apply before pagination, totals and facets.",
        "operationId": "listQuotes",
        "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": "Exact account identity. System aliases preserve the same customer.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "Exact account identity. System aliases preserve the same customer.",
              "type": "string"
            }
          },
          {
            "description": "Exact saved submission IDs, repeatable: a row on any of them is kept.",
            "explode": true,
            "in": "query",
            "name": "submission_id",
            "schema": {
              "description": "Exact saved submission IDs, repeatable: a row on any of them is kept.",
              "items": {
                "type": "string"
              },
              "maxItems": 200,
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Only these records: comma-separated record IDs, at most 200. An ID the caller's scope does not admit is absent from the answer.",
            "explode": false,
            "in": "query",
            "name": "id[in]",
            "schema": {
              "description": "Only these records: comma-separated record IDs, at most 200. An ID the caller's scope does not admit is absent from the answer.",
              "items": {
                "type": "string"
              },
              "maxItems": 200,
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Exact saved status.",
            "explode": false,
            "in": "query",
            "name": "status",
            "schema": {
              "description": "Exact saved status.",
              "type": "string"
            }
          },
          {
            "description": "Inclusive RFC3339 instant.",
            "explode": false,
            "in": "query",
            "name": "created_from",
            "schema": {
              "description": "Inclusive RFC3339 instant.",
              "type": "string"
            }
          },
          {
            "description": "Exclusive RFC3339 instant.",
            "explode": false,
            "in": "query",
            "name": "created_to",
            "schema": {
              "description": "Exclusive RFC3339 instant.",
              "type": "string"
            }
          },
          {
            "description": "Inclusive RFC3339 instant.",
            "explode": false,
            "in": "query",
            "name": "updated_from",
            "schema": {
              "description": "Inclusive RFC3339 instant.",
              "type": "string"
            }
          },
          {
            "description": "Exclusive RFC3339 instant.",
            "explode": false,
            "in": "query",
            "name": "updated_to",
            "schema": {
              "description": "Exclusive RFC3339 instant.",
              "type": "string"
            }
          },
          {
            "description": "Global order. -created_at sorts newest first, with descending ID ties.",
            "explode": false,
            "in": "query",
            "name": "sort",
            "schema": {
              "description": "Global order. -created_at sorts newest first, with descending ID ties.",
              "enum": [
                "id",
                "-id",
                "-created_at"
              ],
              "type": "string"
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Comma-separated status and source facets over the complete authorized relation. Quotes also take submission: the row count per submission, over the filtered relation, which requires submission_id.",
            "explode": false,
            "in": "query",
            "name": "facets",
            "schema": {
              "description": "Comma-separated status and source facets over the complete authorized relation. Quotes also take submission: the row count per submission, over the filtered relation, which requires submission_id.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListWorkspaceRecord"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "List quotes",
        "tags": [
          "quotes"
        ]
      }
    },
    "/records/quotes/{id}": {
      "get": {
        "description": "Read a Quote",
        "operationId": "getQuote",
        "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 saved record ID.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The saved record ID.",
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordWorkspaceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read a Quote",
        "tags": [
          "quotes"
        ]
      }
    },
    "/records/renewal-entries": {
      "get": {
        "description": "One cursor page of renewal list entries (a policy term on a renewal list, its assignee, stage and completion, and the producer's comments) for the account or policy term named by account_id or policy_id; one of them is required.",
        "operationId": "listRenewalEntries",
        "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": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "The entries of one account (its instance key); account_id or policy_id is required.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "The entries of one account (its instance key); account_id or policy_id is required.",
              "type": "string"
            }
          },
          {
            "description": "The entries of one policy term (its instance key). account_id or policy_id is required.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "schema": {
              "description": "The entries of one policy term (its instance key). account_id or policy_id is required.",
              "type": "string"
            }
          },
          {
            "description": "The entry's stage, as the renewal list names it.",
            "explode": false,
            "in": "query",
            "name": "stage",
            "schema": {
              "description": "The entry's stage, as the renewal list names it.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListRenewalEntry"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "List the renewal list entries of an account or a policy term",
        "tags": [
          "renewal-entries"
        ]
      }
    },
    "/records/renewal-plans/view": {
      "get": {
        "description": "The person's saved filters, which the register's list applies when a request names no view filter, and every column the seat may show, its role's default columns and the columns this person shows. A field the seat's field classes withhold is never listed.",
        "operationId": "getRenewalPlansView",
        "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"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRegisterView"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The acting person's renewal-plans filters and columns",
        "tags": [
          "register-views"
        ]
      },
      "put": {
        "description": "Writes the person's own row. Each filter must be one the register's list serves, with a value it takes; each column must be one of columns.available for this seat; anything else is refused with 422. A View as session is read-only here.",
        "operationId": "putRenewalPlansView",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterViewWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRegisterView"
                }
              }
            },
            "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"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Save the acting person's renewal-plans filters and columns",
        "tags": [
          "register-views"
        ]
      }
    },
    "/records/replacement-cost-attachments": {
      "get": {
        "description": "The attachments of a replacement cost estimate. Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listReplacementCostAttachmentRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List replacement cost attachments",
        "tags": [
          "personal_lines_detail"
        ]
      }
    },
    "/records/replacement-cost-features": {
      "get": {
        "description": "The features a replacement cost estimate counts. Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listReplacementCostFeatureRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List replacement cost features",
        "tags": [
          "personal_lines_detail"
        ]
      }
    },
    "/records/replacement-costs": {
      "get": {
        "description": "A homeowners location's replacement cost estimates. Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listReplacementCostRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List replacement costs",
        "tags": [
          "personal_lines_detail"
        ]
      }
    },
    "/records/reports/view": {
      "get": {
        "description": "The person's saved filters, which the register's list applies when a request names no view filter, and every column the seat may show, its role's default columns and the columns this person shows. A field the seat's field classes withhold is never listed.",
        "operationId": "getReportsView",
        "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"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRegisterView"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The acting person's reports filters and columns",
        "tags": [
          "register-views"
        ]
      },
      "put": {
        "description": "Writes the person's own row. Each filter must be one the register's list serves, with a value it takes; each column must be one of columns.available for this seat; anything else is refused with 422. A View as session is read-only here.",
        "operationId": "putReportsView",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterViewWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRegisterView"
                }
              }
            },
            "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"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Save the acting person's reports filters and columns",
        "tags": [
          "register-views"
        ]
      }
    },
    "/records/risk-item-dispositions": {
      "get": {
        "description": "The stored risk item dispositions, owner-scoped as the Navigator store read is, narrowed by account or document before the page.",
        "operationId": "listRiskItemDispositions",
        "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": "Return all risk item dispositions for account_id, with an exact total. Refuses accounts beyond the risk item read bound. Cannot combine with document_id, cursor or limit.",
            "explode": false,
            "in": "query",
            "name": "complete_account",
            "schema": {
              "description": "Return all risk item dispositions for account_id, with an exact total. Refuses accounts beyond the risk item read bound. Cannot combine with document_id, cursor or limit.",
              "type": "boolean"
            }
          },
          {
            "description": "Rows for this exact risk item key.",
            "explode": false,
            "in": "query",
            "name": "item_key",
            "schema": {
              "description": "Rows for this exact risk item key.",
              "type": "string"
            }
          },
          {
            "description": "Rows on this account.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "Rows on this account.",
              "type": "string"
            }
          },
          {
            "description": "Rows on this document.",
            "explode": false,
            "in": "query",
            "name": "document_id",
            "schema": {
              "description": "Rows on this document.",
              "type": "string"
            }
          },
          {
            "description": "Include the exact count of the filtered, owner-scoped rows, before the cursor.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "Include the exact count of the filtered, owner-scoped rows, before the cursor.",
              "type": "boolean"
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListResourceWire"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "List risk item dispositions",
        "tags": [
          "risk_review_choices"
        ]
      }
    },
    "/records/rollups/commission": {
      "get": {
        "description": "One row per account with agency commission activity in the twelve months ending at the serving's pin. An account absent from the answer had no commission transaction in the window (absence, never zero). The subject narrows inside the seat's RLS ceiling; market and office narrow further. A seat denied carrier compensation is 403 FIELD_DENIED. A scope with more accounts than the rollup serves is refused (result too large), never trimmed. A seat bound to AMS 360 answers the source's absence as data.",
        "operationId": "getCommissionRollup",
        "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": "Narrow to one market of the organization's market map.",
            "explode": false,
            "in": "query",
            "name": "market",
            "schema": {
              "description": "Narrow to one market of the organization's market map.",
              "type": "string"
            }
          },
          {
            "description": "Narrow to one office.",
            "explode": false,
            "in": "query",
            "name": "office",
            "schema": {
              "description": "Narrow to one office.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordCommissionRollup"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Each account's trailing-twelve-month commission",
        "tags": [
          "rollups"
        ]
      }
    },
    "/records/rollups/facets": {
      "get": {
        "description": "The subject's reconciliation headline (policies, active policies, active clients, active full-term premium) and its counts per filter dimension: accounts by state and tenant, policies by line and datasource, and policies expiring by window, with the renewal window that defines them. The subject narrows inside the seat's AMS 360 can-open boundary; market and office narrow further. A seat bound to AMS 360 answers the source's absence as data.",
        "operationId": "getFacetsRollup",
        "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": "Narrow to one market of the organization's market map.",
            "explode": false,
            "in": "query",
            "name": "market",
            "schema": {
              "description": "Narrow to one market of the organization's market map.",
              "type": "string"
            }
          },
          {
            "description": "Narrow to one office.",
            "explode": false,
            "in": "query",
            "name": "office",
            "schema": {
              "description": "Narrow to one office.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordBookFacets"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The selection's book facets",
        "tags": [
          "rollups"
        ]
      }
    },
    "/records/rollups/goals": {
      "get": {
        "description": "The CRM targets and actuals per producer and per office, each cell with its KPI decode, exact decimal totals and the day count behind them. No account, policy or subject filter: no CRM row carries an AMS 360 key. A producer-scoped seat receives an empty answer with the org-scoped-only notice in unreachable (a refusal by design, never an agency with no targets). A seat bound to AMS 360 answers the source's absence.",
        "operationId": "getGoalsRollup",
        "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": "Narrow to the cells counted toward offices the org units place in this market.",
            "explode": false,
            "in": "query",
            "name": "market",
            "schema": {
              "description": "Narrow to the cells counted toward offices the org units place in this market.",
              "type": "string"
            }
          },
          {
            "description": "Narrow to the cells counted toward this office.",
            "explode": false,
            "in": "query",
            "name": "office",
            "schema": {
              "description": "Narrow to the cells counted toward this office.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordBookGoalsRollup"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Sales targets against actuals",
        "tags": [
          "rollups"
        ]
      }
    },
    "/records/rollups/markets/{id}/production": {
      "get": {
        "description": "In-force carrier and line totals and trailing-twelve-month transactions for the named catalog market. Exact normalized carrier attribution runs in the scoped production query. Transaction commission remains carrier compensation. Serves a single market total, native submission and selected-quote bind rates, and the quote-rate insight when it holds. Independent source grants apply to each part.",
        "operationId": "getMarketProduction",
        "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 catalog market entity key, or the market_ref of a market that lives only in AMS (ams:[\"&lt;datasource&gt;\",\"&lt;company id&gt;\"]).",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The catalog market entity key, or the market_ref of a market that lives only in AMS (ams:[\"&lt;datasource&gt;\",\"&lt;company id&gt;\"]).",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "activity_offset",
            "schema": {
              "format": "int64",
              "maximum": 1000000,
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "activity_limit",
            "schema": {
              "format": "int64",
              "maximum": 200,
              "minimum": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordMarketProductionRecord"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The seat's production with one market",
        "tags": [
          "markets"
        ]
      }
    },
    "/records/rollups/movement": {
      "get": {
        "description": "The subject's account movement by month (new, lost, not renewed) with its definitions. The subject narrows inside the seat's AMS 360 can-open boundary; market, office, line, carrier, min_premium and renewing_days narrow further; with no renewing_days the person's saved Reports view decides the renewing window, else none. A seat bound to AMS 360 answers the source's absence as data.",
        "operationId": "getMovementRollup",
        "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": "Narrow to one market of the organization's market map.",
            "explode": false,
            "in": "query",
            "name": "market",
            "schema": {
              "description": "Narrow to one market of the organization's market map.",
              "type": "string"
            }
          },
          {
            "description": "Narrow to one office.",
            "explode": false,
            "in": "query",
            "name": "office",
            "schema": {
              "description": "Narrow to one office.",
              "type": "string"
            }
          },
          {
            "description": "Narrow to one line of business.",
            "explode": false,
            "in": "query",
            "name": "line",
            "schema": {
              "description": "Narrow to one line of business.",
              "type": "string"
            }
          },
          {
            "description": "Narrow to one carrier.",
            "explode": false,
            "in": "query",
            "name": "carrier",
            "schema": {
              "description": "Narrow to one carrier.",
              "type": "string"
            }
          },
          {
            "description": "The account's in-force premium floor, whole dollars.",
            "explode": false,
            "in": "query",
            "name": "min_premium",
            "schema": {
              "description": "The account's in-force premium floor, whole dollars.",
              "type": "string"
            }
          },
          {
            "description": "Policies expiring from the read date up to this many days later (0 is off, at most 366).",
            "explode": false,
            "in": "query",
            "name": "renewing_days",
            "schema": {
              "description": "Policies expiring from the read date up to this many days later (0 is off, at most 366).",
              "type": "string"
            }
          },
          {
            "description": "all (the default), commercial, personal, benefits, life or other.",
            "explode": false,
            "in": "query",
            "name": "world",
            "schema": {
              "description": "all (the default), commercial, personal, benefits, life or other.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordBookPeopleMovement"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Accounts won and lost by month",
        "tags": [
          "rollups"
        ]
      }
    },
    "/records/rollups/org-evidence": {
      "get": {
        "description": "The estate corpus: carrier placement evidence per class cell and ladder rung, aggregated over the whole firm with the k-floors applied at derive time, and the corpus manifest. Not narrowed by the seat's book (an org-wide aggregate has no producer slice). Premium and priced counts are withheld from every seat and null (premium_withheld). present false is absence, not an empty estate. A corpus this build cannot read (another derivation version, or rows removed under a live marker) is 424 SOURCE_UNAVAILABLE, never an empty answer. A seat bound to AMS 360 answers the source's absence as data.",
        "operationId": "getOrgEvidenceRollup",
        "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": "One ladder rung (see levels in the answer); empty serves every rung.",
            "explode": false,
            "in": "query",
            "name": "level",
            "schema": {
              "description": "One ladder rung (see levels in the answer); empty serves every rung.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordOrgEvidence"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The firm's estate placement evidence",
        "tags": [
          "rollups"
        ]
      }
    },
    "/records/rollups/people": {
      "get": {
        "description": "Each owner's (group=) book size, commercial and personal split, new and lost this month, the next 14 days' renewals and retention, with the selection's totals and the trailing monthly retention. Each row's retention_rank places it by twelve-month retention, lowest first, over every row of the rollup; retention_ranking names the rule and how many rows rank. view names the renewing window applied and the owner rows it hides. The subject narrows inside the seat's AMS 360 can-open boundary; market, office, line, carrier, min_premium and renewing_days narrow further; with no renewing_days the person's saved Reports view decides the renewing window, else none. A seat bound to AMS 360 answers the source's absence as data.",
        "operationId": "getPeopleRollup",
        "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": "Narrow to one market of the organization's market map.",
            "explode": false,
            "in": "query",
            "name": "market",
            "schema": {
              "description": "Narrow to one market of the organization's market map.",
              "type": "string"
            }
          },
          {
            "description": "Narrow to one office.",
            "explode": false,
            "in": "query",
            "name": "office",
            "schema": {
              "description": "Narrow to one office.",
              "type": "string"
            }
          },
          {
            "description": "Narrow to one line of business.",
            "explode": false,
            "in": "query",
            "name": "line",
            "schema": {
              "description": "Narrow to one line of business.",
              "type": "string"
            }
          },
          {
            "description": "Narrow to one carrier.",
            "explode": false,
            "in": "query",
            "name": "carrier",
            "schema": {
              "description": "Narrow to one carrier.",
              "type": "string"
            }
          },
          {
            "description": "The account's in-force premium floor, whole dollars.",
            "explode": false,
            "in": "query",
            "name": "min_premium",
            "schema": {
              "description": "The account's in-force premium floor, whole dollars.",
              "type": "string"
            }
          },
          {
            "description": "Policies expiring from the read date up to this many days later (0 is off, at most 366).",
            "explode": false,
            "in": "query",
            "name": "renewing_days",
            "schema": {
              "description": "Policies expiring from the read date up to this many days later (0 is off, at most 366).",
              "type": "string"
            }
          },
          {
            "description": "The owner kind the book splits by: client_manager (the default), producer, office, market, carrier, line or business_type.",
            "explode": false,
            "in": "query",
            "name": "group",
            "schema": {
              "description": "The owner kind the book splits by: client_manager (the default), producer, office, market, carrier, line or business_type.",
              "type": "string"
            }
          },
          {
            "description": "all (the default), commercial, personal, benefits, life or other.",
            "explode": false,
            "in": "query",
            "name": "world",
            "schema": {
              "description": "all (the default), commercial, personal, benefits, life or other.",
              "type": "string"
            }
          },
          {
            "description": "The least decided renewals (renewed or lost) a row needs to rank by twelve-month retention; 0 and 1 both mean one. Default 10.",
            "explode": false,
            "in": "query",
            "name": "retention_rank_base",
            "schema": {
              "default": 10,
              "description": "The least decided renewals (renewed or lost) a row needs to rank by twelve-month retention; 0 and 1 both mean one. Default 10.",
              "format": "int64",
              "minimum": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PeopleRollupRecord"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The book split by one owner kind",
        "tags": [
          "rollups"
        ]
      }
    },
    "/records/rollups/pickers": {
      "get": {
        "description": "Every carrier or line (kind=) in the subject's book, searched by q, each with its in-force policy count, in one global order. The subject narrows inside the seat's AMS 360 can-open boundary; market, office and world narrow further. A seat bound to AMS 360 answers the source's absence as data.",
        "operationId": "listPickerValues",
        "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 value the picker offers.",
            "explode": false,
            "in": "query",
            "name": "kind",
            "required": true,
            "schema": {
              "description": "The value the picker offers.",
              "enum": [
                "carrier",
                "line"
              ],
              "type": "string"
            }
          },
          {
            "description": "A search over the values, at most 64 characters.",
            "explode": false,
            "in": "query",
            "name": "q",
            "schema": {
              "description": "A search over the values, at most 64 characters.",
              "type": "string"
            }
          },
          {
            "description": "all (the default), commercial, personal, benefits, life or other.",
            "explode": false,
            "in": "query",
            "name": "world",
            "schema": {
              "description": "all (the default), commercial, personal, benefits, life or other.",
              "type": "string"
            }
          },
          {
            "description": "Narrow to one market of the organization's market map.",
            "explode": false,
            "in": "query",
            "name": "market",
            "schema": {
              "description": "Narrow to one market of the organization's market map.",
              "type": "string"
            }
          },
          {
            "description": "Narrow to one office.",
            "explode": false,
            "in": "query",
            "name": "office",
            "schema": {
              "description": "Narrow to one office.",
              "type": "string"
            }
          },
          {
            "description": "Page size, 1 to 50. Defaults to 20; a larger value is coerced to 50 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size, 1 to 50. Defaults to 20; a larger value is coerced to 50 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. The search, narrowing and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. The search, narrowing and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "Rows to skip, register views only: at most 1000000, not with cursor. A later page continues with page.next.",
            "explode": false,
            "in": "query",
            "name": "offset",
            "schema": {
              "description": "Rows to skip, register views only: at most 1000000, not with cursor. A later page continues with page.next.",
              "format": "int64",
              "minimum": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListBookPickerValue"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The carriers or lines a filter picker offers",
        "tags": [
          "rollups"
        ]
      }
    },
    "/records/rollups/pickers/search": {
      "post": {
        "description": "GET /records/rollups/pickers 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": "listPickerValuesSearch",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "cursor": {
                    "description": "The opaque page.next of the previous page. The search, narrowing and subject are frozen inside it.",
                    "type": "string"
                  },
                  "kind": {
                    "description": "The value the picker offers.",
                    "enum": [
                      "carrier",
                      "line"
                    ],
                    "type": "string"
                  },
                  "limit": {
                    "description": "Page size, 1 to 50. Defaults to 20; a larger value is coerced to 50 with a LIMIT_COERCED warning.",
                    "format": "int64",
                    "minimum": 1,
                    "type": "integer"
                  },
                  "market": {
                    "description": "Narrow to one market of the organization's market map.",
                    "type": "string"
                  },
                  "office": {
                    "description": "Narrow to one office.",
                    "type": "string"
                  },
                  "offset": {
                    "description": "Rows to skip, register views only: at most 1000000, not with cursor. A later page continues with page.next.",
                    "format": "int64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "q": {
                    "description": "A search over the values, at most 64 characters.",
                    "type": "string"
                  },
                  "subject": {
                    "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"
                    ]
                  },
                  "world": {
                    "description": "all (the default), commercial, personal, benefits, life or other.",
                    "type": "string"
                  }
                },
                "required": [
                  "kind"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListBookPickerValue"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The carriers or lines a filter picker offers (parameters in the body)",
        "tags": [
          "rollups"
        ]
      }
    },
    "/records/rollups/production": {
      "get": {
        "description": "The subject's written premium by month with its carrier concentration and line totals. months[].commission_total is carrier compensation and keeps the seat's RLS ceiling; commission_scope names the slice it covers. The subject narrows inside the seat's AMS 360 can-open boundary; market, office, line, carrier, min_premium and renewing_days narrow further; with no renewing_days the person's saved Reports view decides the renewing window, else none. A seat bound to AMS 360 answers the source's absence as data. world= narrows to the policies of one book.",
        "operationId": "getProductionRollup",
        "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": "Narrow to one market of the organization's market map.",
            "explode": false,
            "in": "query",
            "name": "market",
            "schema": {
              "description": "Narrow to one market of the organization's market map.",
              "type": "string"
            }
          },
          {
            "description": "Narrow to one office.",
            "explode": false,
            "in": "query",
            "name": "office",
            "schema": {
              "description": "Narrow to one office.",
              "type": "string"
            }
          },
          {
            "description": "Narrow to one line of business.",
            "explode": false,
            "in": "query",
            "name": "line",
            "schema": {
              "description": "Narrow to one line of business.",
              "type": "string"
            }
          },
          {
            "description": "Narrow to one carrier.",
            "explode": false,
            "in": "query",
            "name": "carrier",
            "schema": {
              "description": "Narrow to one carrier.",
              "type": "string"
            }
          },
          {
            "description": "The account's in-force premium floor, whole dollars.",
            "explode": false,
            "in": "query",
            "name": "min_premium",
            "schema": {
              "description": "The account's in-force premium floor, whole dollars.",
              "type": "string"
            }
          },
          {
            "description": "Policies expiring from the read date up to this many days later (0 is off, at most 366).",
            "explode": false,
            "in": "query",
            "name": "renewing_days",
            "schema": {
              "description": "Policies expiring from the read date up to this many days later (0 is off, at most 366).",
              "type": "string"
            }
          },
          {
            "description": "all (the default), commercial, personal, benefits, life or other: only the policies whose type of business falls in that book count.",
            "explode": false,
            "in": "query",
            "name": "world",
            "schema": {
              "description": "all (the default), commercial, personal, benefits, life or other: only the policies whose type of business falls in that book count.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordBookProductionRollup"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Production by month, carrier and line",
        "tags": [
          "rollups"
        ]
      }
    },
    "/records/rollups/retention": {
      "get": {
        "description": "Accounts, revenue and outlook counts by platform, market, producer or client manager, most at risk first, with the totals for the same focus and period. One bounded statement: past its ceiling it answers 424 SOURCE_UNAVAILABLE.",
        "operationId": "getRetentionRollup",
        "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 grain (default platform).",
            "explode": false,
            "in": "query",
            "name": "by",
            "schema": {
              "description": "The grain (default platform).",
              "enum": [
                "platform",
                "market",
                "producer",
                "client_manager"
              ],
              "type": "string"
            }
          },
          {
            "description": "The population rule (default revenue_10k, or all for a seat withheld carrier compensation, which is refused revenue_10k and top_quartile_by_count).",
            "explode": false,
            "in": "query",
            "name": "focus",
            "schema": {
              "description": "The population rule (default revenue_10k, or all for a seat withheld carrier compensation, which is refused revenue_10k and top_quartile_by_count).",
              "enum": [
                "revenue_10k",
                "top_quartile_by_count",
                "all"
              ],
              "type": "string"
            }
          },
          {
            "description": "The renewal months (default current_month; all is the read month and the next eleven). Not with expiration_month[in].",
            "explode": false,
            "in": "query",
            "name": "period",
            "schema": {
              "description": "The renewal months (default current_month; all is the read month and the next eleven). Not with expiration_month[in].",
              "enum": [
                "current_month",
                "next_four_months",
                "all"
              ],
              "type": "string"
            }
          },
          {
            "description": "The renewal months by name, YYYY-MM, at most twelve, in place of period; the response's period is then blank.",
            "explode": false,
            "in": "query",
            "name": "expiration_month[in]",
            "schema": {
              "description": "The renewal months by name, YYYY-MM, at most twelve, in place of period; the response's period is then blank.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Narrow to one of the organization's market map platforms.",
            "explode": false,
            "in": "query",
            "name": "platform",
            "schema": {
              "description": "Narrow to one of the organization's market map platforms.",
              "type": "string"
            }
          },
          {
            "description": "Narrow to one of the platform's markets.",
            "explode": false,
            "in": "query",
            "name": "market",
            "schema": {
              "description": "Narrow to one of the platform's markets.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRetentionRollup"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The retention leader rollups over the subject",
        "tags": [
          "rollups"
        ]
      }
    },
    "/records/rollups/staff": {
      "get": {
        "description": "Each client manager's in-force accounts, policies, premium and agency revenue by office and AMS 360 department, the offices by department beside them, the selection's totals and the offices covered. Revenue is carrier compensation: withheld from a seat without that access, and summed only inside the seat's RLS ceiling (revenue_scope names the slice). The subject narrows inside the seat's AMS 360 can-open boundary; market, office, line, carrier, min_premium and renewing_days narrow further; with no renewing_days the person's saved Reports view decides the renewing window, else none. A seat bound to AMS 360 answers the source's absence as data. world= narrows to the policies of one book.",
        "operationId": "getStaffRollup",
        "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": "Narrow to one market of the organization's market map.",
            "explode": false,
            "in": "query",
            "name": "market",
            "schema": {
              "description": "Narrow to one market of the organization's market map.",
              "type": "string"
            }
          },
          {
            "description": "Narrow to one office.",
            "explode": false,
            "in": "query",
            "name": "office",
            "schema": {
              "description": "Narrow to one office.",
              "type": "string"
            }
          },
          {
            "description": "Narrow to one line of business.",
            "explode": false,
            "in": "query",
            "name": "line",
            "schema": {
              "description": "Narrow to one line of business.",
              "type": "string"
            }
          },
          {
            "description": "Narrow to one carrier.",
            "explode": false,
            "in": "query",
            "name": "carrier",
            "schema": {
              "description": "Narrow to one carrier.",
              "type": "string"
            }
          },
          {
            "description": "The account's in-force premium floor, whole dollars.",
            "explode": false,
            "in": "query",
            "name": "min_premium",
            "schema": {
              "description": "The account's in-force premium floor, whole dollars.",
              "type": "string"
            }
          },
          {
            "description": "Policies expiring from the read date up to this many days later (0 is off, at most 366).",
            "explode": false,
            "in": "query",
            "name": "renewing_days",
            "schema": {
              "description": "Policies expiring from the read date up to this many days later (0 is off, at most 366).",
              "type": "string"
            }
          },
          {
            "description": "all (the default), commercial, personal, benefits, life or other: only the policies whose type of business falls in that book count.",
            "explode": false,
            "in": "query",
            "name": "world",
            "schema": {
              "description": "all (the default), commercial, personal, benefits, life or other: only the policies whose type of business falls in that book count.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordBookStaffRollup"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Staff book metrics by client manager, office and department",
        "tags": [
          "rollups"
        ]
      }
    },
    "/records/rollups/summary": {
      "get": {
        "description": "Totals over the subject's book: policies, clients, premium, expiring in force, carriers, lines, business types, producers, agencies and the largest clients. No compensation. The subject narrows inside the seat's AMS 360 can-open boundary; market, office, line, carrier, min_premium and renewing_days narrow further; with no renewing_days the person's saved Reports view decides the renewing window, else none. A seat bound to AMS 360 answers the source's absence as data. world= narrows to the policies of one book.",
        "operationId": "getSummaryRollup",
        "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": "Narrow to one market of the organization's market map.",
            "explode": false,
            "in": "query",
            "name": "market",
            "schema": {
              "description": "Narrow to one market of the organization's market map.",
              "type": "string"
            }
          },
          {
            "description": "Narrow to one office.",
            "explode": false,
            "in": "query",
            "name": "office",
            "schema": {
              "description": "Narrow to one office.",
              "type": "string"
            }
          },
          {
            "description": "Narrow to one line of business.",
            "explode": false,
            "in": "query",
            "name": "line",
            "schema": {
              "description": "Narrow to one line of business.",
              "type": "string"
            }
          },
          {
            "description": "Narrow to one carrier.",
            "explode": false,
            "in": "query",
            "name": "carrier",
            "schema": {
              "description": "Narrow to one carrier.",
              "type": "string"
            }
          },
          {
            "description": "The account's in-force premium floor, whole dollars.",
            "explode": false,
            "in": "query",
            "name": "min_premium",
            "schema": {
              "description": "The account's in-force premium floor, whole dollars.",
              "type": "string"
            }
          },
          {
            "description": "Policies expiring from the read date up to this many days later (0 is off, at most 366).",
            "explode": false,
            "in": "query",
            "name": "renewing_days",
            "schema": {
              "description": "Policies expiring from the read date up to this many days later (0 is off, at most 366).",
              "type": "string"
            }
          },
          {
            "description": "all (the default), commercial, personal, benefits, life or other: only the policies whose type of business falls in that book count.",
            "explode": false,
            "in": "query",
            "name": "world",
            "schema": {
              "description": "all (the default), commercial, personal, benefits, life or other: only the policies whose type of business falls in that book count.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordSummaryRollup"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The selection's book summary",
        "tags": [
          "rollups"
        ]
      }
    },
    "/records/saved-quote-comparisons": {
      "get": {
        "description": "Navigator's stored saved quote comparisons, owner-scoped as the Navigator store read is, each filter applied before the page.",
        "operationId": "listSavedQuoteComparisons",
        "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": "Page size, bounded by the API.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size, bounded by the API.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "Continue with page.next from the same collection.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "Continue with page.next from the same collection.",
              "type": "string"
            }
          },
          {
            "description": "Include the exact count of the filtered and authorized relation, before the cursor.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "Include the exact count of the filtered and authorized relation, before the cursor.",
              "type": "boolean"
            }
          },
          {
            "description": "Rows on these accounts, repeatable.",
            "explode": true,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "Rows on these accounts, repeatable.",
              "items": {
                "type": "string"
              },
              "maxItems": 200,
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Rows on these submissions, repeatable.",
            "explode": true,
            "in": "query",
            "name": "submission_id",
            "schema": {
              "description": "Rows on these submissions, repeatable.",
              "items": {
                "type": "string"
              },
              "maxItems": 200,
              "type": [
                "array",
                "null"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListWorkbenchRow"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "List saved quote comparisons",
        "tags": [
          "quote_comparisons"
        ]
      }
    },
    "/records/saved-quote-comparisons/{id}": {
      "get": {
        "description": "One stored row by its id, admitted as the Navigator store's keyed read is. An absent row and one the seat cannot read are one answer.",
        "operationId": "getSavedQuoteComparison",
        "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 stored row id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The stored row id.",
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "description": "Serve the comparison only when it is on this submission; any other submission is the same answer as an absent comparison.",
            "explode": false,
            "in": "query",
            "name": "submission_id",
            "schema": {
              "description": "Serve the comparison only when it is on this submission; any other submission is the same answer as an absent comparison.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordWorkbenchRow"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read one of the saved quote comparisons",
        "tags": [
          "quote_comparisons"
        ]
      }
    },
    "/records/scheduled-property-classes": {
      "get": {
        "description": "A homeowners term's scheduled personal property, summed by class. Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listScheduledPropertyClassRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List scheduled property classes",
        "tags": [
          "personal_lines_detail"
        ]
      }
    },
    "/records/scheduled-property-items": {
      "get": {
        "description": "A homeowners term's scheduled personal property items. Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listScheduledPropertyItemRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List scheduled property items",
        "tags": [
          "personal_lines_detail"
        ]
      }
    },
    "/records/search": {
      "get": {
        "description": "Searches every registered entity search the seat may use, at request time on the family's source (nothing is indexed or copied), under the seat's scope. A hit is served only when the seat may open its record; each names its family, collection, id and read path. A family whose source does not serve a name search for this seat is named in unreachable. views names every view searched with its status: the search is complete only when every view is complete (its source answered with fewer rows than limit); a view at the limit is partial.",
        "operationId": "searchRecords",
        "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 name, AMS 360 customer number or policy number to find, at most 64 characters. Names match by their words, any case, spacing, punctuation and plural ignored.",
            "explode": false,
            "in": "query",
            "name": "q",
            "required": true,
            "schema": {
              "description": "The name, AMS 360 customer number or policy number to find, at most 64 characters. Names match by their words, any case, spacing, punctuation and plural ignored.",
              "maxLength": 64,
              "type": "string"
            }
          },
          {
            "description": "At most this many hits per searched view. Defaults to 25; a larger value than 50 is coerced to 50 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "At most this many hits per searched view. Defaults to 25; a larger value than 50 is coerced to 50 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordsSearchBody"
                }
              }
            },
            "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Find the seat's records across families by name",
        "tags": [
          "records"
        ]
      },
      "post": {
        "description": "GET /records/search 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": "searchRecordsSearch",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "limit": {
                    "description": "At most this many hits per searched view. Defaults to 25; a larger value than 50 is coerced to 50 with a LIMIT_COERCED warning.",
                    "format": "int64",
                    "minimum": 1,
                    "type": "integer"
                  },
                  "q": {
                    "description": "The name, AMS 360 customer number or policy number to find, at most 64 characters. Names match by their words, any case, spacing, punctuation and plural ignored.",
                    "maxLength": 64,
                    "type": "string"
                  }
                },
                "required": [
                  "q"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordsSearchBody"
                }
              }
            },
            "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Find the seat's records across families by name (parameters in the body)",
        "tags": [
          "records"
        ]
      }
    },
    "/records/seats/current": {
      "get": {
        "description": "The seat's scope, its home, its entitlement, its source binding and the serving the book reads under. A refusal is answered as data (data.scope.refused), never as an error, so a page can say why the seat reads nothing. A caller that needs only who the seat is reads GET /records/seats/current/entitlement.",
        "operationId": "getCurrentSeat",
        "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": "true to read the seat's team beside it.",
            "explode": false,
            "in": "query",
            "name": "include_team",
            "schema": {
              "description": "true to read the seat's team beside it.",
              "type": "string"
            }
          },
          {
            "description": "true or false: read the seat's related books beside it.",
            "explode": false,
            "in": "query",
            "name": "include_related_books",
            "schema": {
              "description": "true or false: read the seat's related books beside it.",
              "type": "string"
            }
          },
          {
            "description": "The legacy selection preview: the seat's own book.",
            "explode": false,
            "in": "query",
            "name": "mine",
            "schema": {
              "description": "The legacy selection preview: the seat's own book.",
              "type": "string"
            }
          },
          {
            "description": "The legacy selection preview: one related book.",
            "explode": false,
            "in": "query",
            "name": "book",
            "schema": {
              "description": "The legacy selection preview: one related book.",
              "type": "string"
            }
          },
          {
            "description": "The legacy selection preview: one producer.",
            "explode": false,
            "in": "query",
            "name": "producer",
            "schema": {
              "description": "The legacy selection preview: one producer.",
              "type": "string"
            }
          },
          {
            "description": "The legacy selection preview: one client manager.",
            "explode": false,
            "in": "query",
            "name": "client_manager",
            "schema": {
              "description": "The legacy selection preview: one client manager.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordSeatStatus"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The acting seat's resolved book",
        "tags": [
          "seats"
        ]
      }
    },
    "/records/seats/current/entitlement": {
      "get": {
        "description": "Who the seat is and what it may do: the entitlement, the execution view and the scope's kind and refusal that GET /records/seats/current carries, from the same resolve and the same refusals, without the seat's home, the org's AMS 360 links or the serving. A scope refusal is not an error here either: it is data.scope.refused, in every access posture. data.scope is absent when the org has no published book.",
        "operationId": "getCurrentSeatEntitlement",
        "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"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordSeatEntitlement"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The acting seat's entitlement",
        "tags": [
          "seats"
        ]
      }
    },
    "/records/sec-filings": {
      "get": {
        "description": "A public company's filings with the SEC, newest first, read live from EDGAR: each filing's form, accession number, filing date and documents; for a 10-K, 10-Q, 20-F or 40-F the financial statement values its XBRL company facts carry for its own period (revenue, net income, total assets, total liabilities, stockholders' equity, cash, total debt with the concepts it adds); and on the first row, the filing's legal proceedings disclosure quoted from its text (Item 3 and the note it points to). Find the company by name or ticker (company) or by CIK (cik); form 10-K returns the annual reports, so the first row is the latest 10-K. q runs EDGAR full-text search over filings since 2001 (risk factors, indemnification, a lawsuit's name) and quotes the first match's passages. Cite each figure and quote with the filing's form, accession_number and filing_date. The filings are public and the same for every org.",
        "operationId": "listSecFilings",
        "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 company's name or ticker as the person gives it (\"Southwest Airlines\", \"LUV\"); the platform resolves it to the filer EDGAR ranks first.",
            "explode": false,
            "in": "query",
            "name": "company",
            "schema": {
              "description": "The company's name or ticker as the person gives it (\"Southwest Airlines\", \"LUV\"); the platform resolves it to the filer EDGAR ranks first.",
              "maxLength": 200,
              "type": "string"
            }
          },
          {
            "description": "The filer's SEC Central Index Key, when known; send company or cik, not both.",
            "explode": false,
            "in": "query",
            "name": "cik",
            "schema": {
              "description": "The filer's SEC Central Index Key, when known; send company or cik, not both.",
              "maxLength": 10,
              "type": "string"
            }
          },
          {
            "description": "The forms to return, comma separated (10-K for the annual report, 10-Q, 8-K, DEF 14A, 20-F); every form when empty.",
            "explode": false,
            "in": "query",
            "name": "form",
            "schema": {
              "description": "The forms to return, comma separated (10-K for the annual report, 10-Q, 8-K, DEF 14A, 20-F); every form when empty.",
              "maxLength": 60,
              "type": "string"
            }
          },
          {
            "description": "One filing's accession number (0000092380-26-000004), with company or cik.",
            "explode": false,
            "in": "query",
            "name": "accession",
            "schema": {
              "description": "One filing's accession number (0000092380-26-000004), with company or cik.",
              "maxLength": 20,
              "type": "string"
            }
          },
          {
            "description": "Words, or a phrase in double quotes, the filing's text contains: EDGAR full-text search over filings since 2001, within the company when company or cik is sent.",
            "explode": false,
            "in": "query",
            "name": "q",
            "schema": {
              "description": "Words, or a phrase in double quotes, the filing's text contains: EDGAR full-text search over filings since 2001, within the company when company or cik is sent.",
              "maxLength": 300,
              "type": "string"
            }
          },
          {
            "description": "Filings to return, 5 by default, at most 20.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Filings to return, 5 by default, at most 20.",
              "format": "int64",
              "minimum": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSecFilingRecord"
                }
              }
            },
            "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"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "A public company's SEC filings on EDGAR",
        "tags": [
          "sec-filings"
        ]
      }
    },
    "/records/sec-filings/search": {
      "post": {
        "description": "GET /records/sec-filings 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": "listSecFilingsSearch",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "accession": {
                    "description": "One filing's accession number (0000092380-26-000004), with company or cik.",
                    "maxLength": 20,
                    "type": "string"
                  },
                  "cik": {
                    "description": "The filer's SEC Central Index Key, when known; send company or cik, not both.",
                    "maxLength": 10,
                    "type": "string"
                  },
                  "company": {
                    "description": "The company's name or ticker as the person gives it (\"Southwest Airlines\", \"LUV\"); the platform resolves it to the filer EDGAR ranks first.",
                    "maxLength": 200,
                    "type": "string"
                  },
                  "form": {
                    "description": "The forms to return, comma separated (10-K for the annual report, 10-Q, 8-K, DEF 14A, 20-F); every form when empty.",
                    "maxLength": 60,
                    "type": "string"
                  },
                  "limit": {
                    "description": "Filings to return, 5 by default, at most 20.",
                    "format": "int64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "q": {
                    "description": "Words, or a phrase in double quotes, the filing's text contains: EDGAR full-text search over filings since 2001, within the company when company or cik is sent.",
                    "maxLength": 300,
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSecFilingRecord"
                }
              }
            },
            "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"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "A public company's SEC filings on EDGAR (parameters in the body)",
        "tags": [
          "sec-filings"
        ]
      }
    },
    "/records/service-agreement-transactions": {
      "get": {
        "description": "One service agreement term's transactions; an ordinary term answers no rows. Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listServiceAgreementTransactionRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List service agreement transactions",
        "tags": [
          "service_agreements"
        ]
      }
    },
    "/records/service-agreements": {
      "get": {
        "description": "An account's service agreements on admitted terms, as listed (list) or searched (search). Views: list, search. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listServiceAgreementRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped account id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped account id required before any source read.",
              "type": "string"
            }
          },
          {
            "description": "The requested business projection.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "default": "list",
              "description": "The requested business projection.",
              "enum": [
                "list",
                "search"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List service agreements",
        "tags": [
          "service_agreements"
        ]
      }
    },
    "/records/sources": {
      "get": {
        "description": "Per family the binding concerns: its source for a real seat and for an AMS 360 sandbox seat, whether an adapter reads it live, and whether the sandbox seat can write it. From the seam's own lookup and adapter list; it names families and sources, never book rows.",
        "operationId": "getSourcePlan",
        "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"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordSourcePlan"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Where each family reads",
        "tags": [
          "seats"
        ]
      }
    },
    "/records/specialty-buildings": {
      "get": {
        "description": "A specialty line term's scheduled buildings. Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listSpecialtyBuildingRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List specialty line buildings",
        "tags": [
          "line_schedules_other"
        ]
      }
    },
    "/records/specialty-coverages": {
      "get": {
        "description": "A specialty line term's coverages per scheduled risk. Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listSpecialtyCoverageRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List specialty line coverages",
        "tags": [
          "line_schedules_other"
        ]
      }
    },
    "/records/specialty-locations": {
      "get": {
        "description": "A specialty line term's scheduled locations. Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listSpecialtyLocationRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List specialty line locations",
        "tags": [
          "line_schedules_other"
        ]
      }
    },
    "/records/specialty-risks": {
      "get": {
        "description": "A specialty line term's scheduled risks. Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listSpecialtyRiskRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List specialty line risks",
        "tags": [
          "line_schedules_other"
        ]
      }
    },
    "/records/submission-terms": {
      "get": {
        "description": "Source-grain records admitted through the account's existing scope. Warehouse market approaches, quotes and binders are separate records. Fields retain the source projection; unsupported columns remain explicit gaps.",
        "operationId": "listSubmissionTerms",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "The account whose admitted submission terms to read.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "required": true,
            "schema": {
              "description": "The account whose admitted submission terms to read.",
              "type": "string"
            }
          },
          {
            "description": "The submission term projection to read.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "default": "list",
              "description": "The submission term projection to read.",
              "enum": [
                "list",
                "record"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSubmissionTermRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List account submission policy terms",
        "tags": [
          "submissions"
        ]
      }
    },
    "/records/submission-terms/{id}/drivers": {
      "get": {
        "description": "Every driver an open AMS 360 submission schedules, one row each: business auto drivers (ACORD 127) and personal auto drivers, with each driver's number, name, licensed state, date of birth and licence number. For an account whose drivers sit on an open submission rather than a bound policy; a bound policy's drivers are GET /records/policies/{id}/drivers. The submission is admitted as the account's open submission terms admit it.",
        "operationId": "listSubmissionTermDrivers",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "The submission term id GET /records/submission-terms serves, {instance}:submission_term:{policy id}.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The submission term id GET /records/submission-terms serves, {instance}:submission_term:{policy id}.",
              "type": "string"
            }
          },
          {
            "description": "The account the submission is on. The term is admitted as the account's open submission terms admit it, so a term the seat may not open, or one on another account, answers as one that does not exist.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "required": true,
            "schema": {
              "description": "The account the submission is on. The term is admitted as the account's open submission terms admit it, so a term the seat may not open, or one on another account, answers as one that does not exist.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSubmissionTermDriver"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List an open submission's drivers",
        "tags": [
          "submissions"
        ]
      }
    },
    "/records/submission-terms/{id}/vehicles": {
      "get": {
        "description": "Every vehicle an open AMS 360 submission schedules, one row each: business auto vehicles (ACORD 127) and personal auto vehicles, with each vehicle's number, model year, make, model and VIN. For an account whose vehicles sit on an open submission rather than a bound policy; a bound policy's vehicles are GET /records/vehicles. The submission is admitted as the account's open submission terms admit it.",
        "operationId": "listSubmissionTermVehicles",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "The submission term id GET /records/submission-terms serves, {instance}:submission_term:{policy id}.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The submission term id GET /records/submission-terms serves, {instance}:submission_term:{policy id}.",
              "type": "string"
            }
          },
          {
            "description": "The account the submission is on. The term is admitted as the account's open submission terms admit it, so a term the seat may not open, or one on another account, answers as one that does not exist.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "required": true,
            "schema": {
              "description": "The account the submission is on. The term is admitted as the account's open submission terms admit it, so a term the seat may not open, or one on another account, answers as one that does not exist.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSubmissionTermVehicle"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List an open submission's vehicles",
        "tags": [
          "submissions"
        ]
      }
    },
    "/records/submission-transactions": {
      "get": {
        "description": "Source-grain records admitted through the account's existing scope. Warehouse market approaches, quotes and binders are separate records. Fields retain the source projection; unsupported columns remain explicit gaps.",
        "operationId": "listSubmissionTransactions",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "The account whose admitted submission terms or transactions to read.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "required": true,
            "schema": {
              "description": "The account whose admitted submission terms or transactions to read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSubmissionTermRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List account submission transactions",
        "tags": [
          "submissions"
        ]
      }
    },
    "/records/submissions": {
      "get": {
        "description": "One scoped collection of AMS market approaches and Nexio submission workspaces. Source is explicit on each row. Filters and totals execute in each source before a bounded global merge in the requested order; neither source is a fallback.",
        "operationId": "listSubmissions",
        "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": "Keep rows linked to any of these accounts within the caller's authorized scope. Multiple accounts require source=workspace.",
            "explode": true,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "Keep rows linked to any of these accounts within the caller's authorized scope. Multiple accounts require source=workspace.",
              "items": {
                "type": "string"
              },
              "maxItems": 200,
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Only these submission ids. Repeat the id or comma-separate, at most 200. Requires source=workspace.",
            "explode": true,
            "in": "query",
            "name": "id",
            "schema": {
              "description": "Only these submission ids. Repeat the id or comma-separate, at most 200. Requires source=workspace.",
              "items": {
                "type": "string"
              },
              "maxItems": 200,
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Account name prefix. Matches the client name, DBA or a named insured, spacing and punctuation ignored, within the caller's accounts. Requires source=workspace; not with account_id.",
            "explode": false,
            "in": "query",
            "name": "account_name",
            "schema": {
              "description": "Account name prefix. Matches the client name, DBA or a named insured, spacing and punctuation ignored, within the caller's accounts. Requires source=workspace; not with account_id.",
              "type": "string"
            }
          },
          {
            "description": "Carry each row's quotes. quotes puts every quote of a workspace submission in the row, read for the page in one bounded read under the quote grant and field policy; without the grant it is unreachable. AMS rows carry none.",
            "explode": false,
            "in": "query",
            "name": "include",
            "schema": {
              "description": "Carry each row's quotes. quotes puts every quote of a workspace submission in the row, read for the page in one bounded read under the quote grant and field policy; without the grant it is unreachable. AMS rows carry none.",
              "enum": [
                "quotes"
              ],
              "type": "string"
            }
          },
          {
            "description": "Keep workspace submissions bound to this placement run. Requires source=workspace.",
            "explode": false,
            "in": "query",
            "name": "placement_run_id",
            "schema": {
              "description": "Keep workspace submissions bound to this placement run. Requires source=workspace.",
              "type": "string"
            }
          },
          {
            "description": "Optional authorized source connection; frozen in the cursor.",
            "explode": false,
            "in": "query",
            "name": "connection_id",
            "schema": {
              "description": "Optional authorized source connection; frozen in the cursor.",
              "type": "string"
            }
          },
          {
            "description": "Canonical Records policy ID ({instance}:policy_term:{id}): the AMS submission shell or the workspace renewingPolicyId.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "schema": {
              "description": "Canonical Records policy ID ({instance}:policy_term:{id}): the AMS submission shell or the workspace renewingPolicyId.",
              "type": "string"
            }
          },
          {
            "description": "Canonical market entity key on workspace carrier submissions. AMS approaches have no verified market identity.",
            "explode": false,
            "in": "query",
            "name": "market_entity_key",
            "schema": {
              "description": "Canonical market entity key on workspace carrier submissions. AMS approaches have no verified market identity.",
              "type": "string"
            }
          },
          {
            "description": "all (default) retains caller scope; mine further selects workspaces owned by the acting principal. AMS approaches have no workspace owner.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "description": "all (default) retains caller scope; mine further selects workspaces owned by the acting principal. AMS approaches have no workspace owner.",
              "enum": [
                "all",
                "mine"
              ],
              "type": "string"
            }
          },
          {
            "description": "Optional provenance filter. Submissions include both sources by default.",
            "explode": false,
            "in": "query",
            "name": "source",
            "schema": {
              "description": "Optional provenance filter. Submissions include both sources by default.",
              "enum": [
                "ams",
                "workspace"
              ],
              "type": "string"
            }
          },
          {
            "description": "Saved status. One exact status, or several comma-separated (at most 20), or open for every value the placement_status machine does not settle; several or open require source=workspace. Unknown AMS market outcomes do not match an asked status.",
            "explode": false,
            "in": "query",
            "name": "status",
            "schema": {
              "description": "Saved status. One exact status, or several comma-separated (at most 20), or open for every value the placement_status machine does not settle; several or open require source=workspace. Unknown AMS market outcomes do not match an asked status.",
              "type": "string"
            }
          },
          {
            "description": "Inclusive RFC3339 instant.",
            "explode": false,
            "in": "query",
            "name": "created_from",
            "schema": {
              "description": "Inclusive RFC3339 instant.",
              "type": "string"
            }
          },
          {
            "description": "Exclusive RFC3339 instant.",
            "explode": false,
            "in": "query",
            "name": "created_to",
            "schema": {
              "description": "Exclusive RFC3339 instant.",
              "type": "string"
            }
          },
          {
            "description": "Inclusive RFC3339 instant.",
            "explode": false,
            "in": "query",
            "name": "updated_from",
            "schema": {
              "description": "Inclusive RFC3339 instant.",
              "type": "string"
            }
          },
          {
            "description": "Exclusive RFC3339 instant.",
            "explode": false,
            "in": "query",
            "name": "updated_to",
            "schema": {
              "description": "Exclusive RFC3339 instant.",
              "type": "string"
            }
          },
          {
            "description": "Global order; default id. Date ties use ID then source in the same direction. Missing AMS dates sort as the Unix epoch.",
            "explode": false,
            "in": "query",
            "name": "sort",
            "schema": {
              "description": "Global order; default id. Date ties use ID then source in the same direction. Missing AMS dates sort as the Unix epoch.",
              "enum": [
                "id",
                "-id",
                "created_at",
                "-created_at",
                "updated_at",
                "-updated_at"
              ],
              "type": "string"
            }
          },
          {
            "description": "Maximum rows in this page; the API applies its standard page bound.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Maximum rows in this page; the API applies its standard page bound.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "Continue with page.next from the same caller, source selection and filters.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "Continue with page.next from the same caller, source selection and filters.",
              "type": "string"
            }
          },
          {
            "description": "Include the count of the complete filtered and authorized relation, before the cursor.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "Include the count of the complete filtered and authorized relation, before the cursor.",
              "type": "boolean"
            }
          },
          {
            "description": "Comma-separated status and source facets over the filtered, admitted relation.",
            "explode": false,
            "in": "query",
            "name": "facets",
            "schema": {
              "description": "Comma-separated status and source facets over the filtered, admitted relation.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSubmission"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "List submissions",
        "tags": [
          "submissions"
        ]
      }
    },
    "/records/submissions/rollups/context": {
      "get": {
        "description": "The existing account-grain submission context: independent shopping groups, market approaches, binders and quotes. Source identifiers inside these blocks remain source identifiers. policy_id narrows submissions and binders; groups and quotes stay account-wide, exactly as the source read. No quote is attached to a submission without a source edge.",
        "operationId": "getSubmissionsContext",
        "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"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "account_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordSubmissionContext"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read account submission context",
        "tags": [
          "submissions"
        ]
      }
    },
    "/records/submissions/rollups/markets": {
      "get": {
        "description": "Workspace carrier approaches grouped by normalized carrier entity key. Submitted counts each workspace once per market, quoted and declined use carrier status, and bound requires a selected quote for that market. Without quote access, bound is null with an access_denied gap; other counts remain available. AMS approaches have no verified market identity or outcomes and are reported unreachable. Filters run before aggregation within the caller's workspace scope.",
        "operationId": "getSubmissionMarketRollup",
        "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"
              ]
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Canonical Records policy ID ({instance}:policy_term:{id}) stored as the workspace renewingPolicyId.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "schema": {
              "description": "Canonical Records policy ID ({instance}:policy_term:{id}) stored as the workspace renewingPolicyId.",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "market_entity_key",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "enum": [
                "all",
                "mine"
              ],
              "type": "string"
            }
          },
          {
            "description": "Workspace outcomes. Omit to receive the explicit AMS availability gap alongside these counts.",
            "explode": false,
            "in": "query",
            "name": "source",
            "schema": {
              "description": "Workspace outcomes. Omit to receive the explicit AMS availability gap alongside these counts.",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "status",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Inclusive RFC3339 instant.",
            "explode": false,
            "in": "query",
            "name": "created_from",
            "schema": {
              "description": "Inclusive RFC3339 instant.",
              "type": "string"
            }
          },
          {
            "description": "Exclusive RFC3339 instant.",
            "explode": false,
            "in": "query",
            "name": "created_to",
            "schema": {
              "description": "Exclusive RFC3339 instant.",
              "type": "string"
            }
          },
          {
            "description": "Inclusive RFC3339 instant.",
            "explode": false,
            "in": "query",
            "name": "updated_from",
            "schema": {
              "description": "Inclusive RFC3339 instant.",
              "type": "string"
            }
          },
          {
            "description": "Exclusive RFC3339 instant.",
            "explode": false,
            "in": "query",
            "name": "updated_to",
            "schema": {
              "description": "Exclusive RFC3339 instant.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordSubmissionMarkets"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Read submission market outcomes",
        "tags": [
          "submissions"
        ]
      }
    },
    "/records/submissions/{id}": {
      "get": {
        "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": []
          }
        ],
        "summary": "Read a submission",
        "tags": [
          "submissions"
        ]
      }
    },
    "/records/submissions/{id}/rollups/commission-check": {
      "get": {
        "description": "Every quote of one workspace submission that is not declined, checked against the carrier's contracted commission for the quoted lines at the risk's state (the account's primary address state): pass, flagged below the contracted floor, not_stated, rate_not_found (including a state-dependent rate with no band for that state) or terms_unavailable. One terms read per distinct carrier. The verdicts are the Audit trail's commission checks for the same quotes. A seat whose role withholds carrier compensation is refused with 403 FIELD_DENIED; a submission outside the caller's scope is a 404.",
        "operationId": "getSubmissionCommissionCheck",
        "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 workspace submission id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The workspace submission id.",
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordSubmissionCommissionCheck"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Check a submission's quotes against contracted commission",
        "tags": [
          "submissions"
        ]
      }
    },
    "/records/supplemental-insureds": {
      "get": {
        "description": "A commercial policy term's supplemental named insureds. Tax identifiers are dropped at the source. Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listSupplementalInsuredRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List supplemental named insureds",
        "tags": [
          "policy_parties"
        ]
      }
    },
    "/records/task-assignees": {
      "get": {
        "description": "Looks up one seated person a task may go to, by exactly one of name, principal or role, under the caller's own org and its task write. A name is matched as the Workbench's task editor matches it and is never guessed: more than one match is ambiguous with every match listed, a near miss is unknown with at most five close names. Answers 503 (reason ROSTER_UNREAD, ROSTER_UNNAMED, ROSTER_OVER_BOUND past 1,000 seats, or ROSTER_EMPTY) when the seated people cannot be read whole and named, never a partial answer.",
        "operationId": "getTaskAssignees",
        "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 name as the caller said it, matched as the Workbench's task editor matches a name (the person's id, the whole name, every word, then close names). 1 to 200 characters after trimming.",
            "explode": false,
            "in": "query",
            "name": "name",
            "schema": {
              "description": "The name as the caller said it, matched as the Workbench's task editor matches a name (the person's id, the whole name, every word, then close names). 1 to 200 characters after trimming.",
              "type": "string"
            }
          },
          {
            "description": "A principal id: the seated person holding it. 1 to 200 characters.",
            "explode": false,
            "in": "query",
            "name": "principal",
            "schema": {
              "description": "A principal id: the seated person holding it. 1 to 200 characters.",
              "type": "string"
            }
          },
          {
            "description": "A role slug: the first seated person in seat-list order holding it, never the service identity. 1 to 64 characters.",
            "explode": false,
            "in": "query",
            "name": "role",
            "schema": {
              "description": "A role slug: the first seated person in seat-list order holding it, never the service identity. 1 to 64 characters.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TaskAssigneeLookup"
                }
              }
            },
            "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"
          },
          "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"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Who a task may be assigned to",
        "tags": [
          "seats"
        ]
      }
    },
    "/records/tasks": {
      "get": {
        "description": "The task register: Navigator's own tasks, the action ledger's tasks and the customer system's suspenses, as one row shape, each row naming its source. view selects whose tasks; the subject narrows by producer or client manager. Held in the platform store (the ledger and Navigator halves) and read from the customer's system (the suspenses).",
        "operationId": "listTasks",
        "parameters": [
          {
            "description": "Only workspace tasks whose relatedEntityId is this record. Requires source=workspace and account_id; the account and task owner scopes still apply.",
            "explode": false,
            "in": "query",
            "name": "related_entity_id",
            "schema": {
              "description": "Only workspace tasks whose relatedEntityId is this record. Requires source=workspace and account_id; the account and task owner scopes still apply.",
              "maxLength": 512,
              "type": "string"
            }
          },
          {
            "description": "A named open-work window with API-owned dates, order and row cap. today also answers overdue_total. overdue answers the total of open overdue work and no rows; send include_total.",
            "explode": false,
            "in": "query",
            "name": "work_view",
            "schema": {
              "description": "A named open-work window with API-owned dates, order and row cap. today also answers overdue_total. overdue answers the total of open overdue work and no rows; send include_total.",
              "enum": [
                "today",
                "overdue"
              ],
              "type": "string"
            }
          },
          {
            "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": "Narrow by producer or client manager, or read as a member. view selects whose tasks; own and book are not admitted.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "Narrow by producer or client manager, or read as a member. view selects whose tasks; own and book are not admitted.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Only tasks on this account (instance key, bk1_ key or Navigator account id).",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "Only tasks on this account (instance key, bk1_ key or Navigator account id).",
              "type": "string"
            }
          },
          {
            "description": "Whose tasks; leave it out for the person's own tasks (the seat's default book); mine is assigned to them, all is every task in scope, delegated is passed on. Left out, a person seat reads mine and a leader or whole-book seat reads all: either is the person's own task list, so answer my tasks from that read, with no subject, and say whose work it holds. mine also holds unassigned ledger tasks they wrote; delegated is a task they wrote that someone else holds.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "description": "Whose tasks; leave it out for the person's own tasks (the seat's default book); mine is assigned to them, all is every task in scope, delegated is passed on. Left out, a person seat reads mine and a leader or whole-book seat reads all: either is the person's own task list, so answer my tasks from that read, with no subject, and say whose work it holds. mine also holds unassigned ledger tasks they wrote; delegated is a task they wrote that someone else holds.",
              "enum": [
                "mine",
                "all",
                "delegated"
              ],
              "type": "string"
            }
          },
          {
            "description": "Only tasks from one store: workspace (Navigator), ledger (the action ledger) or ams (AMS 360). Absent: all three.",
            "explode": false,
            "in": "query",
            "name": "source",
            "schema": {
              "description": "Only tasks from one store: workspace (Navigator), ledger (the action ledger) or ams (AMS 360). Absent: all three.",
              "enum": [
                "workspace",
                "ledger",
                "ams"
              ],
              "type": "string"
            }
          },
          {
            "description": "A case-insensitive search over the title, description and account name.",
            "explode": false,
            "in": "query",
            "name": "q",
            "schema": {
              "description": "A case-insensitive search over the title, description and account name.",
              "type": "string"
            }
          },
          {
            "description": "Keeps tasks of these statuses. Left out, every status is read and hide_closed decides whether completed and cancelled tasks show. Sent, hide_closed does not apply.",
            "explode": false,
            "in": "query",
            "name": "status",
            "schema": {
              "description": "Keeps tasks of these statuses. Left out, every status is read and hide_closed decides whether completed and cancelled tasks show. Sent, hide_closed does not apply.",
              "enum": [
                "open",
                "all",
                "pending",
                "in_progress",
                "completed",
                "cancelled"
              ],
              "type": "string"
            }
          },
          {
            "description": "Keeps Navigator tasks of this exact type code. AMS 360 and ledger tasks carry no type, so any value leaves them out.",
            "explode": false,
            "in": "query",
            "name": "type",
            "schema": {
              "description": "Keeps Navigator tasks of this exact type code. AMS 360 and ledger tasks carry no type, so any value leaves them out.",
              "type": "string"
            }
          },
          {
            "description": "Keeps one priority: urgent, high, medium or low. AMS 360 and ledger tasks always read as medium, and so does a Navigator task with none.",
            "explode": false,
            "in": "query",
            "name": "priority",
            "schema": {
              "description": "Keeps one priority: urgent, high, medium or low. AMS 360 and ledger tasks always read as medium, and so does a Navigator task with none.",
              "type": "string"
            }
          },
          {
            "description": "Keeps tasks by how they were created. auto also keeps every AMS 360 task; all, the default, keeps every origin.",
            "explode": false,
            "in": "query",
            "name": "origin",
            "schema": {
              "description": "Keeps tasks by how they were created. auto also keeps every AMS 360 task; all, the default, keeps every origin.",
              "enum": [
                "all",
                "manual",
                "auto",
                "ams360"
              ],
              "type": "string"
            }
          },
          {
            "description": "A due window.",
            "explode": false,
            "in": "query",
            "name": "due",
            "schema": {
              "description": "A due window.",
              "enum": [
                "all",
                "overdue",
                "today",
                "week",
                "month",
                "no_date"
              ],
              "type": "string"
            }
          },
          {
            "description": "Due on or after this date.",
            "explode": false,
            "in": "query",
            "name": "due_date[gte]",
            "schema": {
              "description": "Due on or after this date.",
              "format": "date",
              "type": "string"
            }
          },
          {
            "description": "Due on or before this date.",
            "explode": false,
            "in": "query",
            "name": "due_date[lte]",
            "schema": {
              "description": "Due on or before this date.",
              "format": "date",
              "type": "string"
            }
          },
          {
            "description": "Only AMS 360 suspenses assigned to these employee codes (GET /records/employees gives a person's codes), or departed for every assignee no longer active. Departed is AMS 360 inactive or terminated in Dayforce. It reads every assignee in scope (view=all) and serves each row's assigned_to_active, account_premium and producer_name. The open suspenses a departed account manager left: assigned_to=&lt;their code&gt;, status=open, sort=-premium, facets=producer.",
            "explode": true,
            "in": "query",
            "name": "assigned_to",
            "schema": {
              "description": "Only AMS 360 suspenses assigned to these employee codes (GET /records/employees gives a person's codes), or departed for every assignee no longer active. Departed is AMS 360 inactive or terminated in Dayforce. It reads every assignee in scope (view=all) and serves each row's assigned_to_active, account_premium and producer_name. The open suspenses a departed account manager left: assigned_to=&lt;their code&gt;, status=open, sort=-premium, facets=producer.",
              "items": {
                "type": "string"
              },
              "maxItems": 10,
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Defaults to due, ascending. premium is the suspense's account premium (AMS 360 suspenses only; -premium is the largest accounts first).",
            "explode": false,
            "in": "query",
            "name": "sort",
            "schema": {
              "description": "Defaults to due, ascending. premium is the suspense's account premium (AMS 360 suspenses only; -premium is the largest accounts first).",
              "enum": [
                "due",
                "-due",
                "title",
                "-title",
                "created",
                "-created",
                "priority",
                "-priority",
                "status",
                "-status",
                "account",
                "-account",
                "origin",
                "-origin",
                "premium",
                "-premium"
              ],
              "type": "string"
            }
          },
          {
            "description": "The facets to count over the filtered tasks. producer counts the AMS 360 suspenses by their account's producer.",
            "explode": false,
            "in": "query",
            "name": "facets",
            "schema": {
              "description": "The facets to count over the filtered tasks. producer counts the AMS 360 suspenses by their account's producer.",
              "items": {
                "enum": [
                  "source",
                  "status",
                  "priority",
                  "type",
                  "due",
                  "producer"
                ],
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "true reads the page's rows and page.next alone, and the answer says so with rows_only: true. total, facets and view are absent, never 0: the read does not count them; read them once per filter change from the same request without rows_only. Not with include_total or facets (400 ROWS_ONLY_WITH_FIGURES). A cursor does not carry it: send it on every page of a rows-only list.",
            "explode": false,
            "in": "query",
            "name": "rows_only",
            "schema": {
              "description": "true reads the page's rows and page.next alone, and the answer says so with rows_only: true. total, facets and view are absent, never 0: the read does not count them; read them once per filter change from the same request without rows_only. Not with include_total or facets (400 ROWS_ONLY_WITH_FIGURES). A cursor does not carry it: send it on every page of a rows-only list.",
              "type": "boolean"
            }
          },
          {
            "description": "true leaves out completed and cancelled tasks. It applies only when status is left out. Left out, the person's saved view or the default (true) applies.",
            "explode": false,
            "in": "query",
            "name": "hide_closed",
            "schema": {
              "description": "true leaves out completed and cancelled tasks. It applies only when status is left out. Left out, the person's saved view or the default (true) applies.",
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "Comma-separated sources to leave out: workspace, ledger, ams. Empty or none hides nothing. Left out, the person's saved view or the default (none) applies.",
            "explode": false,
            "in": "query",
            "name": "hide.source",
            "schema": {
              "description": "Comma-separated sources to leave out: workspace, ledger, ams. Empty or none hides nothing. Left out, the person's saved view or the default (none) applies.",
              "type": "string"
            }
          },
          {
            "description": "Comma-separated priorities to leave out: urgent, high, medium, low. Empty or none hides nothing. Left out, the person's saved view or the default (none) applies.",
            "explode": false,
            "in": "query",
            "name": "hide.priority",
            "schema": {
              "description": "Comma-separated priorities to leave out: urgent, high, medium, low. Empty or none hides nothing. Left out, the person's saved view or the default (none) applies.",
              "type": "string"
            }
          },
          {
            "description": "Hides tasks created over this many days ago, 0 to 3650 (default 0, off); undated tasks stay. Left out, the person's saved view or the default applies.",
            "explode": false,
            "in": "query",
            "name": "created_days",
            "schema": {
              "description": "Hides tasks created over this many days ago, 0 to 3650 (default 0, off); undated tasks stay. Left out, the person's saved view or the default applies.",
              "format": "int64",
              "maximum": 3650,
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "file, with account_id: the account's file, admitted as the seat reads the account. A Navigator account linked to an AMS 360 account reads the tasks filed under either one, and its AMS 360 and ledger tasks; a book account and an unlinked Navigator account read only themselves. An account the seat cannot read is a 404; one sort, total, facet set and cursor cover the file. Without it, account_id is the one account only.",
            "explode": false,
            "in": "query",
            "name": "account_scope",
            "schema": {
              "description": "file, with account_id: the account's file, admitted as the seat reads the account. A Navigator account linked to an AMS 360 account reads the tasks filed under either one, and its AMS 360 and ledger tasks; a book account and an unlinked Navigator account read only themselves. An account the seat cannot read is a 404; one sort, total, facet set and cursor cover the file. Without it, account_id is the one account only.",
              "enum": [
                "file"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TaskList"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List tasks",
        "tags": [
          "tasks"
        ]
      }
    },
    "/records/tasks/search": {
      "post": {
        "description": "GET /records/tasks 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": "listTasksSearch",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "account_id": {
                    "description": "Only tasks on this account (instance key, bk1_ key or Navigator account id).",
                    "type": "string"
                  },
                  "account_scope": {
                    "description": "file, with account_id: the account's file, admitted as the seat reads the account. A Navigator account linked to an AMS 360 account reads the tasks filed under either one, and its AMS 360 and ledger tasks; a book account and an unlinked Navigator account read only themselves. An account the seat cannot read is a 404; one sort, total, facet set and cursor cover the file. Without it, account_id is the one account only.",
                    "enum": [
                      "file"
                    ],
                    "type": "string"
                  },
                  "assigned_to": {
                    "description": "Only AMS 360 suspenses assigned to these employee codes (GET /records/employees gives a person's codes), or departed for every assignee no longer active. Departed is AMS 360 inactive or terminated in Dayforce. It reads every assignee in scope (view=all) and serves each row's assigned_to_active, account_premium and producer_name. The open suspenses a departed account manager left: assigned_to=&lt;their code&gt;, status=open, sort=-premium, facets=producer.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "created_days": {
                    "description": "Hides tasks created over this many days ago, 0 to 3650 (default 0, off); undated tasks stay. Left out, the person's saved view or the default applies.",
                    "format": "int64",
                    "maximum": 3650,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "cursor": {
                    "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
                    "type": "string"
                  },
                  "due": {
                    "description": "A due window.",
                    "enum": [
                      "all",
                      "overdue",
                      "today",
                      "week",
                      "month",
                      "no_date"
                    ],
                    "type": "string"
                  },
                  "due_date[gte]": {
                    "description": "Due on or after this date.",
                    "format": "date",
                    "type": "string"
                  },
                  "due_date[lte]": {
                    "description": "Due on or before this date.",
                    "format": "date",
                    "type": "string"
                  },
                  "facets": {
                    "description": "The facets to count over the filtered tasks. producer counts the AMS 360 suspenses by their account's producer.",
                    "items": {
                      "enum": [
                        "source",
                        "status",
                        "priority",
                        "type",
                        "due",
                        "producer"
                      ],
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "hide.priority": {
                    "description": "Comma-separated priorities to leave out: urgent, high, medium, low. Empty or none hides nothing. Left out, the person's saved view or the default (none) applies.",
                    "type": "string"
                  },
                  "hide.source": {
                    "description": "Comma-separated sources to leave out: workspace, ledger, ams. Empty or none hides nothing. Left out, the person's saved view or the default (none) applies.",
                    "type": "string"
                  },
                  "hide_closed": {
                    "description": "true leaves out completed and cancelled tasks. It applies only when status is left out. Left out, the person's saved view or the default (true) applies.",
                    "enum": [
                      "true",
                      "false"
                    ],
                    "type": "string"
                  },
                  "include_total": {
                    "description": "true adds total, the row count of the whole relation.",
                    "type": "boolean"
                  },
                  "limit": {
                    "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
                    "format": "int64",
                    "minimum": 1,
                    "type": "integer"
                  },
                  "origin": {
                    "description": "Keeps tasks by how they were created. auto also keeps every AMS 360 task; all, the default, keeps every origin.",
                    "enum": [
                      "all",
                      "manual",
                      "auto",
                      "ams360"
                    ],
                    "type": "string"
                  },
                  "priority": {
                    "description": "Keeps one priority: urgent, high, medium or low. AMS 360 and ledger tasks always read as medium, and so does a Navigator task with none.",
                    "type": "string"
                  },
                  "q": {
                    "description": "A case-insensitive search over the title, description and account name.",
                    "type": "string"
                  },
                  "related_entity_id": {
                    "description": "Only workspace tasks whose relatedEntityId is this record. Requires source=workspace and account_id; the account and task owner scopes still apply.",
                    "maxLength": 512,
                    "type": "string"
                  },
                  "rows_only": {
                    "description": "true reads the page's rows and page.next alone, and the answer says so with rows_only: true. total, facets and view are absent, never 0: the read does not count them; read them once per filter change from the same request without rows_only. Not with include_total or facets (400 ROWS_ONLY_WITH_FIGURES). A cursor does not carry it: send it on every page of a rows-only list.",
                    "type": "boolean"
                  },
                  "sort": {
                    "description": "Defaults to due, ascending. premium is the suspense's account premium (AMS 360 suspenses only; -premium is the largest accounts first).",
                    "enum": [
                      "due",
                      "-due",
                      "title",
                      "-title",
                      "created",
                      "-created",
                      "priority",
                      "-priority",
                      "status",
                      "-status",
                      "account",
                      "-account",
                      "origin",
                      "-origin",
                      "premium",
                      "-premium"
                    ],
                    "type": "string"
                  },
                  "source": {
                    "description": "Only tasks from one store: workspace (Navigator), ledger (the action ledger) or ams (AMS 360). Absent: all three.",
                    "enum": [
                      "workspace",
                      "ledger",
                      "ams"
                    ],
                    "type": "string"
                  },
                  "status": {
                    "description": "Keeps tasks of these statuses. Left out, every status is read and hide_closed decides whether completed and cancelled tasks show. Sent, hide_closed does not apply.",
                    "enum": [
                      "open",
                      "all",
                      "pending",
                      "in_progress",
                      "completed",
                      "cancelled"
                    ],
                    "type": "string"
                  },
                  "subject": {
                    "description": "Narrow by producer or client manager, or read as a member. view selects whose tasks; own and book are not admitted.",
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "type": {
                    "description": "Keeps Navigator tasks of this exact type code. AMS 360 and ledger tasks carry no type, so any value leaves them out.",
                    "type": "string"
                  },
                  "view": {
                    "description": "Whose tasks; leave it out for the person's own tasks (the seat's default book); mine is assigned to them, all is every task in scope, delegated is passed on. Left out, a person seat reads mine and a leader or whole-book seat reads all: either is the person's own task list, so answer my tasks from that read, with no subject, and say whose work it holds. mine also holds unassigned ledger tasks they wrote; delegated is a task they wrote that someone else holds.",
                    "enum": [
                      "mine",
                      "all",
                      "delegated"
                    ],
                    "type": "string"
                  },
                  "work_view": {
                    "description": "A named open-work window with API-owned dates, order and row cap. today also answers overdue_total. overdue answers the total of open overdue work and no rows; send include_total.",
                    "enum": [
                      "today",
                      "overdue"
                    ],
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TaskList"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List tasks (parameters in the body)",
        "tags": [
          "tasks"
        ]
      }
    },
    "/records/tasks/view": {
      "get": {
        "description": "The person's saved filters, which the register's list applies when a request names no view filter, and every column the seat may show, its role's default columns and the columns this person shows. A field the seat's field classes withhold is never listed.",
        "operationId": "getTasksView",
        "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"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRegisterView"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The acting person's tasks filters and columns",
        "tags": [
          "register-views"
        ]
      },
      "put": {
        "description": "Writes the person's own row. Each filter must be one the register's list serves, with a value it takes; each column must be one of columns.available for this seat; anything else is refused with 422. A View as session is read-only here.",
        "operationId": "putTasksView",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterViewWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRegisterView"
                }
              }
            },
            "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"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Save the acting person's tasks filters and columns",
        "tags": [
          "register-views"
        ]
      }
    },
    "/records/tasks/{id}": {
      "get": {
        "description": "One stored row by its id, admitted as the Navigator store's keyed read is. An absent row and one the seat cannot read are one answer.",
        "operationId": "getTask",
        "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 stored row id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The stored row id.",
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordWorkbenchTaskRow"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read one of the tasks",
        "tags": [
          "tasks"
        ]
      }
    },
    "/records/templates/view": {
      "get": {
        "description": "The person's saved filters, which the register's list applies when a request names no view filter, and every column the seat may show, its role's default columns and the columns this person shows. A field the seat's field classes withhold is never listed.",
        "operationId": "getTemplatesView",
        "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"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRegisterView"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "The acting person's templates filters and columns",
        "tags": [
          "register-views"
        ]
      },
      "put": {
        "description": "Writes the person's own row. Each filter must be one the register's list serves, with a value it takes; each column must be one of columns.available for this seat; anything else is refused with 422. A View as session is read-only here.",
        "operationId": "putTemplatesView",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterViewWrite"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordRegisterView"
                }
              }
            },
            "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"
          },
          "422": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "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": []
          }
        ],
        "summary": "Save the acting person's templates filters and columns",
        "tags": [
          "register-views"
        ]
      }
    },
    "/records/transactions": {
      "get": {
        "description": "Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listPolicySourceView9",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "The exact policy to admit before source reads.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "The exact policy to admit before source reads.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read transactions",
        "tags": [
          "policy_transactions"
        ]
      }
    },
    "/records/umbrella-coverages": {
      "get": {
        "description": "Views: list. Source admission, field projection and continuation remain authoritative. Source parent keys are opaque references.",
        "operationId": "listRiskDetailView12",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read umbrella-coverages",
        "tags": [
          "umbrella_underlying"
        ]
      }
    },
    "/records/underwriting-questions": {
      "get": {
        "description": "Views: list. Source admission, field projection and continuation remain authoritative. Source parent keys are opaque references.",
        "operationId": "listRiskDetailView14",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Optional underwriting area; the source filters its question vocabulary.",
            "explode": false,
            "in": "query",
            "name": "area",
            "schema": {
              "description": "Optional underwriting area; the source filters its question vocabulary.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read underwriting-questions",
        "tags": [
          "underwriting_questions"
        ]
      }
    },
    "/records/underwriting-records": {
      "get": {
        "description": "Views: list. Source admission, field projection and continuation remain authoritative. Source parent keys are opaque references.",
        "operationId": "listRiskDetailView13",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read underwriting-records",
        "tags": [
          "underwriting_questions"
        ]
      }
    },
    "/records/uploaded-documents": {
      "get": {
        "description": "Documents producers uploaded into Nexio, with their stored metadata, owner-scoped as the Navigator documents read is. Archived documents are omitted unless include_archived is true. Market evidence documents are not served here. include_total adds the exact count of the filtered relation; include=extractions embeds each document's linked extractions in the same envelope.",
        "operationId": "listUploadedDocuments",
        "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": "Documents on these account aliases, ordered and paged together.",
            "explode": true,
            "in": "query",
            "name": "account_ids",
            "schema": {
              "description": "Documents on these account aliases, ordered and paged together.",
              "items": {
                "type": "string"
              },
              "maxItems": 200,
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Only this uploaded document.",
            "explode": false,
            "in": "query",
            "name": "document_id",
            "schema": {
              "description": "Only this uploaded document.",
              "type": "string"
            }
          },
          {
            "description": "Only documents of this stored type.",
            "explode": false,
            "in": "query",
            "name": "doc_type",
            "schema": {
              "description": "Only documents of this stored type.",
              "type": "string"
            }
          },
          {
            "description": "Case-insensitive literal substring of the document name or type.",
            "explode": false,
            "in": "query",
            "name": "query",
            "schema": {
              "description": "Case-insensitive literal substring of the document name or type.",
              "type": "string"
            }
          },
          {
            "description": "Documents on this policy or with no policy.",
            "explode": false,
            "in": "query",
            "name": "policy_or_unassigned",
            "schema": {
              "description": "Documents on this policy or with no policy.",
              "type": "string"
            }
          },
          {
            "description": "Skip this many filtered documents. Do not combine with cursor.",
            "explode": false,
            "in": "query",
            "name": "offset",
            "schema": {
              "description": "Skip this many filtered documents. Do not combine with cursor.",
              "format": "int64",
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "Documents filed on this account.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "Documents filed on this account.",
              "type": "string"
            }
          },
          {
            "description": "Documents filed on this policy.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "schema": {
              "description": "Documents filed on this policy.",
              "type": "string"
            }
          },
          {
            "description": "Documents filed on this claim.",
            "explode": false,
            "in": "query",
            "name": "claim_id",
            "schema": {
              "description": "Documents filed on this claim.",
              "type": "string"
            }
          },
          {
            "description": "Documents filed on this certificate.",
            "explode": false,
            "in": "query",
            "name": "certificate_id",
            "schema": {
              "description": "Documents filed on this certificate.",
              "type": "string"
            }
          },
          {
            "description": "Documents filed on this submission.",
            "explode": false,
            "in": "query",
            "name": "submission_id",
            "schema": {
              "description": "Documents filed on this submission.",
              "type": "string"
            }
          },
          {
            "description": "true keeps archived documents; absent or false omits them.",
            "explode": false,
            "in": "query",
            "name": "include_archived",
            "schema": {
              "description": "true keeps archived documents; absent or false omits them.",
              "type": "boolean"
            }
          },
          {
            "description": "Include the exact count of the filtered, owner-scoped documents, before the cursor.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "Include the exact count of the filtered, owner-scoped documents, before the cursor.",
              "type": "boolean"
            }
          },
          {
            "description": "extractions embeds each document's linked extractions on the row, read in the same envelope as the page. Requires the extractions read.",
            "explode": false,
            "in": "query",
            "name": "include",
            "schema": {
              "description": "extractions embeds each document's linked extractions on the row, read in the same envelope as the page. Requires the extractions read.",
              "enum": [
                "extractions"
              ],
              "type": "string"
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListUploadedDocumentEntry"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "List uploaded documents",
        "tags": [
          "uploaded_documents"
        ]
      }
    },
    "/records/uploaded-documents/search": {
      "post": {
        "description": "GET /records/uploaded-documents 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": "listUploadedDocumentsSearch",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "account_id": {
                    "description": "Documents filed on this account.",
                    "type": "string"
                  },
                  "account_ids": {
                    "description": "Documents on these account aliases, ordered and paged together.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 200,
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "certificate_id": {
                    "description": "Documents filed on this certificate.",
                    "type": "string"
                  },
                  "claim_id": {
                    "description": "Documents filed on this claim.",
                    "type": "string"
                  },
                  "cursor": {
                    "description": "The opaque page.next of the previous page.",
                    "type": "string"
                  },
                  "doc_type": {
                    "description": "Only documents of this stored type.",
                    "type": "string"
                  },
                  "document_id": {
                    "description": "Only this uploaded document.",
                    "type": "string"
                  },
                  "include": {
                    "description": "extractions embeds each document's linked extractions on the row, read in the same envelope as the page. Requires the extractions read.",
                    "enum": [
                      "extractions"
                    ],
                    "type": "string"
                  },
                  "include_archived": {
                    "description": "true keeps archived documents; absent or false omits them.",
                    "type": "boolean"
                  },
                  "include_total": {
                    "description": "Include the exact count of the filtered, owner-scoped documents, before the cursor.",
                    "type": "boolean"
                  },
                  "limit": {
                    "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
                    "format": "int64",
                    "minimum": 1,
                    "type": "integer"
                  },
                  "offset": {
                    "description": "Skip this many filtered documents. Do not combine with cursor.",
                    "format": "int64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "policy_id": {
                    "description": "Documents filed on this policy.",
                    "type": "string"
                  },
                  "policy_or_unassigned": {
                    "description": "Documents on this policy or with no policy.",
                    "type": "string"
                  },
                  "query": {
                    "description": "Case-insensitive literal substring of the document name or type.",
                    "type": "string"
                  },
                  "submission_id": {
                    "description": "Documents filed on this submission.",
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListUploadedDocumentEntry"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "List uploaded documents (parameters in the body)",
        "tags": [
          "uploaded_documents"
        ]
      }
    },
    "/records/uploaded-documents/{id}": {
      "get": {
        "description": "One uploaded document's stored metadata. An absent document and one the seat cannot read are one answer.",
        "operationId": "getUploadedDocument",
        "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 uploaded document id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The uploaded document id.",
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordDocumentWire"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read an uploaded document",
        "tags": [
          "uploaded_documents"
        ]
      }
    },
    "/records/uploaded-documents/{id}/content": {
      "get": {
        "description": "A short-lived signed URL for one uploaded document's bytes, issued only for a document the seat can read.",
        "operationId": "getUploadedDocumentContent",
        "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 uploaded document id.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The uploaded document id.",
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordDocumentContentGrant"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read an uploaded document's content grant",
        "tags": [
          "uploaded_documents"
        ]
      }
    },
    "/records/vehicle-coverages": {
      "get": {
        "description": "Views: list. Source admission, field projection and continuation remain authoritative. Source parent keys are opaque references.",
        "operationId": "listRiskDetailView8",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read vehicle-coverages",
        "tags": [
          "vehicles"
        ]
      }
    },
    "/records/vehicle-garages": {
      "get": {
        "description": "Views: list. Source admission, field projection and continuation remain authoritative. Source parent keys are opaque references.",
        "operationId": "listRiskDetailView9",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read vehicle-garages",
        "tags": [
          "vehicles"
        ]
      }
    },
    "/records/vehicle-interests": {
      "get": {
        "description": "Views: list. Source admission, field projection and continuation remain authoritative. Source parent keys are opaque references.",
        "operationId": "listRiskDetailView11",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read vehicle-interests",
        "tags": [
          "vehicles"
        ]
      }
    },
    "/records/vehicles": {
      "get": {
        "description": "Views: personal-auto, commercial-auto. Source admission, field projection and continuation remain authoritative. Source parent keys are opaque references.",
        "operationId": "listRiskDetailView4",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          },
          {
            "description": "Requested business projection.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "default": "personal-auto",
              "description": "Requested business projection.",
              "enum": [
                "personal-auto",
                "commercial-auto"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "Read vehicles",
        "tags": [
          "vehicles"
        ]
      }
    },
    "/records/watercraft": {
      "get": {
        "description": "A homeowners term's watercraft. Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listWatercraftRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List watercraft",
        "tags": [
          "personal_lines_detail"
        ]
      }
    },
    "/records/watercraft-coverages": {
      "get": {
        "description": "A homeowners term's watercraft motor coverages (motor) or trailer coverages (trailer). Views: motor, trailer. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listWatercraftCoverageRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          },
          {
            "description": "The requested business projection.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "default": "motor",
              "description": "The requested business projection.",
              "enum": [
                "motor",
                "trailer"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List watercraft coverages",
        "tags": [
          "personal_lines_detail"
        ]
      }
    },
    "/records/watercraft-trailers": {
      "get": {
        "description": "A homeowners term's watercraft trailers. Views: list. The source owns field projection, admission and continuation. Source parent keys are opaque references.",
        "operationId": "listWatercraftTrailerRecords",
        "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: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
            "explode": true,
            "in": "query",
            "name": "subject",
            "schema": {
              "description": "The book to read: own, book:&lt;code&gt; or member:&lt;id&gt;. Source views do not admit owner filters. Absent: the seat's can-open boundary. Frozen in the cursor.",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          {
            "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Defaults to 25; a larger value than 200 is coerced to 200 with a LIMIT_COERCED warning.",
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "The opaque page.next of the previous page. Filters, sort and subject are frozen inside it.",
              "type": "string"
            }
          },
          {
            "description": "true adds total, the row count of the whole relation.",
            "explode": false,
            "in": "query",
            "name": "include_total",
            "schema": {
              "description": "true adds total, the row count of the whole relation.",
              "type": "boolean"
            }
          },
          {
            "description": "Instance-scoped policy id required before any source read.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "required": true,
            "schema": {
              "description": "Instance-scoped policy id required before any source read.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListSourceRecord"
                }
              }
            },
            "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": []
          }
        ],
        "summary": "List watercraft trailers",
        "tags": [
          "personal_lines_detail"
        ]
      }
    },
    "/records/workflows": {
      "get": {
        "description": "The current value of each workflow field on accounts and policy terms, set through the action ledger and held in the platform store, every state on one page in the order first set.",
        "operationId": "listWorkflows",
        "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": "Only states on this account (its instance key or a bk1_ key). Exclusive with policy_id.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "Only states on this account (its instance key or a bk1_ key). Exclusive with policy_id.",
              "type": "string"
            }
          },
          {
            "description": "Only states on this policy term (its instance key). Exclusive with account_id.",
            "explode": false,
            "in": "query",
            "name": "policy_id",
            "schema": {
              "description": "Only states on this policy term (its instance key). Exclusive with account_id.",
              "type": "string"
            }
          },
          {
            "description": "Only states of this workflow field.",
            "explode": false,
            "in": "query",
            "name": "field",
            "schema": {
              "description": "Only states of this workflow field.",
              "type": "string"
            }
          },
          {
            "description": "account, with account_id: the account's own states and the states of its policies, as the seat reads the account's policies, in one keyed read. Without it, account_id is the account's own states only.",
            "explode": false,
            "in": "query",
            "name": "account_scope",
            "schema": {
              "description": "account, with account_id: the account's own states and the states of its policies, as the seat reads the account's policies, in one keyed read. Without it, account_id is the account's own states only.",
              "enum": [
                "account"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListWorkflowState"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "List workflow states",
        "tags": [
          "workflows"
        ]
      }
    },
    "/roadmap/program": {
      "get": {
        "description": "Read the roadmap program",
        "operationId": "getRoadmapProgram",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoadmapProgramRow"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Read the roadmap program",
        "tags": [
          "Roadmap"
        ]
      }
    },
    "/runs/placement": {
      "post": {
        "description": "Launch placement for an account",
        "operationId": "launchAccountPlacement",
        "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"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PlacementLaunchRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlacementLaunchResponse"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Launch placement for an account",
        "tags": [
          "Runs"
        ]
      }
    },
    "/runs/placement/latest": {
      "get": {
        "description": "Read an account's latest placement result",
        "operationId": "getLatestAccountPlacement",
        "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"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "account_id",
            "required": true,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlacementPageRead"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Read an account's latest placement result",
        "tags": [
          "Runs"
        ]
      }
    },
    "/runs/placement/markets": {
      "get": {
        "description": "Search markets with their assessment on an admitted placement run",
        "operationId": "getPlacementMarkets",
        "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"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "account_id",
            "required": true,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "run_id",
            "required": true,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "line_code",
            "required": true,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "search",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 8,
              "format": "int64",
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlacementMarketsPage"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Search markets with their assessment on an admitted placement run",
        "tags": [
          "Runs"
        ]
      }
    },
    "/runs/placement/markets/search": {
      "post": {
        "description": "GET /runs/placement/markets 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": "getPlacementMarketsSearch",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "account_id": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "cursor": {
                    "type": "string"
                  },
                  "limit": {
                    "default": 8,
                    "format": "int64",
                    "maximum": 100,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "line_code": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "run_id": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "search": {
                    "type": "string"
                  }
                },
                "required": [
                  "account_id",
                  "line_code",
                  "run_id"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlacementMarketsPage"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Search markets with their assessment on an admitted placement run (parameters in the body)",
        "tags": [
          "Runs"
        ]
      }
    },
    "/runs/placement/plan": {
      "get": {
        "description": "Read a placement cycle's marketing plan and stage bar standing",
        "operationId": "getPlacementPlan",
        "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"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "account_id",
            "required": true,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "description": "The day the cycle takes effect: the expiring term's end on a renewal, the requested effective date on a first placement. Omitted when the account dates nothing.",
            "explode": false,
            "in": "query",
            "name": "effective_on",
            "schema": {
              "description": "The day the cycle takes effect: the expiring term's end on a renewal, the requested effective date on a first placement. Omitted when the account dates nothing.",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "type": "string"
            }
          },
          {
            "description": "Where the cycle stands, 0 (intake) to 5 (bound); 6 for a cycle past every stage.",
            "explode": false,
            "in": "query",
            "name": "stage_index",
            "required": true,
            "schema": {
              "description": "Where the cycle stands, 0 (intake) to 5 (bound); 6 for a cycle past every stage.",
              "format": "int64",
              "maximum": 6,
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "False for a bound, closed or renewed cycle.",
            "explode": false,
            "in": "query",
            "name": "live",
            "required": true,
            "schema": {
              "description": "False for a bound, closed or renewed cycle.",
              "type": "boolean"
            }
          },
          {
            "description": "True when the cycle has a submission recorded in the Workbench.",
            "explode": false,
            "in": "query",
            "name": "recorded",
            "required": true,
            "schema": {
              "description": "True when the cycle has a submission recorded in the Workbench.",
              "type": "boolean"
            }
          },
          {
            "description": "The instant the page's day counts are measured from: a book account's serving as-of, so the plan counts the days the rest of the page counts. Omitted for a workspace account, which counts from now.",
            "explode": false,
            "in": "query",
            "name": "as_of",
            "schema": {
              "description": "The instant the page's day counts are measured from: a book account's serving as-of, so the plan counts the days the rest of the page counts. Omitted for a workspace account, which counts from now.",
              "format": "date-time",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlacementPlan"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Read a placement cycle's marketing plan and stage bar standing",
        "tags": [
          "Runs"
        ]
      }
    },
    "/runs/placement/recorded": {
      "get": {
        "description": "Read an account's recorded placement run as placement.get answers it",
        "operationId": "getRecordedAccountPlacement",
        "parameters": [
          {
            "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
            "in": "header",
            "name": "Nexio-Act-As",
            "schema": {
              "description": "The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.",
              "type": "string"
            }
          },
          {
            "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
            "in": "header",
            "name": "Nexio-Act-As-Email",
            "schema": {
              "description": "The acting member's verified email, lowercased. Ignored without Nexio-Act-As.",
              "type": "string"
            }
          },
          {
            "description": "The calling application (workbench).",
            "in": "header",
            "name": "Nexio-Consumer",
            "schema": {
              "description": "The calling application (workbench).",
              "type": "string"
            }
          },
          {
            "description": "The calling application's build.",
            "in": "header",
            "name": "Nexio-Consumer-Build",
            "schema": {
              "description": "The calling application's build.",
              "type": "string"
            }
          },
          {
            "description": "The access vocabulary hash the calling build was generated against.",
            "in": "header",
            "name": "Nexio-Consumer-Vocabulary",
            "schema": {
              "description": "The access vocabulary hash the calling build was generated against.",
              "type": "string"
            }
          },
          {
            "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
            "in": "header",
            "name": "Nexio-Request-Id",
            "schema": {
              "description": "A caller-chosen request id, echoed in the Nexio-Request-Id response header.",
              "type": "string"
            }
          },
          {
            "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
            "in": "header",
            "name": "Nexio-Timeout",
            "schema": {
              "description": "The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.",
              "type": "string"
            }
          },
          {
            "description": "The account to read. Without it, run_id or launch_tool_call_id resolves the acting seat's own run or launch and admits its account, if any, or reads its standalone described risk.",
            "explode": false,
            "in": "query",
            "name": "account_id",
            "schema": {
              "description": "The account to read. Without it, run_id or launch_tool_call_id resolves the acting seat's own run or launch and admits its account, if any, or reads its standalone described risk.",
              "type": "string"
            }
          },
          {
            "description": "Read the run recorded on this submission instead of the account's most recent recorded run. With run_id, the submission must record that run.",
            "explode": false,
            "in": "query",
            "name": "submission_id",
            "schema": {
              "description": "Read the run recorded on this submission instead of the account's most recent recorded run. With run_id, the submission must record that run.",
              "type": "string"
            }
          },
          {
            "description": "Read this exact recorded run on the account.",
            "explode": false,
            "in": "query",
            "name": "run_id",
            "schema": {
              "description": "Read this exact recorded run on the account.",
              "type": "string"
            }
          },
          {
            "description": "Read the run the acting seat's own placement launch call started on this account. Ignored when run_id is set.",
            "explode": false,
            "in": "query",
            "name": "launch_tool_call_id",
            "schema": {
              "description": "Read the run the acting seat's own placement launch call started on this account. Ignored when run_id is set.",
              "type": "string"
            }
          },
          {
            "description": "With run_id or launch_tool_call_id, recover the run's original requested scope for an explicit rerun.",
            "explode": false,
            "in": "query",
            "name": "include_rerun_context",
            "schema": {
              "description": "With run_id or launch_tool_call_id, recover the run's original requested scope for an explicit rerun.",
              "type": "boolean"
            }
          },
          {
            "description": "all (the default) answers the run's whole pool. shown answers the rows the placement card draws at rest, cut to what they paint (at_rest: true), with runOutput.poolCounts for every label and control that counts the other markets. drawn answers the same rows whole, for their hovers and details. A saved slate's seats are always among the rows. A run outside the reference format is answered whole.",
            "explode": false,
            "in": "query",
            "name": "pool",
            "schema": {
              "description": "all (the default) answers the run's whole pool. shown answers the rows the placement card draws at rest, cut to what they paint (at_rest: true), with runOutput.poolCounts for every label and control that counts the other markets. drawn answers the same rows whole, for their hovers and details. A saved slate's seats are always among the rows. A run outside the reference format is answered whole.",
              "enum": [
                "all",
                "shown",
                "drawn"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlacementRecordedRead"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Read an account's recorded placement run as placement.get answers it",
        "tags": [
          "Runs"
        ]
      }
    },
    "/runs/placement/scope": {
      "post": {
        "description": "Resolve scope for a draft submission without a run",
        "operationId": "readSubmissionPlacementScope",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubmissionPlacementScopeInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubmissionPlacementScopeResponse"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Resolve scope for a draft submission without a run",
        "tags": [
          "Runs"
        ]
      }
    },
    "/runs/playbook": {
      "post": {
        "description": "Write a playbook for a class of business",
        "operationId": "runPlaybook",
        "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"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PlaybookRunRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlaybookRunResponse"
                }
              }
            },
            "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"
          },
          "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"
          },
          "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": []
          }
        ],
        "summary": "Write a playbook for a class of business",
        "tags": [
          "Runs"
        ]
      }
    },
    "/runs/playbook/latest": {
      "get": {
        "description": "Read the latest playbook for a class of business",
        "operationId": "getLatestPlaybook",
        "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 primary class's NAICS code.",
            "explode": false,
            "in": "query",
            "name": "naics_code",
            "required": true,
            "schema": {
              "description": "The primary class's NAICS code.",
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "description": "Up to two six-digit codes of a blend, comma separated. Codes that are not six digits or repeat the primary code are ignored.",
            "explode": false,
            "in": "query",
            "name": "additional_naics_codes",
            "schema": {
              "description": "Up to two six-digit codes of a blend, comma separated. Codes that are not six digits or repeat the primary code are ignored.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LatestPlaybook"
                }
              }
            },
            "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"
          },
          "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"
          },
          "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": []
          }
        ],
        "summary": "Read the latest playbook for a class of business",
        "tags": [
          "Runs"
        ]
      }
    },
    "/runs/playbook/provenance": {
      "post": {
        "description": "A read: resolves the supplied playbook's claims against the class-knowledge records the seat can read. It never creates, edits or executes a Run.",
        "operationId": "readPlaybookProvenance",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PlaybookProvenanceRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlaybookProvenance"
                }
              }
            },
            "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"
          },
          "413": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Request Entity Too Large"
          },
          "424": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Failed Dependency"
          },
          "500": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "504": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            },
            "description": "Gateway Timeout"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Resolve where each claim in a playbook came from",
        "tags": [
          "Runs"
        ]
      }
    },
    "/runs/{runID}": {
      "get": {
        "description": "The run's status and, once terminal, its output. Requires runs:read and, for a key bound to engines, a binding to the run's engine.",
        "operationId": "getRun",
        "parameters": [
          {
            "description": "The run's id (a UUID).",
            "in": "path",
            "name": "runID",
            "required": true,
            "schema": {
              "description": "The run's id (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "Comma-separated extras: input (the admitted submission), operator (a matching run's full operator block).",
            "explode": false,
            "in": "query",
            "name": "include",
            "schema": {
              "description": "Comma-separated extras: input (the admitted submission), operator (a matching run's full operator block).",
              "type": "string"
            }
          },
          {
            "description": "status serves the run's lifecycle and identity (status, timestamps, engine version and config hash) without its output, solutions or input. Use it to decide from a run's state.",
            "explode": false,
            "in": "query",
            "name": "view",
            "schema": {
              "description": "status serves the run's lifecycle and identity (status, timestamps, engine version and config hash) without its output, solutions or input. Use it to decide from a run's state.",
              "enum": [
                "status"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RunStatusResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Get a run",
        "tags": [
          "Runs"
        ]
      }
    },
    "/runs/{runID}/archive": {
      "post": {
        "description": "Leaves a finished placement run out of every run list. The run stays readable by its id. Only the seat that submitted the run may archive it; another seat's run answers 404. A run that has not finished answers 409 run_in_progress, and a run a submission records answers 409 run_on_submission. A repeat answers the first archive time. Requires runs:write.",
        "operationId": "archivePlacementRun",
        "parameters": [
          {
            "description": "The run's id (a UUID).",
            "in": "path",
            "name": "runID",
            "required": true,
            "schema": {
              "description": "The run's id (a UUID).",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlacementRunArchived"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Archive a placement run",
        "tags": [
          "Runs"
        ]
      }
    },
    "/runs/{runID}/cancel": {
      "post": {
        "description": "Requests cancellation of a run that has not finished (202). A run that already finished answers 200 with the run itself; a key without runs:read gets only the run id, status, environment, attempt and creation time. The body, an optional reason, may be omitted. Requires runs:write.",
        "operationId": "cancelRun",
        "parameters": [
          {
            "description": "The run's id (a UUID).",
            "in": "path",
            "name": "runID",
            "required": true,
            "schema": {
              "description": "The run's id (a UUID).",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RunCancelRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RunStatusResponse"
                }
              }
            },
            "description": "OK"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RunCancelAccepted"
                }
              }
            },
            "description": "Accepted"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Cancel a run",
        "tags": [
          "Runs"
        ]
      }
    },
    "/runs/{runID}/defensibility-packet": {
      "get": {
        "description": "The run's sourcing chain: output, provenance, lineage, enrichment and timeline, with prompt material withheld. Requires runs:defensibility:read.",
        "operationId": "getRunDefensibilityPacket",
        "parameters": [
          {
            "description": "The run's id (a UUID).",
            "in": "path",
            "name": "runID",
            "required": true,
            "schema": {
              "description": "The run's id (a UUID).",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DefensibilityPacket"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Get a run's defensibility packet",
        "tags": [
          "Runs"
        ]
      }
    },
    "/runs/{runID}/placement-assemblies": {
      "get": {
        "description": "The live assemblies on the run that the caller's owner scope admits. Requires runs:read.",
        "operationId": "listRunPlacementAssemblies",
        "parameters": [
          {
            "description": "The run's id (a UUID).",
            "in": "path",
            "name": "runID",
            "required": true,
            "schema": {
              "description": "The run's id (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "Only assemblies on this account (its account reference).",
            "explode": false,
            "in": "query",
            "name": "account",
            "schema": {
              "description": "Only assemblies on this account (its account reference).",
              "type": "string"
            }
          },
          {
            "description": "Only assemblies with a seat on this market.",
            "explode": false,
            "in": "query",
            "name": "market_entity_key",
            "schema": {
              "description": "Only assemblies with a seat on this market.",
              "type": "string"
            }
          },
          {
            "description": "true keeps assemblies the caller may delete.",
            "explode": false,
            "in": "query",
            "name": "deletable",
            "schema": {
              "description": "true keeps assemblies the caller may delete.",
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssemblyListResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List a run's placement assemblies",
        "tags": [
          "Runs"
        ]
      },
      "post": {
        "description": "A slate the engine never emitted, one market per line drawn from the run's own eligible pool. Without an id it creates (201); with an id and If-Match it replaces (200). Confirming one is the selection write with placement_ref assembly:&lt;id&gt;. Requires runs:write.",
        "operationId": "createRunPlacementAssembly",
        "parameters": [
          {
            "description": "The run's id (a UUID).",
            "in": "path",
            "name": "runID",
            "required": true,
            "schema": {
              "description": "The run's id (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "The quoted revision, required to replace an assembly.",
            "in": "header",
            "name": "If-Match",
            "schema": {
              "description": "The quoted revision, required to replace an assembly.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssemblyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssemblyResponse"
                }
              }
            },
            "description": "OK"
          },
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssemblyResponse"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "428": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Precondition Required"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Assemble a placement slate on a run",
        "tags": [
          "Runs"
        ]
      }
    },
    "/runs/{runID}/placement-assemblies/{id}": {
      "delete": {
        "description": "Removes one assembly the caller authored or may edit. Requires runs:write.",
        "operationId": "deleteRunPlacementAssembly",
        "parameters": [
          {
            "description": "The run's id (a UUID).",
            "in": "path",
            "name": "runID",
            "required": true,
            "schema": {
              "description": "The run's id (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "The assembly's id (a UUID).",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "description": "The assembly's id (a UUID).",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Delete a placement assembly",
        "tags": [
          "Runs"
        ]
      }
    },
    "/runs/{runID}/placement-context": {
      "get": {
        "description": "Read the original scope of an exact placement run",
        "operationId": "getPlacementRunContext",
        "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"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "account_id",
            "required": true,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "runID",
            "required": true,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlacementRunContext"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Read the original scope of an exact placement run",
        "tags": [
          "Runs"
        ]
      }
    },
    "/runs/{runID}/placement-selection": {
      "get": {
        "description": "The run's one current selection with the placement it names, or 404 when none was recorded. slate lists the decision by line and market; line and overridden narrow it to one line or to the moved entries. Requires runs:read.",
        "operationId": "getRunPlacementSelection",
        "parameters": [
          {
            "description": "The run's id (a UUID).",
            "in": "path",
            "name": "runID",
            "required": true,
            "schema": {
              "description": "The run's id (a UUID).",
              "type": "string"
            }
          },
          {
            "description": "Only the slate entries on this line; a code the line vocabulary does not name is a 400 (invalid_line).",
            "explode": false,
            "in": "query",
            "name": "line",
            "schema": {
              "description": "Only the slate entries on this line; a code the line vocabulary does not name is a 400 (invalid_line).",
              "type": "string"
            }
          },
          {
            "description": "true keeps the slate entries the producer moved off the run's own answer.",
            "explode": false,
            "in": "query",
            "name": "overridden",
            "schema": {
              "description": "true keeps the slate entries the producer moved off the run's own answer.",
              "enum": [
                "true"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SelectionResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Read a run's current placement selection",
        "tags": [
          "Runs"
        ]
      },
      "put": {
        "description": "A run has one current selection and the write replaces it. Stage intent is reversible; stage confirmed must restate the whole slate and is terminal. Requires runs:write.",
        "operationId": "putRunPlacementSelection",
        "parameters": [
          {
            "description": "The run's id (a UUID).",
            "in": "path",
            "name": "runID",
            "required": true,
            "schema": {
              "description": "The run's id (a UUID).",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SelectionPutRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SelectionResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Record the producer's placement selection on a run",
        "tags": [
          "Runs"
        ]
      }
    },
    "/runs/{runID}/placement-snapshot": {
      "get": {
        "description": "Read a placement run's snapshot",
        "operationId": "getPlacementRunSnapshot",
        "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"
            }
          },
          {
            "in": "path",
            "name": "runID",
            "required": true,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlacementRunSnapshotRead"
                }
              }
            },
            "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"
          },
          "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": []
          }
        ],
        "summary": "Read a placement run's snapshot",
        "tags": [
          "Runs"
        ]
      }
    },
    "/webhooks": {
      "get": {
        "description": "Returns the endpoints of the caller's environment. Requires webhooks:manage.",
        "operationId": "listWebhooks",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookListResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List webhook endpoints",
        "tags": [
          "Webhooks"
        ]
      },
      "post": {
        "description": "Creates an endpoint and returns its signing secret once. A url whose query carries a credential is refused: send the credential as auth_token, with auth_header naming the header the receiver reads. Requires webhooks:manage.",
        "operationId": "createWebhook",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookCreateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookCreateResponseDoc"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Create a webhook endpoint",
        "tags": [
          "Webhooks"
        ]
      }
    },
    "/webhooks/delivery-claims": {
      "post": {
        "description": "Records the first claim of an inbound delivery for the organization and answers whether this call won it. The organization's own live key only; every scoped key is refused.",
        "operationId": "claimWebhookDelivery",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkbenchWebhookDeliveryClaimRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkbenchWebhookDeliveryClaimResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Claim a webhook delivery once",
        "tags": [
          "Webhooks"
        ]
      }
    },
    "/webhooks/{endpointID}": {
      "delete": {
        "description": "Deletes the endpoint. Requires webhooks:manage.",
        "operationId": "deleteWebhook",
        "parameters": [
          {
            "description": "The webhook endpoint id.",
            "in": "path",
            "name": "endpointID",
            "required": true,
            "schema": {
              "description": "The webhook endpoint id.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Delete a webhook endpoint",
        "tags": [
          "Webhooks"
        ]
      },
      "patch": {
        "description": "Changes the url, events, description, active flag, auth token, auth header or payload mode. A url whose query carries a credential is refused: send the credential as auth_token. Requires webhooks:manage.",
        "operationId": "updateWebhook",
        "parameters": [
          {
            "description": "The webhook endpoint id.",
            "in": "path",
            "name": "endpointID",
            "required": true,
            "schema": {
              "description": "The webhook endpoint id.",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookUpdateRequestDoc"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookEndpointResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Update a webhook endpoint",
        "tags": [
          "Webhooks"
        ]
      }
    },
    "/webhooks/{endpointID}/deliveries": {
      "get": {
        "description": "Returns one cursor page of deliveries, newest first. Requires webhooks:manage.",
        "operationId": "listWebhookDeliveries",
        "parameters": [
          {
            "description": "The webhook endpoint id.",
            "in": "path",
            "name": "endpointID",
            "required": true,
            "schema": {
              "description": "The webhook endpoint id.",
              "type": "string"
            }
          },
          {
            "description": "Optional delivery status filter.",
            "explode": false,
            "in": "query",
            "name": "status",
            "schema": {
              "description": "Optional delivery status filter.",
              "type": "string"
            }
          },
          {
            "description": "Optional event type filter.",
            "explode": false,
            "in": "query",
            "name": "event_type",
            "schema": {
              "description": "Optional event type filter.",
              "type": "string"
            }
          },
          {
            "description": "Opaque cursor from a previous page's next_cursor.",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "Opaque cursor from a previous page's next_cursor.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicDeliveryListResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "List an endpoint's deliveries",
        "tags": [
          "Webhooks"
        ]
      }
    },
    "/webhooks/{endpointID}/deliveries/{deliveryID}": {
      "get": {
        "description": "Returns the delivery and its attempt summaries. Metadata only. Requires webhooks:manage.",
        "operationId": "getWebhookDelivery",
        "parameters": [
          {
            "description": "The webhook endpoint id.",
            "in": "path",
            "name": "endpointID",
            "required": true,
            "schema": {
              "description": "The webhook endpoint id.",
              "type": "string"
            }
          },
          {
            "description": "The delivery id.",
            "in": "path",
            "name": "deliveryID",
            "required": true,
            "schema": {
              "description": "The delivery id.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicDeliveryDetailResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Read one delivery",
        "tags": [
          "Webhooks"
        ]
      }
    },
    "/webhooks/{endpointID}/deliveries/{deliveryID}/resend": {
      "post": {
        "description": "Starts a fresh audited retry generation. Only a dead-lettered delivery can be resent. Requires webhooks:manage.",
        "operationId": "resendWebhookDelivery",
        "parameters": [
          {
            "description": "The webhook endpoint id.",
            "in": "path",
            "name": "endpointID",
            "required": true,
            "schema": {
              "description": "The webhook endpoint id.",
              "type": "string"
            }
          },
          {
            "description": "The delivery id.",
            "in": "path",
            "name": "deliveryID",
            "required": true,
            "schema": {
              "description": "The delivery id.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookResendResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Resend a dead-lettered delivery",
        "tags": [
          "Webhooks"
        ]
      }
    },
    "/webhooks/{endpointID}/rotate-secret": {
      "post": {
        "description": "Issues a new signing secret, returned once, and keeps the previous one through the rotation policy's overlap. Requires webhooks:manage.",
        "operationId": "rotateWebhookSecret",
        "parameters": [
          {
            "description": "The webhook endpoint id.",
            "in": "path",
            "name": "endpointID",
            "required": true,
            "schema": {
              "description": "The webhook endpoint id.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookRotateSecretResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Conflict"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorEnvelope"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Rotate a webhook signing secret",
        "tags": [
          "Webhooks"
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://api.usenexio.com"
    }
  ],
  "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"
    }
  ],
  "webhooks": {
    "run.cancelled": {
      "post": {
        "description": "Sent to every active endpoint subscribed to run.cancelled, signed as the webhooks guide describes. data.run is the run's status fields built from the stored run.",
        "operationId": "run.cancelled",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookEvent"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "description": "Any 2xx acknowledges the delivery; anything else is retried."
          }
        },
        "summary": "The run.cancelled event"
      }
    },
    "run.completed": {
      "post": {
        "description": "Sent to every active endpoint subscribed to run.completed, signed as the webhooks guide describes. data.run is the run's status fields built from the stored run.",
        "operationId": "run.completed",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookEvent"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "description": "Any 2xx acknowledges the delivery; anything else is retried."
          }
        },
        "summary": "The run.completed event"
      }
    },
    "run.failed": {
      "post": {
        "description": "Sent to every active endpoint subscribed to run.failed, signed as the webhooks guide describes. data.run is the run's status fields built from the stored run.",
        "operationId": "run.failed",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookEvent"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "description": "Any 2xx acknowledges the delivery; anything else is retried."
          }
        },
        "summary": "The run.failed event"
      }
    },
    "run.superseded": {
      "post": {
        "description": "Sent to every active endpoint subscribed to run.superseded, signed as the webhooks guide describes. data.run is the run's status fields built from the stored run.",
        "operationId": "run.superseded",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookEvent"
              }
            }
          },
          "required": true
        },
        "responses": {
          "2XX": {
            "description": "Any 2xx acknowledges the delivery; anything else is retried."
          }
        },
        "summary": "The run.superseded event"
      }
    }
  }
}
