{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getvigilia-com/json-schema/getvigilia-com-error-group-schema.json",
  "title": "ErrorGroup",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/getvigilia-com-openapi.json#/components/schemas/ErrorGroup",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "enum": [
        "error",
        "unhandledrejection",
        "console_error",
        "failed_fetch"
      ]
    },
    "title": {
      "type": "string"
    },
    "pagePattern": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "open",
        "resolved",
        "ignored"
      ]
    },
    "diagnosis": {
      "type": "string",
      "enum": [
        "pending",
        "diagnosing",
        "done",
        "failed",
        "skipped",
        "filtered"
      ]
    },
    "skipReason": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "budget",
        "fair-use",
        "app-limit",
        null
      ]
    },
    "filterReason": {
      "type": [
        "string",
        "null"
      ]
    },
    "count": {
      "type": "integer"
    },
    "sessions": {
      "type": "integer"
    },
    "firstSeenAt": {
      "type": "integer"
    },
    "lastSeenAt": {
      "type": "integer"
    },
    "regressed": {
      "type": "boolean"
    },
    "environment": {
      "type": "string"
    },
    "incidentId": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}