Is it correct that this only creates the schema from top level keys?
E.g
{
extra: {
point: {
value: null,
name: 'Bob',
},
},
}
has schema:
{
type: 'object',
properties: {
extra: { type: 'object', properties: [Object], required: [Array] }
},
required: [ 'extra' ]
}
Is it possible to also generate populate the schema for nested fields point, value, name?