{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/emporix/json-schema/emporix-index-import-result-schema.json",
  "title": "IndexImportResult",
  "description": "Result of importing one index. `jobId` and `jobType` are omitted when the ready index is unchanged.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/emporix-export-import-api-openapi.yml#/components/schemas/IndexImportResult",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Index id."
    },
    "type": {
      "type": "string",
      "description": "Custom schema type this index belongs to."
    },
    "jobId": {
      "type": "string",
      "description": "Identifier of the job that builds the index. Present when a job starts."
    },
    "jobType": {
      "type": "string",
      "description": "Kind of index change. Present when a job starts.\n* `create_index` – the index was created.\n* `update_index` – an existing index's field definition changed.",
      "enum": [
        "create_index",
        "update_index"
      ]
    }
  },
  "required": [
    "id",
    "type"
  ]
}