{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ecr/json-schema/amazon-ecr-create-pull-through-cache-rule-response-schema.json",
  "title": "CreatePullThroughCacheRuleResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ecr-pull-through-cache-rule-api-openapi.yml#/components/schemas/CreatePullThroughCacheRuleResponse",
  "type": "object",
  "properties": {
    "ecrRepositoryPrefix": {
      "type": "string",
      "description": "The Amazon ECR repository prefix associated with the pull through cache rule."
    },
    "upstreamRegistryUrl": {
      "type": "string",
      "description": "The upstream registry URL associated with the pull through cache rule."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time, in JavaScript date format, when the pull through cache rule was created."
    },
    "registryId": {
      "type": "string",
      "description": "The registry ID associated with the request."
    },
    "upstreamRegistry": {
      "type": "string",
      "enum": [
        "ecr",
        "ecr-public",
        "quay",
        "k8s",
        "docker-hub",
        "github-container-registry",
        "azure-container-registry",
        "gitlab-container-registry",
        "chainguard"
      ],
      "description": "The name of the upstream registry associated with the pull through cache rule."
    },
    "credentialArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through cache rule."
    },
    "customRoleArn": {
      "type": "string",
      "description": "The ARN of the IAM role associated with the pull through cache rule."
    },
    "upstreamRepositoryPrefix": {
      "type": "string",
      "description": "The upstream repository prefix associated with the pull through cache rule."
    }
  }
}