{
  "typeName" : "AWS::EventSchemas::Registry",
  "description" : "Resource Type definition for AWS::EventSchemas::Registry",
  "additionalProperties" : false,
  "properties" : {
    "RegistryName" : {
      "type" : "string",
      "description" : "The name of the schema registry."
    },
    "Description" : {
      "type" : "string",
      "description" : "A description of the registry to be created."
    },
    "RegistryArn" : {
      "type" : "string",
      "description" : "The ARN of the registry."
    },
    "Tags" : {
      "type" : "array",
      "uniqueItems" : false,
      "items" : {
        "$ref" : "#/definitions/TagsEntry"
      },
      "description" : "Tags associated with the resource."
    }
  },
  "definitions" : {
    "TagsEntry" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "Value" : {
          "type" : "string"
        },
        "Key" : {
          "type" : "string"
        }
      },
      "required" : [ "Value", "Key" ]
    }
  },
  "primaryIdentifier" : [ "/properties/RegistryArn" ],
  "readOnlyProperties" : [ "/properties/RegistryArn" ],
  "createOnlyProperties" : [ "/properties/RegistryName" ],
  "tagging" : {
    "taggable" : true,
    "tagOnCreate" : true,
    "tagUpdatable" : true,
    "cloudFormationSystemTags" : false,
    "tagProperty" : "/properties/Tags",
    "permissions" : [ "schemas:TagResource", "schemas:UntagResource", "schemas:ListTagsForResource" ]
  },
  "handlers" : {
    "create" : {
      "permissions" : [ "schemas:DescribeRegistry", "schemas:CreateRegistry", "schemas:TagResource" ]
    },
    "read" : {
      "permissions" : [ "schemas:DescribeRegistry" ]
    },
    "update" : {
      "permissions" : [ "schemas:DescribeRegistry", "schemas:UpdateRegistry", "schemas:TagResource", "schemas:UntagResource", "schemas:ListTagsForResource" ]
    },
    "delete" : {
      "permissions" : [ "schemas:DescribeRegistry", "schemas:DeleteRegistry" ]
    },
    "list" : {
      "permissions" : [ "schemas:ListRegistries" ]
    }
  }
}