{
    "$id": "http://www.xsd2jsonschema.org",
    "$schema": "http://json-schema.org/draft-06/schema#",
    "type": "object",
    "properties": {
        "Age": {
            "type": "number"
        }
    },
    "required": [
        "Age"
    ],
    "anyOf": [
        {
            "oneOf": [
                {
                    "properties": {
                        "FirstName": {
                            "type": "string"
                        }
                    },
                    "required": [
                        "FirstName"
                    ]
                },
                {
                    "properties": {
                        "LastName": {
                            "type": "string"
                        }
                    },
                    "required": [
                        "LastName"
                    ]
                }
            ]
        },
        {
            "not": {
                "properties": {
                    "FirstName": {
                        "type": "string"
                    },
                    "LastName": {
                        "type": "string"
                    }
                },
                "required": [
                    "FirstName",
                    "LastName"
                ]
            }
        }
    ]
}