Skip to content

Commit 1232815

Browse files
committed
schema: add regex for slug (#208, #81)
1 parent 690430e commit 1232815

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

game-schema-d4.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"slug":
1010
{
1111
"description": "A unique string identifier for a game",
12-
"type": "string"
12+
"type": "string",
13+
"pattern": "^[a-z0-9._-]+$"
1314
},
1415
"developer":
1516
{

0 commit comments

Comments
 (0)