{
  "x-generated": "2026-11-04T17:31:15Z",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://seraphixsystems.com/data/schema/coverage.schema.json",
  "title": "Source coverage",
  "type": "object",
  "properties": {
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name",
          "state"
        ],
        "properties": {
          "state": {
            "enum": [
              "OBSERVED",
              "OBSERVED · MANUAL",
              "NOT MONITORED",
              "DEGRADED",
              "NO MATCHING RECORDS"
            ]
          },
          "last_good_check": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    }
  }
}
