This repository was archived by the owner on Jun 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Json data firebase
Wermeille Bastien edited this page Apr 25, 2020
·
4 revisions
{
"search_groups":{
"g1":{
"group_name": "Zinal",
"base_location":{
"latitude": 12,
"longitude": 12
},
"search_location":{
"latitude": 12,
"longitude": 12
}
},
"g2":{
"group_name": "Verbier"
}
},
"operators": {
"g1":{
"google_id_1": true,
"google_id_2": true
}
},
"rescuers": {
"g1":{
"google_id_3": true,
"google_id_4": true
}
},
"heatmaps": {
"g1":{
"google_id_1":{
},
"google_id_2":{
}
}
},
"markers": {
"g1":{
"m1":{
"latitude": 12,
"longitude": 12
},
"m2":{
"latitude": 12,
"longitude": 12
}
}
}
}{
"groups":{
"1":{
"group_name": "Zinal",
"base_location":{
"latitude": 12,
"longitude": 12
},
"search_location":{
"latitude": 12,
"longitude": 12
},
"heatmap": {
//... TODO see
},
"markers": [
{
"id":1,
"latitude": 12,
"longitude": 12
},
{
"id":2,
"latitude": 12,
"longitude": 12
}
],
//whitelist emails
"operators": [ // Or google id it exist
'test@gmail.com',
'yep@bluewin.ch'
],
//whitelist emails
"rescuers": [ // Or google id it exist
'test@gmail.com',
'yep@bluewin.ch'
]
},
"2":{
"group_name": "Verbier",
}
}
}