{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/Name",
  "/properties/ResourceType",
  "/properties/PolicyTemplate"
 ],
 "definitions": {
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 0,
     "type": "string"
    }
   },
   "required": [
    "Key",
    "Value"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Arn"
 ],
 "properties": {
  "Arn": {
   "type": "string"
  },
  "IsResourceTypeDefault": {
   "type": "boolean"
  },
  "Name": {
   "maxLength": 36,
   "minLength": 1,
   "pattern": "^[\\w.-]*$",
   "type": "string"
  },
  "PermissionType": {
   "type": "string"
  },
  "PolicyTemplate": {
   "format": "json",
   "type": [
    "object",
    "string"
   ]
  },
  "ResourceType": {
   "type": "string"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "type": "array",
   "uniqueItems": false
  },
  "Version": {
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/Arn",
  "/properties/Version",
  "/properties/IsResourceTypeDefault",
  "/properties/PermissionType"
 ],
 "required": [
  "Name",
  "ResourceType",
  "PolicyTemplate"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ram",
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::RAM::Permission"
}
