Skip to content

Commit

Permalink
update schema again
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiayang committed Mar 5, 2024
1 parent 2d7c553 commit 44e6a21
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions schema/hardware-metadata.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@
"$defs": {
"id": {
"type": "string",
"pattern": "^[a-z0-9_]+$"
"pattern": "^[a-z0-9_]+(@([A-Z]|[0-9]+|([0-9]+(\\.[0-9]+){1,2})))?$"
},
"revision": {
"type": "string"
"type": "string",
"pattern": "[A-Z]|[0-9]+|([0-9]+(\\.[0-9]+){1,2})"
},
"keyboard_siblings": {
"type": "array",
Expand Down

0 comments on commit 44e6a21

Please sign in to comment.