{
	"$schema" : "http://json-schema.org/draft-04/schema#",
	"title" : "DeviceInsight",
	"type" : "object",
	"additionalProperties" : false,
	"description" : "v1 of device insight data object",
	"properties" : {
		"device_id" : {
			"type" : "string",
			"description" : "Required.. unique ID that defines a device in system"
		},
		"run_dt" : {
			"type" : "string",
			"description" : "Date the algorithm was run for the device."
		},

		"home_area" : {
			"type" : "array",
			"items" : {
				"$ref" : "/resources/schema/data/device/insight/v1/HomeArea.json",
				"description" : "The home area of the device, represented as list of bounding boxes with the confidence."
			}
		}
	},

	"required" : 
	[
		"device_id"
	]
}