Networked Media Open Specifications

Schema message_connection_status.json

Resolve referenced schemas (may reorder keys)

Get raw JSON

{
  "$id": "https://www.amwa.tv/event_and_tally/message_connection_status.json",
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "description": "Message that indicates the status of the connection between the MQTT client and the broker. The topic used is connection specific and has to be specified in the connection_status_broker_topic parameter of the MQTT IS-05 transport parameters object. The client should publish this message with the RETAIN flag set, after opening the connection to the broker and before closing the connection normally. The client should also configure a retained Will Message indicating it is disconnected.",
  "title": "Connection status message",
  "required": [
    "message_type",
    "active"
  ],
  "properties": {
    "message_type": {
      "description": "A fixed string showing this is a connection status message",
      "type": "string",
      "pattern": "^connection_status$"
    },
    "active": {
      "description": "A boolean value showing whether the MQTT client is connected to the broker.",
      "type": "boolean"
  }
}