|
{
"entity_types": {
"city": {
"data_fields": [
"city_name",
"city_coordinates"
]
},
"listing": {
"data_fields": [
"date",
"price_low",
"price_high",
"availability",
"qualifier"
]
},
"product": {
"data_fields": [
"product_name",
"product_description"
]
}
},
"data_fields": {
"date": {
"type": "date",
"format": "%d-%b-%Y"
},
"city_name": {
"type": "categorical"
},
"price_low": {
"type": "scalar"
},
"qualifier": {
"type": "categorical"
},
"price_high": {
"type": "scalar"
},
"availability": {
"type": "categorical"
},
"product_name": {
"type": "categorical"
},
"city_coordinates": {
"type": "place"
},
"product_description": {
"type": "text"
}
},
"relationship_fields": {
"price_in": {
"source_entity_type": "listing",
"target_entity_type": "city"
},
"price_for": {
"source_entity_type": "listing",
"target_entity_type": "product"
}
}
}
|