{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/coactive/main/json-schema/coactive-ingestion-create-ingest-job-from-file-request-schema.json",
  "title": "CreateIngestJobFromFileRequest",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/coactive-ingestion-ingest-api-openapi.yml#/components/schemas/ingestion_CreateIngestJobFromFileRequest",
  "type": "object",
  "properties": {
    "dataset_id": {
      "type": "string",
      "format": "uuid"
    },
    "source_path": {
      "type": "string"
    },
    "connection_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "file_type": {
      "$ref": "#/$defs/ingestion_ExternalFileType"
    }
  },
  "required": [
    "dataset_id",
    "source_path"
  ],
  "$defs": {
    "ingestion_ExternalFileType": {
      "type": "string",
      "enum": [
        "unspecified",
        "csv",
        "json"
      ],
      "title": "ExternalFileType"
    }
  }
}