{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-list-ingestion-jobs-request-schema.json",
  "title": "ListIngestionJobsRequest",
  "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/ListIngestionJobsRequest",
  "type": "object",
  "properties": {
    "knowledgeBaseId": {
      "type": "string",
      "description": "The unique identifier of the knowledge base for the list of data ingestion jobs."
    },
    "dataSourceId": {
      "type": "string",
      "description": "The unique identifier of the data source for the list of data ingestion jobs."
    },
    "filters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/IngestionJobFilter"
      },
      "description": "Contains information about the filters for filtering the data."
    },
    "sortBy": {
      "$ref": "#/$defs/IngestionJobSortBy"
    },
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results."
    },
    "nextToken": {
      "type": "string",
      "description": "If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results."
    }
  },
  "required": [
    "knowledgeBaseId",
    "dataSourceId"
  ],
  "$defs": {
    "IngestionJobFilter": {
      "type": "object",
      "properties": {
        "attribute": {
          "type": "string",
          "enum": [
            "STATUS"
          ],
          "description": "The name of field or attribute to apply the filter."
        },
        "operator": {
          "type": "string",
          "enum": [
            "EQ"
          ],
          "description": "The operation to apply to the field or attribute."
        },
        "values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of values that belong to the field or attribute."
        }
      },
      "required": [
        "attribute",
        "operator",
        "values"
      ]
    },
    "IngestionJobSortBy": {
      "type": "object",
      "properties": {
        "attribute": {
          "type": "string",
          "enum": [
            "STATUS",
            "STARTED_AT"
          ],
          "description": "The name of field or attribute to apply sorting of data."
        },
        "order": {
          "type": "string",
          "enum": [
            "ASCENDING",
            "DESCENDING"
          ],
          "description": "The order for sorting the data."
        }
      },
      "required": [
        "attribute",
        "order"
      ]
    }
  }
}