{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-neptune/json-schema/amazon-neptune-get-index-rebuild-status-output-schema.json",
  "title": "GetIndexRebuildStatusOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-neptune-storage-api-openapi.yml#/components/schemas/GetIndexRebuildStatusOutput",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "PREPARING",
        "REBUILDING",
        "COMPLETED",
        "FAILED",
        "CANCELLED",
        "CANCELLING"
      ],
      "description": "The current status of the rebuild operation. See RebuildStatus for possible values: PREPARING, REBUILDING, COMPLETED, FAILED, CANCELLING or CANCELLED."
    },
    "scope": {
      "type": "string",
      "enum": [
        "ALL",
        "QUADS",
        "DICTIONARIES"
      ],
      "description": "The scope of the rebuild operation. See Scope for possible values: ALL, QUADS, or DICTIONARIES."
    },
    "concurrency": {
      "type": "integer",
      "description": "The concurrency in effect for this rebuild, as echoed from the original StartIndexRebuild request."
    },
    "writeBufferSize": {
      "type": "string",
      "enum": [
        "LOW",
        "MEDIUM",
        "HIGH"
      ],
      "description": "The WriteBufferSize in effect for this rebuild, as echoed from the original StartIndexRebuild request."
    },
    "startTime": {
      "type": "string",
      "description": "The ISO-8601 timestamp indicating when the index rebuild operation started."
    },
    "progressPercentage": {
      "type": "integer",
      "description": "The percentage of the index rebuild operation that has been completed, expressed as an integer from 0 to 100."
    },
    "estimatedEndTime": {
      "type": "string",
      "description": "The estimated ISO-8601 timestamp for when the index rebuild operation will complete. The estimate may change as the operation progresses."
    },
    "endTime": {
      "type": "string",
      "description": "The ISO-8601 timestamp indicating when the index rebuild operation completed. This field is only present when the operation has completed (status is COMPLETED, FAILED, or CANCELLED)."
    },
    "failureReason": {
      "type": "string",
      "description": "The reason for the failure, if the rebuild operation failed. This field is only populated when the status is FAILED."
    }
  },
  "required": [
    "status",
    "scope",
    "concurrency",
    "writeBufferSize",
    "startTime",
    "progressPercentage"
  ]
}