{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ivans/main/json-schema/ivans-file-content-schema.json",
  "title": "FileContent",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ivans-exchange-v1-openapi.json#/components/schemas/FileContent",
  "required": [
    "contentCode",
    "description",
    "id",
    "index"
  ],
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64"
    },
    "index": {
      "type": "integer",
      "format": "int32"
    },
    "contentCode": {
      "minLength": 1,
      "type": "string"
    },
    "policyNumber": {
      "type": [
        "string",
        "null"
      ]
    },
    "claimNumber": {
      "type": [
        "string",
        "null"
      ]
    },
    "claimType": {
      "type": [
        "string",
        "null"
      ]
    },
    "broadLob": {
      "type": [
        "string",
        "null"
      ]
    },
    "lob": {
      "type": [
        "string",
        "null"
      ]
    },
    "cycle": {
      "type": [
        "string",
        "null"
      ]
    },
    "naic": {
      "type": [
        "string",
        "null"
      ]
    },
    "producerCode": {
      "type": [
        "string",
        "null"
      ]
    },
    "insuredName": {
      "type": [
        "string",
        "null"
      ]
    },
    "effectiveDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "expirationDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "transactionEffectiveDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "transactionResponseDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "lossDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "generationDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "transactionType": {
      "type": [
        "string",
        "null"
      ]
    },
    "sessionId": {
      "type": "string",
      "format": "uuid"
    },
    "attachId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "attachCount": {
      "type": "integer",
      "format": "int32"
    },
    "description": {
      "minLength": 1,
      "type": "string",
      "readOnly": true
    }
  },
  "additionalProperties": false
}