{
	"$schema" : "http://json-schema.org/draft-04/schema#",
	"title" : "ChangeSetUpdateRequest",
	"type" : "object",
	"additionalProperties" : false,
	"description" : "API Path: /v2/changeset/updatestatus\nVersion v2, Update ChangeSet Status Request object ",
	"properties" : {
		"change_set_tokens" : {
			"type" : "array",
			"description" : "Array of changeset Tokens that need to be 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" : 1,
			"maxItems" : 256,
			"uniqueItems" : true
		},

		"current_status" : {
			"$ref" : "/resources/schema/data/api/v2/ChangeSetStatus.json",
			"description" : "In order to make sure that the publisher IS aware of what they're doing, they need to provide the existing status of changeset.  ALL changesets have to have the same current status.  'CREATED', 'URLS_GENERATED' and 'DISCARDED' are NOT the valid values for this request parameter."
		},

		"update_status_to" : {
			"$ref" : "/resources/schema/data/api/v2/ChangeSetStatus.json",
			"description" : "Update all the changeset tokens to this given status. 'CREATED' and 'URLS_GENERATED' are NOT the valid values for this request parameter."
		}
	},

	"required" : 
	[
		"change_set_tokens",
		"current_status",
		"update_status_to"
	]
}