{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-q/json-schema/amazon-q-list-data-sources-response-schema.json",
  "title": "ListDataSourcesResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-q-data-sources-api-openapi.yml#/components/schemas/ListDataSourcesResponse",
  "type": "object",
  "properties": {
    "dataSources": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DataSource"
      },
      "description": "An array of summary information for one or more data source connector."
    },
    "nextToken": {
      "type": "string",
      "description": "If the response is truncated, Amazon Q Business returns this token. You can use this token in a subsequent request to retrieve the next set of data source connectors."
    }
  },
  "$defs": {
    "DataSource": {
      "type": "object",
      "properties": {
        "displayName": {
          "type": "string",
          "description": "The name of the Amazon Q Business data source."
        },
        "dataSourceId": {
          "type": "string",
          "description": "The identifier of the Amazon Q Business data source."
        },
        "type": {
          "type": "string",
          "description": "The type of the Amazon Q Business data source."
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "The Unix timestamp when the Amazon Q Business data source was created."
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The Unix timestamp when the Amazon Q Business data source was last updated."
        },
        "status": {
          "type": "string",
          "enum": [
            "PENDING_CREATION",
            "CREATING",
            "ACTIVE",
            "DELETING",
            "FAILED",
            "UPDATING"
          ],
          "description": "The status of the Amazon Q Business data source."
        }
      }
    }
  }
}