{
  "$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": "iqrfDali_Frc-request",
    "format": "jsonschema",
    "version": "1-0-0"
  },
  "type": "object",
  "properties": {
    "mType": {
      "type": "string",
      "description": "Standard peripheral DALI - FRC request.",
      "enum": [
        "iqrfDali_Frc"
      ]
    },
    "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."
            },
            "hwpId": {
              "type": "integer",
              "description": "Hardware profile identification."
            },
            "param": {
              "type": "object",
              "properties": {
                "command": {
                  "type": "integer",
                  "description": "2 bytes (16 bits) wide values, each representing one DALI command at the standard DALI format YAAAAAAS+DDDDDDDD."
                },
                "selectedNodes": {
                  "type": "array",
                  "description": "Array if integer values corresponding to the selected nodes. Use default value to select all nodes and use sleepAfterFrc parameter.",
                  "items": {
                    "type": "integer"
                  }
                },
                "getExtraResult": {
                  "type": "boolean",
                  "description": "If set Extra result DPA message is sent and processed",
                  "default": true
                },
                "extFormat": {
                  "type": "boolean",
                  "description": "Sensors returns in extended format",
                  "default": false
                }
              },
              "required": [
                "command"
              ]
            }
          },
          "required": [
            "nAdr",
            "param"
          ]
        },
        "returnVerbose": {
          "type": "boolean",
          "description": "Flag that includes additional parameters in the response."
        }
      },
      "required": [
        "msgId",
        "req"
      ]
    }
  },
  "required": [
    "mType",
    "data"
  ]
}
