Skip to content

Commit

Permalink
Update schema validator
Browse files Browse the repository at this point in the history
- Enable nested objects for additionalProperties
  • Loading branch information
gek20 committed Jan 9, 2025
1 parent bedf7ca commit 85a46d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion b2share/modules/schemas/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"type": "object",
"properties": {
"type": {
"enum": ["boolean", "integer", "number", "string"]
"enum": ["boolean", "integer", "number", "string", "object"]
},
"enum": {"$ref": "#/definitions/stringArray"},
}
Expand Down

0 comments on commit 85a46d3

Please sign in to comment.