FAQ content

Hours: Retrieve hours data suitable for JSON-LD

In this article

The JSON-LD Data allows you to retrieve hours data for a library using Schema.org vocabulary. When embedded on a webpage or LibGuide, search engines such as Google and Bing can use this data to display your library's hours in Google search results. 

Getting there

To create hours widgets, go to Admin > Hours and click on the Widgets tab.

Navigating to the Hours Widgets page

Generate a JSON-LD widget

  1. Click on the JSON-LD Data tab.
  2. From the Library dropdown, select the library you want to retrieve.
  3. Select the Organization Type that the data represents.
  4. Click the Generate Code button.
  5. Click on the Embed Code to highlight it and copy it by either:
    • Pressing CTRL + C on your keyboard
    • Right-clicking on it and selecting "Copy"
Example of the JSON-LD widget