'Returns the schema of the given resource type.'

@util.policy_enforce
def resource_schema(self, req, type_name, with_description=False):

    return self.rpc_client.resource_schema(req.context, type_name, self._extract_bool_param('with_description', with_description))
