{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hedgespecialty-com/json-schema/hedgespecialty-com-bind-request-read-schema.json",
  "title": "BindRequestRead",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hedgespecialty-com-binding-api-openapi.yml#/components/schemas/BindRequestRead",
  "type": "object",
  "required": [
    "bind_request_id",
    "submission_id",
    "status",
    "status_label",
    "requested_at",
    "unconfirmed_assumptions",
    "contingencies",
    "next_steps"
  ],
  "properties": {
    "bind_request_id": {
      "type": "string",
      "format": "uuid"
    },
    "submission_id": {
      "type": "string",
      "format": "uuid"
    },
    "status": {
      "type": "string",
      "enum": [
        "drafted",
        "submitted",
        "sent",
        "binder_received",
        "bound",
        "bind_failed",
        "cancelled",
        "declined",
        "expired"
      ],
      "description": "`drafted`: checklist open (upload documents, confirm assumptions,\nthen submit). `submitted`/`sent`: Hedge is placing the bind with\nthe carrier. `binder_received`: the carrier confirmed the bind;\ncoverage is bound and its policy documents are pending.\n`bound`: the policy is issued (it appears under GET\n/broker/policies and a `bound` event is emitted). `bind_failed`:\nHedge is reviewing.\n"
    },
    "status_label": {
      "type": "string"
    },
    "quote_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "payment_option": {
      "type": [
        "string",
        "null"
      ]
    },
    "requested_at": {
      "type": "string",
      "format": "date-time"
    },
    "requested_by": {
      "type": [
        "string",
        "null"
      ],
      "description": "The producing broker the request is attributed to."
    },
    "effective_date": {
      "type": [
        "string",
        "null"
      ],
      "format": "date"
    },
    "policy_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "unconfirmed_assumptions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BindAssumption"
      },
      "description": "Standing assumptions the retail agent still has to confirm. Non-empty means create/submit will answer 409 `assumptions_unconfirmed` until attested."
    },
    "contingencies": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BindContingency"
      }
    },
    "next_steps": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Plain-language actions for the current state, in order."
    }
  },
  "$defs": {
    "BindAssumption": {
      "type": "object",
      "description": "One assumption Hedge made to obtain the quote (a value it defaulted\non the carrier application because the file did not state it) that\nthe retail agent has not yet confirmed. `key` is what\n`attest_assumptions` lists; `label` is the plain-language statement;\n`value` is the exact value asserted to the carrier (absent when the\nentry records none).\n",
      "required": [
        "key",
        "label"
      ],
      "properties": {
        "key": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "value": {
          "description": "The asserted value",
          "any JSON type; may be absent.": null
        }
      }
    },
    "BindContingency": {
      "type": "object",
      "description": "One pre-bind item the carrier needs, with your response state.",
      "required": [
        "id",
        "kind",
        "label",
        "status",
        "required"
      ],
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "kind": {
          "type": "string",
          "enum": [
            "question",
            "signed_form",
            "loss_runs",
            "file_upload"
          ]
        },
        "label": {
          "type": "string",
          "description": "The carrier's wording of the item."
        },
        "status": {
          "type": "string",
          "enum": [
            "pending",
            "satisfied",
            "waived"
          ]
        },
        "required": {
          "type": "boolean"
        },
        "upload_path": {
          "type": [
            "string",
            "null"
          ],
          "description": "While the request is `drafted`, the path to POST a PDF for this item (multipart `file`); null afterwards."
        },
        "esign_status": {
          "type": [
            "string",
            "null"
          ],
          "description": "Envelope state of a signature request started for this item through the Hedge portal wizard (e.g. sent, completed, queued_for_review); null when none."
        }
      }
    }
  }
}