{
	"$schema": "http://json-schema.org/draft-04/schema#",
	"title": "DMI Configuration",
	"description": "Distance measuring instrument configuration",
	"type": "object",
	"properties": {
		"dmi_count_dir": {
			"description": "DMI count direction is inverted",
			"type": "integer",
			"minimum": 0,
			"maximum": 1,
			"exclusiveMinimum": false,
			"exclusiveMaximum": false
		},
		"dmi_incr": {
			"description": "Increment in ticks, 0 means distance trigger is deactivated",
			"type": "integer",
			"minimum": 0,
			"maximum": 2147483647,
			"exclusiveMinimum": false,
			"exclusiveMaximum": false
		},
		"dmi_min_time": {
			"description": "Minimum time interval between trigger events, 0 means rate limitation is inactive [0.1 msec]",
			"type": "integer",
			"minimum": 0,
			"maximum": 65535,
			"exclusiveMinimum": false,
			"exclusiveMaximum": false
		},
		"dmi_max_time": {
			"description": "Maximum time interval between trigger events, 0 means timeout is inactive [0.1 msec]",
			"type": "integer",
			"minimum": 0,
			"maximum": 65535,
			"exclusiveMinimum": false,
			"exclusiveMaximum": false
		},
		"dmi_dist_per_tick": {
			"description": "Distance per tick, just informative [m]",
			"type": "number"
		}
	},
	"required": [
		"dmi_count_dir",
		"dmi_incr",
		"dmi_min_time",
		"dmi_max_time",
		"dmi_dist_per_tick"
	]
}