{
    "title": "Complete transaction request v1",
    "description": "Complete transaction",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "id": "https://api.nextpertise.nl/schemas/broadband/revise_transaction_request_v1.json",
    "type": "one of",
    "oneOf": [
        {
            "properties": {
                "nid": {
                    "type": [
                        "string",
                        "one of"
                    ]
                },
                "ont_number": {
                    "type": [
                        "string",
                        "one of"
                    ]
                }
            },
            "required": [
                "nid",
                "ont_number"
            ],
            "type": "one of"
        },
        {
            "properties": {
                "nid": {
                    "type": [
                        "string",
                        "one of"
                    ]
                },
                "on_demand_execute": {
                    "type": [
                        "boolean",
                        "one of"
                    ]
                }
            },
            "required": [
                "nid",
                "on_demand_execute"
            ],
            "type": "one of"
        }
    ]
}