{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://firmtape.com/contracts/public/events/alerts/test.schema.json",
 "title": "test",
 "description": "Sent by **Send test** on Account, Level alerts: a sample flip cross on SPX, signed the same way, so you can check your end.",
 "allOf": [
  {
   "$ref": "envelope.schema.json"
  }
 ],
 "properties": {
  "type": {
   "const": "test",
   "description": "`test`."
  },
  "direction": {
   "enum": [
    "above",
    "below"
   ],
   "description": "As a flip cross."
  }
 },
 "x-when": [
  "Only when you press the button.",
  "Its id starts `evt_test_`.",
  "It updates the last delivery shown, never the failure count."
 ],
 "x-features": [
  "level-alerts",
  "webhooks"
 ],
 "examples": [
  {
   "version": 1,
   "id": "evt_test_9a8b7c6d5e4f",
   "type": "test",
   "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": 6715.5
   },
   "direction": "below",
   "text": "SPX crossed below the flip 6,715.50 (a test event)"
  }
 ],
 "x-source": "alerts",
 "x-product": "live",
 "x-plan": "live",
 "x-version": 1,
 "x-since": "2026-10-11",
 "x-switch-on": "Account, Level alerts, Send test."
}