{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/PolicyDocument",
  "/properties/PolicyName"
 ],
 "primaryIdentifier": [
  "/properties/Id"
 ],
 "properties": {
  "Arn": {
   "type": "string"
  },
  "Id": {
   "type": "string"
  },
  "PolicyDocument": {
   "format": "json",
   "pattern": "^[\\s\\S]*$",
   "type": [
    "object",
    "string"
   ]
  },
  "PolicyName": {
   "maxLength": 128,
   "minLength": 1,
   "pattern": "^[\\w+=,.@-]+$",
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/Id",
  "/properties/Arn"
 ],
 "required": [
  "PolicyDocument"
 ],
 "typeName": "AWS::IoT::Policy"
}
