{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/corapilot-com/json-schema/corapilot-com-two-factor-login-request-schema.json",
  "title": "TwoFactorLoginRequest",
  "description": "Login step 2: verify 2FA code after password check.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/corapilot-com-auth-api-openapi.yml#/components/schemas/TwoFactorLoginRequest",
  "properties": {
    "email": {
      "type": "string",
      "format": "email",
      "title": "Email"
    },
    "code": {
      "type": "string",
      "maxLength": 6,
      "minLength": 6,
      "title": "Code"
    }
  },
  "type": "object",
  "required": [
    "email",
    "code"
  ]
}