{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/faxforagents/json-schema/faxforagents-service-status-schema.json",
  "title": "ServiceStatus",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/faxforagents-platform-api-openapi.yml#/components/schemas/ServiceStatus",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "ok",
        "degraded"
      ],
      "title": "Status"
    },
    "version": {
      "type": "string",
      "title": "Version"
    },
    "environment": {
      "type": "string",
      "enum": [
        "live",
        "test"
      ],
      "title": "Environment"
    },
    "provider": {
      "type": "string",
      "title": "Provider"
    },
    "database": {
      "type": "boolean",
      "title": "Database"
    },
    "worker_beat_age_s": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Worker Beat Age S"
    },
    "status_page": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Status Page"
    }
  },
  "additionalProperties": true,
  "type": "object",
  "required": [
    "status",
    "version",
    "environment",
    "provider",
    "database"
  ]
}