{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreatePasswordlessCodeResponse",
  "title": "CreatePasswordlessCodeResponse",
  "type": "object",
  "properties": {
    "status": {
      "type": "string"
    },
    "preAuthSessionId": {
      "type": "string"
    },
    "codeId": {
      "type": "string"
    },
    "deviceId": {
      "type": "string"
    },
    "userInputCode": {
      "type": "string",
      "description": "The OTP code to send to the user"
    },
    "linkCode": {
      "type": "string",
      "description": "The magic link code"
    },
    "timeCreated": {
      "type": "integer"
    },
    "codeLifetime": {
      "type": "integer"
    }
  }
}