def __init__(self, policy_templates_dict, schema=None):
PolicyTemplatesProcessor._is_valid_templates_dict(policy_templates_dict, schema)<EOL>self.policy_templates = {}<EOL>for template_name, template_value_dict in policy_templates_dict["<STR_LIT>"].items():<EOL><INDENT>self.policy_templates[template_name] = Template.from_dict(template_name, template_value_dict)<EOL><DEDENT>
Initialize the class

:param policy_templates_dict: Dictionary containing the policy templates definition
:param dict schema: Dictionary containing the JSON Schema of policy templates
:raises ValueError: If policy templates does not match up with the schema