{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://firmtape.com/contracts/public/events/alerts/flip_move.schema.json",
 "title": "flip_move",
 "description": "Sent when the flip stands more than your chosen number of points from where it was at the session's first reading, or at its last alert.",
 "allOf": [
  {
   "$ref": "envelope.schema.json"
  }
 ],
 "properties": {
  "type": {
   "const": "flip_move",
   "description": "`flip_move`."
  },
  "direction": {
   "enum": [
    "up",
    "down"
   ],
   "description": "Which way the flip moved."
  },
  "threshold_points": {
   "type": "number",
   "description": "The size you picked."
  }
 },
 "x-when": [
  "The size is the one you picked on the watchlist, in SPX points, scaled to the symbol's price for the tickers.",
  "The new distance has held for twenty seconds.",
  "The anchor moves to the new flip at each alert."
 ],
 "x-features": [
  "level-alerts",
  "webhooks"
 ],
 "examples": [
  {
   "version": 1,
   "id": "evt_3f9a0c6e21d4b7a8e5f10c2d",
   "type": "flip_move",
   "symbol": "SPX",
   "price": 6712.25,
   "book": "volume",
   "ts": "2026-10-09T14:32:05-04:00",
   "day": "2026-10-09",
   "levels": {
    "flip": 6715.5,
    "call_wall": 6750,
    "put_wall": 6700,
    "put_support": 6700
   },
   "level": {
    "kind": "flip",
    "value": 6725.5,
    "from": 6715.5
   },
   "direction": "up",
   "threshold_points": 10,
   "text": "SPX flip moved up 10.00, from 6,715.50 to 6,725.50"
  }
 ],
 "x-source": "alerts",
 "x-product": "live",
 "x-plan": "live",
 "x-version": 1,
 "x-since": "2026-10-11",
 "x-switch-on": "Account, Level alerts: a webhook address, and the event on the watchlist.",
 "required": [
  "threshold_points"
 ]
}