-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdata.json
105 lines (105 loc) · 3.98 KB
/
data.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"prestations" : [
{ "reference" : "man_haircut", "duration" : 30 },
{ "reference" : "woman_shampoo", "duration" : 15 },
{ "reference" : "woman_haircut", "duration" : 30 },
{ "reference" : "woman_color", "duration" : 45 },
{ "reference" : "woman_brushing", "duration" : 40 }
],
"pros" : [
{
"name" : "Nathalie",
"address" : "22 Av de Friedland 75008 Paris",
"lat" : 48.874853,
"lng" : 2.300370,
"max_kilometers" : 5,
"prestations" : ["woman_shampoo", "woman_haircut", "woman_brushing"],
"opening_hours" : [
{ "day": "monday", "starts_at" : "8:00", "ends_at" : "17:00" },
{ "day": "thursday", "starts_at" : "8:00", "ends_at" : "12:00" },
{ "day": "friday", "starts_at" : "8:00", "ends_at" : "17:00" }
],
"appointments" : [
{ "starts_at" : "2019-08-27T09:00:00+02:00", "ends_at" : "2019-08-27T12:00:00+02:00" },
{ "starts_at" : "2019-08-30T16:00:00+02:00", "ends_at" : "2019-08-30T16:30:00+02:00" }
]
},
{
"name" : "Sophie",
"address": "127 Avenue Pablo Picasso, 92000 Nanterre",
"lat" : 48.888353,
"lng" : 2.226596,
"max_kilometers" : 7,
"prestations" : ["man_haircut", "woman_shampoo", "woman_haircut", "woman_color"],
"opening_hours" : [
{ "day": "monday", "starts_at" : "9:00", "ends_at" : "18:00" },
{ "day": "tuesday", "starts_at" : "9:00", "ends_at" : "18:00" },
{ "day": "wednesday", "starts_at" : "9:00", "ends_at" : "12:30" },
{ "day": "thursday", "starts_at" : "9:00", "ends_at" : "18:00" },
{ "day": "friday", "starts_at" : "9:00", "ends_at" : "18:00" }
],
"appointments" : [
{ "starts_at" : "2019-08-28T14:00:00+02:00", "ends_at" : "2019-08-28T17:00:00+02:00" },
{ "starts_at" : "2019-08-29T08:00:00+02:00", "ends_at" : "2019-08-29T10:00:00+02:00" }
]
},
{
"name" : "Franck",
"address" : "27 Rue d'Estienne d'Orves, 92700 Colombes",
"lat" : 48.921277,
"lng" : 2.248160,
"max_kilometers" : 9,
"prestations" : ["man_haircut", "woman_shampoo", "woman_haircut"],
"opening_hours" : [
{ "day": "tuesday", "starts_at" : "8:00", "ends_at" : "18:00" },
{ "day": "wednesday", "starts_at" : "8:00", "ends_at" : "18:00" },
{ "day": "thursday", "starts_at" : "14:00", "ends_at" : "18:00" },
{ "day": "friday", "starts_at" : "9:00", "ends_at" : "18:00" },
{ "day": "saturday", "starts_at" : "9:00", "ends_at" : "13:00" }
],
"appointments" : [
{ "starts_at" : "2019-08-28T13:00:00+02:00", "ends_at" : "2019-08-28T15:00:00+02:00" },
{ "starts_at" : "2019-08-28T10:00:00+02:00", "ends_at" : "2019-08-28T10:30:00+02:00" },
{ "starts_at" : "2019-08-29T13:00:00+02:00", "ends_at" : "2019-08-29T15:00:00+02:00" }
]
}
],
"bookings" : [
{
"email": "[email protected]",
"name" : "Pierre Legrand",
"starts_at" : "2019-08-29T09:30:00+02:00",
"address" : "73 Avenue de Wagram, 75017 Paris",
"lat": 48.879240,
"lng": 2.298816,
"prestations" : ["man_haircut"]
},
{
"email": "[email protected]",
"name" : "Pierre Legrand",
"starts_at" : "2019-08-28T09:30:00+02:00",
"address" : "73 Avenue de Wagram, 75017 Paris",
"lat": 48.879240,
"lng": 2.298816,
"prestations" : ["woman_color"]
},
{
"email": "[email protected]",
"name" : "Émilie Fouche",
"starts_at" : "2019-08-27T14:00:00+02:00",
"address" : "2 Rue du Professeur Calmette, 92230 Gennevilliers",
"lat": 48.922699,
"lng": 2.295130,
"prestations" : ["woman_haircut", "woman_brushing"]
},
{
"email": "[email protected]",
"name" : "Caroline Dujean",
"starts_at" : "2019-08-28T16:00:00+02:00",
"address" : "4 Rue Hoche, 92130 Issy-les-Moulineaux",
"lat": 48.825711,
"lng": 2.273804,
"prestations" : ["woman_color", "woman_shampoo"]
}
]
}