{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ecs/json-schema/amazon-ecs-list-attributes-response-schema.json",
  "title": "ListAttributesResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ecs-attribute-api-openapi.yml#/components/schemas/ListAttributesResponse",
  "type": "object",
  "properties": {
    "attributes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Attribute"
      },
      "description": "A list of attribute objects that meet the criteria of the request."
    },
    "nextToken": {
      "type": "string",
      "description": "The nextToken value to include in a future ListAttributes request. When the results of a ListAttributes request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return."
    }
  },
  "$defs": {
    "Attribute": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the attribute. The name must contain between 1 and 128 characters. The name may contain letters (uppercase and lowercase), numbers, hyphens (-), underscores (_), forward slashes (/), back slashes (\\), or periods (.)."
        },
        "value": {
          "type": "string",
          "description": "The value of the attribute. The value must contain between 1 and 128 characters. It can contain letters (uppercase and lowercase), numbers, hyphens (-), underscores (_), periods (.), at signs (@), forward slashes (/), back slashes (\\), colons (:), or spaces. The value can't start or end with a space."
        },
        "targetType": {
          "type": "string",
          "enum": [
            "container-instance"
          ],
          "description": "The type of the target to attach the attribute with. This parameter is required if you use the short form ID for a resource instead of the full ARN."
        },
        "targetId": {
          "type": "string",
          "description": "The ID of the target. You can specify the short form ID for a resource or the full Amazon Resource Name (ARN)."
        }
      },
      "required": [
        "name"
      ]
    }
  }
}