{
  "type": "object",
  "properties": {
    "mesos": {
      "description": "Mesos specific configuration properties",
      "type": "object",
      "properties": {
        "master": {
          "default": "mesos://zk://master.mesos:2181/mesos",
          "description": "The URL of the Mesos master. The format is a comma-delimited list of hosts like zk://host1:port,host2:port/mesos. If using ZooKeeper, pay particular attention to the leading zk:// and trailing /mesos! If not using ZooKeeper, standard host:port patterns, like localhost:5050 or 10.0.0.5:5050,10.0.0.6:5050, are also acceptable.",
          "type": "string"
        }
      },
      "required": [
        "master"
      ]
    },
    "spark": {
      "description": "Spark Framework Configuration Properties",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "host": {
          "type": "string",
          "description": "The host that the Spark cluster dispatcher will register under.",
          "default": "$HOST"
        },
        "zookeeper": {
          "type": "string",
          "description": "URL to the Zookeeper that Spark cluster framework connects to persist state to. (l.e: zk://0.0.0.0:2181)",
          "default": "master.mesos:2181"
        }
      }
    }
  }
}

{
  "type": "object",
  "properties": {
    "mesos": {
      "description": "Mesos specific configuration properties",
      "type": "object",
      "properties": {
        "master": {
          "default": "mesos://zk://master.mesos:2181/mesos",
          "description": "The URL of the Mesos master. The format is a comma-delimited list of hosts like zk://host1:port,host2:port/mesos. If using ZooKeeper, pay particular attention to the leading zk:// and trailing /mesos! If not using ZooKeeper, standard host:port patterns, like localhost:5050 or 10.0.0.5:5050,10.0.0.6:5050, are also acceptable.",
          "type": "string"
        }
      },
      "required": [
        "master"
      ]
    },
    "spark": {
      "description": "Spark Framework Configuration Properties",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "framework-name": {
            "description": "The name of the framework. Until this is configurable, please do not change this from it's default value.",
            "type": "string",
            "default": "spark"
        },
        "host": {
          "type": "string",
          "description": "The host that the Spark cluster dispatcher will register under.",
          "default": "$HOST"
        },
        "zookeeper": {
          "type": "string",
          "description": "URL to the Zookeeper that Spark cluster framework connects to persist state to. (l.e: zk://0.0.0.0:2181)",
          "default": "master.mesos:2181"
        }
      }
    }
  }
}

Add framework name for spark
Add framework name for spark
