{
	"$schema": "https://apidocs.iqrf.org/iqrf-gateway-daemon/latest/com.iqrftech.self-desc/schema/jsonschema/1-0-0#",
	"self": {
		"vendor": "com.iqrftech.self-desc",
		"name": "mngDaemon_Upload-response",
		"format": "jsonschema",
		"version": "1-0-0"
	},
	"type": "object",
	"properties": {
		"mType": {
			"type": "string",
			"description": "Daemon management - Upload hex, iqrf or trcnfg file into TR transceiver.",
			"enum": [
				"mngDaemon_Upload"
			]
		},
		"data": {
			"type": "object",
			"properties": {
				"msgId": {
					"type": "string",
					"description": "Message identification for binding request with response."
				},
				"raw": {
					"type": "array",
					"description": "Returns array of objects req, see its description.",
					"items": {
						"type": "object",
						"properties": {
							"request": {
								"type": "string",
								"description": "Binary buffer with request via IQRF interface."
							},
							"requestTs": {
								"type": "string",
								"description": "YYYY-MM-DDTHH:MM:SS.SSS±HH:MM"
							}
						},
						"required": [
							"request",
							"requestTs"
						]
					}
				},
				"insId": {
					"type": "string",
					"description": "IQRF GW daemon instance identification."
				},
				"status": {
					"type": "integer",
					"description": "Result of upload. 0 - upload successfull, 1 - general error, 2 - incorrect target memory, 3 - incorrect data length, 4 - incorrect memory address, 5 - target memory is write only, 6 - communication failure, 7 - operation is not supported by TR module, 8 - SPI bus is busy or TR module is not in programming mode"
				},
				"statusStr": {
					"type": "string",
					"description": "IQRF GW daemon API (general or mType) status in string form."
				}
			},
			"required": [
				"msgId",
				"status"
			]
		}
	},
	"required": [
		"mType",
		"data"
	]
}
