{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/email-validation-org/json-schema/email-validation-org-service-status-schema.json",
  "title": "ServiceStatus",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/email-validation-org-openapi.json#/components/schemas/ServiceStatus",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "status",
    "components",
    "updated_at"
  ],
  "properties": {
    "status": {
      "$ref": "#/$defs/ComponentState",
      "description": "The worst state of any component."
    },
    "components": {
      "type": "object",
      "description": "The state of each component.",
      "additionalProperties": false,
      "required": [
        "website",
        "api",
        "bulk",
        "sign_in",
        "payments",
        "support"
      ],
      "properties": {
        "website": {
          "$ref": "#/$defs/ComponentState"
        },
        "api": {
          "$ref": "#/$defs/ComponentState"
        },
        "bulk": {
          "$ref": "#/$defs/ComponentState"
        },
        "sign_in": {
          "$ref": "#/$defs/ComponentState"
        },
        "payments": {
          "$ref": "#/$defs/ComponentState"
        },
        "support": {
          "$ref": "#/$defs/ComponentState"
        }
      }
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "When this status was computed."
    }
  },
  "$defs": {
    "ComponentState": {
      "type": "string",
      "enum": [
        "operational",
        "degraded",
        "outage"
      ]
    }
  }
}