{
    "name": "Application Policy",
    "options": {
        "disable_collapse": true,
        "disable_properties": true
    },
    "properties": {
        "_id": {
            "id": "root/id",
            "name": "Application Policy Id",
            "title": "Application Policy Id ",
            "type": "string"
        },
        "algorithm": {
            "_id": "root/algorithm",
            "enum": [
                "one-after-another",
                "all-at-once"
            ],
            "name": "Application Policy Algorithm",
            "title": "Application Policy Algorithm ",
            "type": "string"
        },
        "networkPartitions": {
            "_id": "root/networkPartitions",
            "format": "tabs",
            "items": {
                "_id": "root/networkPartitions/0",
                "name": "Network Partitions",
                "title": "Network Partitions ",
                "type": "string"
            },
            "name": "Network Partitions",
            "title": "Network Partitions ",
            "type": "array"
        },
        "properties": {
            "_id": "root/properties",
            "format": "tabs",
            "items": {
                "_id": "root/properties/0",
                "properties": {
                    "name": {
                        "_id": "root/properties/0/name",
                        "title": "Name",
                        "type": "string"
                    },
                    "value": {
                        "_id": "root/properties/0/value",
                        "title": "Value",
                        "type": "string"
                    }
                },
                "title": "Property",
                "type": "object"
            },
            "title": "Properties",
            "type": "array"
        }
    },
    "required": [
        "id",
        "algorithm",
        "networkPartitions",
        "properties"
    ],
    "title": "Application Policy Definition",
    "type": "object"
}