@property
def schema(self):
    properties = {}
    for parser_type in PARSER_TYPES:
        parser_names = [p.name.replace('parser_', '') for p in plugin.get_plugins(group=(parser_type + '_parser'))]
        properties[parser_type] = {'type': 'string', 'enum': parser_names}
    s = {'type': 'object', 'properties': properties, 'additionalProperties': False}
    return s
@property
def schema(self):
    properties = {}
    for parser_type in PARSER_TYPES:
        parser_names = [p.name.replace('parser_', ) for p in plugin.get_plugins(group=(parser_type + '_parser'))]
        properties[parser_type] = {'type': 'string', 'enum': parser_names}
    s = {'type': 'object', 'properties': properties, 'additionalProperties': False}
    return s