{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-q/json-schema/amazon-q-search-content-response-schema.json",
  "title": "SearchContentResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-q-search-api-openapi.yml#/components/schemas/SearchContentResponse",
  "type": "object",
  "properties": {
    "contentSummaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ContentSummary"
      },
      "description": "Summary information about the content."
    },
    "nextToken": {
      "type": "string",
      "description": "If there are additional results, this is the token for the next set of results."
    }
  },
  "required": [
    "contentSummaries"
  ],
  "$defs": {
    "ContentSummary": {
      "type": "object",
      "properties": {
        "contentArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the content."
        },
        "contentId": {
          "type": "string",
          "description": "The identifier of the content."
        },
        "knowledgeBaseArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the knowledge base."
        },
        "knowledgeBaseId": {
          "type": "string",
          "description": "The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base."
        },
        "name": {
          "type": "string",
          "description": "The name of the content."
        },
        "revisionId": {
          "type": "string",
          "description": "The identifier of the revision of the content."
        },
        "title": {
          "type": "string",
          "description": "The title of the content."
        },
        "contentType": {
          "type": "string",
          "description": "The media type of the content."
        },
        "status": {
          "type": "string",
          "description": "The status of the content."
        },
        "metadata": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Amazon Q in Connect, you can store an external version identifier as metadata to utilize for determining drift."
        },
        "tags": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "The tags used to organize, track, or control access for this resource."
        },
        "lastModifiedTime": {
          "type": "string",
          "description": "The timestamp when the content was last modified."
        },
        "lastModifiedRegion": {
          "type": "string",
          "description": "The Amazon Web Services Region where the content was last modified."
        },
        "fileHash": {
          "type": "string",
          "description": "The Base64-encoded SHA-256 hash of the content file. Amazon Connect Global Resiliency returns this field only for replicated content."
        }
      },
      "required": [
        "contentArn",
        "contentId",
        "knowledgeBaseArn",
        "knowledgeBaseId",
        "name",
        "revisionId",
        "title",
        "contentType",
        "status",
        "metadata"
      ]
    }
  }
}