{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/codequiry-com/json-schema/codequiry-com-engine-status-schema.json",
  "title": "EngineStatus",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/codequiry-com-auth-api-openapi.yml#/components/schemas/EngineStatus",
  "type": "object",
  "properties": {
    "online": {
      "type": "boolean",
      "description": "true only when both core and stream are up."
    },
    "core": {
      "type": "object",
      "properties": {
        "online": {
          "type": "boolean"
        }
      }
    },
    "stream": {
      "type": "object",
      "properties": {
        "online": {
          "type": "boolean"
        },
        "subscribers": {
          "type": [
            "integer",
            "null"
          ]
        }
      }
    },
    "latency_ms": {
      "type": "integer"
    },
    "cached_at": {
      "type": "string"
    },
    "stale": {
      "type": "boolean",
      "description": "Present when a probe was already running and the last known answer was served instead."
    }
  }
}