{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-ec2-image-builder/refs/heads/main/json-structure/ec2-image-builder-target-container-repository-structure.json",
  "name": "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"
  ]
}