Skip to content

Commit 2951a62

Browse files
committed
Make schema more strict
1 parent 78f223f commit 2951a62

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

schema/schema.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@
2828
}
2929
}
3030
},
31+
"patternProperties": {
32+
"^$": {
33+
"description": "Allow $id, $comments and similar meta properties."
34+
}
35+
},
36+
"additionalProperties": false,
3137
"$defs": {
3238
"schema": {
3339
"type": "object",

0 commit comments

Comments
 (0)