{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ivans/main/json-schema/ivans-document-store-req-schema.json",
  "title": "DocumentStoreReq",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ivans-translation-openapi.json#/components/schemas/DocumentStoreReq",
  "type": "object",
  "properties": {
    "agencyId": {
      "type": "string"
    },
    "policyNumber": {
      "type": "string"
    },
    "carrierId": {
      "type": "string"
    },
    "documentType": {
      "type": "string",
      "enum": [
        "EDOC",
        "OCR"
      ]
    },
    "documentName": {
      "type": "string"
    },
    "documentDesc": {
      "type": "string",
      "readOnly": true
    },
    "mimeType": {
      "type": "string",
      "enum": [
        "application/pdf",
        "image/pict",
        "application/excel"
      ]
    },
    "document": {
      "type": "string"
    }
  }
}