code: def get_jsonschema(self, context=None):
          
          schema = super(Enum, self).get_jsonschema(context=None)
          schema.pop('type')
          if self.get_attr('enum'):
              schema['enum'] = self.get_attr('enum')
          return schema
docs: Ensure the generic schema, remove `types`
  
          :return: Gives back the schema
          :rtype: dict