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

Commit f612182

Browse files
committed
Don't allow empty email address in v1.1 schema
1 parent 9d5d0c2 commit f612182

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)