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