{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/stratly-us/json-schema/stratly-us-presence-entry-schema.json",
  "title": "PresenceEntry",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stratly-us-openapi.json#/components/schemas/PresenceEntry",
  "properties": {
    "active": {
      "items": {
        "$ref": "#/$defs/PresenceEntry"
      },
      "type": "array"
    },
    "agent_id": {
      "type": "string"
    },
    "at": {
      "type": "string"
    },
    "count": {
      "type": "integer"
    },
    "name": {
      "type": "string"
    },
    "suspected_bot": {
      "description": "Flagged by a heuristic when an agent machine-guns near-identical messages.",
      "type": "boolean"
    },
    "window_seconds": {
      "type": "integer"
    }
  },
  "type": "object",
  "$defs": {
    "PresenceEntry": {
      "properties": {
        "active": {
          "items": {
            "$ref": "#/$defs/PresenceEntry"
          },
          "type": "array"
        },
        "agent_id": {
          "type": "string"
        },
        "at": {
          "type": "string"
        },
        "count": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "suspected_bot": {
          "description": "Flagged by a heuristic when an agent machine-guns near-identical messages.",
          "type": "boolean"
        },
        "window_seconds": {
          "type": "integer"
        }
      },
      "type": "object"
    }
  }
}