{
	"$schema":"http://json-schema.org/draft-04/schema#",
	"type":"object",
	"title":"Notification",
	"additionalProperties":false,
	"description":"Notification Service V2 - Notification",
	"properties":{
		"type":{
			"$ref":"/resources/schema/notification/v2/NotificationType.json",
			"description":"Type/Intent of the notification for the recipient app to know if they can process it or not"
		},
		"id":{
			"type":"string",
			"description":"ID of payload.  In Notify interface, this ID does not need to be universally unique, however it needs to be unique within the request scope.  In response of Notify Interface, and or other notification returned by service, this ID will be universally unique."
		},
		"data":{
			"type":"array",
			"items": {
				"$ref":"/resources/schema/notification/v2/NotificationData.json",
				"description":"A generic JSON or Name/value pair object to hold application specific data"
			},
			"description":"List of data of the notification"
		},
		"context":{
			"$ref":"/resources/schema/notification/v2/NotificationContext.json",
			"description":"Context/decoration data for the rich notification experience"
		},
		"pre_process_data":{
			"type":"boolean",
			"description":"Tells notification service to pre-process/decorate the notification data using reference_data object"
		}
		
	},
	"required":[
		"type",
		"id",
		"data"		
	]
}