{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mail-in-a-box/json-schema/mail-in-a-box-mfa-status-response-schema.json",
  "title": "MfaStatusResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mail-in-a-box-mfa-api-openapi.yml#/components/schemas/MfaStatusResponse",
  "type": "object",
  "properties": {
    "enabled_mfa": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "label": {
          "type": "string"
        }
      }
    },
    "new_mfa": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "secret": {
          "type": "string"
        },
        "qr_code_base64": {
          "type": "string"
        }
      }
    }
  }
}