{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ecr/json-schema/amazon-ecr-validate-pull-through-cache-rule-response-schema.json",
  "title": "ValidatePullThroughCacheRuleResponse",
  "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/ValidatePullThroughCacheRuleResponse",
  "type": "object",
  "properties": {
    "ecrRepositoryPrefix": {
      "type": "string",
      "description": "The Amazon ECR repository prefix associated with the pull through cache rule."
    },
    "registryId": {
      "type": "string",
      "description": "The registry ID associated with the request."
    },
    "upstreamRegistryUrl": {
      "type": "string",
      "description": "The upstream registry URL 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."
    },
    "isValid": {
      "type": "boolean",
      "description": "Whether or not the pull through cache rule was validated. If true, Amazon ECR was able to reach the upstream registry and authentication was successful. If false, there was an issue and validation failed. The failure reason indicates the cause."
    },
    "failure": {
      "type": "string",
      "description": "The reason the validation failed. For more details about possible causes and how to address them, see Using pull through cache rules in the Amazon Elastic Container Registry User Guide."
    }
  }
}