{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-list-ingestion-jobs-response-schema.json",
  "title": "ListIngestionJobsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-bedrock-ingestionjobs-api-openapi.yml#/components/schemas/ListIngestionJobsResponse",
  "type": "object",
  "properties": {
    "ingestionJobSummaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/IngestionJobSummary"
      },
      "description": "A list of data ingestion jobs with information about each job."
    },
    "nextToken": {
      "type": "string",
      "description": "If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results."
    }
  },
  "required": [
    "ingestionJobSummaries"
  ],
  "$defs": {
    "IngestionJobStatistics": {
      "type": "object",
      "properties": {
        "numberOfDocumentsScanned": {
          "type": "string",
          "description": "The total number of source documents that were scanned. Includes new, updated, and unchanged documents."
        },
        "numberOfMetadataDocumentsScanned": {
          "type": "string",
          "description": "The total number of metadata files that were scanned. Includes new, updated, and unchanged files."
        },
        "numberOfNewDocumentsIndexed": {
          "type": "string",
          "description": "The number of new source documents in the data source that were successfully indexed."
        },
        "numberOfModifiedDocumentsIndexed": {
          "type": "string",
          "description": "The number of modified source documents in the data source that were successfully indexed."
        },
        "numberOfMetadataDocumentsModified": {
          "type": "string",
          "description": "The number of metadata files that were updated or deleted."
        },
        "numberOfDocumentsDeleted": {
          "type": "string",
          "description": "The number of source documents that were deleted."
        },
        "numberOfDocumentsFailed": {
          "type": "string",
          "description": "The number of source documents that failed to be ingested."
        },
        "numberOfDocumentsSkipped": {
          "type": "string",
          "description": "The number of source documents that were skipped during ingestion."
        }
      }
    },
    "IngestionJobSummary": {
      "type": "object",
      "properties": {
        "knowledgeBaseId": {
          "type": "string",
          "description": "The unique identifier of the knowledge base for the data ingestion job."
        },
        "dataSourceId": {
          "type": "string",
          "description": "The unique identifier of the data source for the data ingestion job."
        },
        "ingestionJobId": {
          "type": "string",
          "description": "The unique identifier of the data ingestion job."
        },
        "description": {
          "type": "string",
          "description": "The description of the data ingestion job."
        },
        "status": {
          "type": "string",
          "enum": [
            "STARTING",
            "IN_PROGRESS",
            "COMPLETE",
            "FAILED",
            "STOPPING",
            "STOPPED"
          ],
          "description": "The status of the data ingestion job."
        },
        "startedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The time the data ingestion job started."
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The time the data ingestion job was last updated."
        },
        "textReadyAt": {
          "type": "string",
          "format": "date-time",
          "description": "The time at which all text content in the data ingestion job finished extraction and became available to query. This time isn't returned until text extraction is complete for all the documents in the job."
        },
        "statistics": {
          "$ref": "#/$defs/IngestionJobStatistics"
        }
      },
      "required": [
        "knowledgeBaseId",
        "dataSourceId",
        "ingestionJobId",
        "status",
        "startedAt",
        "updatedAt"
      ]
    }
  }
}