def _load_schemas(self):
types = ('<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>')<EOL>for type in types:<EOL><INDENT>schema_path = os.path.join(os.path.split(__file__)[<NUM_LIT:0>],<EOL>'<STR_LIT>' % type)<EOL>self._schema[type] = json.load(open(schema_path))<EOL>self._schema[type]['<STR_LIT>'][settings.LEVEL_FIELD] = {<EOL>'<STR_LIT>': <NUM_LIT:2>, '<STR_LIT:type>': '<STR_LIT:string>'}<EOL><DEDENT>self._schema['<STR_LIT>']['<STR_LIT>']['<STR_LIT>']['<STR_LIT>'] =self.all_sessions()<EOL>self._schema['<STR_LIT>']['<STR_LIT>']['<STR_LIT>']['<STR_LIT>'] =self.all_sessions()<EOL>terms = [t['<STR_LIT:name>'] for t in self.metadata['<STR_LIT>']]<EOL>self._schema['<STR_LIT>']['<STR_LIT>']['<STR_LIT>'][<EOL>'<STR_LIT>']['<STR_LIT>']['<STR_LIT>']['<STR_LIT>'] = terms<EOL>
load all schemas into schema dict