{ "$schema": "https://json-schema.org/draft/2019-09/schema", "title": "This is the struct's title", "description": "This is the struct's description.", "type": "object", "properties": { "my_int": { "title": "An integer", "type": "integer", "format": "int32" }, "my_undocumented_bool": { "type": "boolean" }, "my_unit": { "description": "A unit struct instance", "$ref": "#/$defs/MyUnitStruct" } }, "required": [ "my_int", "my_undocumented_bool", "my_unit" ], "$defs": { "MyUnitStruct": { "title": "A Unit", "type": "null" } } }