{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/TemplateName"
 ],
 "definitions": {
  "APNSPushNotificationTemplate": {
   "additionalProperties": false,
   "properties": {
    "Action": {
     "type": "string"
    },
    "Body": {
     "type": "string"
    },
    "MediaUrl": {
     "type": "string"
    },
    "Sound": {
     "type": "string"
    },
    "Title": {
     "type": "string"
    },
    "Url": {
     "type": "string"
    }
   },
   "type": "object"
  },
  "AndroidPushNotificationTemplate": {
   "additionalProperties": false,
   "properties": {
    "Action": {
     "type": "string"
    },
    "Body": {
     "type": "string"
    },
    "ImageIconUrl": {
     "type": "string"
    },
    "ImageUrl": {
     "type": "string"
    },
    "SmallImageIconUrl": {
     "type": "string"
    },
    "Sound": {
     "type": "string"
    },
    "Title": {
     "type": "string"
    },
    "Url": {
     "type": "string"
    }
   },
   "type": "object"
  },
  "DefaultPushNotificationTemplate": {
   "additionalProperties": false,
   "properties": {
    "Action": {
     "type": "string"
    },
    "Body": {
     "type": "string"
    },
    "Sound": {
     "type": "string"
    },
    "Title": {
     "type": "string"
    },
    "Url": {
     "type": "string"
    }
   },
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Id"
 ],
 "properties": {
  "ADM": {
   "$ref": "#/definitions/AndroidPushNotificationTemplate"
  },
  "APNS": {
   "$ref": "#/definitions/APNSPushNotificationTemplate"
  },
  "Arn": {
   "type": "string"
  },
  "Baidu": {
   "$ref": "#/definitions/AndroidPushNotificationTemplate"
  },
  "Default": {
   "$ref": "#/definitions/DefaultPushNotificationTemplate"
  },
  "DefaultSubstitutions": {
   "type": "string"
  },
  "GCM": {
   "$ref": "#/definitions/AndroidPushNotificationTemplate"
  },
  "Id": {
   "type": "string"
  },
  "Tags": {
   "format": "json",
   "type": [
    "object",
    "string"
   ]
  },
  "TemplateDescription": {
   "type": "string"
  },
  "TemplateName": {
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/Id",
  "/properties/Arn"
 ],
 "required": [
  "TemplateName"
 ],
 "typeName": "AWS::Pinpoint::PushTemplate"
}
