{ "title": "Main", "description": "This is the description of the main model", "type": "object", "properties": { "foo_bar": { "$ref": "#/definitions/FooBar" }, "Gender": { "title": "Gender", "enum": [ "male", "female", "other", "not_given" ], "type": "string" }, "snap": { "title": "The Snap", "description": "this is the value of snap", "default": 42, "exclusiveMinimum": 30, "exclusiveMaximum": 50, "type": "integer" } }, "required": [ "foo_bar" ], "definitions": { "FooBar": { "title": "FooBar", "type": "object", "properties": { "count": { "title": "Count", "type": "integer" }, "size": { "title": "Size", "type": "number" } }, "required": [ "count" ] } } }