Email Format is invalid
KromDaniel opened this issue · 1 comments
KromDaniel commented
Hey,
have a small issue with {format: email}
, says it's invalid when email is in this format:
email@domain.net.au
error:
data.email must be email format
package.json.version: 2.12.3
JSON Validator:
{
"type": "object",
"properties" : {
"app_version" : {"type" : "string"},
"device" : {"$ref" : "../objects/device.json"},
"email" : {"type" : "string", "format" : "email"},
"password" : {"type" : "string", "pattern" : "^[0-9a-zA-Z]{6,}$"}
},
"required" : ["email", "password"]
}
Thank you!
KromDaniel commented
Didn't notice the email had white space in the end
email@domain.net.au
so guess validation does the job,
thanks anyway!