Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Collection
- {
- "locations": {
- // Documents
- {
- "locationNumber": 1234567,
- "locationAddress": "22 rue Eddy",
- "locationCity": "Gatineau",
- "locationRegion": "NCR",
- "locationRegionFr": "RNC",
- "postalCode": "A9A 9A9"
- "accomodations": true,
- "hours": "9:00AM-5:00PM",
- // Array of periods in which the office is closed ex. renovations, repairs, etc.
- "closures": [
- {
- "periodStart": "2019-05-21",
- "periodEnd": "2019-05-28"
- }
- ],
- "bioStations": [
- // Biometric Capture Stations
- {
- "stationID": "ABC12345",
- "timeSlots": [
- {
- "time": "9:00AM",
- // the available property allows a time slot to be completely removed from a biometric station or location
- "available": true,
- "appointments": null
- },
- {
- "time": "9:15AM",
- "available": true,
- // Array of appointment IDs or document IDs as references
- "appointments": [
- {
- clientEmail: jotaru@kujo.com,
- cic: "ab123456789",
- date: "2019-07-05",
- dateSubmitted: "2019-07-01",
- cancelled: false
- },
- {
- clientEmail: kakyoin@rip.com,
- cic: "bc23455667",
- date: "2019-09-21",
- dateSubmitted: "2019-09-08",
- cancelled: false
- },
- ]
- },
- ]
- }
- ]
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement