{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/divvy/json-schema/divvy-mfa-challenge-validate-request-dto-schema.json",
  "title": "MfaChallengeValidateRequestDto",
  "description": "Validate MFA challenge",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/divvy-mfa-api-openapi.yml#/components/schemas/MfaChallengeValidateRequestDto",
  "required": [
    "challengeId",
    "token"
  ],
  "type": "object",
  "properties": {
    "challengeId": {
      "type": "string",
      "description": "MFA `challengeId` from the `POST /v3/mfa/challenge` response"
    },
    "token": {
      "type": "string",
      "description": "Validation `token` sent to the registered phone number"
    },
    "device": {
      "type": "string",
      "description": "Mobile device name. This is a nickname for your mobile device. Set this field when `rememberMe` is set as `true`."
    },
    "machineName": {
      "type": "string",
      "description": "Machine name. This is a nickname for the machine used to complete MFA sign in. Set this field when `rememberMe` is set as `true`."
    },
    "rememberMe": {
      "type": "boolean",
      "description": "Set as `true` for the generated MFA ID to expire in 30 days"
    }
  }
}