{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-q/json-schema/amazon-q-list-aiguardrails-response-schema.json",
  "title": "ListAIGuardrailsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-q-aiguardrails-api-openapi.yml#/components/schemas/ListAIGuardrailsResponse",
  "type": "object",
  "properties": {
    "aiGuardrailSummaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AIGuardrailSummary"
      },
      "description": "The summaries of the AI Guardrails."
    },
    "nextToken": {
      "type": "string",
      "description": "The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results."
    }
  },
  "required": [
    "aiGuardrailSummaries"
  ],
  "$defs": {
    "AIGuardrailSummary": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the AI Guardrail."
        },
        "assistantId": {
          "type": "string",
          "description": "The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN."
        },
        "assistantArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant."
        },
        "aiGuardrailId": {
          "type": "string",
          "description": "The identifier of the Amazon Q in Connect AI Guardrail."
        },
        "aiGuardrailArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the AI Guardrail."
        },
        "modifiedTime": {
          "type": "string",
          "description": "The time the AI Guardrail was last modified."
        },
        "lastModifiedTime": {
          "type": "string",
          "description": "The timestamp when the AI Guardrail was last modified."
        },
        "lastModifiedRegion": {
          "type": "string",
          "description": "The Amazon Web Services Region where the AI Guardrail was last modified."
        },
        "visibilityStatus": {
          "type": "string",
          "description": "The visibility status of the AI Guardrail."
        },
        "description": {
          "type": "string",
          "description": "A description of the AI Guardrail."
        },
        "status": {
          "type": "string",
          "description": "The status of the AI Guardrail."
        },
        "tags": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "The tags used to organize, track, or control access for this resource."
        }
      },
      "required": [
        "name",
        "assistantId",
        "assistantArn",
        "aiGuardrailId",
        "aiGuardrailArn",
        "visibilityStatus"
      ]
    }
  }
}