{
	"$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-request",
		"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."
				},
				"repeat": {
					"type": "integer",
					"description": "Number of repetitions of DPA messages.",
					"default": 1
				},
				"req": {
					"type": "object",
					"properties": {
						"fileName": {
							"type": "string",
							"description": "Full name of the file to load."
						},
						"target": {
							"type": "string",
							"description": "Target of upload.",
							"enum": [
								"hex",
								"iqrf",
								"trcnfg"
							]
						}
					},
					"required": [
						"fileName"
					]
				},
				"returnVerbose": {
					"type": "boolean",
					"description": "Flag that includes additional parameters in the response."
				}
			},
			"required": [
				"msgId",
				"req"
			]
		}
	},
	"required": [
		"mType",
		"data"
	]
}
