{
	"$schema" : "http://json-schema.org/draft-04/schema#",
	"additionalProperties" : false,
	"description" : "The changeSetRecord used in the database,It will be stored as a jsonstring",
	"properties" : {
		"spaceId" : {
			"type" : "string",
			"description" : " the Space id for this changeset "
		},

		"layer" : {
			"type" : "string",
			"description" : " the layerInfo for this changeset "
		},

		"filePath" : {
			"type" : "string",
			"description" : " the filePath used to store for this changeset "
		},

		"recordId" : {
			"type" : "string",
			"description" : " the unique id for this changeset for this changeset "
		},

		"endUTCTime" : {
			"type" : "integer",
			"description" : " the endTime for this changeset package  "
		},

		"startUTCTime" : {
			"type" : "integer",
			"description" : " the startTime for this changeset package "
		},

		"maxFilePatitionInMB" : {
			"type" : "integer",
			"description" : " max file patition size of the changeset, if exceed ,we need seperate them out "
		},

		"expirationTime" : {
			"type" : "integer",
			"description" : " when this record will be expired for upload. once uploadfinish and verified, we will set this value to -1 "
		},

		"verified" : {
			"type" : "boolean",
			"description" : " when this record will be expired for upload. once uploadfinish and verified, we will set this value to -1 "
		},

		"files" : {
			"type" : "array",
			"items" : {
				"$ref" : "/resources/schema/data/api/v1/FileInfo.json",
				"description" : "Every element of the array is of type FileInfo"
			},

			"description" : "File(s) bundled together for the changeSet of the space & layer defined by space_info.  Missing array means there is no changeSet available"
		}
	},

	"required" : 
	[
		"spaceId",
		"layer",
		"startUTCTime",
		"endUTCTime",
		"recordId",
		"filePath",
		"files",
		"verified"
	],

	"title" : "ChangeSetRecord",
	"type" : "object"
}