{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/v2.7.0-rc3/schemas/definitions/iqrf.json",
    "definitions": {
        "osBuild": {
            "type": "string",
            "title": "IQRF OS build",
            "pattern": "^[0-9A-Fa-f]{4}$",
            "example": "08D7"
        },
        "osVersion": {
            "type": "string",
            "title": "IQRF OS version",
            "example": "4.05D"
        },
        "dpaVersion": {
            "type": "string",
            "title": "DPA version",
            "example": "4.16"
        },
        "dpaRawVersion": {
            "type": "string",
            "title": "DPA version",
            "description": "DPA version in the raw hexadecimal format",
            "pattern": "^[0-9A-Fa-f]{4}$",
            "example": "0416"
        },
        "versionAttributes": {
            "type": "object",
            "title": "Version attributes",
            "required": [
                "beta",
                "obsolete"
            ],
            "additionalProperties": false,
            "properties": {
                "beta": {
                    "type": "boolean",
                    "title": "Beta version",
                    "example": false
                },
                "obsolete": {
                    "type": "boolean",
                    "title": "Obsolete version",
                    "example": false
                }
            }
        },
        "downloadPath": {
            "type": "string",
            "format": "uri",
            "title": "Download URL",
            "example": "https://repository.iqrfalliance.org/download/dpa/4.16"
        },
        "trFamily": {
            "type": "string",
            "title": "Transceiver family",
            "enum": [
                "TR-5xD",
                "TR-7xD",
                "TR-7xG",
                "TR-8xG"
            ],
            "example": "TR-7xD"
        },
        "mcuType": {
            "type": "integer",
            "title": "MCU type",
            "example": 4
        },
        "trMcuType": {
            "type": "integer",
            "title": "TR and MCU type",
            "example": 36
        },
        "interfaceType": {
            "type": "string",
            "title": "IQRF interface",
            "enum": [
                "SPI",
                "UART"
            ],
            "example": "SPI"
        },
        "rfMode": {
            "type": "string",
            "title": "RF mode",
            "enum": [
                "STD",
                "LP"
            ],
            "example": "STD"
        }
    }
}
