{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/arcmira/json-schema/arcmira-monitor-trackers-response-schema.json",
  "title": "MonitorTrackersResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/arcmira-monitors-api-openapi.yml#/components/schemas/MonitorTrackersResponse",
  "type": "object",
  "properties": {
    "trackers": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Tracker id."
          },
          "entity_name": {
            "type": "string",
            "description": "Tracked entity name."
          },
          "entity_type": {
            "type": "string",
            "description": "Tracked entity type."
          },
          "display_name": {
            "type": "string",
            "description": "User-facing display name. Falls back to entity_name when not customized."
          },
          "paused": {
            "type": "boolean",
            "description": "True when the tracker is paused."
          },
          "paused_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the tracker was paused. Null unless paused."
          },
          "last_notified_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the tracker last produced an alert. Null until the first alert."
          },
          "created_at": {
            "type": "string",
            "description": "When the tracker was created."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the tracker was last updated."
          },
          "monitor_id": {
            "type": "string",
            "description": "The monitor id from the request path."
          }
        },
        "required": [
          "id",
          "entity_name",
          "entity_type",
          "display_name",
          "paused",
          "paused_at",
          "last_notified_at",
          "created_at",
          "updated_at",
          "monitor_id"
        ]
      },
      "description": "Trackers in the monitor, newest first."
    },
    "count": {
      "type": "integer",
      "description": "Number of trackers returned."
    }
  },
  "required": [
    "trackers",
    "count"
  ]
}