{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/viridi-parente/main/json-schema/viridi-parente-two-fa-provider-info-schema.json",
  "title": "TwoFaProviderInfo",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/viridi-parente-two-factor-auth-controller-api-openapi.yml#/components/schemas/TwoFaProviderInfo",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "TOTP",
        "SMS",
        "EMAIL",
        "BACKUP_CODE"
      ]
    },
    "isDefault": {
      "type": "boolean",
      "writeOnly": true
    },
    "contact": {
      "type": "string"
    },
    "minVerificationCodeSendPeriod": {
      "type": "integer",
      "format": "int32"
    },
    "default": {
      "type": "boolean"
    }
  }
}