{
	"$schema": "http://json-schema.org/draft-04/schema#",
	"title": "Waveform Settings",
	"description": "Scanner settings for waveform output",
	"type": "array",
	"items": {
		"type": "object",
		"properties": {
			"sbl_name": {
				"description": "Name of sample block, e.g.: wfm, wwf",
				"type": "string"
			},
			"enabled": {
				"description": "Waveform output enabled",
				"type": "boolean"
			},
			"smart_enabled": {
				"description": "Smart waveform output enabled",
				"type": "boolean"
			},
			"pass_rng_less": {
				"description": "Threshold for range less than [m]",
				"type": "number"
			},
			"pass_rng_greater": {
				"description": "Threshold for range greater than [m]",
				"type": "number"
			},
			"pass_ampl_less": {
				"description": "Threshold for amplitude less than [dB]",
				"type": "number"
			},
			"pass_ampl_greater": {
				"description": "Threshold for amplitude greater than [dB]",
				"type": "number"
			},
			"pass_dev_less": {
				"description": "Threshold for deviation less than [1]",
				"type": "integer"
			},
			"pass_dev_greater": {
				"description": "Threshold for deviation greater than [1]",
				"type": "integer"
			},
			"logic_expression": {
				"description": "Logic expression of smart waveforms filter",
				"type": "string"
			},
			"channel_idx_mask": {
				"description": "Bit mask for channels which belong to sbl_name: Channel 0 = Bit0, Channel 1 = Bit1, ...",
				"type": "integer"
			}
		},
		"required": [
			"sbl_name",
			"enabled",
			"channel_idx_mask"
		]
	}
}