<filename>nest_py/knoweng/data_types/feature_prioritizations.py<gh_stars>1-10
from nest_py.core.data_types.tablelike_schema import TablelikeSchema

COLLECTION_NAME = 'feature_prioritizations'

def generate_schema():
    schema = TablelikeSchema(COLLECTION_NAME)
    schema.add_foreignid_attribute('job_id')
    schema.add_jsonb_attribute('scores')
    schema.add_numeric_attribute('minimum_score')
    schema.add_jsonb_attribute('feature_ids_to_names')
    return schema
