Skip to content
This repository was archived by the owner on Jun 18, 2024. It is now read-only.

Don't allow empty email address in v1.1 schema #433

Merged
merged 2 commits into from
Feb 10, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion v1.1/schema/vcard.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"hasEmail": {
"title": "Email",
"description": "Email address for the contact",
"pattern": "^mailto:([\\w.-]+@[\\w.-]+\\.[\\w.-]+)?$",
"pattern": "^mailto:[\\w\\_\\~\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=\\:.-]+@[\\w.-]+\\.[\\w.-]+?$",
"type": "string"
}
}
Expand Down