{
    "properties": {
        "ceph": {
            "description": "ceph service configuration properties",
            "properties": {
                "cpus": {
                    "default": 1,
                    "description": "CPU shares to allocate to each service instance.",
                    "minimum": 0.5,
                    "type": "number"
                },
                "mem": {
                    "default": 2048,
                    "description": "Memory to allocate to each service instance.",
                    "minimum": 1024,
                    "type": "number"
                }
            },
            "required": [
                "cpus",
                "mem"
            ],
            "type": "object"
        },
        "networking": {
            "description": "Ceph networking configuration properties",
            "properties": {
                "ceph_api_port": {
                    "default": 5000,
                    "description": "The port where the Ceph API is listening on.",
                    "type": "number"
                },
                "cluster_network": {
                    "default": "0.0.0.0/0",
                    "description": "Network where the Ceph nodes are allowed to live. This is usually the host network where the DC/OS nodes live. This network is assumed to be trusted. NOTE: by default, ALL networks are allowed.",
                    "type": "string"
                },
                "external_access": {
                    "description": "Enable access from outside the cluster through Marathon-LB.\nNOTE: this connection is unencrypted.",
                    "properties": {
                        "enable": {
                            "default": true,
                            "description": "Enable or disable creating a VIP for external access through a public node running Marathon-LB.",
                            "type": "boolean"
                        },
                        "external_access_port": {
                            "default": 5000,
                            "description": "For external access, port number to be used for clear communication in the external Marathon-LB load balancer",
                            "type": "number"
                        },
                        "virtual_host": {
                            "default": "ceph.example.org",
                            "description": "For external access, Virtual Host URL to be used in the external load balancer.",
                            "type": "string"
                        }
                    },
                    "type": "object"
                },
                "public_network": {
                    "default": "0.0.0.0/0",
                    "description": "Network that the Ceph services are exposed on, where the Ceph clients/consumers are allowed to connect from. This is often the same as cluster_network unless Ceph is to be exposed outside the cluster. NOTE: by default, ALL networks are allowed.",
                    "type": "string"
                }
            },
            "required": [
                "cluster_network",
                "public_network"
            ],
            "type": "object"
        },
        "service": {
            "description": "DC/OS service configuration properties",
            "properties": {
                "name": {
                    "default": "ceph",
                    "description": "Name of this service instance.",
                    "type": "string"
                }
            },
            "type": "object"
        }
    }
}