{
	"$schema":"http://json-schema.org/draft-04/schema#",
	"title":"SoftwareUpdate",
	"type":"object",
	"additionalProperties":false,
	"description":"TAnalytics-v1",
	"properties":{
		"LegacyRegVID":{
			"type":"string",
			"description":"Required user ID inherited from the existing software version.  App may or may not discard this user id"
		},
		"AdditionalInfo":{
			"type":"object",
			"description":"Optional JSON object to log any/all the information about the existing app"
		},
		"UpdateMode":{
			"enum":[
				"AUTOMATIC",
				"MANUAL"
			],
			"description":"Whether the software update was triggered by the user or whether it happened automatically"
		},
		"Duration":{
			"type":"number",
			"description":"Time taken to complete the upgrade process"
		}
		
	},
	"required":[
		"LegacyRegVID"
	]
}