{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vladahealth-com/json-schema/vladahealth-com-edi-upload-request-schema.json",
  "title": "EdiUploadRequest",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vladahealth-com-openapi.json#/components/schemas/EdiUploadRequest",
  "properties": {
    "session_id": {
      "type": "string",
      "title": "Session Id"
    },
    "edi_text": {
      "type": "string",
      "title": "Edi Text",
      "description": "raw X12 837/835/834 text; not persisted by the normalizer"
    },
    "transaction": {
      "type": "string",
      "title": "Transaction",
      "description": "auto | 837 | 835 | 834",
      "default": "auto"
    },
    "source_label": {
      "type": "string",
      "title": "Source Label",
      "description": "a label for this feed, e.g. 'TPA 837I June'",
      "default": "uploaded X12"
    },
    "data_vintage": {
      "type": "string",
      "title": "Data Vintage",
      "description": "the data version this batch represents",
      "default": "customer-upload"
    }
  },
  "type": "object",
  "required": [
    "session_id",
    "edi_text"
  ]
}