{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "org.eclipse.persistence.testing.jaxb.json.norootelement.AddressWithRootElement",
    "anyOf": [
        {
            "$ref": "#/definitions/AddressWithRootElement"
        },
        {
            "$ref": "#/definitions/Address"
        }
    ],
    "definitions": {
        "AddressWithRootElement": {
            "type": "object",
            "properties": {
                "type": {
                    "type": "string"
                },
                "street": {
                    "type": "string"
                },
                "city": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                }
            },
            "additionalProperties": false
        },
        "Address": {
            "type": "object",
            "properties": {
                "type": {
                    "type": "string"
                },
                "street": {
                    "type": "string"
                },
                "city": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                }
            },
            "additionalProperties": false
        }
    }
}