If I have a jsonschema like:
schema = {
"type": "object",
"properties": {
"foo": {
"type": "object",
"properties": {
"bar": {
"type": "string",
"default": "bar"
}
}
},
},
"required": [],
"additionalProperties": False
}
the output of validation will be
instead of
is there a way to make it so that nested defaults are automatically populated?
If I have a jsonschema like:
the output of validation will be
instead of
is there a way to make it so that nested defaults are automatically populated?