{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "Generated from kata/spec/fixtures/examples/load_balancer.json with shasum cf9408412884a83aed58bca92933c0ec4a100c6b",
    "type": "object",
    "required": [
        "loadBalancer"
    ],
    "properties": {
        "loadBalancer": {
            "type": "object",
            "required": [
                "id",
                "name",
                "protocol",
                "port",
                "algorithm",
                "status",
                "timeout",
                "connectionLogging",
                "virtualIps",
                "nodes",
                "sessionPersistence",
                "connectionThrottle",
                "cluster",
                "created",
                "updated",
                "sourceAddresses"
            ],
            "properties": {
                "id": {
                    "type": "integer",
                    "default": 2000
                },
                "name": {
                    "type": "string",
                    "default": "sample-loadbalancer"
                },
                "protocol": {
                    "type": "string",
                    "default": "HTTP"
                },
                "port": {
                    "type": "integer",
                    "default": 80
                },
                "algorithm": {
                    "type": "string",
                    "default": "RANDOM"
                },
                "status": {
                    "type": "string",
                    "default": "ACTIVE"
                },
                "timeout": {
                    "type": "integer",
                    "default": 30
                },
                "connectionLogging": {
                    "type": "object",
                    "required": [
                        "enabled"
                    ],
                    "properties": {
                        "enabled": {
                            "type": "boolean",
                            "default": true
                        }
                    }
                },
                "virtualIps": {
                    "type": "array",
                    "minItems": 1,
                    "_uniqueItems": true,
                    "items": {
                        "type": "object",
                        "required": [
                            "id",
                            "address",
                            "type",
                            "ipVersion"
                        ],
                        "properties": {
                            "id": {
                                "type": "integer",
                                "default": 1000
                            },
                            "address": {
                                "type": "string",
                                "default": "206.10.10.210"
                            },
                            "type": {
                                "type": "string",
                                "default": "PUBLIC"
                            },
                            "ipVersion": {
                                "type": "string",
                                "default": "IPdraft4"
                            }
                        }
                    }
                },
                "nodes": {
                    "type": "array",
                    "minItems": 1,
                    "_uniqueItems": true,
                    "items": {
                        "type": "object",
                        "required": [
                            "id",
                            "address",
                            "port",
                            "condition",
                            "status"
                        ],
                        "properties": {
                            "id": {
                                "type": "integer",
                                "default": 1041
                            },
                            "address": {
                                "type": "string",
                                "default": "10.1.1.1"
                            },
                            "port": {
                                "type": "integer",
                                "default": 80
                            },
                            "condition": {
                                "type": "string",
                                "default": "ENABLED"
                            },
                            "status": {
                                "type": "string",
                                "default": "ONLINE"
                            }
                        }
                    }
                },
                "sessionPersistence": {
                    "type": "object",
                    "required": [
                        "persistenceType"
                    ],
                    "properties": {
                        "persistenceType": {
                            "type": "string",
                            "default": "HTTP_COOKIE"
                        }
                    }
                },
                "connectionThrottle": {
                    "type": "object",
                    "required": [
                        "minConnections",
                        "maxConnections",
                        "maxConnectionRate",
                        "rateInterval"
                    ],
                    "properties": {
                        "minConnections": {
                            "type": "integer",
                            "default": 10
                        },
                        "maxConnections": {
                            "type": "integer",
                            "default": 100
                        },
                        "maxConnectionRate": {
                            "type": "integer",
                            "default": 50
                        },
                        "rateInterval": {
                            "type": "integer",
                            "default": 60
                        }
                    }
                },
                "cluster": {
                    "type": "object",
                    "required": [
                        "name"
                    ],
                    "properties": {
                        "name": {
                            "type": "string",
                            "default": "c1.dfw1"
                        }
                    }
                },
                "created": {
                    "type": "object",
                    "required": [
                        "time"
                    ],
                    "properties": {
                        "time": {
                            "type": "string",
                            "default": "2010-11-30T03:23:42Z"
                        }
                    }
                },
                "updated": {
                    "type": "object",
                    "required": [
                        "time"
                    ],
                    "properties": {
                        "time": {
                            "type": "string",
                            "default": "2010-11-30T03:23:44Z"
                        }
                    }
                },
                "sourceAddresses": {
                    "type": "object",
                    "required": [
                        "ipv6Public",
                        "ipdraft4Servicenet",
                        "ipdraft4Public"
                    ],
                    "properties": {
                        "ipv6Public": {
                            "type": "string",
                            "default": "2001:4801:79f1:1::1/64"
                        },
                        "ipdraft4Servicenet": {
                            "type": "string",
                            "default": "10.0.0.0"
                        },
                        "ipdraft4Public": {
                            "type": "string",
                            "default": "10.12.99.28"
                        }
                    }
                }
            }
        }
    }
}