{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "title": "RPC Server-side Response (MQTT v1/devices/me/rpc/response/+)",
    "description": "RPC response published by the gateway to answer server-side RPC requests from the backend.",
    "type": "object",
    "required": [
        "result",
        "msg"
    ],
    "properties": {
        "result": {
            "type": "string",
            "enum": [
                "success",
                "internalError",
                "invalidPayloadFormat",
                "methodKeyError",
                "paramsKeyError",
                "unknownMethod",
                "invalidParams",
                "resourceBusy",
                "resourceUnavailable"
            ]
        },
        "msg": {
            "type": "string"
        }
    },
    "additionalProperties": false
}
