@wmfs/tymly-rankings-plugin
Version:
Plugin which handles ranking of data for Tymly framework
25 lines (24 loc) • 542 B
JSON
{
"label": "Shop ranking",
"description": "Maps where to find the data and weightings for each factor",
"rankingModel": "rankingUprns",
"source": {
"model": "gazetteer",
"property": "uprn",
"otherProperties": ["address_label"]
},
"factors": {
"usage": "constant",
"foodStandards": {
"namespace": "test",
"model": "food",
"property": "rating"
},
"area": {
"namespace": "test",
"model": "area",
"property": "areaRating",
"sourceProperty": "areaCode"
}
}
}