{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-quicksight/json-schema/amazon-quicksight-list-knowledge-bases-response-schema.json",
  "title": "ListKnowledgeBasesResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-quicksight-knowledge-bases-api-openapi.yml#/components/schemas/ListKnowledgeBasesResponse",
  "type": "object",
  "properties": {
    "KnowledgeBaseSummaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/KnowledgeBaseSummary"
      },
      "description": "A list of knowledge base summaries."
    },
    "NextToken": {
      "type": "string",
      "description": "The token for the next set of results, or null if there are no more results."
    },
    "RequestId": {
      "type": "string",
      "description": "The Amazon Web Services request ID for this operation."
    },
    "Status": {
      "type": "integer",
      "description": "The HTTP status of the request."
    }
  },
  "required": [
    "KnowledgeBaseSummaries"
  ],
  "$defs": {
    "KnowledgeBaseSummary": {
      "type": "object",
      "properties": {
        "KnowledgeBaseArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the knowledge base."
        },
        "KnowledgeBaseId": {
          "type": "string",
          "description": "The unique identifier for the knowledge base."
        },
        "Name": {
          "type": "string",
          "description": "The name of the knowledge base."
        },
        "Status": {
          "type": "string",
          "enum": [
            "CREATING",
            "UPDATING",
            "ACTIVE",
            "FAILED",
            "DELETING"
          ],
          "description": "The status of the knowledge base."
        },
        "DataSourceArn": {
          "type": "string",
          "description": "The ARN of the data source associated with the knowledge base."
        },
        "Type": {
          "type": "string",
          "description": "The type of the knowledge base."
        },
        "CreatedAt": {
          "type": "string",
          "description": "The date and time that the knowledge base was created."
        },
        "UpdatedAt": {
          "type": "string",
          "description": "The date and time that the knowledge base was last updated."
        },
        "KnowledgeBaseSizeBytes": {
          "type": "integer",
          "description": "The size of the knowledge base in bytes."
        },
        "DocumentCount": {
          "type": "integer",
          "description": "The number of documents in the knowledge base."
        },
        "PrimaryOwnerArn": {
          "type": "string",
          "description": "The ARN of the primary owner of the knowledge base."
        },
        "PrimaryOwnerUsername": {
          "type": "string",
          "description": "The username of the primary owner of the knowledge base."
        }
      },
      "required": [
        "KnowledgeBaseArn",
        "KnowledgeBaseId",
        "Name",
        "Status",
        "DataSourceArn"
      ]
    }
  }
}