{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "Transactions Stream (request)",
  "description": "Subscribe to transaction notifications",
  "type": "object",
  "auth_required": 1,
  "auth_scopes": ["trade"],
  "additionalProperties": false,
  "required": ["transaction", "subscribe"],
  "properties": {
    "transaction": {
      "description": "Must be `1`",
      "type": "integer",
      "enum": [1]
    },
    "subscribe": {
      "description": "If set to 1, will send updates whenever there is an update to transactions. If not to 1 then it will not return any records.",
      "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"
    }
  }
}
