{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/valjeanspecialty/json-schema/valjeanspecialty-document-created-schema.json",
  "title": "DocumentCreated",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/valjeanspecialty-documents-api-openapi.yml#/components/schemas/DocumentCreated",
  "type": "object",
  "properties": {
    "document_id": {
      "type": "string",
      "format": "uuid"
    },
    "file_name": {
      "type": "string"
    },
    "doc_type": {
      "type": "string",
      "description": "Detected or given document type, e.g. acord_125, loss_runs, sov, other."
    },
    "note": {
      "type": "string"
    },
    "duplicate": {
      "type": "boolean",
      "description": "Only on /documents/complete when the upload was already recorded."
    }
  },
  "required": [
    "document_id",
    "file_name",
    "doc_type"
  ]
}