{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/arcmira/json-schema/arcmira-tracker-list-response-schema.json",
  "title": "TrackerListResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/arcmira-trackers-api-openapi.yml#/components/schemas/TrackerListResponse",
  "type": "object",
  "properties": {
    "trackers": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tracker"
      },
      "description": "All trackers for the account, newest first."
    },
    "count": {
      "type": "integer",
      "description": "Number of trackers returned."
    }
  },
  "required": [
    "trackers",
    "count"
  ],
  "$defs": {
    "Tracker": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Tracker id in the form \"trk_{hex}\"."
        },
        "entity_name": {
          "type": "string",
          "description": "The tracked entity name, as submitted."
        },
        "entity_type": {
          "type": "string",
          "description": "The tracked entity type. Values: person, organization, product, topic, channel."
        },
        "display_name": {
          "type": "string",
          "description": "User-facing display name. Falls back to entity_name when not customized."
        },
        "filters": {
          "type": [
            "object",
            "null"
          ],
          "additionalProperties": {},
          "description": "Optional matching filters as submitted. Null when none were set."
        },
        "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 this tracker wakes, whose delivery its alerts use. Every tracker is in exactly one monitor."
        },
        "email_delivery_count": {
          "type": "integer",
          "description": "Email deliveries in the current billing period."
        },
        "webhook_delivery_count": {
          "type": "integer",
          "description": "Webhook deliveries in the current billing period."
        },
        "slack_delivery_count": {
          "type": "integer",
          "description": "Slack deliveries in the current billing period."
        }
      },
      "required": [
        "id",
        "entity_name",
        "entity_type",
        "display_name",
        "filters",
        "paused",
        "paused_at",
        "last_notified_at",
        "created_at",
        "updated_at",
        "monitor_id",
        "email_delivery_count",
        "webhook_delivery_count",
        "slack_delivery_count"
      ]
    }
  }
}