{
	"$schema": "https://apidocs.iqrf.org/iqrf-gateway-daemon/latest/com.iqrftech.self-desc/schema/jsonschema/1-0-0#",
	"type": "object",
	"required": [
		"mType",
		"data"
	],
	"additionalProperties": false,
	"properties": {
		"mType": {
			"type": "string",
			"description": "Standard peripheral Light - Execute LDI command using FRC.",
			"enum": ["iqrfLight_FrcLdiSend"]
		},
		"data": {
			"type": "object",
			"required": [
				"msgId",
				"req"
			],
			"additionalProperties": false,
			"properties": {
				"msgId": {
					"title": "Message ID",
					"description": "Message identification for binding request with response.",
					"type": "string"
				},
				"timeout": {
					"type": "integer",
					"description": "Timeout to wait for IQRF DPA response."
				},
				"req": {
					"type": "object",
					"required": [
						"nAdr",
						"param"
					],
					"additionalProperties": false,
					"properties": {
						"nAdr": {
							"title": "Device address",
							"type": "integer",
							"minimum": 0,
							"maximum": 255
						},
						"hwpId": {
							"title": "HWPID",
							"description": "Hardware profile identification.",
							"type": "integer",
							"minimum": 0,
							"maximum": 65535
						},
						"param": {
							"type": "object",
							"required": [
								"command"
							],
							"additionalProperties": false,
							"properties": {
								"command": {
									"title": "LDI (DALI) command",
									"description": "2-byte LDI (DALI) commands in the standard YAAAAAAS+DDDDDDDD format.",
									"type": "integer",
									"minimum": 0,
									"maximum": 65535
								},
								"selectedNodes": {
									"title": "Selected nodes",
									"description": "List of nodes to execute FRC command.",
									"type": "array",
									"additionalItems": false,
									"items": {
										"title": "Device address",
										"type": "integer",
										"minimum": 0,
										"maximum": 239
									}
								},
								"getExtraResult": {
									"type": "boolean",
									"description": "If set Extra result DPA message is sent and processed",
									"default": true
								},
								"extFormat": {
									"type": "boolean",
									"description": "Sensors returns in extended format",
									"default": false
								}
							}
						}
					}
				},
				"returnVerbose": {
					"type": "boolean",
					"description": "Flag that includes additional parameters in the response."
				}
			}
		}
	}
}
