{
	"$schema" : "http://json-schema.org/draft-04/schema#",
	"title" : "ChangeSetPublishRequest",
	"type" : "object",
	"additionalProperties" : false,
	"description" : "API Path: /v2/changeset/publish\nVersion v2, the request structure to check updates status",
	"properties" : {
		"space_id" : {
			"type" : "string",
			"description" : "Space Id as defined and owned by the layer",
			"minLength" : 3
		},

		"layer" : {
			"$ref" : "/resources/schema/data/api/v2/ChangeSetLayer.json",
			"description" : "ChangeSet Layer "
		},

		"start_utc_timestamp" : {
			"type" : "integer",
			"description" : "Start timestamp of changeSet.  This timestamp is inclusive in the interval",
			"minimum" : 1388534400000
		},

		"end_utc_timestamp" : {
			"type" : "integer",
			"description" : "End timestamp of changeSet.  This timestamp is inclusive in the interval",
			"minimum" : 1388534401000
		},

		"num_of_urls" : {
			"type" : "integer",
			"description" : "Number of individual URLs required for individual file/part.  This number should be non-zero positive integer.",
			"minimum" : 1,
			"maximum" : 20
		}
	},

	"required" : 
	[
		"space_id",
		"layer",
		"start_utc_timestamp",
		"end_utc_timestamp",
		"num_of_urls"
	]
}