{
	"$schema" : "http://json-schema.org/draft-04/schema#",
	"title" : "CheckForUpdateRequest",
	"type" : "object",
	"additionalProperties" : false,
	"description" : "API Path: /v2/changeset/update\nVersion v2, the request structure to check updates status",
	"properties" : {
		"context" : {
			"$ref" : "/resources/schema/services/v2/Context.json",
			"description" : "Service Context"
		},

		"spaces" : {
			"type" : "array",
			"items" : {
				"$ref" : "/resources/schema/data/api/v2/ChangeSetSpaceInfo.json",
				"description" : "Current state of changeset data on client"
			},

			"minItems" : 1,
			"maxItems" : 20,
			"uniqueItems" : true
		}
	},

	"required" : 
	[
		"spaces"
	]
}