{
	"$schema": "http://json-schema.org/draft-04/schema#",
	"additionalProperties": false,
	"definitions": {
		"cancellationRequest": {
			"additionalProperties": false,
			"description": "Generic service to cancel the reservation item identified by unique ID",
			"properties": {
				"versionNumber": {
					"$ref": "commonTypes.json#/definitions/schemaVersion"
				},
				"bookingReference": {
					"additionalProperties": false,
					"description": "The unique booking reference number provided by Miki during booking. By providing bookingReference, cancellation will happen for all items under this bookingReference",
					"$ref": "commonTypes.json#/definitions/xs:string"
				},
				"requestAuditInfo": {
					"$ref": "commonTypes.json#/definitions/requestAuditInfo",
					"description": "This holds the details about requestor and audit information."
				},
				"tourReference": {
					"additionalProperties": false,
					"description": "The unique reservation number of the item when the booking is confirmed",
					"$ref": "bookingCommonTypes.json#/definitions/tourReferenceType"
				}
			},
			"required": [
				"requestAuditInfo",
				"versionNumber"
			],
			"oneOf": [
				{
					"required": [
						"bookingReference"
					]
				},
				{
					"required": [
						"tourReference"
					]
				}
			],
			"type": "object"
		}
	},
	"$ref": "#/definitions/cancellationRequest"
}