{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mri-software/json-schema/mri-software-contractor-insurance-response-schema.json",
  "title": "ContractorInsuranceResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mri-software-contractor-insurance-policies-api-openapi.yml#/components/schemas/ContractorInsuranceResponse",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int32"
    },
    "created": {
      "type": "string",
      "format": "date-time"
    },
    "modified": {
      "type": "string",
      "format": "date-time"
    },
    "org_id": {
      "type": "integer",
      "format": "int32"
    },
    "org_name": {
      "type": "string",
      "format": "string"
    },
    "type": {
      "type": "string",
      "format": "string"
    },
    "name": {
      "type": "string",
      "format": "string"
    },
    "reference": {
      "type": "string",
      "format": "string"
    },
    "value": {
      "type": "string",
      "format": "string"
    },
    "start": {
      "type": "string",
      "format": "date"
    },
    "expires": {
      "type": "string",
      "format": "date"
    },
    "status": {
      "type": "string",
      "format": "string"
    },
    "tags": {
      "type": "array",
      "items": {
        "format": "string"
      }
    },
    "documents": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DocumentResponse"
      }
    }
  },
  "type": "object",
  "$defs": {
    "DocumentResponse": {
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32"
        },
        "modified": {
          "type": "string",
          "format": "date-time"
        },
        "name": {
          "type": "string",
          "format": "string"
        },
        "type": {
          "type": "string",
          "format": "string"
        },
        "size": {
          "type": "integer",
          "format": "int64"
        },
        "link": {
          "type": "string",
          "format": "string"
        }
      },
      "type": "object"
    }
  }
}