Skip to content

Instantly share code, notes, and snippets.

@moonblade
Last active February 4, 2016 14:21
Show Gist options
  • Save moonblade/6b21a143895aad28cccd to your computer and use it in GitHub Desktop.
Save moonblade/6b21a143895aad28cccd to your computer and use it in GitHub Desktop.
{
"code": 1,
"buildingList": [{
"buildingId": "1",
"buildingName": "Some name",
"buildingDescription": "Some description",
"floorList": [{
"floorId": "1",
"pictureURL":"www.soomeurl.to/picture/directory/containing/picutres",
"size":{
"x":4000,
"y":4000
},
"floorName": "Some Name Floor",
"floorDescription": "Some floor description",
"nodeList": [{
"nodeId": "1",
"nodeName": "some name",
"nodeDescription": "some description",
"coordinate": {
"x": 12,
"y": 123
}
}, {
"nodeId": "2",
"nodeName": "some name",
"nodeDescription": "some description",
"coordinate": {
"x": 12,
"y": 123
}
}]
}]
}],
"edgeList": [{
"edgeId":"1",
"fromNodeId": "1",
"toNodeId": "2",
"distance": 30,
"beaconList": [{
"beaconId": "1",
"parentEdge":"1",
"parentFloor":"1",
"parentBuilding":"1",
"beaconName": "Some Name beacon",
"beaconDescription": "Some description beacon",
"beaconMacId": "Mac id of beacon"
}]
}],
"errorMessage": "When Code is 0, send Error message here"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment