json_schema: {
      "properties": {
          "networking": {
              "description": "PostgreSQL admin networking configuration properties",
              "properties": {
                  "external_access": {
                      "description": "Enable access from outside the cluster through Marathon-LB.\nNOTE: this connection is unencrypted.",
                      "properties": {
                          "enable": {
                              "default": false,
                              "description": "Enable or disable creating a VIP for external access through a public node running Marathon-LB. Defaults to false.",
                              "type": "boolean"
                          },
                          "external_port": {
                              "default": 15433,
                              "description": "For external access, port number to be used for clear communication in the external Marathon-LB load balancer",
                              "type": "number"
                          },
                          "virtual_host": {
                              "default": "postgresql.example.org",
                              "description": "For external access, Virtual Host URL to be used in the external load balancer.",
                              "type": "string"
                          }
                      },
                      "type": "object"
                  },
                  "postgres_host_port": {
                      "default": 5432,
                      "description": "The port where the postgresql instance is listening on. Defaults to 5432",
                      "type": "number"
                  },
                  "postgres_location": {
                      "default": "postgresql",
                      "description": "The name of the DC/OS postgresql instance to connect to.",
                      "type": "string"
                  }
              },
              "type": "object"
          },
          "postgresql-admin": {
              "description": "postgresql admin service configuration properties",
              "properties": {
                  "cpus": {
                      "default": 0.2,
                      "description": "CPU shares to allocate to each postgresql node.",
                      "minimum": 0.2,
                      "type": "number"
                  },
                  "defaultdb": {
                      "default": "admin",
                      "description": "Default database. Defaults to 'admin'.",
                      "type": "string"
                  },
                  "mem": {
                      "default": 256.0,
                      "description": "Memory to allocate to each postgresql node.",
                      "minimum": 256.0,
                      "type": "number"
                  }
              },
              "required": [
                  "cpus",
                  "mem"
              ],
              "type": "object"
          },
          "service": {
              "description": "DC/OS service configuration properties",
              "properties": {
                  "name": {
                      "default": "postgresql-admin",
                      "description": "Name of this service instance.",
                      "type": "string"
                  }
              },
              "type": "object"
          }
      }
  }