package dto_astrologer

// Mobile and OTP are mandatory and are checked by validateMobileForCountry /
// validateOTP in services_astrologer. No `binding` tags: the validator's own
// message names the Go field and the tag that failed, and it cannot express
// "10 digits starting 6-9" or "exactly 6 digits" in a sentence a user can read.
type VerifyMobileOTPRequest struct {
	// CountryCode decides which format the mobile number is checked against —
	// a dial code ("+91", "91") as stored in users.countryCode, or an ISO
	// alpha-2 code ("IN"). Optional: an empty value is treated as +91, which is
	// what every account on file carries.
	CountryCode string `json:"country_code"`

	Mobile string `json:"mobile"`
	OTP    string `json:"otp"`
}
