code: def _load_schemas(self):
          
  
          types = ('bill', 'committee', 'person', 'vote', 'event')
  
          for type in types:
              schema_path = os.path.join(os.path.split(__file__)[0],
                                         '../schemas/%s.json' % type)
              self._schema[type] = json.load(open(schema_path))
              self._schema[type]['properties'][settings.LEVEL_FIELD] = {
                  'minLength': 2, 'type': 'string'}
  
          # bills & votes
          self._schema['bill']['properties']['session']['enum'] = \
              self.all_sessions()
          self._schema['vote']['properties']['session']['enum'] = \
              self.all_sessions()
  
          # legislators
          terms = [t['name'] for t in self.metadata['terms']]
          # ugly break here b/c this line is nearly impossible to split
          self._schema['person']['properties']['roles'][
              'items']['properties']['term']['enum'] = terms
docs: load all schemas into schema dict