{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zerogex-io/json-schema/zerogex-io-pin-stability-response-schema.json",
  "title": "PinStabilityResponse",
  "description": "What the Pin Strike has *done* during the session.\n\nThe third question in the reading order — regime, then confidence, then\nstability — and the only one the API could not previously answer.  A pin\nthat has held one strike since the open and a pin that has migrated thirty\npoints are different signals wearing the same label; without this a drifting\npin reads as a level that failed rather than one tracking a repricing book.\n\n``current_*`` is the pin standing right now, ``held_*`` the most recent\nvalue that has SETTLED, and ``current_established`` says whether they are\nthe same. Migration is measured between settled levels only, so a\none-sample tick at the bell is not reported as a move; ``net_migration`` is\nsigned (negative = the pin has walked down).  Sample counts, not minutes:\nthe analytics cycle is ~60s but is not guaranteed to be, so the honest unit\nis \"stored frames\".  Null-bodied (``stability`` omitted) when the session\ncarried no active pin at all — hide, don't zero.",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zerogex-io-openapi.json#/components/schemas/PinStabilityResponse",
  "properties": {
    "symbol": {
      "type": "string",
      "title": "Symbol"
    },
    "current_pin": {
      "type": "number",
      "title": "Current Pin"
    },
    "current_since": {
      "type": "string",
      "format": "date-time",
      "title": "Current Since"
    },
    "current_samples": {
      "type": "integer",
      "title": "Current Samples"
    },
    "current_established": {
      "type": "boolean",
      "title": "Current Established"
    },
    "held_pin": {
      "type": "number",
      "title": "Held Pin"
    },
    "held_since": {
      "type": "string",
      "format": "date-time",
      "title": "Held Since"
    },
    "held_samples": {
      "type": "integer",
      "title": "Held Samples"
    },
    "session_open_pin": {
      "type": "number",
      "title": "Session Open Pin"
    },
    "net_migration": {
      "type": "number",
      "title": "Net Migration"
    },
    "distinct_values": {
      "type": "integer",
      "title": "Distinct Values"
    },
    "quiet_samples": {
      "type": "integer",
      "title": "Quiet Samples"
    },
    "total_samples": {
      "type": "integer",
      "title": "Total Samples"
    }
  },
  "type": "object",
  "required": [
    "symbol",
    "current_pin",
    "current_since",
    "current_samples",
    "current_established",
    "held_pin",
    "held_since",
    "held_samples",
    "session_open_pin",
    "net_migration",
    "distinct_values",
    "quiet_samples",
    "total_samples"
  ]
}