summary

http://api.lib.sfu.ca/hours/3/summary
Get summary hours for the main library buildings.
date
Optional date string (YYYY-MM-DD) to retrieve hours information for. Defaults to today.
{
	date: '2020-01-01',
	locations:
	[
		{
			"priority": 1,
			"room_finder": "LIB 3001",
			"range_name": "Semester Break (Fall)",
			"open_string": "closed",
			"priority_string": "scheduled",
			"open24hours": false,
			"close_time": "22:00:00",
			"room_booking": "http://roombookings.lib.sfu.ca/studyrooms/day.php?area=1",
			"subname": "Burnaby",
			"url": "https://www.lib.sfu.ca/about/reach-us/hours/bennett",
			"id": 1,
			"location_name": "Bennett Library",
			"tag": "Bennett",
			"room_booking_mobile": "http://roombookings.lib.sfu.ca/m/library.php?l=benn",
			"is_sublocation": false,
			"open_time": "13:15:00",
			"details_string": "",
			"details_string_token": "until further notice",
			"opens": false,
			"closed24hours": true,
			"open_now": false,
			"open_now_string": "closed",
			"partial_opening_detail": "limited study space only",
			"partial_opening": true
			},
		...
	]
}
id
Int: Internal identifier for this location.
location_name
The name for the location, which is generally the official Library name such as "Bennett Library".
subname
A secondary location name such as "Burnaby".
tag
Short name for the location.
is_sublocation
Boolean: Indicates that the location is part of a larger location. For example, Makerspace within Bennett. Generally other hours listings should show all top level (is_sublocation: false) locations.
range_name
String: Name of the range for the current hours.
open_now
Boolean: Indicates the the location is currently open.
open_now_string
String: Displayable string for whether the location is currently open. This is generally what hours indication tools should display.
details_string
String: Displayable string with more information about the current hours. Displays in 12:00pm format.This should generally be displayed with/under the open_now_string
details_string_token
String: Displayable string with more information about the current hours. Contains tokens (%open_time and %close_time) for the open and close times that can be used if a different hours display should be used.
opens
Boolean: Indicates the the location opens at some point during the day.
open_string
Boolean: Indicates whether the location opens at all for requested day (or today). Used in calendar views when showing multiple days.
open24hours
Boolean: Indicates the location is open 24 hours for the day.
closed24hours
Boolean: Indicates the location is closed 24 hours and does not open this day.
open_time
String: The time the location opens in 24 hour format (13:15:00) or null if the location is already open or does not open.
close_time
String: The time the location closes in 24 hour format (13:15:00) or null if the location is already closed or does not close.
partial_opening
Boolean: Indicates that the site is not fully open. Often used to change the opening indication colour.
partial_opening_detail
String: Details about the location's partial opening, if relevant.
url
String: URL for detailed hours calendar, generally a page on the Library website.
room_booking
String: URL for booking rooms at this location, if possible.
room_booking_mobile
String: Mobile site URL for booking rooms at this location, if possible.
priority
Int: Used internally to indicate which priority level the range is (normal hours, holiday, emergency, etc.)
priority_string
String: Used internally to indicate which priority level the range is (normal hours, holiday, emergency, etc.)
room_finder
String: Room to use for this location when linking to the SFU Room Finder.

Most hours displays should loop through all locations, in the order they are returned, and display something like the following. Note that some fields may be null and not displayed.

location_name (subname): partial_opening_detail
open_now_string
details_string