{
	"$schema" : "http://json-schema.org/draft-04/schema#",
	"title" : "ChangeSetUpdateResponse",
	"type" : "object",
	"additionalProperties" : false,
	"description" : "Version v2, Update ChangeSet Status Response",
	"properties" : {
		"status" : {
			"$ref" : "/resources/schema/services/v2/ServiceStatus.json",
			"description" : "Status Returned by the service"
		},

		"change_set_tokens" : {
			"type" : "array",
			"description" : "Array of changeset Tokens that have been updated to new status",
			"items" : {
				"type" : "string",
				"description" : "the token assgined to this upload process.  This token should be valid at the time of request, and the request should be placed within the expiry time provided with the token",
				"minLength" : 24
			},

			"minItems" : 0,
			"uniqueItems" : true
		},

		"error_tokens" : {
			"type" : "array",
			"description" : "Array of changeset Tokens that have failed to update the new status",
			"items" : {
				"type" : "string",
				"description" : "the token assgined to this upload process.  This token should be valid at the time of request, and the request should be placed within the expiry time provided with the token",
				"minLength" : 24
			},

			"minItems" : 0,
			"uniqueItems" : true
		}
	},

	"required" : 
	[
		"status",
		"change_set_tokens",
		"error_tokens"
	]
}