{
    "definitions": {
        "address": {
            "description": "schema for a host address",
            "format": "hostname",
            "type": "string"
        },
        "port": {
            "description": "schema for a port",
            "maximum": 65536,
            "minimum": 1024,
            "type": "integer"
        }
    },
    "description": "Test schema.",
    "properties": {
        "address": {
            "$ref": "#/definitions/address"
        },
        "port": {
            "$ref": "#/definitions/port"
        },
        "str": {
            "format": "only-a",
            "type": "string"
        }
    },
    "required": [
        "port"
    ],
    "type": "object"
}