{
    "$schema": "http://json-schema.org/draft-06/schema#",
    "description": "Test Schema",
    "type": "object",
    "properties": {
        "person": {
            "$ref": "#/definitions/personDefinition"
        }
    },
    "additionalProperties": false,
    "definitions": {
        "personDefinition": {
            "description": "Person",
            "type": "object",
            "properties": {
                "name": {
                    "description": "The name of the person",
                    "type": "string",
                    "minLength": 1
                },
                "age": {
                    "description": "The age of the person",
                    "type": "integer"
                }
            },
            "additionalProperties": false,
            "required": [
                "name",
                "age"
            ]
        }
    }
}