{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "Ticks Stream (request)",
  "description": "Initiate a continuous stream of spot price updates for a given symbol.",
  "type": "object",
  "auth_required": 0,
  "additionalProperties": false,
  "required": ["ticks"],
  "properties": {
    "ticks": {
      "description": "The short symbol name or array of symbols (obtained from `active_symbols` call).",
      "oneOf": [
        {
          "type": "string",
          "pattern": "^\\w{2,30}$"
        },
        {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^\\w{2,30}$"
          }
        }
      ]
    },
    "subscribe": {
      "description": "[Optional] If set to 1, will send updates whenever a new tick is received.",
      "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"
    }
  }
}
