def get_app_schema(self):
        """Returns app json schema

        :returns: application json schema
        :rtype: json schema or None if endpoint doesn't exist
        """

        version = self.get_version()
        schema_version = LooseVersion("0.9.0")
        if version < schema_version:
            return None

        url = self._create_url('v2/schemas/app')
        response = _http_req(http.get, url, timeout=self._timeout)

        return response.json()
dataset/ETHPy150Open dcos/dcos-cli/dcos/marathon.py/Client.get_app_schema/original