-
Notifications
You must be signed in to change notification settings - Fork 0
Models
Martin Stancanelli edited this page Jan 22, 2017
·
14 revisions
Enums are signaled with their options eg "a|b|c|d", others are the primitive type shown.
{
"id": 1,
"name": "Juan",
"email": "[email protected]",
"gender": "male|female",
"birthday": "2012-04-23T18:25:43.511Z",
"picture": {
"large": null,
"medium": null,
"thumb": null
},
"location": {
"latitude": -34.56,
"longitude": 45.89
},
"class_cost": 0,
"subjects": [
{
"id": 2,
"name": "math",
"levels": [
"general|elementary|high|college",
"general|elementary|high|college",
"general|elementary|high|college"
]
}
],
"expertise": {
"value": "A+|A|B|C|D|E|F"
},
"rating": {
"value": "yellow|orange|green|blue|purple|black"
}
}
{
"id": 2,
"name": "carlos",
"email": "[email protected]",
"gender": "male",
"birthday": "2012-04-23T18:25:43.511Z",
"location": {
"latitude": 31.22,
"longitude": 56.77
}
}