{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "properties": {
        "orderid": {
            "type": "string"
        },
        "orderperson": {
            "type": "string"
        },
        "shipto": {
            "required": [
                "name",
                "address",
                "city",
                "country"
            ],
            "type": "object",
            "properties": {
                "name": {
                    "type": "string"
                },
                "address": {
                    "type": "string"
                },
                "city": {
                    "type": "string"
                },
                "country": {
                    "type": "string"
                }
            }
        }
    },
    "required": [
        "orderid",
        "orderperson",
        "shipto"
    ],
    "type": "object"
}