{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-ec2-image-builder/refs/heads/main/json-schema/ec2-image-builder-target-container-repository-schema.json",
  "title": "TargetContainerRepository",
  "description": "The container repository where the output container image is stored.",
  "type": "object",
  "properties": {
    "service": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ContainerRepositoryService"
        },
        {
          "description": "Specifies the service in which this image was registered."
        }
      ]
    },
    "repositoryName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/NonEmptyString"
        },
        {
          "description": "The name of the container repository where the output container image is stored. This name is prefixed by the repository location."
        }
      ]
    }
  },
  "required": [
    "service",
    "repositoryName"
  ]
}