Skip to content

Commit

Permalink
Fix JSON schema
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr committed Aug 1, 2024
1 parent 89ec7ae commit 47eb5f1
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions json-schema/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@
{
"properties": {
"item_assets": {
"$ref": "#/definitions/validate_assets"
"additionalProperties": {
"$ref": "#/definitions/validate_properties"
}
}
}
},
Expand All @@ -92,12 +94,17 @@
{
"properties": {
"summaries": {
"type": [
"array",
"object"
],
"items": {
"$ref": "#/definitions/attribution"
"type": "object",
"properties": {
"attribution": {
"type": [
"array",
"object"
],
"items": {
"$ref": "#/definitions/attribution"
}
}
}
}
}
Expand Down Expand Up @@ -129,13 +136,7 @@
],
"properties": {
"summaries": {
"type": [
"array",
"object"
],
"items": {
"$ref": "#/definitions/attribution"
}
"$ref": "#/definitions/require_properties"
}
}
}
Expand Down

0 comments on commit 47eb5f1

Please sign in to comment.