Skip to content

Commit

Permalink
schema: add regex for slug (#208, #81)
Browse files Browse the repository at this point in the history
  • Loading branch information
avivace committed Mar 5, 2024
1 parent 690430e commit 1232815
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion game-schema-d4.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"slug":
{
"description": "A unique string identifier for a game",
"type": "string"
"type": "string",
"pattern": "^[a-z0-9._-]+$"
},
"developer":
{
Expand Down

0 comments on commit 1232815

Please sign in to comment.