{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-xray/json-schema/amazon-xray-list-tags-for-resource-response-schema.json",
  "title": "ListTagsForResourceResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-xray-list-tags-for-resource-api-openapi.yml#/components/schemas/ListTagsForResourceResponse",
  "type": "object",
  "properties": {
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "A list of tags, as key and value pairs, that is associated with the specified X-Ray group or sampling rule."
    },
    "NextToken": {
      "type": "string",
      "description": "A pagination token. If multiple pages of results are returned, use the NextToken value returned with the current page of results to get the next page of results."
    }
  },
  "$defs": {
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "A tag key, such as Stage or Name. A tag key cannot be empty. The key can be a maximum of 128 characters, and can contain only Unicode letters, numbers, or separators, or the following special characters: + - = . _ : /"
        },
        "Value": {
          "type": "string",
          "description": "An optional tag value, such as Production or test-only. The value can be a maximum of 255 characters, and contain only Unicode letters, numbers, or separators, or the following special characters: + - = . _ : /"
        }
      },
      "required": [
        "Key",
        "Value"
      ]
    }
  }
}