{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://developer.tastytrade.com/schemas/quote-alerts/postQuoteAlerts",
  "title": "postQuoteAlerts",
  "type": "object",
  "properties": {
    "dx-symbol": {
      "type": "string"
    },
    "expires-at": {
      "type": "string"
    },
    "field": {
      "type": "string",
      "enum": [
        "Last",
        "Bid",
        "Ask",
        "IV"
      ]
    },
    "instrument-type": {
      "type": "string"
    },
    "operator": {
      "type": "string",
      "enum": [
        ">",
        "<"
      ]
    },
    "symbol": {
      "type": "string"
    },
    "threshold": {
      "type": "string"
    },
    "threshold-numeric": {
      "type": "string"
    }
  },
  "required": [
    "field",
    "operator",
    "symbol",
    "threshold"
  ],
  "description": "Create quote alert for symbol"
}
