{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/LogDeliveryBucket",
  "/properties/PublicVersionNumber",
  "/properties/TypeName",
  "/properties/Type",
  "/properties/Arn"
 ],
 "oneOf": [
  {
   "required": [
    "TypeName",
    "Type"
   ]
  },
  {
   "required": [
    "Arn"
   ]
  }
 ],
 "primaryIdentifier": [
  "/properties/PublicTypeArn"
 ],
 "properties": {
  "Arn": {
   "maxLength": 1024,
   "minLength": 0,
   "pattern": "arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}:[0-9]{12}:type/.+",
   "type": "string"
  },
  "LogDeliveryBucket": {
   "type": "string"
  },
  "PublicTypeArn": {
   "maxLength": 1024,
   "pattern": "arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}:([0-9]{12})?:type/.+",
   "type": "string"
  },
  "PublicVersionNumber": {
   "maxLength": 64,
   "minLength": 5,
   "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(.*)$",
   "type": "string"
  },
  "PublisherId": {
   "maxLength": 40,
   "minLength": 1,
   "pattern": "[0-9a-zA-Z-]{1,40}",
   "type": "string"
  },
  "Type": {
   "enum": [
    "RESOURCE",
    "MODULE",
    "HOOK"
   ],
   "type": "string"
  },
  "TypeName": {
   "pattern": "[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}(::MODULE){0,1}",
   "type": "string"
  },
  "TypeVersionArn": {
   "pattern": "arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}:[0-9]{12}:type/.+",
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/PublicTypeArn",
  "/properties/TypeVersionArn",
  "/properties/PublisherId"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-cloudformation",
 "typeName": "AWS::CloudFormation::PublicTypeVersion",
 "writeOnlyProperties": [
  "/properties/Arn"
 ]
}
