{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/roamzy-io/json-schema/roamzy-io-status-schema.json",
  "title": "Status",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/roamzy-io-openapi.yml#/components/schemas/Status",
  "type": "object",
  "properties": {
    "api_version": {
      "type": "string"
    },
    "time": {
      "type": "string",
      "format": "date-time"
    },
    "agents_paused": {
      "type": "boolean",
      "description": "When true, every token-authed endpoint returns 503. Read endpoints (no auth) still work."
    },
    "purchases_paused": {
      "type": "boolean",
      "description": "When true, /api/v1/orders returns 503. Read endpoints still work."
    },
    "anon_paused": {
      "type": "boolean",
      "description": "When true, /api/v1/anon-session returns 503 (no new anonymous signups). Existing tokens unaffected. Implied by agents_paused. Mig 0046."
    },
    "reason": {
      "type": [
        "string",
        "null"
      ],
      "description": "Human-readable explanation set by operator during incident response."
    }
  }
}