Skip to content

Commit 5ef368b

Browse files
committed
Allow dot in IDs, but not at start or end.
1 parent e2a591b commit 5ef368b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contest-api/json-schema/common.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262

6363
"identifier": {
6464
"type": "string",
65-
"pattern": "^[A-Za-z0-9_][A-Za-z0-9_-]{0,35}"
65+
"pattern": "^[A-Za-z0-9_]([A-Za-z0-9_\\.-]{0,34}[A-Za-z0-9_-]|)"
6666
},
6767

6868
"identifierornull": {

0 commit comments

Comments
 (0)