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

Commit 0ca07b0

Browse files
committed
Merge pull request #433 from project-open-data/v1.1-email-schema-regex
Don't allow empty email address in v1.1 schema
2 parents 882cbd0 + bbe82d0 commit 0ca07b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: v1.1/schema/vcard.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"hasEmail": {
2626
"title": "Email",
2727
"description": "Email address for the contact",
28-
"pattern": "^mailto:([\\w.-]+@[\\w.-]+\\.[\\w.-]+)?$",
28+
"pattern": "^mailto:[\\w\\_\\~\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=\\:.-]+@[\\w.-]+\\.[\\w.-]+?$",
2929
"type": "string"
3030
}
3131
}

0 commit comments

Comments
 (0)