{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ec2-image-builder/json-schema/amazon-ec2-image-builder-list-components-response-schema.json",
  "title": "ListComponentsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ec2-image-builder-list-components-api-openapi.yml#/components/schemas/ListComponentsResponse",
  "type": "object",
  "properties": {
    "requestId": {
      "type": "string",
      "description": "The request ID that uniquely identifies this request."
    },
    "componentVersionList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ComponentVersion"
      },
      "description": "The list of component semantic versions. The semantic version has four nodes: ../. You can assign values for the first three, and can filter on all of them."
    },
    "nextToken": {
      "type": "string",
      "description": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects."
    }
  },
  "$defs": {
    "ComponentVersion": {
      "type": "object",
      "properties": {
        "arn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the component. Semantic versioning is included in each object's Amazon Resource Name (ARN), at the level that applies to that object as follows: Versionless ARNs and Name ARNs do not include specific values in any of the nodes. The nodes are either left off entirely, or they are specified as wildcards, for example: x.x.x. Version ARNs have only the first three nodes: .. Build version ARNs have all four nodes, and point to a specific build for a specific version of an object."
        },
        "name": {
          "type": "string",
          "description": "The name of the component."
        },
        "version": {
          "type": "string",
          "description": "The semantic version of the component. The semantic version has four nodes: ../. You can assign values for the first three, and can filter on all of them. Assignment: For the first three nodes, you can assign any positive integer value, including zero. The upper limit is 2^30-1, or 1073741823, for each node. Image Builder automatically assigns the build number to the fourth node. Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021"
        },
        "description": {
          "type": "string",
          "description": "The description of the component."
        },
        "platform": {
          "type": "string",
          "enum": [
            "Windows",
            "Linux",
            "macOS"
          ],
          "description": "The platform of the component."
        },
        "supportedOsVersions": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The operating system (OS) version supported by the component. If OS information is available, Image Builder performs a prefix match against the base image OS version during image recipe creation."
        },
        "type": {
          "type": "string",
          "enum": [
            "BUILD",
            "TEST"
          ],
          "description": "The type of the component denotes whether the component is used to build the image or only to test it."
        },
        "owner": {
          "type": "string",
          "description": "The owner of the component. The value is your account ID for components that you own, the sharing account's ID for shared components, or Amazon, ThirdParty, or AWSMarketplace."
        },
        "dateCreated": {
          "type": "string",
          "description": "The date that the component was created."
        },
        "status": {
          "type": "string",
          "enum": [
            "DEPRECATED",
            "DISABLED",
            "ACTIVE"
          ],
          "description": "Describes the current status of the component version."
        },
        "productCodes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ProductCodeListItem"
          },
          "description": "Contains product codes that are used for billing purposes for Amazon Web Services Marketplace components."
        }
      }
    },
    "ProductCodeListItem": {
      "type": "object",
      "properties": {
        "productCodeId": {
          "type": "string",
          "description": "For Amazon Web Services Marketplace components, this contains the product code ID that can be stamped onto an EC2 AMI to ensure that components are billed correctly. If this property is empty, it might mean that the component is not published."
        },
        "productCodeType": {
          "type": "string",
          "enum": [
            "marketplace"
          ],
          "description": "The owner of the product code that's billed. If this property is empty, it might mean that the component is not published."
        }
      },
      "required": [
        "productCodeId",
        "productCodeType"
      ]
    }
  }
}