Skip to content

Commit

Permalink
disallow additionalProperties in metadata schema
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRDOrazio committed May 21, 2022
1 parent 1245cfc commit a4d8bc4
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions schemas/LitCalMetadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "LitCalMetadata",
"type": "object",
"properties": {
"LitCalMetadata": {
Expand All @@ -9,7 +10,7 @@
"required": [
"LitCalMetadata"
],
"title": "LitCalMetadata",
"additionalProperties": false,
"definitions": {
"LitCalMetadata": {
"type": "object",
Expand Down Expand Up @@ -114,19 +115,29 @@
"type": "integer"
}
},
"required": [ "sinceYear" ]
"required": [ "sinceYear" ],
"additionalProperties": false
}
},
"required": [
"value",
"name",
"sanctoraleFileName",
"yearLimits"
]
],
"additionalProperties": false
}
}
}
}
},
"required": [
"NationalCalendars",
"DiocesanCalendars",
"DiocesanGroups",
"WiderRegions",
"RomanMissals"
],
"additionalProperties": false
}
}
}

0 comments on commit a4d8bc4

Please sign in to comment.