{
 "additionalProperties": false,
 "definitions": {
  "RegistryId": {
   "maxLength": 12,
   "minLength": 12,
   "pattern": "^[0-9]{12}$",
   "type": "string"
  }
 },
 "primaryIdentifier": [
  "/properties/RegistryId"
 ],
 "properties": {
  "PolicyText": {
   "format": "json",
   "maxLength": 10240,
   "minLength": 0,
   "type": [
    "object",
    "string"
   ]
  },
  "RegistryId": {
   "$ref": "#/definitions/RegistryId"
  }
 },
 "readOnlyProperties": [
  "/properties/RegistryId"
 ],
 "required": [
  "PolicyText"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ecr.git",
 "tagging": {
  "taggable": false
 },
 "typeName": "AWS::ECR::RegistryPolicy"
}
