{
  "$defs": {
    "HighestValueRef": {
      "additionalProperties": false,
      "description": "The highest known source value in the window, in the source unit.\n\nStart and event windows update after decisions: bar t sees observations through t-1.\nEntry windows update before invested decisions, include t, and reset only on opening\nfrom flat and are absent while flat. Entry windows are refused in gates and event\nstudies; entry conditions may read them, and formula sizing refuses them when their\nabsence necessarily prevents the first entry. Guarded sizing can be admitted when\nthe guard is available while flat and a branch can size before entry. Historical\naccount state is never replayed. State survives paper checkpoints. Offset is refused.\nBind leaf routes or use at; this value has no\nroute fields. Inputs join at their finest frame; coarser children read their last\ncompleted bar and retain their history and readiness.\n\nKnown gaps: a raw trailing ratchet does not reset after firing; an entry window\nincludes the whole bar of a midbar scheduled fill and only the owning entry rule\nresets it. Scale-ins and partial exits do not reset it. Scheduled rules see their\nobserved frame included.\nAbsent source values are skipped. Start and entry windows retain a paper seed-warmup\nlimitation and admit broader per-symbol sources and consumers. Event windows observe\nwarmup without trading and refuse historical and stateful consumption.",
      "properties": {
        "kind": {
          "const": "highest",
          "title": "Kind",
          "type": "string"
        },
        "source": {
          "anyOf": [
            {
              "$ref": "../defs.json#/$defs/ValueRef"
            },
            {
              "type": "number"
            }
          ]
        },
        "window": {
          "$ref": "../defs.json#/$defs/Since"
        }
      },
      "required": [
        "kind",
        "source",
        "window"
      ],
      "title": "HighestValueRef",
      "type": "object"
    }
  },
  "$ref": "#/$defs/HighestValueRef"
}
