Skip to content

Commit

Permalink
Disallow additional properties at top-level schema (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
camargo authored Mar 20, 2023
1 parent f9ee432 commit ef4bd10
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nasa-jpl/seq-json-schema",
"version": "1.0.17",
"version": "1.0.18",
"license": "MIT",
"type": "module",
"repository": {
Expand Down
1 change: 1 addition & 0 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,7 @@
]
}
},
"additionalProperties": false,
"properties": {
"id": {
"description": "Unique identifier",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"id": "top-level-additional-properties",
"metadata": {},
"INVALID": {}
}

0 comments on commit ef4bd10

Please sign in to comment.