{
	"description": "Laser pulse position modulation used for MTA resolution",
	"type": "object",
	"$schema": "http://json-schema.org/draft-04/schema#",
	"title": "Pulse Position Modulation",
	"required": [
		"length",
		"num_mod_ampl",
		"pulse_interval"
	],
	"properties": {
		"length": {
			"type": "integer",
			"description": "Length of code",
			"maximum": 255,
			"minimum": 0
		},
		"pulse_interval": {
			"type": "array",
			"description": "Explicit table of the pulse position modulation used for MTA resolution. Table gives times between successive laser pulses in seconds.",
			"items": {
				"type": "number",
				"minimum": 0
			}
		},
		"phase_step": {
			"type": "integer",
			"description": "Step width in phase of modulation code from line to line",
			"maximum": 255,
			"minimum": 0
		},
		"code_phase_mode": {
			"type": "integer",
			"description": "0: no synchronization, 1: toggle between 2 phases, 2: increment with phase_increment",
			"maximum": 255,
			"minimum": 0
		},
		"num_mod_ampl": {
			"type": "integer",
			"description": "Number of different modulation amplitudes (2: binary modulation)",
			"maximum": 255,
			"minimum": 0
		}
	}
}