{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aiactradar-com/json-schema/aiactradar-com-health-schema.json",
  "title": "Health",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/openapi.yaml#/components/schemas/Health",
  "type": "object",
  "properties": {
    "status": {
      "type": "string"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time"
    },
    "events_total": {
      "type": "integer"
    },
    "sources": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Source"
      }
    }
  },
  "$defs": {
    "Source": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name_en": {
          "type": "string"
        },
        "name_de": {
          "type": "string"
        },
        "base_url": {
          "type": "string"
        },
        "fetch_strategy": {
          "type": "string"
        },
        "last_success_at": {
          "type": [
            "integer",
            "null"
          ]
        },
        "consecutive_failures": {
          "type": "integer"
        }
      }
    }
  }
}