'Create properties schema from the parameters section of a template.
:param params_snippet: parameter definition from a template
:returns: equivalent properties schemata for the specified parameters'

@staticmethod
def schema_from_params(params_snippet):

    if params_snippet:
        return dict(((n, Schema.from_parameter(p)) for (n, p) in params_snippet.items()))
    return {}
