diff --git a/locations/v1/01/00/index.json b/locations/v1/01/00/index.json new file mode 100644 index 00000000..e8a90e88 --- /dev/null +++ b/locations/v1/01/00/index.json @@ -0,0 +1,25 @@ +{ + "floor": "01", + "id": "00", + "label": "01-00", + "title": "Computer Laboratory 2", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "64", + "url": "https://ce.pdn.ac.lk/facilities/computer-lab2", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/00/index.json", + "description": "This lab contains 2 built in projectors and screens and 64 computers", + "features": "Can be used for lab activities", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/01/01/index.json b/locations/v1/01/01/index.json new file mode 100644 index 00000000..33f7ed0d --- /dev/null +++ b/locations/v1/01/01/index.json @@ -0,0 +1,21 @@ +{ + "floor": "01", + "id": "01", + "label": "01-01", + "title": "Technical Officer's room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/01/index.json", + "description": "This belongs to first Floor", + "features": "This room is used by Technical officer and assistant", + "tags": [ + "staff" + ], + "accessibility": [ + "TECHNICAL_OFFICERS" + ] +} \ No newline at end of file diff --git a/locations/v1/01/02/index.json b/locations/v1/01/02/index.json new file mode 100644 index 00000000..0382619a --- /dev/null +++ b/locations/v1/01/02/index.json @@ -0,0 +1,22 @@ +{ + "floor": "01", + "id": "02", + "label": "01-02", + "title": "Insructors' Room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/02/index.json", + "description": "This contains a working space for four", + "features": "This is the room for Instructors and Past Graduate students", + "tags": [ + "staff" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/01/03/index.json b/locations/v1/01/03/index.json new file mode 100644 index 00000000..e97bf50e --- /dev/null +++ b/locations/v1/01/03/index.json @@ -0,0 +1,21 @@ +{ + "floor": "01", + "id": "03", + "label": "01-03", + "title": "Lecturer's Room 1", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/03/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] +} \ No newline at end of file diff --git a/locations/v1/01/04/index.json b/locations/v1/01/04/index.json new file mode 100644 index 00000000..021cd5f8 --- /dev/null +++ b/locations/v1/01/04/index.json @@ -0,0 +1,21 @@ +{ + "floor": "01", + "id": "04", + "label": "01-04", + "title": "Lecturer's Room 2", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/04/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] +} \ No newline at end of file diff --git a/locations/v1/01/05/index.json b/locations/v1/01/05/index.json new file mode 100644 index 00000000..43e5be48 --- /dev/null +++ b/locations/v1/01/05/index.json @@ -0,0 +1,21 @@ +{ + "floor": "01", + "id": "05", + "label": "01-05", + "title": "Lecturer's Room 3", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/05/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] +} \ No newline at end of file diff --git a/locations/v1/01/06/index.json b/locations/v1/01/06/index.json new file mode 100644 index 00000000..09093c93 --- /dev/null +++ b/locations/v1/01/06/index.json @@ -0,0 +1,21 @@ +{ + "floor": "01", + "id": "06", + "label": "01-06", + "title": "Lecturer's Room 4", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/06/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] +} \ No newline at end of file diff --git a/locations/v1/01/07/index.json b/locations/v1/01/07/index.json new file mode 100644 index 00000000..a87361d6 --- /dev/null +++ b/locations/v1/01/07/index.json @@ -0,0 +1,21 @@ +{ + "floor": "01", + "id": "07", + "label": "01-07", + "title": "Lecturer's Room 5", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/07/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] +} \ No newline at end of file diff --git a/locations/v1/01/08/index.json b/locations/v1/01/08/index.json new file mode 100644 index 00000000..94b1241e --- /dev/null +++ b/locations/v1/01/08/index.json @@ -0,0 +1,21 @@ +{ + "floor": "01", + "id": "08", + "label": "01-08", + "title": "Lecturer's Room 6", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/08/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] +} \ No newline at end of file diff --git a/locations/v1/01/09/index.json b/locations/v1/01/09/index.json new file mode 100644 index 00000000..13b48592 --- /dev/null +++ b/locations/v1/01/09/index.json @@ -0,0 +1,25 @@ +{ + "floor": "01", + "id": "09", + "label": "01-09", + "title": "Network & Communication Lab", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "30", + "url": "https://ce.pdn.ac.lk/facilities/networking-lab", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/09/index.json", + "description": "This lab has Computers, Networking Devices etc.", + "features": "This lab is used for Networking related courses", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/01/CR01/index.json b/locations/v1/01/CR01/index.json new file mode 100644 index 00000000..abb9e823 --- /dev/null +++ b/locations/v1/01/CR01/index.json @@ -0,0 +1,25 @@ +{ + "floor": "01", + "id": "CR01", + "label": "01-CR01", + "title": "Corridor-01", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/CR01/index.json", + "description": "This belongs to floor 1", + "features": "This corridor can be used to reach Lecturers' Room 1, 2, Instructors' Room and the Main room", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/01/ENTR/index.json b/locations/v1/01/ENTR/index.json new file mode 100644 index 00000000..f85dc493 --- /dev/null +++ b/locations/v1/01/ENTR/index.json @@ -0,0 +1,25 @@ +{ + "floor": "01", + "id": "ENTR", + "label": "01-ENTR", + "title": "Main Room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/ENTR/index.json", + "description": "Entrance and the Exit points are in here", + "features": "The lift or the staircases to enter other floors can be accessed from here", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/01/LIFT/index.json b/locations/v1/01/LIFT/index.json new file mode 100644 index 00000000..15909b28 --- /dev/null +++ b/locations/v1/01/LIFT/index.json @@ -0,0 +1,21 @@ +{ + "floor": "01", + "id": "LIFT", + "label": "01-LIFT", + "title": "Lift", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/LIFT/index.json", + "description": "This belongs to Floor1", + "features": "Can be used to enter other floors", + "tags": [ + "public" + ], + "accessibility": [ + "NONE" + ] +} \ No newline at end of file diff --git a/locations/v1/01/OP/index.json b/locations/v1/01/OP/index.json new file mode 100644 index 00000000..1b39fde7 --- /dev/null +++ b/locations/v1/01/OP/index.json @@ -0,0 +1,21 @@ +{ + "floor": "01", + "id": "OP", + "label": "01-OP", + "title": "Operator-room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/OP/index.json", + "description": "This belongs to Floor1", + "features": "", + "tags": [ + "authorized" + ], + "accessibility": [ + "TECHNICAL_OFFICERS" + ] +} \ No newline at end of file diff --git a/locations/v1/01/index.json b/locations/v1/01/index.json new file mode 100644 index 00000000..87c620f2 --- /dev/null +++ b/locations/v1/01/index.json @@ -0,0 +1,316 @@ +{ + "title": "01", + "locations": [ + { + "floor": "01", + "id": "01", + "label": "01-01", + "title": "Technical Officer's room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/01/index.json", + "description": "This belongs to first Floor", + "features": "This room is used by Technical officer and assistant", + "tags": [ + "staff" + ], + "accessibility": [ + "TECHNICAL_OFFICERS" + ] + }, + { + "floor": "01", + "id": "02", + "label": "01-02", + "title": "Insructors' Room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/02/index.json", + "description": "This contains a working space for four", + "features": "This is the room for Instructors and Past Graduate students", + "tags": [ + "staff" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES" + ] + }, + { + "floor": "01", + "id": "03", + "label": "01-03", + "title": "Lecturer's Room 1", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/03/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "01", + "id": "04", + "label": "01-04", + "title": "Lecturer's Room 2", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/04/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "01", + "id": "05", + "label": "01-05", + "title": "Lecturer's Room 3", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/05/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "01", + "id": "06", + "label": "01-06", + "title": "Lecturer's Room 4", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/06/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "01", + "id": "07", + "label": "01-07", + "title": "Lecturer's Room 5", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/07/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "01", + "id": "08", + "label": "01-08", + "title": "Lecturer's Room 6", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/08/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "01", + "id": "09", + "label": "01-09", + "title": "Network & Communication Lab", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "30", + "url": "https://ce.pdn.ac.lk/facilities/networking-lab", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/09/index.json", + "description": "This lab has Computers, Networking Devices etc.", + "features": "This lab is used for Networking related courses", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "01", + "id": "CR01", + "label": "01-CR01", + "title": "Corridor-01", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/CR01/index.json", + "description": "This belongs to floor 1", + "features": "This corridor can be used to reach Lecturers' Room 1, 2, Instructors' Room and the Main room", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "01", + "id": "ENTR", + "label": "01-ENTR", + "title": "Main Room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/ENTR/index.json", + "description": "Entrance and the Exit points are in here", + "features": "The lift or the staircases to enter other floors can be accessed from here", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "01", + "id": "OP", + "label": "01-OP", + "title": "Operator-room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/OP/index.json", + "description": "This belongs to Floor1", + "features": "", + "tags": [ + "authorized" + ], + "accessibility": [ + "TECHNICAL_OFFICERS" + ] + }, + { + "floor": "01", + "id": "LIFT", + "label": "01-LIFT", + "title": "Lift", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/LIFT/index.json", + "description": "This belongs to Floor1", + "features": "Can be used to enter other floors", + "tags": [ + "public" + ], + "accessibility": [ + "NONE" + ] + }, + { + "floor": "01", + "id": "00", + "label": "01-00", + "title": "Computer Laboratory 2", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "64", + "url": "https://ce.pdn.ac.lk/facilities/computer-lab2", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/00/index.json", + "description": "This lab contains 2 built in projectors and screens and 64 computers", + "features": "Can be used for lab activities", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + } + ] +} \ No newline at end of file diff --git a/locations/v1/02/00/index.json b/locations/v1/02/00/index.json new file mode 100644 index 00000000..4bf1f066 --- /dev/null +++ b/locations/v1/02/00/index.json @@ -0,0 +1,25 @@ +{ + "floor": "02", + "id": "00", + "label": "02-00", + "title": "Hardware & Computer Interfacing Lab", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "60", + "url": "https://ce.pdn.ac.lk/facilities/hardware-and-interfacing-lab/", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/00/index.json", + "description": "This lab is used for Digital Design, Embedded Systems and other courses", + "features": "This lab contains 30 Computers, Oscilloscopes, Power Supplies, Signal Generators", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/02/01/index.json b/locations/v1/02/01/index.json new file mode 100644 index 00000000..fdbcdd24 --- /dev/null +++ b/locations/v1/02/01/index.json @@ -0,0 +1,21 @@ +{ + "floor": "02", + "id": "01", + "label": "02-01", + "title": "Technical Offcer's room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/01/index.json", + "description": "This room is used by Technical officer and assistant.Mr.Kelum is currently incharge in here", + "features": "This room has a Hardware component storage", + "tags": [ + "staff" + ], + "accessibility": [ + "TECHNICAL_OFFICERS" + ] +} \ No newline at end of file diff --git a/locations/v1/02/02/index.json b/locations/v1/02/02/index.json new file mode 100644 index 00000000..68b6345c --- /dev/null +++ b/locations/v1/02/02/index.json @@ -0,0 +1,22 @@ +{ + "floor": "02", + "id": "02", + "label": "02-02", + "title": "Insructors' Room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/02/index.json", + "description": "This is the room for Instructors and Post Graduate students", + "features": "This room has working space for four", + "tags": [ + "staff" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/02/03/index.json b/locations/v1/02/03/index.json new file mode 100644 index 00000000..d1b3a4c0 --- /dev/null +++ b/locations/v1/02/03/index.json @@ -0,0 +1,25 @@ +{ + "floor": "02", + "id": "03", + "label": "02-03", + "title": "Industrial Automation Laboratory", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "6", + "url": "https://ce.pdn.ac.lk/facilities/industrial-automation-lab", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/03/index.json", + "description": "This lab is used for related lab activities", + "features": "This lab has PLC Boards, Industrial Conveyor Belts", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/02/05/index.json b/locations/v1/02/05/index.json new file mode 100644 index 00000000..4f30ead6 --- /dev/null +++ b/locations/v1/02/05/index.json @@ -0,0 +1,21 @@ +{ + "floor": "02", + "id": "05", + "label": "02-05", + "title": "Lecturer's Room 1", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/05/index.json", + "description": "https://people.ce.pdn.ac.lk/staff/academic/", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] +} \ No newline at end of file diff --git a/locations/v1/02/06/index.json b/locations/v1/02/06/index.json new file mode 100644 index 00000000..033a3c8e --- /dev/null +++ b/locations/v1/02/06/index.json @@ -0,0 +1,21 @@ +{ + "floor": "02", + "id": "06", + "label": "02-06", + "title": "Lecturer's Room 2", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/06/index.json", + "description": "https://people.ce.pdn.ac.lk/staff/academic/", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] +} \ No newline at end of file diff --git a/locations/v1/02/07/index.json b/locations/v1/02/07/index.json new file mode 100644 index 00000000..4210258d --- /dev/null +++ b/locations/v1/02/07/index.json @@ -0,0 +1,21 @@ +{ + "floor": "02", + "id": "07", + "label": "02-07", + "title": "Lecturer's Room 3", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/07/index.json", + "description": "https://people.ce.pdn.ac.lk/staff/academic/", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] +} \ No newline at end of file diff --git a/locations/v1/02/08/index.json b/locations/v1/02/08/index.json new file mode 100644 index 00000000..c47b16f2 --- /dev/null +++ b/locations/v1/02/08/index.json @@ -0,0 +1,21 @@ +{ + "floor": "02", + "id": "08", + "label": "02-08", + "title": "Lecturer's Room 4", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/08/index.json", + "description": "https://people.ce.pdn.ac.lk/staff/academic/", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] +} \ No newline at end of file diff --git a/locations/v1/02/09/index.json b/locations/v1/02/09/index.json new file mode 100644 index 00000000..3baed343 --- /dev/null +++ b/locations/v1/02/09/index.json @@ -0,0 +1,25 @@ +{ + "floor": "02", + "id": "09", + "label": "02-09", + "title": "Discussion Room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/09/index.json", + "description": "This room is used to have discussions of projects,activities etc", + "features": "This has a space for 30 students and White Boards and study tables are availbale", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/02/CR01/index.json b/locations/v1/02/CR01/index.json new file mode 100644 index 00000000..db3ab40e --- /dev/null +++ b/locations/v1/02/CR01/index.json @@ -0,0 +1,25 @@ +{ + "floor": "02", + "id": "CR01", + "label": "02-CR01", + "title": "Corridor", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/CR01/index.json", + "description": "This corridor can be used to reach discussion room,Hardware & CI lab,TO room and Main room", + "features": "This belongs to floor 2", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/02/ENTR/index.json b/locations/v1/02/ENTR/index.json new file mode 100644 index 00000000..b88cf387 --- /dev/null +++ b/locations/v1/02/ENTR/index.json @@ -0,0 +1,25 @@ +{ + "floor": "02", + "id": "ENTR", + "label": "02-ENTR", + "title": "Main Room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/ENTR/index.json", + "description": "The lift or the staircases to enter other floors can be accessed from here", + "features": "Entrance and the Exit points are in here", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/02/LIFT/index.json b/locations/v1/02/LIFT/index.json new file mode 100644 index 00000000..fc2dd287 --- /dev/null +++ b/locations/v1/02/LIFT/index.json @@ -0,0 +1,21 @@ +{ + "floor": "02", + "id": "LIFT", + "label": "02-LIFT", + "title": "Lift", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/LIFT/index.json", + "description": "Can be used to enter other floors", + "features": "This belongs to Floor2", + "tags": [ + "public" + ], + "accessibility": [ + "NONE" + ] +} \ No newline at end of file diff --git a/locations/v1/02/OP/index.json b/locations/v1/02/OP/index.json new file mode 100644 index 00000000..df237d06 --- /dev/null +++ b/locations/v1/02/OP/index.json @@ -0,0 +1,21 @@ +{ + "floor": "02", + "id": "OP", + "label": "02-OP", + "title": "Operator-room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/OP/index.json", + "description": "", + "features": "This belongs to second Floor", + "tags": [ + "authorized" + ], + "accessibility": [ + "TECHNICAL_OFFICERS" + ] +} \ No newline at end of file diff --git a/locations/v1/02/index.json b/locations/v1/02/index.json new file mode 100644 index 00000000..3bf07722 --- /dev/null +++ b/locations/v1/02/index.json @@ -0,0 +1,299 @@ +{ + "title": "02", + "locations": [ + { + "floor": "02", + "id": "01", + "label": "02-01", + "title": "Technical Offcer's room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/01/index.json", + "description": "This room is used by Technical officer and assistant.Mr.Kelum is currently incharge in here", + "features": "This room has a Hardware component storage", + "tags": [ + "staff" + ], + "accessibility": [ + "TECHNICAL_OFFICERS" + ] + }, + { + "floor": "02", + "id": "02", + "label": "02-02", + "title": "Insructors' Room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/02/index.json", + "description": "This is the room for Instructors and Post Graduate students", + "features": "This room has working space for four", + "tags": [ + "staff" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES" + ] + }, + { + "floor": "02", + "id": "03", + "label": "02-03", + "title": "Industrial Automation Laboratory", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "6", + "url": "https://ce.pdn.ac.lk/facilities/industrial-automation-lab", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/03/index.json", + "description": "This lab is used for related lab activities", + "features": "This lab has PLC Boards, Industrial Conveyor Belts", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "02", + "id": "09", + "label": "02-09", + "title": "Discussion Room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/09/index.json", + "description": "This room is used to have discussions of projects,activities etc", + "features": "This has a space for 30 students and White Boards and study tables are availbale", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "02", + "id": "05", + "label": "02-05", + "title": "Lecturer's Room 1", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/05/index.json", + "description": "https://people.ce.pdn.ac.lk/staff/academic/", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "02", + "id": "06", + "label": "02-06", + "title": "Lecturer's Room 2", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/06/index.json", + "description": "https://people.ce.pdn.ac.lk/staff/academic/", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "02", + "id": "07", + "label": "02-07", + "title": "Lecturer's Room 3", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/07/index.json", + "description": "https://people.ce.pdn.ac.lk/staff/academic/", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "02", + "id": "08", + "label": "02-08", + "title": "Lecturer's Room 4", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/08/index.json", + "description": "https://people.ce.pdn.ac.lk/staff/academic/", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "02", + "id": "ENTR", + "label": "02-ENTR", + "title": "Main Room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/ENTR/index.json", + "description": "The lift or the staircases to enter other floors can be accessed from here", + "features": "Entrance and the Exit points are in here", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "02", + "id": "LIFT", + "label": "02-LIFT", + "title": "Lift", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/LIFT/index.json", + "description": "Can be used to enter other floors", + "features": "This belongs to Floor2", + "tags": [ + "public" + ], + "accessibility": [ + "NONE" + ] + }, + { + "floor": "02", + "id": "CR01", + "label": "02-CR01", + "title": "Corridor", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/CR01/index.json", + "description": "This corridor can be used to reach discussion room,Hardware & CI lab,TO room and Main room", + "features": "This belongs to floor 2", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "02", + "id": "OP", + "label": "02-OP", + "title": "Operator-room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/OP/index.json", + "description": "", + "features": "This belongs to second Floor", + "tags": [ + "authorized" + ], + "accessibility": [ + "TECHNICAL_OFFICERS" + ] + }, + { + "floor": "02", + "id": "00", + "label": "02-00", + "title": "Hardware & Computer Interfacing Lab", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "60", + "url": "https://ce.pdn.ac.lk/facilities/hardware-and-interfacing-lab/", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/00/index.json", + "description": "This lab is used for Digital Design, Embedded Systems and other courses", + "features": "This lab contains 30 Computers, Oscilloscopes, Power Supplies, Signal Generators", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + } + ] +} \ No newline at end of file diff --git a/locations/v1/03/00/index.json b/locations/v1/03/00/index.json new file mode 100644 index 00000000..1a9a1bf3 --- /dev/null +++ b/locations/v1/03/00/index.json @@ -0,0 +1,21 @@ +{ + "floor": "03", + "id": "00", + "label": "03-00", + "title": "Lecturer's Room 1", + "contact": { + "tele": "", + "email": "isurunawinne@eng.pdn.ac.lk" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/00/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] +} \ No newline at end of file diff --git a/locations/v1/03/01/index.json b/locations/v1/03/01/index.json new file mode 100644 index 00000000..7f531679 --- /dev/null +++ b/locations/v1/03/01/index.json @@ -0,0 +1,21 @@ +{ + "floor": "03", + "id": "01", + "label": "03-01", + "title": "Lecturer's Room 2", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/01/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] +} \ No newline at end of file diff --git a/locations/v1/03/02/index.json b/locations/v1/03/02/index.json new file mode 100644 index 00000000..679786de --- /dev/null +++ b/locations/v1/03/02/index.json @@ -0,0 +1,21 @@ +{ + "floor": "03", + "id": "02", + "label": "03-02", + "title": "Lecturer's Room 3", + "contact": { + "tele": "", + "email": "sithuminie@eng.pdn.ac.lk" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/02/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] +} \ No newline at end of file diff --git a/locations/v1/03/03/index.json b/locations/v1/03/03/index.json new file mode 100644 index 00000000..278d2f28 --- /dev/null +++ b/locations/v1/03/03/index.json @@ -0,0 +1,21 @@ +{ + "floor": "03", + "id": "03", + "label": "03-03", + "title": "Lecturer's Room 4", + "contact": { + "tele": "", + "email": "mahanamaw@eng.pdn.ac.lk" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/03/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] +} \ No newline at end of file diff --git a/locations/v1/03/04/index.json b/locations/v1/03/04/index.json new file mode 100644 index 00000000..f312a162 --- /dev/null +++ b/locations/v1/03/04/index.json @@ -0,0 +1,21 @@ +{ + "floor": "03", + "id": "04", + "label": "03-04", + "title": "Lecturer's Room 5", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/04/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] +} \ No newline at end of file diff --git a/locations/v1/03/05/index.json b/locations/v1/03/05/index.json new file mode 100644 index 00000000..ed60677f --- /dev/null +++ b/locations/v1/03/05/index.json @@ -0,0 +1,21 @@ +{ + "floor": "03", + "id": "05", + "label": "03-05", + "title": "Lecturer's Room 6", + "contact": { + "tele": "", + "email": "nadeeshaa@eng.pdn.ac.lk" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/05/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] +} \ No newline at end of file diff --git a/locations/v1/03/06/index.json b/locations/v1/03/06/index.json new file mode 100644 index 00000000..d0887b44 --- /dev/null +++ b/locations/v1/03/06/index.json @@ -0,0 +1,22 @@ +{ + "floor": "03", + "id": "06", + "label": "03-06", + "title": "Insructors' Room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/06/index.json", + "description": "This contains a working space for six people and a storage", + "features": "This is the room for Instructors and Post Graduate students", + "tags": [ + "staff" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/03/07/index.json b/locations/v1/03/07/index.json new file mode 100644 index 00000000..47466836 --- /dev/null +++ b/locations/v1/03/07/index.json @@ -0,0 +1,21 @@ +{ + "floor": "03", + "id": "07", + "label": "03-07", + "title": "Technical Offcer's room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/07/index.json", + "description": "This space is Additionally used as material storage", + "features": "This room is used by Technical officer and assistant.Mr. Wasundara is currently incharge in here", + "tags": [ + "staff" + ], + "accessibility": [ + "TECHNICAL_OFFICERS" + ] +} \ No newline at end of file diff --git a/locations/v1/03/08/index.json b/locations/v1/03/08/index.json new file mode 100644 index 00000000..246e81c9 --- /dev/null +++ b/locations/v1/03/08/index.json @@ -0,0 +1,25 @@ +{ + "floor": "03", + "id": "08", + "label": "03-08", + "title": "ESCAL Makerspace Lab", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "20", + "url": "https://ce.pdn.ac.lk/facilities/makerspace", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/08/index.json", + "description": "This lab has PLC Board, Industrial Conveyor Belt", + "features": "This lab has 5 Working Stations with Fabrication facilities", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/03/09/index.json b/locations/v1/03/09/index.json new file mode 100644 index 00000000..fdee0ba5 --- /dev/null +++ b/locations/v1/03/09/index.json @@ -0,0 +1,25 @@ +{ + "floor": "03", + "id": "09", + "label": "03-09", + "title": "ESCAL Makerspace-Machine Room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "4", + "url": "https://ce.pdn.ac.lk/facilities/makerspace", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/09/index.json", + "description": "This is for MakerSpace Heavy Machinery Work", + "features": "This is for MakerSpace Heavy Machinery Work", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/03/10/index.json b/locations/v1/03/10/index.json new file mode 100644 index 00000000..5b2cf171 --- /dev/null +++ b/locations/v1/03/10/index.json @@ -0,0 +1,25 @@ +{ + "floor": "03", + "id": "10", + "label": "03-10", + "title": "ESCAL Robotics Lab 1", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "12", + "url": "https://ce.pdn.ac.lk/facilities/robotics-lab", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/10/index.json", + "description": "This is for Robotics related works", + "features": "This is for Robotics related works", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/03/CR01/index.json b/locations/v1/03/CR01/index.json new file mode 100644 index 00000000..f69ac170 --- /dev/null +++ b/locations/v1/03/CR01/index.json @@ -0,0 +1,25 @@ +{ + "floor": "03", + "id": "CR01", + "label": "03-CR01", + "title": "Corridor", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/CR01/index.json", + "description": "This belongs to floor 3", + "features": "This corridor can be used to reach all 6 lecturer's rooms, instructor room,operator rooma and main room", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/03/ENTR/index.json b/locations/v1/03/ENTR/index.json new file mode 100644 index 00000000..437f5805 --- /dev/null +++ b/locations/v1/03/ENTR/index.json @@ -0,0 +1,25 @@ +{ + "floor": "03", + "id": "ENTR", + "label": "03-ENTR", + "title": "Main Room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/ENTR/index.json", + "description": "Entrance and the Exit points are in here", + "features": "The lift or the staircases to enter other floors can be accessed from here", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/03/LIFT/index.json b/locations/v1/03/LIFT/index.json new file mode 100644 index 00000000..46784e9d --- /dev/null +++ b/locations/v1/03/LIFT/index.json @@ -0,0 +1,21 @@ +{ + "floor": "03", + "id": "LIFT", + "label": "03-LIFT", + "title": "Lift", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/LIFT/index.json", + "description": "This belongs to Floor3", + "features": "Can be used to enter other floors", + "tags": [ + "public" + ], + "accessibility": [ + "NONE" + ] +} \ No newline at end of file diff --git a/locations/v1/03/OP/index.json b/locations/v1/03/OP/index.json new file mode 100644 index 00000000..3044032d --- /dev/null +++ b/locations/v1/03/OP/index.json @@ -0,0 +1,21 @@ +{ + "floor": "03", + "id": "OP", + "label": "03-OP", + "title": "Operator-room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/OP/index.json", + "description": "This belongs to third Floor", + "features": "", + "tags": [ + "authorized" + ], + "accessibility": [ + "TECHNICAL_OFFICERS" + ] +} \ No newline at end of file diff --git a/locations/v1/03/index.json b/locations/v1/03/index.json new file mode 100644 index 00000000..9cfe3512 --- /dev/null +++ b/locations/v1/03/index.json @@ -0,0 +1,341 @@ +{ + "title": "03", + "locations": [ + { + "floor": "03", + "id": "01", + "label": "03-01", + "title": "Lecturer's Room 2", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/01/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "03", + "id": "02", + "label": "03-02", + "title": "Lecturer's Room 3", + "contact": { + "tele": "", + "email": "sithuminie@eng.pdn.ac.lk" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/02/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "03", + "id": "03", + "label": "03-03", + "title": "Lecturer's Room 4", + "contact": { + "tele": "", + "email": "mahanamaw@eng.pdn.ac.lk" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/03/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "03", + "id": "04", + "label": "03-04", + "title": "Lecturer's Room 5", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/04/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "03", + "id": "05", + "label": "03-05", + "title": "Lecturer's Room 6", + "contact": { + "tele": "", + "email": "nadeeshaa@eng.pdn.ac.lk" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/05/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "03", + "id": "06", + "label": "03-06", + "title": "Insructors' Room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/06/index.json", + "description": "This contains a working space for six people and a storage", + "features": "This is the room for Instructors and Post Graduate students", + "tags": [ + "staff" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES" + ] + }, + { + "floor": "03", + "id": "07", + "label": "03-07", + "title": "Technical Offcer's room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/07/index.json", + "description": "This space is Additionally used as material storage", + "features": "This room is used by Technical officer and assistant.Mr. Wasundara is currently incharge in here", + "tags": [ + "staff" + ], + "accessibility": [ + "TECHNICAL_OFFICERS" + ] + }, + { + "floor": "03", + "id": "08", + "label": "03-08", + "title": "ESCAL Makerspace Lab", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "20", + "url": "https://ce.pdn.ac.lk/facilities/makerspace", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/08/index.json", + "description": "This lab has PLC Board, Industrial Conveyor Belt", + "features": "This lab has 5 Working Stations with Fabrication facilities", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "03", + "id": "09", + "label": "03-09", + "title": "ESCAL Makerspace-Machine Room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "4", + "url": "https://ce.pdn.ac.lk/facilities/makerspace", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/09/index.json", + "description": "This is for MakerSpace Heavy Machinery Work", + "features": "This is for MakerSpace Heavy Machinery Work", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "03", + "id": "10", + "label": "03-10", + "title": "ESCAL Robotics Lab 1", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "12", + "url": "https://ce.pdn.ac.lk/facilities/robotics-lab", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/10/index.json", + "description": "This is for Robotics related works", + "features": "This is for Robotics related works", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "03", + "id": "CR01", + "label": "03-CR01", + "title": "Corridor", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/CR01/index.json", + "description": "This belongs to floor 3", + "features": "This corridor can be used to reach all 6 lecturer's rooms, instructor room,operator rooma and main room", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "03", + "id": "ENTR", + "label": "03-ENTR", + "title": "Main Room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/ENTR/index.json", + "description": "Entrance and the Exit points are in here", + "features": "The lift or the staircases to enter other floors can be accessed from here", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "03", + "id": "LIFT", + "label": "03-LIFT", + "title": "Lift", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/LIFT/index.json", + "description": "This belongs to Floor3", + "features": "Can be used to enter other floors", + "tags": [ + "public" + ], + "accessibility": [ + "NONE" + ] + }, + { + "floor": "03", + "id": "OP", + "label": "03-OP", + "title": "Operator-room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/OP/index.json", + "description": "This belongs to third Floor", + "features": "", + "tags": [ + "authorized" + ], + "accessibility": [ + "TECHNICAL_OFFICERS" + ] + }, + { + "floor": "03", + "id": "00", + "label": "03-00", + "title": "Lecturer's Room 1", + "contact": { + "tele": "", + "email": "isurunawinne@eng.pdn.ac.lk" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/00/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + } + ] +} \ No newline at end of file diff --git a/locations/v1/04/00/index.json b/locations/v1/04/00/index.json new file mode 100644 index 00000000..59c38a38 --- /dev/null +++ b/locations/v1/04/00/index.json @@ -0,0 +1,25 @@ +{ + "floor": "04", + "id": "00", + "label": "04-00", + "title": "ESCAL Computer Vision Lab", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "4", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/00/index.json", + "description": "This is for computer vision related projects,work", + "features": "This is for computer vision related projects,work", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/04/01/index.json b/locations/v1/04/01/index.json new file mode 100644 index 00000000..ab63b2f9 --- /dev/null +++ b/locations/v1/04/01/index.json @@ -0,0 +1,19 @@ +{ + "floor": "04", + "id": "01", + "label": "04-01", + "title": "Incubation Centre 1", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/01/index.json", + "description": "", + "features": "These space is to be used as the Incubation Centre for start-ups, Industry-Funded Laboratories (such as the Cambio Lab)", + "tags": [ + "" + ], + "accessibility": [] +} \ No newline at end of file diff --git a/locations/v1/04/02/index.json b/locations/v1/04/02/index.json new file mode 100644 index 00000000..5f29b1d7 --- /dev/null +++ b/locations/v1/04/02/index.json @@ -0,0 +1,19 @@ +{ + "floor": "04", + "id": "02", + "label": "04-02", + "title": "Incubation Centre 2", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/02/index.json", + "description": "", + "features": "These space is to be used as the Incubation Centre for start-ups, Industry-Funded Laboratories (such as the Cambio Lab)", + "tags": [ + "" + ], + "accessibility": [] +} \ No newline at end of file diff --git a/locations/v1/04/03/index.json b/locations/v1/04/03/index.json new file mode 100644 index 00000000..e814ac9a --- /dev/null +++ b/locations/v1/04/03/index.json @@ -0,0 +1,19 @@ +{ + "floor": "04", + "id": "03", + "label": "04-03", + "title": "Incubation Centre 3", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/03/index.json", + "description": "", + "features": "These space is to be used as the Incubation Centre for start-ups, Industry-Funded Laboratories (such as the Cambio Lab)", + "tags": [ + "" + ], + "accessibility": [] +} \ No newline at end of file diff --git a/locations/v1/04/04/index.json b/locations/v1/04/04/index.json new file mode 100644 index 00000000..b50fd334 --- /dev/null +++ b/locations/v1/04/04/index.json @@ -0,0 +1,19 @@ +{ + "floor": "04", + "id": "04", + "label": "04-04", + "title": "Incubation Centre 4", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/04/index.json", + "description": "", + "features": "These space is to be used as the Incubation Centre for start-ups, Industry-Funded Laboratories (such as the Cambio Lab)", + "tags": [ + "" + ], + "accessibility": [] +} \ No newline at end of file diff --git a/locations/v1/04/05/index.json b/locations/v1/04/05/index.json new file mode 100644 index 00000000..27f431bc --- /dev/null +++ b/locations/v1/04/05/index.json @@ -0,0 +1,21 @@ +{ + "floor": "04", + "id": "05", + "label": "04-05", + "title": "Lecturer's Room 1", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/05/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] +} \ No newline at end of file diff --git a/locations/v1/04/06/index.json b/locations/v1/04/06/index.json new file mode 100644 index 00000000..4b651ccb --- /dev/null +++ b/locations/v1/04/06/index.json @@ -0,0 +1,21 @@ +{ + "floor": "04", + "id": "06", + "label": "04-06", + "title": "Lecturer's Room 2", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/06/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] +} \ No newline at end of file diff --git a/locations/v1/04/07G/index.json b/locations/v1/04/07G/index.json new file mode 100644 index 00000000..11c06681 --- /dev/null +++ b/locations/v1/04/07G/index.json @@ -0,0 +1,19 @@ +{ + "floor": "04", + "id": "07G", + "label": "04-07G", + "title": "Gents Washroom", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/07G/index.json", + "description": "These washromms are For the use of Gents", + "features": "", + "tags": [ + "public" + ], + "accessibility": [] +} \ No newline at end of file diff --git a/locations/v1/04/07L/index.json b/locations/v1/04/07L/index.json new file mode 100644 index 00000000..8cf1821b --- /dev/null +++ b/locations/v1/04/07L/index.json @@ -0,0 +1,19 @@ +{ + "floor": "04", + "id": "07L", + "label": "04-07L", + "title": "Ladies Washroom", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/07L/index.json", + "description": "These washromms are For the use of Ladies", + "features": "", + "tags": [ + "public" + ], + "accessibility": [] +} \ No newline at end of file diff --git a/locations/v1/04/08/index.json b/locations/v1/04/08/index.json new file mode 100644 index 00000000..c70ee75d --- /dev/null +++ b/locations/v1/04/08/index.json @@ -0,0 +1,25 @@ +{ + "floor": "04", + "id": "08", + "label": "04-08", + "title": "Computer Laboratory 1", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "70", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/08/index.json", + "description": "This lab has teaching aids, facilities like Multimedia Projector", + "features": "This is the main computer laboratory of the department", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/04/09/index.json b/locations/v1/04/09/index.json new file mode 100644 index 00000000..a95fb9c0 --- /dev/null +++ b/locations/v1/04/09/index.json @@ -0,0 +1,21 @@ +{ + "floor": "04", + "id": "09", + "label": "04-09", + "title": "Lecturer's Room 3", + "contact": { + "tele": "", + "email": "dhammika@eng.pdn.ac.lk" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/09/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] +} \ No newline at end of file diff --git a/locations/v1/04/10/index.json b/locations/v1/04/10/index.json new file mode 100644 index 00000000..8d629b99 --- /dev/null +++ b/locations/v1/04/10/index.json @@ -0,0 +1,21 @@ +{ + "floor": "04", + "id": "10", + "label": "04-10", + "title": "Lecturer's Room 4", + "contact": { + "tele": "", + "email": "upuljm@eng.pdn.ac.lk" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/10/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] +} \ No newline at end of file diff --git a/locations/v1/04/11/index.json b/locations/v1/04/11/index.json new file mode 100644 index 00000000..5a576a2b --- /dev/null +++ b/locations/v1/04/11/index.json @@ -0,0 +1,21 @@ +{ + "floor": "04", + "id": "11", + "label": "04-11", + "title": "Lecturer's Room 5", + "contact": { + "tele": "", + "email": "alawatugoda@eng.pdn.ac.lk" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/11/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] +} \ No newline at end of file diff --git a/locations/v1/04/12/index.json b/locations/v1/04/12/index.json new file mode 100644 index 00000000..fb53572c --- /dev/null +++ b/locations/v1/04/12/index.json @@ -0,0 +1,21 @@ +{ + "floor": "04", + "id": "12", + "label": "04-12", + "title": "Server room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "https://ce.pdn.ac.lk/facilities/server-room", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/12/index.json", + "description": "This space for Department servers", + "features": "", + "tags": [ + "authorized" + ], + "accessibility": [ + "TECHNICAL_OFFICERS" + ] +} \ No newline at end of file diff --git a/locations/v1/04/13/index.json b/locations/v1/04/13/index.json new file mode 100644 index 00000000..7a2ae13d --- /dev/null +++ b/locations/v1/04/13/index.json @@ -0,0 +1,22 @@ +{ + "floor": "04", + "id": "13", + "label": "04-13", + "title": "Insructors' Room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/13/index.json", + "description": "This contains a working space for two people and a storage", + "features": "This is the room for Instructors and Past Graduate students", + "tags": [ + "staff" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/04/CR01/index.json b/locations/v1/04/CR01/index.json new file mode 100644 index 00000000..e73d55e9 --- /dev/null +++ b/locations/v1/04/CR01/index.json @@ -0,0 +1,25 @@ +{ + "floor": "04", + "id": "CR01", + "label": "04-CR01", + "title": "Corridor 1", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/CR01/index.json", + "description": "This corridor can be used to reach lift,corridor2,instructor room,staircase,computer lab1 and washrooms", + "features": "", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/04/CR02/index.json b/locations/v1/04/CR02/index.json new file mode 100644 index 00000000..f3d3c036 --- /dev/null +++ b/locations/v1/04/CR02/index.json @@ -0,0 +1,25 @@ +{ + "floor": "04", + "id": "CR02", + "label": "04-CR02", + "title": "Corridor 2", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/CR02/index.json", + "description": "This corridor can be used to enter to the computer vision lab,main room and operators", + "features": "", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/04/ENTR/index.json b/locations/v1/04/ENTR/index.json new file mode 100644 index 00000000..243c2cba --- /dev/null +++ b/locations/v1/04/ENTR/index.json @@ -0,0 +1,25 @@ +{ + "floor": "04", + "id": "ENTR", + "label": "04-ENTR", + "title": "Staircase", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/ENTR/index.json", + "description": "Entrance and the Exit points are in here", + "features": "The lift or the staircases to enter other lower floors can be accessed from here", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/04/LIFT/index.json b/locations/v1/04/LIFT/index.json new file mode 100644 index 00000000..cf421603 --- /dev/null +++ b/locations/v1/04/LIFT/index.json @@ -0,0 +1,21 @@ +{ + "floor": "04", + "id": "LIFT", + "label": "04-LIFT", + "title": "Lift", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/LIFT/index.json", + "description": "Can be used to enter other floors", + "features": "", + "tags": [ + "public" + ], + "accessibility": [ + "NONE" + ] +} \ No newline at end of file diff --git a/locations/v1/04/OP/index.json b/locations/v1/04/OP/index.json new file mode 100644 index 00000000..ccbabf4c --- /dev/null +++ b/locations/v1/04/OP/index.json @@ -0,0 +1,21 @@ +{ + "floor": "04", + "id": "OP", + "label": "04-OP", + "title": "Operator-room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/OP/index.json", + "description": "", + "features": "", + "tags": [ + "authorized" + ], + "accessibility": [ + "TECHNICAL_OFFICERS" + ] +} \ No newline at end of file diff --git a/locations/v1/04/index.json b/locations/v1/04/index.json new file mode 100644 index 00000000..636fe17b --- /dev/null +++ b/locations/v1/04/index.json @@ -0,0 +1,434 @@ +{ + "title": "04", + "locations": [ + { + "floor": "04", + "id": "01", + "label": "04-01", + "title": "Incubation Centre 1", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/01/index.json", + "description": "", + "features": "These space is to be used as the Incubation Centre for start-ups, Industry-Funded Laboratories (such as the Cambio Lab)", + "tags": [ + "" + ], + "accessibility": [] + }, + { + "floor": "04", + "id": "02", + "label": "04-02", + "title": "Incubation Centre 2", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/02/index.json", + "description": "", + "features": "These space is to be used as the Incubation Centre for start-ups, Industry-Funded Laboratories (such as the Cambio Lab)", + "tags": [ + "" + ], + "accessibility": [] + }, + { + "floor": "04", + "id": "03", + "label": "04-03", + "title": "Incubation Centre 3", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/03/index.json", + "description": "", + "features": "These space is to be used as the Incubation Centre for start-ups, Industry-Funded Laboratories (such as the Cambio Lab)", + "tags": [ + "" + ], + "accessibility": [] + }, + { + "floor": "04", + "id": "04", + "label": "04-04", + "title": "Incubation Centre 4", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/04/index.json", + "description": "", + "features": "These space is to be used as the Incubation Centre for start-ups, Industry-Funded Laboratories (such as the Cambio Lab)", + "tags": [ + "" + ], + "accessibility": [] + }, + { + "floor": "04", + "id": "00", + "label": "04-00", + "title": "ESCAL Computer Vision Lab", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "4", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/00/index.json", + "description": "This is for computer vision related projects,work", + "features": "This is for computer vision related projects,work", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "04", + "id": "05", + "label": "04-05", + "title": "Lecturer's Room 1", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/05/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "04", + "id": "06", + "label": "04-06", + "title": "Lecturer's Room 2", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/06/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "04", + "id": "08", + "label": "04-08", + "title": "Computer Laboratory 1", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "70", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/08/index.json", + "description": "This lab has teaching aids, facilities like Multimedia Projector", + "features": "This is the main computer laboratory of the department", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "04", + "id": "09", + "label": "04-09", + "title": "Lecturer's Room 3", + "contact": { + "tele": "", + "email": "dhammika@eng.pdn.ac.lk" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/09/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "04", + "id": "10", + "label": "04-10", + "title": "Lecturer's Room 4", + "contact": { + "tele": "", + "email": "upuljm@eng.pdn.ac.lk" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/10/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "04", + "id": "11", + "label": "04-11", + "title": "Lecturer's Room 5", + "contact": { + "tele": "", + "email": "alawatugoda@eng.pdn.ac.lk" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/11/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "04", + "id": "12", + "label": "04-12", + "title": "Server room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "https://ce.pdn.ac.lk/facilities/server-room", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/12/index.json", + "description": "This space for Department servers", + "features": "", + "tags": [ + "authorized" + ], + "accessibility": [ + "TECHNICAL_OFFICERS" + ] + }, + { + "floor": "04", + "id": "13", + "label": "04-13", + "title": "Insructors' Room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/13/index.json", + "description": "This contains a working space for two people and a storage", + "features": "This is the room for Instructors and Past Graduate students", + "tags": [ + "staff" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES" + ] + }, + { + "floor": "04", + "id": "07L", + "label": "04-07L", + "title": "Ladies Washroom", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/07L/index.json", + "description": "These washromms are For the use of Ladies", + "features": "", + "tags": [ + "public" + ], + "accessibility": [] + }, + { + "floor": "04", + "id": "07G", + "label": "04-07G", + "title": "Gents Washroom", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/07G/index.json", + "description": "These washromms are For the use of Gents", + "features": "", + "tags": [ + "public" + ], + "accessibility": [] + }, + { + "floor": "04", + "id": "ENTR", + "label": "04-ENTR", + "title": "Staircase", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/ENTR/index.json", + "description": "Entrance and the Exit points are in here", + "features": "The lift or the staircases to enter other lower floors can be accessed from here", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "04", + "id": "CR01", + "label": "04-CR01", + "title": "Corridor 1", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/CR01/index.json", + "description": "This corridor can be used to reach lift,corridor2,instructor room,staircase,computer lab1 and washrooms", + "features": "", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "04", + "id": "LIFT", + "label": "04-LIFT", + "title": "Lift", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/LIFT/index.json", + "description": "Can be used to enter other floors", + "features": "", + "tags": [ + "public" + ], + "accessibility": [ + "NONE" + ] + }, + { + "floor": "04", + "id": "OP", + "label": "04-OP", + "title": "Operator-room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/OP/index.json", + "description": "", + "features": "", + "tags": [ + "authorized" + ], + "accessibility": [ + "TECHNICAL_OFFICERS" + ] + }, + { + "floor": "04", + "id": "CR02", + "label": "04-CR02", + "title": "Corridor 2", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/CR02/index.json", + "description": "This corridor can be used to enter to the computer vision lab,main room and operators", + "features": "", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + } + ] +} \ No newline at end of file diff --git a/locations/v1/G/01/index.json b/locations/v1/G/01/index.json new file mode 100644 index 00000000..21b7fe79 --- /dev/null +++ b/locations/v1/G/01/index.json @@ -0,0 +1,25 @@ +{ + "floor": "G", + "id": "01", + "label": "G-01", + "title": "Department Office", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "http://www.ce.pdn.ac.lk/", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/01/index.json", + "description": "", + "features": "", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/G/02/index.json b/locations/v1/G/02/index.json new file mode 100644 index 00000000..a8fb83ad --- /dev/null +++ b/locations/v1/G/02/index.json @@ -0,0 +1,26 @@ +{ + "floor": "G", + "id": "02", + "label": "G-02", + "title": "HoD Office", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/02/index.json", + "description": "", + "features": "", + "tags": [ + " staff", + "private" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/G/03/index.json b/locations/v1/G/03/index.json new file mode 100644 index 00000000..57d30979 --- /dev/null +++ b/locations/v1/G/03/index.json @@ -0,0 +1,25 @@ +{ + "floor": "G", + "id": "03", + "label": "G-03", + "title": "Conference Room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "15", + "url": "https://ce.pdn.ac.lk/facilities/conference-room/", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/03/index.json", + "description": "This is for official gatherings", + "features": "This conference room has facilities like Smart Display,Conference Camera, Conference Mic", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/G/04/index.json b/locations/v1/G/04/index.json new file mode 100644 index 00000000..259e16ca --- /dev/null +++ b/locations/v1/G/04/index.json @@ -0,0 +1,25 @@ +{ + "floor": "G", + "id": "04", + "label": "G-04", + "title": "Central Lobby", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/04/index.json", + "description": "This is a transit area", + "features": "This space consists of a library and a museaum", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/G/05/index.json b/locations/v1/G/05/index.json new file mode 100644 index 00000000..80a7ff03 --- /dev/null +++ b/locations/v1/G/05/index.json @@ -0,0 +1,21 @@ +{ + "floor": "G", + "id": "05", + "label": "G-05", + "title": "Filing Room & Storage", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/05/index.json", + "description": "It has a Storage area", + "features": "", + "tags": [ + "authorized" + ], + "accessibility": [ + "TECHNICAL_OFFICERS" + ] +} \ No newline at end of file diff --git a/locations/v1/G/06/index.json b/locations/v1/G/06/index.json new file mode 100644 index 00000000..3e6e4144 --- /dev/null +++ b/locations/v1/G/06/index.json @@ -0,0 +1,23 @@ +{ + "floor": "G", + "id": "06", + "label": "G-06", + "title": "Staff Common Room 1", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/06/index.json", + "description": "Currently used by TOs", + "features": "It has facilities for staff gatherings", + "tags": [ + "staff" + ], + "accessibility": [ + "INSTRUCTORS", + "STAFF", + "TECHNICAL_OFFICERS" + ] +} \ No newline at end of file diff --git a/locations/v1/G/07/index.json b/locations/v1/G/07/index.json new file mode 100644 index 00000000..b5052450 --- /dev/null +++ b/locations/v1/G/07/index.json @@ -0,0 +1,23 @@ +{ + "floor": "G", + "id": "07", + "label": "G-07", + "title": "Staff Common Room 2", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/07/index.json", + "description": "to be used for lunch, tea and other informal gatherings.", + "features": "It has facilities for gatherings", + "tags": [ + "staff" + ], + "accessibility": [ + "INSTRUCTORS", + "STAFF", + "TECHNICAL_OFFICERS" + ] +} \ No newline at end of file diff --git a/locations/v1/G/08/index.json b/locations/v1/G/08/index.json new file mode 100644 index 00000000..2420764a --- /dev/null +++ b/locations/v1/G/08/index.json @@ -0,0 +1,25 @@ +{ + "floor": "G", + "id": "08", + "label": "G-08", + "title": "Open Lab 1", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "30-40", + "url": "https://ce.pdn.ac.lk/facilities/open-lab", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/08/index.json", + "description": "Whiteboards and facilities for using laptops", + "features": "This is used by students for group-work, 'tech-talks', etc..After Hours access through G11", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/G/09/index.json b/locations/v1/G/09/index.json new file mode 100644 index 00000000..01e4eec4 --- /dev/null +++ b/locations/v1/G/09/index.json @@ -0,0 +1,25 @@ +{ + "floor": "G", + "id": "09", + "label": "G-09", + "title": "Open Lab 2", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "5-10", + "url": "https://ce.pdn.ac.lk/facilities/open-lab", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/09/index.json", + "description": "Open lab with Sofa and some seating arrangements", + "features": "This is used by students for group-work, 'tech-talks', etc..After Hours access through G11", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/G/10G/index.json b/locations/v1/G/10G/index.json new file mode 100644 index 00000000..a5d69e9b --- /dev/null +++ b/locations/v1/G/10G/index.json @@ -0,0 +1,25 @@ +{ + "floor": "G", + "id": "10G", + "label": "G-10G", + "title": "Gents Washrooms", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/10G/index.json", + "description": "", + "features": "", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/G/10L/index.json b/locations/v1/G/10L/index.json new file mode 100644 index 00000000..349365db --- /dev/null +++ b/locations/v1/G/10L/index.json @@ -0,0 +1,25 @@ +{ + "floor": "G", + "id": "10L", + "label": "G-10L", + "title": "Ladies Washrooms", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/10L/index.json", + "description": "", + "features": "", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/G/11/index.json b/locations/v1/G/11/index.json new file mode 100644 index 00000000..997b23bb --- /dev/null +++ b/locations/v1/G/11/index.json @@ -0,0 +1,25 @@ +{ + "floor": "G", + "id": "11", + "label": "G-11", + "title": "Open lab Entry Lobby", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/11/index.json", + "description": "Providing after hours access to G-08 and G-09", + "features": "This space is used for activities in ACES", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/G/18/index.json b/locations/v1/G/18/index.json new file mode 100644 index 00000000..e1620227 --- /dev/null +++ b/locations/v1/G/18/index.json @@ -0,0 +1,25 @@ +{ + "floor": "G", + "id": "18", + "label": "G-18", + "title": "Entrance Lobby", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/18/index.json", + "description": "This is the entrance area", + "features": "Seating arrangements are in this entrance area", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/G/CR01/index.json b/locations/v1/G/CR01/index.json new file mode 100644 index 00000000..9a89626b --- /dev/null +++ b/locations/v1/G/CR01/index.json @@ -0,0 +1,25 @@ +{ + "floor": "G", + "id": "CR01", + "label": "G-CR01", + "title": "Corridor", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/CR01/index.json", + "description": "This corridor connects central lobby,department office,conference room, operator room", + "features": "", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/G/LIFT/index.json b/locations/v1/G/LIFT/index.json new file mode 100644 index 00000000..6719b736 --- /dev/null +++ b/locations/v1/G/LIFT/index.json @@ -0,0 +1,21 @@ +{ + "floor": "G", + "id": "LIFT", + "label": "G-LIFT", + "title": "Lift", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/LIFT/index.json", + "description": "Can be used to enter other floors", + "features": "", + "tags": [ + "public" + ], + "accessibility": [ + "NONE" + ] +} \ No newline at end of file diff --git a/locations/v1/G/OP/index.json b/locations/v1/G/OP/index.json new file mode 100644 index 00000000..66c3018f --- /dev/null +++ b/locations/v1/G/OP/index.json @@ -0,0 +1,21 @@ +{ + "floor": "G", + "id": "OP", + "label": "G-OP", + "title": "Operator-room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/OP/index.json", + "description": "", + "features": "", + "tags": [ + "authorized" + ], + "accessibility": [ + "TECHNICAL_OFFICERS" + ] +} \ No newline at end of file diff --git a/locations/v1/G/OUTSIDE/index.json b/locations/v1/G/OUTSIDE/index.json new file mode 100644 index 00000000..af5217bb --- /dev/null +++ b/locations/v1/G/OUTSIDE/index.json @@ -0,0 +1,25 @@ +{ + "floor": "G", + "id": "OUTSIDE", + "label": "G-OUTSIDE", + "title": "Garden", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/OUTSIDE/index.json", + "description": "", + "features": "This is the outside area of the Dept", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] +} \ No newline at end of file diff --git a/locations/v1/G/index.json b/locations/v1/G/index.json new file mode 100644 index 00000000..d56961b4 --- /dev/null +++ b/locations/v1/G/index.json @@ -0,0 +1,415 @@ +{ + "title": "G", + "locations": [ + { + "floor": "G", + "id": "01", + "label": "G-01", + "title": "Department Office", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "http://www.ce.pdn.ac.lk/", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/01/index.json", + "description": "", + "features": "", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "G", + "id": "02", + "label": "G-02", + "title": "HoD Office", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/02/index.json", + "description": "", + "features": "", + "tags": [ + " staff", + "private" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "G", + "id": "03", + "label": "G-03", + "title": "Conference Room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "15", + "url": "https://ce.pdn.ac.lk/facilities/conference-room/", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/03/index.json", + "description": "This is for official gatherings", + "features": "This conference room has facilities like Smart Display,Conference Camera, Conference Mic", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "G", + "id": "04", + "label": "G-04", + "title": "Central Lobby", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/04/index.json", + "description": "This is a transit area", + "features": "This space consists of a library and a museaum", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "G", + "id": "05", + "label": "G-05", + "title": "Filing Room & Storage", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/05/index.json", + "description": "It has a Storage area", + "features": "", + "tags": [ + "authorized" + ], + "accessibility": [ + "TECHNICAL_OFFICERS" + ] + }, + { + "floor": "G", + "id": "06", + "label": "G-06", + "title": "Staff Common Room 1", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/06/index.json", + "description": "Currently used by TOs", + "features": "It has facilities for staff gatherings", + "tags": [ + "staff" + ], + "accessibility": [ + "INSTRUCTORS", + "STAFF", + "TECHNICAL_OFFICERS" + ] + }, + { + "floor": "G", + "id": "07", + "label": "G-07", + "title": "Staff Common Room 2", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/07/index.json", + "description": "to be used for lunch, tea and other informal gatherings.", + "features": "It has facilities for gatherings", + "tags": [ + "staff" + ], + "accessibility": [ + "INSTRUCTORS", + "STAFF", + "TECHNICAL_OFFICERS" + ] + }, + { + "floor": "G", + "id": "08", + "label": "G-08", + "title": "Open Lab 1", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "30-40", + "url": "https://ce.pdn.ac.lk/facilities/open-lab", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/08/index.json", + "description": "Whiteboards and facilities for using laptops", + "features": "This is used by students for group-work, 'tech-talks', etc..After Hours access through G11", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "G", + "id": "09", + "label": "G-09", + "title": "Open Lab 2", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "5-10", + "url": "https://ce.pdn.ac.lk/facilities/open-lab", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/09/index.json", + "description": "Open lab with Sofa and some seating arrangements", + "features": "This is used by students for group-work, 'tech-talks', etc..After Hours access through G11", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "G", + "id": "10G", + "label": "G-10G", + "title": "Gents Washrooms", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/10G/index.json", + "description": "", + "features": "", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "G", + "id": "10L", + "label": "G-10L", + "title": "Ladies Washrooms", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/10L/index.json", + "description": "", + "features": "", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "G", + "id": "11", + "label": "G-11", + "title": "Open lab Entry Lobby", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/11/index.json", + "description": "Providing after hours access to G-08 and G-09", + "features": "This space is used for activities in ACES", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "G", + "id": "OUTSIDE", + "label": "G-OUTSIDE", + "title": "Garden", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/OUTSIDE/index.json", + "description": "", + "features": "This is the outside area of the Dept", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "G", + "id": "CR01", + "label": "G-CR01", + "title": "Corridor", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/CR01/index.json", + "description": "This corridor connects central lobby,department office,conference room, operator room", + "features": "", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "G", + "id": "LIFT", + "label": "G-LIFT", + "title": "Lift", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/LIFT/index.json", + "description": "Can be used to enter other floors", + "features": "", + "tags": [ + "public" + ], + "accessibility": [ + "NONE" + ] + }, + { + "floor": "G", + "id": "OP", + "label": "G-OP", + "title": "Operator-room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/OP/index.json", + "description": "", + "features": "", + "tags": [ + "authorized" + ], + "accessibility": [ + "TECHNICAL_OFFICERS" + ] + }, + { + "floor": "G", + "id": "18", + "label": "G-18", + "title": "Entrance Lobby", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/18/index.json", + "description": "This is the entrance area", + "features": "Seating arrangements are in this entrance area", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + } + ] +} \ No newline at end of file diff --git a/locations/v1/all/index.json b/locations/v1/all/index.json new file mode 100644 index 00000000..76a07dd0 --- /dev/null +++ b/locations/v1/all/index.json @@ -0,0 +1,1807 @@ +{ + "G": { + "title": "G", + "locations": [ + { + "floor": "G", + "id": "01", + "label": "G-01", + "title": "Department Office", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "http://www.ce.pdn.ac.lk/", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/01/index.json", + "description": "", + "features": "", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "G", + "id": "02", + "label": "G-02", + "title": "HoD Office", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/02/index.json", + "description": "", + "features": "", + "tags": [ + " staff", + "private" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "G", + "id": "03", + "label": "G-03", + "title": "Conference Room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "15", + "url": "https://ce.pdn.ac.lk/facilities/conference-room/", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/03/index.json", + "description": "This is for official gatherings", + "features": "This conference room has facilities like Smart Display,Conference Camera, Conference Mic", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "G", + "id": "04", + "label": "G-04", + "title": "Central Lobby", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/04/index.json", + "description": "This is a transit area", + "features": "This space consists of a library and a museaum", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "G", + "id": "05", + "label": "G-05", + "title": "Filing Room & Storage", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/05/index.json", + "description": "It has a Storage area", + "features": "", + "tags": [ + "authorized" + ], + "accessibility": [ + "TECHNICAL_OFFICERS" + ] + }, + { + "floor": "G", + "id": "06", + "label": "G-06", + "title": "Staff Common Room 1", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/06/index.json", + "description": "Currently used by TOs", + "features": "It has facilities for staff gatherings", + "tags": [ + "staff" + ], + "accessibility": [ + "INSTRUCTORS", + "STAFF", + "TECHNICAL_OFFICERS" + ] + }, + { + "floor": "G", + "id": "07", + "label": "G-07", + "title": "Staff Common Room 2", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/07/index.json", + "description": "to be used for lunch, tea and other informal gatherings.", + "features": "It has facilities for gatherings", + "tags": [ + "staff" + ], + "accessibility": [ + "INSTRUCTORS", + "STAFF", + "TECHNICAL_OFFICERS" + ] + }, + { + "floor": "G", + "id": "08", + "label": "G-08", + "title": "Open Lab 1", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "30-40", + "url": "https://ce.pdn.ac.lk/facilities/open-lab", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/08/index.json", + "description": "Whiteboards and facilities for using laptops", + "features": "This is used by students for group-work, 'tech-talks', etc..After Hours access through G11", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "G", + "id": "09", + "label": "G-09", + "title": "Open Lab 2", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "5-10", + "url": "https://ce.pdn.ac.lk/facilities/open-lab", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/09/index.json", + "description": "Open lab with Sofa and some seating arrangements", + "features": "This is used by students for group-work, 'tech-talks', etc..After Hours access through G11", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "G", + "id": "10G", + "label": "G-10G", + "title": "Gents Washrooms", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/10G/index.json", + "description": "", + "features": "", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "G", + "id": "10L", + "label": "G-10L", + "title": "Ladies Washrooms", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/10L/index.json", + "description": "", + "features": "", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "G", + "id": "11", + "label": "G-11", + "title": "Open lab Entry Lobby", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/11/index.json", + "description": "Providing after hours access to G-08 and G-09", + "features": "This space is used for activities in ACES", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "G", + "id": "OUTSIDE", + "label": "G-OUTSIDE", + "title": "Garden", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/OUTSIDE/index.json", + "description": "", + "features": "This is the outside area of the Dept", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "G", + "id": "CR01", + "label": "G-CR01", + "title": "Corridor", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/CR01/index.json", + "description": "This corridor connects central lobby,department office,conference room, operator room", + "features": "", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "G", + "id": "LIFT", + "label": "G-LIFT", + "title": "Lift", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/LIFT/index.json", + "description": "Can be used to enter other floors", + "features": "", + "tags": [ + "public" + ], + "accessibility": [ + "NONE" + ] + }, + { + "floor": "G", + "id": "OP", + "label": "G-OP", + "title": "Operator-room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/OP/index.json", + "description": "", + "features": "", + "tags": [ + "authorized" + ], + "accessibility": [ + "TECHNICAL_OFFICERS" + ] + }, + { + "floor": "G", + "id": "18", + "label": "G-18", + "title": "Entrance Lobby", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/18/index.json", + "description": "This is the entrance area", + "features": "Seating arrangements are in this entrance area", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + } + ] + }, + "01": { + "title": "01", + "locations": [ + { + "floor": "01", + "id": "01", + "label": "01-01", + "title": "Technical Officer's room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/01/index.json", + "description": "This belongs to first Floor", + "features": "This room is used by Technical officer and assistant", + "tags": [ + "staff" + ], + "accessibility": [ + "TECHNICAL_OFFICERS" + ] + }, + { + "floor": "01", + "id": "02", + "label": "01-02", + "title": "Insructors' Room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/02/index.json", + "description": "This contains a working space for four", + "features": "This is the room for Instructors and Past Graduate students", + "tags": [ + "staff" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES" + ] + }, + { + "floor": "01", + "id": "03", + "label": "01-03", + "title": "Lecturer's Room 1", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/03/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "01", + "id": "04", + "label": "01-04", + "title": "Lecturer's Room 2", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/04/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "01", + "id": "05", + "label": "01-05", + "title": "Lecturer's Room 3", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/05/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "01", + "id": "06", + "label": "01-06", + "title": "Lecturer's Room 4", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/06/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "01", + "id": "07", + "label": "01-07", + "title": "Lecturer's Room 5", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/07/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "01", + "id": "08", + "label": "01-08", + "title": "Lecturer's Room 6", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/08/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "01", + "id": "09", + "label": "01-09", + "title": "Network & Communication Lab", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "30", + "url": "https://ce.pdn.ac.lk/facilities/networking-lab", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/09/index.json", + "description": "This lab has Computers, Networking Devices etc.", + "features": "This lab is used for Networking related courses", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "01", + "id": "CR01", + "label": "01-CR01", + "title": "Corridor-01", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/CR01/index.json", + "description": "This belongs to floor 1", + "features": "This corridor can be used to reach Lecturers' Room 1, 2, Instructors' Room and the Main room", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "01", + "id": "ENTR", + "label": "01-ENTR", + "title": "Main Room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/ENTR/index.json", + "description": "Entrance and the Exit points are in here", + "features": "The lift or the staircases to enter other floors can be accessed from here", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "01", + "id": "OP", + "label": "01-OP", + "title": "Operator-room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/OP/index.json", + "description": "This belongs to Floor1", + "features": "", + "tags": [ + "authorized" + ], + "accessibility": [ + "TECHNICAL_OFFICERS" + ] + }, + { + "floor": "01", + "id": "LIFT", + "label": "01-LIFT", + "title": "Lift", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/LIFT/index.json", + "description": "This belongs to Floor1", + "features": "Can be used to enter other floors", + "tags": [ + "public" + ], + "accessibility": [ + "NONE" + ] + }, + { + "floor": "01", + "id": "00", + "label": "01-00", + "title": "Computer Laboratory 2", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "64", + "url": "https://ce.pdn.ac.lk/facilities/computer-lab2", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/00/index.json", + "description": "This lab contains 2 built in projectors and screens and 64 computers", + "features": "Can be used for lab activities", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + } + ] + }, + "02": { + "title": "02", + "locations": [ + { + "floor": "02", + "id": "01", + "label": "02-01", + "title": "Technical Offcer's room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/01/index.json", + "description": "This room is used by Technical officer and assistant.Mr.Kelum is currently incharge in here", + "features": "This room has a Hardware component storage", + "tags": [ + "staff" + ], + "accessibility": [ + "TECHNICAL_OFFICERS" + ] + }, + { + "floor": "02", + "id": "02", + "label": "02-02", + "title": "Insructors' Room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/02/index.json", + "description": "This is the room for Instructors and Post Graduate students", + "features": "This room has working space for four", + "tags": [ + "staff" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES" + ] + }, + { + "floor": "02", + "id": "03", + "label": "02-03", + "title": "Industrial Automation Laboratory", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "6", + "url": "https://ce.pdn.ac.lk/facilities/industrial-automation-lab", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/03/index.json", + "description": "This lab is used for related lab activities", + "features": "This lab has PLC Boards, Industrial Conveyor Belts", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "02", + "id": "09", + "label": "02-09", + "title": "Discussion Room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/09/index.json", + "description": "This room is used to have discussions of projects,activities etc", + "features": "This has a space for 30 students and White Boards and study tables are availbale", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "02", + "id": "05", + "label": "02-05", + "title": "Lecturer's Room 1", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/05/index.json", + "description": "https://people.ce.pdn.ac.lk/staff/academic/", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "02", + "id": "06", + "label": "02-06", + "title": "Lecturer's Room 2", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/06/index.json", + "description": "https://people.ce.pdn.ac.lk/staff/academic/", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "02", + "id": "07", + "label": "02-07", + "title": "Lecturer's Room 3", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/07/index.json", + "description": "https://people.ce.pdn.ac.lk/staff/academic/", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "02", + "id": "08", + "label": "02-08", + "title": "Lecturer's Room 4", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/08/index.json", + "description": "https://people.ce.pdn.ac.lk/staff/academic/", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "02", + "id": "ENTR", + "label": "02-ENTR", + "title": "Main Room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/ENTR/index.json", + "description": "The lift or the staircases to enter other floors can be accessed from here", + "features": "Entrance and the Exit points are in here", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "02", + "id": "LIFT", + "label": "02-LIFT", + "title": "Lift", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/LIFT/index.json", + "description": "Can be used to enter other floors", + "features": "This belongs to Floor2", + "tags": [ + "public" + ], + "accessibility": [ + "NONE" + ] + }, + { + "floor": "02", + "id": "CR01", + "label": "02-CR01", + "title": "Corridor", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/CR01/index.json", + "description": "This corridor can be used to reach discussion room,Hardware & CI lab,TO room and Main room", + "features": "This belongs to floor 2", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "02", + "id": "OP", + "label": "02-OP", + "title": "Operator-room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/OP/index.json", + "description": "", + "features": "This belongs to second Floor", + "tags": [ + "authorized" + ], + "accessibility": [ + "TECHNICAL_OFFICERS" + ] + }, + { + "floor": "02", + "id": "00", + "label": "02-00", + "title": "Hardware & Computer Interfacing Lab", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "60", + "url": "https://ce.pdn.ac.lk/facilities/hardware-and-interfacing-lab/", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/00/index.json", + "description": "This lab is used for Digital Design, Embedded Systems and other courses", + "features": "This lab contains 30 Computers, Oscilloscopes, Power Supplies, Signal Generators", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + } + ] + }, + "03": { + "title": "03", + "locations": [ + { + "floor": "03", + "id": "01", + "label": "03-01", + "title": "Lecturer's Room 2", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/01/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "03", + "id": "02", + "label": "03-02", + "title": "Lecturer's Room 3", + "contact": { + "tele": "", + "email": "sithuminie@eng.pdn.ac.lk" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/02/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "03", + "id": "03", + "label": "03-03", + "title": "Lecturer's Room 4", + "contact": { + "tele": "", + "email": "mahanamaw@eng.pdn.ac.lk" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/03/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "03", + "id": "04", + "label": "03-04", + "title": "Lecturer's Room 5", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/04/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "03", + "id": "05", + "label": "03-05", + "title": "Lecturer's Room 6", + "contact": { + "tele": "", + "email": "nadeeshaa@eng.pdn.ac.lk" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/05/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "03", + "id": "06", + "label": "03-06", + "title": "Insructors' Room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/06/index.json", + "description": "This contains a working space for six people and a storage", + "features": "This is the room for Instructors and Post Graduate students", + "tags": [ + "staff" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES" + ] + }, + { + "floor": "03", + "id": "07", + "label": "03-07", + "title": "Technical Offcer's room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/07/index.json", + "description": "This space is Additionally used as material storage", + "features": "This room is used by Technical officer and assistant.Mr. Wasundara is currently incharge in here", + "tags": [ + "staff" + ], + "accessibility": [ + "TECHNICAL_OFFICERS" + ] + }, + { + "floor": "03", + "id": "08", + "label": "03-08", + "title": "ESCAL Makerspace Lab", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "20", + "url": "https://ce.pdn.ac.lk/facilities/makerspace", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/08/index.json", + "description": "This lab has PLC Board, Industrial Conveyor Belt", + "features": "This lab has 5 Working Stations with Fabrication facilities", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "03", + "id": "09", + "label": "03-09", + "title": "ESCAL Makerspace-Machine Room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "4", + "url": "https://ce.pdn.ac.lk/facilities/makerspace", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/09/index.json", + "description": "This is for MakerSpace Heavy Machinery Work", + "features": "This is for MakerSpace Heavy Machinery Work", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "03", + "id": "10", + "label": "03-10", + "title": "ESCAL Robotics Lab 1", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "12", + "url": "https://ce.pdn.ac.lk/facilities/robotics-lab", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/10/index.json", + "description": "This is for Robotics related works", + "features": "This is for Robotics related works", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "03", + "id": "CR01", + "label": "03-CR01", + "title": "Corridor", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/CR01/index.json", + "description": "This belongs to floor 3", + "features": "This corridor can be used to reach all 6 lecturer's rooms, instructor room,operator rooma and main room", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "03", + "id": "ENTR", + "label": "03-ENTR", + "title": "Main Room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/ENTR/index.json", + "description": "Entrance and the Exit points are in here", + "features": "The lift or the staircases to enter other floors can be accessed from here", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "03", + "id": "LIFT", + "label": "03-LIFT", + "title": "Lift", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/LIFT/index.json", + "description": "This belongs to Floor3", + "features": "Can be used to enter other floors", + "tags": [ + "public" + ], + "accessibility": [ + "NONE" + ] + }, + { + "floor": "03", + "id": "OP", + "label": "03-OP", + "title": "Operator-room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/OP/index.json", + "description": "This belongs to third Floor", + "features": "", + "tags": [ + "authorized" + ], + "accessibility": [ + "TECHNICAL_OFFICERS" + ] + }, + { + "floor": "03", + "id": "00", + "label": "03-00", + "title": "Lecturer's Room 1", + "contact": { + "tele": "", + "email": "isurunawinne@eng.pdn.ac.lk" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/00/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + } + ] + }, + "04": { + "title": "04", + "locations": [ + { + "floor": "04", + "id": "01", + "label": "04-01", + "title": "Incubation Centre 1", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/01/index.json", + "description": "", + "features": "These space is to be used as the Incubation Centre for start-ups, Industry-Funded Laboratories (such as the Cambio Lab)", + "tags": [ + "" + ], + "accessibility": [] + }, + { + "floor": "04", + "id": "02", + "label": "04-02", + "title": "Incubation Centre 2", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/02/index.json", + "description": "", + "features": "These space is to be used as the Incubation Centre for start-ups, Industry-Funded Laboratories (such as the Cambio Lab)", + "tags": [ + "" + ], + "accessibility": [] + }, + { + "floor": "04", + "id": "03", + "label": "04-03", + "title": "Incubation Centre 3", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/03/index.json", + "description": "", + "features": "These space is to be used as the Incubation Centre for start-ups, Industry-Funded Laboratories (such as the Cambio Lab)", + "tags": [ + "" + ], + "accessibility": [] + }, + { + "floor": "04", + "id": "04", + "label": "04-04", + "title": "Incubation Centre 4", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/04/index.json", + "description": "", + "features": "These space is to be used as the Incubation Centre for start-ups, Industry-Funded Laboratories (such as the Cambio Lab)", + "tags": [ + "" + ], + "accessibility": [] + }, + { + "floor": "04", + "id": "00", + "label": "04-00", + "title": "ESCAL Computer Vision Lab", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "4", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/00/index.json", + "description": "This is for computer vision related projects,work", + "features": "This is for computer vision related projects,work", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "04", + "id": "05", + "label": "04-05", + "title": "Lecturer's Room 1", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/05/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "04", + "id": "06", + "label": "04-06", + "title": "Lecturer's Room 2", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/06/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "04", + "id": "08", + "label": "04-08", + "title": "Computer Laboratory 1", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "70", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/08/index.json", + "description": "This lab has teaching aids, facilities like Multimedia Projector", + "features": "This is the main computer laboratory of the department", + "tags": [ + "lab" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "04", + "id": "09", + "label": "04-09", + "title": "Lecturer's Room 3", + "contact": { + "tele": "", + "email": "dhammika@eng.pdn.ac.lk" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/09/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "04", + "id": "10", + "label": "04-10", + "title": "Lecturer's Room 4", + "contact": { + "tele": "", + "email": "upuljm@eng.pdn.ac.lk" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/10/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "04", + "id": "11", + "label": "04-11", + "title": "Lecturer's Room 5", + "contact": { + "tele": "", + "email": "alawatugoda@eng.pdn.ac.lk" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/11/index.json", + "description": "", + "features": "", + "tags": [ + "staff" + ], + "accessibility": [ + "STAFF" + ] + }, + { + "floor": "04", + "id": "12", + "label": "04-12", + "title": "Server room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "https://ce.pdn.ac.lk/facilities/server-room", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/12/index.json", + "description": "This space for Department servers", + "features": "", + "tags": [ + "authorized" + ], + "accessibility": [ + "TECHNICAL_OFFICERS" + ] + }, + { + "floor": "04", + "id": "13", + "label": "04-13", + "title": "Insructors' Room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/13/index.json", + "description": "This contains a working space for two people and a storage", + "features": "This is the room for Instructors and Past Graduate students", + "tags": [ + "staff" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES" + ] + }, + { + "floor": "04", + "id": "07L", + "label": "04-07L", + "title": "Ladies Washroom", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/07L/index.json", + "description": "These washromms are For the use of Ladies", + "features": "", + "tags": [ + "public" + ], + "accessibility": [] + }, + { + "floor": "04", + "id": "07G", + "label": "04-07G", + "title": "Gents Washroom", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/07G/index.json", + "description": "These washromms are For the use of Gents", + "features": "", + "tags": [ + "public" + ], + "accessibility": [] + }, + { + "floor": "04", + "id": "ENTR", + "label": "04-ENTR", + "title": "Staircase", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/ENTR/index.json", + "description": "Entrance and the Exit points are in here", + "features": "The lift or the staircases to enter other lower floors can be accessed from here", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "04", + "id": "CR01", + "label": "04-CR01", + "title": "Corridor 1", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/CR01/index.json", + "description": "This corridor can be used to reach lift,corridor2,instructor room,staircase,computer lab1 and washrooms", + "features": "", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + }, + { + "floor": "04", + "id": "LIFT", + "label": "04-LIFT", + "title": "Lift", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/LIFT/index.json", + "description": "Can be used to enter other floors", + "features": "", + "tags": [ + "public" + ], + "accessibility": [ + "NONE" + ] + }, + { + "floor": "04", + "id": "OP", + "label": "04-OP", + "title": "Operator-room", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/OP/index.json", + "description": "", + "features": "", + "tags": [ + "authorized" + ], + "accessibility": [ + "TECHNICAL_OFFICERS" + ] + }, + { + "floor": "04", + "id": "CR02", + "label": "04-CR02", + "title": "Corridor 2", + "contact": { + "tele": "", + "email": "" + }, + "capacity": "", + "url": "", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/CR02/index.json", + "description": "This corridor can be used to enter to the computer vision lab,main room and operators", + "features": "", + "tags": [ + "public" + ], + "accessibility": [ + "INSTRUCTORS", + "POSTGRADUATES", + "STAFF", + "TECHNICAL_OFFICERS", + "UNDERGRADUATES" + ] + } + ] + } +} \ No newline at end of file diff --git a/locations/v1/index.json b/locations/v1/index.json new file mode 100644 index 00000000..f5b89cb2 --- /dev/null +++ b/locations/v1/index.json @@ -0,0 +1,32 @@ +{ + "G": { + "floor": "G", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/G/index.json", + "location_count": 17 + }, + "01": { + "floor": "01", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/01/index.json", + "location_count": 14 + }, + "02": { + "floor": "02", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/02/index.json", + "location_count": 13 + }, + "03": { + "floor": "03", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/03/index.json", + "location_count": 15 + }, + "04": { + "floor": "04", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/04/index.json", + "location_count": 20 + }, + "all": { + "floor": "N/A", + "api_url": "https://api.ce.pdn.ac.lk/locations/v1/all/index.json", + "location_count": 79 + } +} \ No newline at end of file diff --git a/pages/home.html b/pages/home.html index a088ed2a..09310404 100644 --- a/pages/home.html +++ b/pages/home.html @@ -139,6 +139,23 @@
Timetable API
+
+
+
+
Location API
+
+
+

+ Under Development +

+ API + Index + + API Documentation +
+
+
+
diff --git a/python_scripts/locations.py b/python_scripts/locations.py new file mode 100644 index 00000000..d5ca4797 --- /dev/null +++ b/python_scripts/locations.py @@ -0,0 +1,167 @@ +# REQUIREMENTS ------------ +# pip install requests +# ------------------------- + +# This script will fetch data from the below Google Sheet +# https://docs.google.com/spreadsheets/d/1b90XI2rIsJJbEYPwvKo24xOvwkHdXG48Nl0vf8Otxmw/edit?usp=sharing + +# TODO: +# No validation done by assume everything is ok, +# But better to write validation logic too + +import requests +import json +import os +import shutil + +from utility import getStaff + +# Use SL timezone +os.environ['TZ'] = 'Asia/Colombo' + +# Where the API is available +apiBase = "https://api.ce.pdn.ac.lk" + +# Where this API locates +apiIndex = 'https://api.ce.pdn.ac.lk/locations/v1' + +# Where the staff data available +staffSource = "../people/v1/staff/all/index.json" + +# Gather Staff API data +staff_file = open(staffSource) +staff = json.load(staff_file) + +enumAccess = { + "S": ["STAFF"], + "I": ["INSTRUCTORS"], + "TO": ["TECHNICAL_OFFICERS"], + "UG": ["UNDERGRADUATES"], + "PG": ["POSTGRADUATES"], + "N": ["NONE"], + "ALL": ["STAFF", "INSTRUCTORS", "TECHNICAL_OFFICERS", "UNDERGRADUATES", "POSTGRADUATES"] +} + + +def del_existing_data(): + dir_path = "../locations/v1/" + try: + shutil.rmtree(dir_path) + except: + print("Error: Folder Not Found!") + + +def write_location(data): + filename = "../locations/v1/{0}/{1}/index.json".format( + data['floor'], data['id']) + # print(filename) + os.makedirs(os.path.dirname(filename), exist_ok=True) + with open(filename, "w") as f: + f.write(json.dumps(data, indent=4)) + + # Debug: + print(data['id']) + # print(' > ', data[''], ',', data[''], '\n') + + +del_existing_data() + +google_form_link = "https://docs.google.com/spreadsheets/d/e/2PACX-1vTr12i7soWZlL1lYDdUMCRs4JAC4W9pnUNuYsCJdyUVB4UPo_MJlFmPVKX2S2YX4d50-KlewwoddYZz/pub?gid=0&single=true&output=tsv" +loc_raw = requests.get(google_form_link, headers={ + 'Cache-Control': 'no-cache'}).text.split("\n") +locations = {} + +ID = 0 +CATEGORY = 1 +NAME = 2 +ACCESSIBILITY = 3 +TAGS = 4 +STAFF = 5 +CONTACT_TELE = 6 +CONTACT_EMAIL = 7 +CAPACITY = 8 +URL = 9 +DESCRIPTION = 10 +FEATURES = 11 + +FIELD_COUNT = 12 + +# Skip the header line +for line in loc_raw[1:]: + loc_raw_data = line.replace('\r', '').split("\t") + + if (len(loc_raw_data) != FIELD_COUNT or loc_raw_data[0] == ""): + continue + + floor_id = loc_raw_data[ID].split("-")[0] + room_id = loc_raw_data[ID].split("-")[1] + + tag_list = loc_raw_data[TAGS].split(",") + + access_list = [] + for access in loc_raw_data[ACCESSIBILITY].split(","): + if access in enumAccess: + access_list.extend(enumAccess[access]) + elif access != "": + print("{0}: Unsupported Tag !".format(access)) + + api_url = "{0}/{1}/{2}/index.json".format(apiIndex, floor_id, room_id) + + loc_data = { + "floor": floor_id, + "id": room_id, + "label": loc_raw_data[ID], + "title": loc_raw_data[NAME], + "contact": { + "tele": loc_raw_data[CONTACT_TELE], + "email": loc_raw_data[CONTACT_EMAIL], + }, + "capacity": loc_raw_data[CAPACITY], + "url": loc_raw_data[URL], + "api_url": api_url, + "description": loc_raw_data[DESCRIPTION], + "features": loc_raw_data[FEATURES], + "tags": sorted(tag_list), + "accessibility": sorted(list(set(access_list))), + } + + write_location(loc_data) + + if floor_id not in locations: + locations[floor_id] = {"title": floor_id, "locations": []} + + locations[floor_id]['locations'].append(loc_data) + +# Write index file +location_index = {} +location_total = 0 +for floor in locations: + location_total = location_total + len(locations[floor]['locations']) + location_index[floor] = { + "floor": floor, + "api_url": "{0}/{1}/index.json".format(apiIndex, floor), + "location_count": len(locations[floor]['locations']) + } +location_index["all"] = { + "floor": "N/A", + "api_url": "{0}/all/index.json".format(apiIndex), + "location_count": location_total +} + +filename = "../locations/v1/index.json" +os.makedirs(os.path.dirname(filename), exist_ok=True) +with open(filename, "w") as f: + f.write(json.dumps(location_index, indent=4)) + +# Write all locations +filename = "../locations/v1/all/index.json" +os.makedirs(os.path.dirname(filename), exist_ok=True) +with open(filename, "w") as f: + f.write(json.dumps(locations, indent=4)) + +# Write locations by floors +for floor in locations: + filename = "../locations/v1/{0}/index.json".format(floor) + os.makedirs(os.path.dirname(filename), exist_ok=True) + with open(filename, "w") as f: + f.write(json.dumps(locations[floor], indent=4))