{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ex2-com/json-schema/ex2-com-status-schema.json",
  "title": "Status",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ex2-com-openapi.json#/components/schemas/Status",
  "type": "object",
  "required": [
    "status",
    "updated_at",
    "components",
    "account_actions"
  ],
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "operational",
        "degraded"
      ]
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    },
    "components": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name",
          "url",
          "status",
          "description"
        ],
        "properties": {
          "id": {
            "type": "string",
            "enum": [
              "catalogue_api",
              "mcp",
              "account"
            ]
          },
          "name": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "status": {
            "type": "string",
            "enum": [
              "operational",
              "degraded",
              "unavailable"
            ]
          },
          "description": {
            "type": "string"
          }
        }
      }
    },
    "account_actions": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The areas of account actions switched on (billing, domains, dns, diagnostics, mail, wordpress, sites)."
    }
  }
}