{
 "additionalProperties": false,
 "definitions": {
  "Filter": {
   "maxLength": 256,
   "minLength": 1,
   "pattern": "^(?:[a-z0-9*]+(?:[._-][a-z0-9*]+)*/)*[a-z0-9*]+(?:[._-][a-z0-9*]+)*$",
   "type": "string"
  },
  "FilterType": {
   "enum": [
    "WILDCARD_MATCH"
   ],
   "type": "string"
  },
  "RepositoryFilter": {
   "additionalProperties": false,
   "properties": {
    "Filter": {
     "$ref": "#/definitions/Filter"
    },
    "FilterType": {
     "$ref": "#/definitions/FilterType"
    }
   },
   "required": [
    "Filter",
    "FilterType"
   ],
   "type": "object"
  },
  "Rule": {
   "additionalProperties": false,
   "properties": {
    "RepositoryFilters": {
     "insertionOrder": false,
     "items": {
      "$ref": "#/definitions/RepositoryFilter"
     },
     "maxItems": 100,
     "minItems": 1,
     "type": "array"
    },
    "SigningProfileArn": {
     "maxLength": 200,
     "pattern": "^arn:aws(-[a-z]+)*:signer:[a-z0-9-]+:[0-9]{12}:\\/signing-profiles\\/[a-zA-Z0-9_]{2,}$",
     "type": "string"
    }
   },
   "required": [
    "SigningProfileArn"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/RegistryId"
 ],
 "properties": {
  "RegistryId": {
   "pattern": "^[0-9]{12}$",
   "type": "string"
  },
  "Rules": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Rule"
   },
   "maxItems": 50,
   "minItems": 0,
   "type": "array"
  }
 },
 "readOnlyProperties": [
  "/properties/RegistryId"
 ],
 "required": [
  "Rules"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ecr.git",
 "tagging": {
  "taggable": false
 },
 "typeName": "AWS::ECR::SigningConfiguration"
}
