Closes #26: Validate slug charset

This commit is contained in:
Jeremy Stretch 2019-12-30 10:18:13 -05:00
parent 1c98c069b8
commit 05fa6e535a

View File

@ -9,7 +9,8 @@
"type": "string"
},
"slug": {
"type": "string"
"type": "string",
"pattern": "^[-a-zA-Z0-9_]+$"
},
"part_number": {
"type": "string"