{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "Cancel a Contract (request)",
  "description": "Cancel contract with contract id",
  "type": "object",
  "auth_required": 1,
  "auth_scopes": ["trade"],
  "additionalProperties": false,
  "required": ["cancel"],
  "properties": {
    "cancel": {
      "description": "Value should be the `contract_id` which received from the `portfolio` call.",
      "type": "integer"
    },
    "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"
    }
  }
}
