{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "Ping (request)",
  "description": "To send the ping request to the server. Mostly used to test the connection or to keep it alive.",
  "type": "object",
  "auth_required": 0,
  "additionalProperties": false,
  "required": ["ping"],
  "properties": {
    "ping": {
      "description": "Must be `1`",
      "type": "integer",
      "enum": [1]
    },
    "passthrough": {
      "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field.",
      "type": "object"
    },
    "req_id": {
      "description": "[Optional] Used to map request to response.",
      "type": "integer"
    }
  }
}
