{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fluree/json-schema/fluree-post-import-upload-request-schema.json",
  "title": "PostImportUploadRequest",
  "x-generated": "2026-12-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/fluree-openapi-generated.yml#/components/schemas/PostImportUploadRequest",
  "type": "object",
  "properties": {
    "ledger": {
      "type": "string",
      "description": "Target ledger name."
    },
    "size": {
      "type": "integer",
      "description": "Size in bytes of the upload (optional)."
    },
    "source_kind": {
      "type": "string",
      "description": "Either \"flpack\" (default) or \"source\"."
    },
    "filename": {
      "type": "string",
      "description": "Filename for source uploads (used for format detection)."
    },
    "edge_properties": {
      "type": "string",
      "description": "CSV/Cypher only; default \"plain\"."
    },
    "base_iri": {
      "type": "string",
      "description": "Base IRI for CSV/Cypher source uploads."
    },
    "skolem_namespace": {
      "type": "string",
      "description": "Blank‑node salt for source‑upload‑skolem mode."
    },
    "graph": {
      "type": "string",
      "description": "Target graph IRI for graph‑import mode."
    }
  },
  "required": [
    "ledger"
  ]
}