{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/iqrfOsPatchUpgrade.json",
    "type": "object",
    "title": "IQRF OS upgrade list request",
    "description": "Information about the current IQRF OS used to list available IQRF OS and DPA upgrades",
    "additionalProperties": false,
    "required": [
        "build",
        "mcuType"
    ],
    "example": {
        "build": "08C8",
        "version": "4.03D",
        "mcuType": 4
    },
    "properties": {
        "build": {
            "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/definitions/iqrf.json#/definitions/osBuild"
        },
        "version": {
            "description": "Not used, kept for backward compatibility",
            "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/definitions/iqrf.json#/definitions/osVersion"
        },
        "mcuType": {
            "$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/definitions/iqrf.json#/definitions/mcuType"
        }
    }
}
