{
    "$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": "iqrfRawHdp-request",
		"format": "jsonschema",
		"version": "1-0-0"
	},
    "type": "object",
    "properties": {
        "mType": {
            "type": "string",
            "description": "Message type for Raw Hdp communication.",
            "enum": [
                "iqrfRawHdp"
            ]
        },
        "data": {
            "type": "object",
            "properties": {
                "msgId": {
                    "type": "string",
                    "description": "Message identification for binding request with response."
                },
                "timeout": {
                    "type": "integer",
                    "description": "Timeout to wait for IQRF DPA response."
                },
                "req": {
                    "type": "object",
                    "properties": {
                        "nAdr": {
                            "type": "integer",
                            "description": "Network device address."
                        },
                        "pNum": {
                            "type": "integer",
                            "description": "Peripheral integer."
                        },
                        "pCmd": {
                            "type": "integer",
                            "description": "Peripheral command."
                        },
                        "hwpId": {
                            "type": "integer",
                            "description": "Hardware profile identification."
                        },
                        "pData": {
                            "type": "array",
                            "description": "Binary buffer with DPA request data.",
                            "items": {
                                "type": "integer"
                            }
                        }
                    },
                    "required": [
                        "nAdr",
                        "pNum",
                        "pCmd"
                    ]
                },
                "returnVerbose": {
                    "type": "boolean",
                    "description": "Flag that includes additional parameters in the response."
                }
            },
            "required": [
                "msgId",
                "req"
            ]
        }
    },
    "required": [
        "mType",
        "data"
    ]
}
