{
  "$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": "ntfDaemon_Monitor-message",
    "format": "jsonschema",
    "version": "1-0-0"
  },
  "type": "object",
  "required": [
    "mType",
    "data"
  ],
  "additionalProperties": false,
  "properties": {
    "mType": {
      "type": "string",
      "description": "Daemon monitoring - notifications.",
      "enum": [
        "ntfDaemon_Monitor"
      ]
    },
    "data": {
      "type": "object",
      "required": [
        "num",
        "timestamp",
        "dpaQueueLen",
        "dpaChannelState",
        "managementQueueLen",
        "networkQueueLen",
        "msgQueueLen",
        "operMode",
        "enumInProgress",
        "dataReadingInProgress"
      ],
      "additionalProperties": false,
      "properties": {
        "num": {
          "type": "integer",
          "description": "Message counter. It counts from zero at start-up."
        },
        "timestamp": {
          "type": "integer",
          "description": "Time since epoch in seconds (Unix time)."
        },
        "dpaQueueLen": {
          "type": "integer",
          "description": "Length of pending DPA transaction queue (16 is maximum)."
        },
        "dpaChannelState": {
          "type": "string",
          "description": "State (Ready/NotReady/ExclusiveAccess) of DPA channel - one of USB CDC, SPI or UART interface."
        },
        "managementQueueLen": {
          "description": "Length of pending management API message queue.",
          "type": "integer"
        },
        "networkQueueLen": {
          "description": "Length of pending network API message queue.",
          "type": "integer"
        },
        "msgQueueLen": {
          "description": "Length of pending network API message queue. Deprecated, will be removed in future release."
        },
        "operMode": {
          "type": "string",
          "description": "Daemon mode (operational/service/forwarding)."
        },
        "enumInProgress": {
          "type": "boolean",
          "description": "Network enumeration in progress."
        },
        "dataReadingInProgress": {
          "type": "boolean",
          "description": "Data reading in progress."
        }
      }
    }
  }
}
