Public Library Branch & Community Media Hub Schema Markup (JSON-LD)
Structured data for municipal public library branches, university research libraries, and community digital book hubs, detailing digital catalog access, study room booking, public computers, and hours.
Displayed below main page header or above the tool container. • Zero CLS Container
Production JSON-LD Code Block
Embed this structured data block directly into your HTML <head> or framework layout template.
{
"@context": "https://schema.org",
"@type": "Library",
"@id": "https://example.org/library/central-branch#branch",
"name": "Metropolitan Public Library - Central Branch",
"description": "Flagship downtown public library offering 500,000 physical volumes, digital media borrowing, 3D printing maker labs, private study rooms, and free high-speed public Wi-Fi.",
"telephone": "+1-503-555-0193",
"priceRange": "$",
"address": {
"@type": "PostalAddress",
"streetAddress": "801 SW 10th Avenue",
"addressLocality": "Portland",
"addressRegion": "OR",
"postalCode": "97205",
"addressCountry": "US"
},
"amenityFeature": [
{
"@type": "LocationFeatureSpecification",
"name": "Free High-Speed Public Wi-Fi & Computer Lab",
"value": true
},
{
"@type": "LocationFeatureSpecification",
"name": "3D Printing & Digital Audio/Video Creator Lab",
"value": true
},
{
"@type": "LocationFeatureSpecification",
"name": "ADA Accessible Wheelchair Entry & Elevators",
"value": true
}
],
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday"
],
"opens": "09:00",
"closes": "20:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Friday",
"Saturday"
],
"opens": "09:00",
"closes": "18:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Sunday"
],
"opens": "12:00",
"closes": "17:00"
}
]
}Typed Properties Specification (6 Fields)
Key Schema.org properties and sub-objects required to qualify for rich snippet treatment in Google Search.
| Property | Expected Type | Status | Description & Example |
|---|---|---|---|
| name | Text | Required | Official library system branch title. e.g. Metropolitan Public Library - Central Branch |
| address | PostalAddress | Required | Physical street address of the library branch. e.g. { "@type": "PostalAddress", "streetAddress": "801 SW 10th Avenue", ... } |
| telephone | Text | Required | Library reference desk phone contact line. e.g. +1-503-555-0193 |
| amenityFeature | Array<LocationFeatureSpecification> | Required | Library amenities including study rooms, computer labs, maker spaces, and ADA access. e.g. [{ "@type": "LocationFeatureSpecification", "name": "Free High-Speed Public Wi-Fi...", "value": true }] |
| openingHoursSpecification | Array<OpeningHoursSpecification> | Required | Weekly library branch operating hours. e.g. [{ "@type": "OpeningHoursSpecification", "opens": "09:00", "closes": "20:00" }] |
| priceRange | Text | Recommended | Free civic resource tier ($). e.g. $ |
Google Search Console Pitfalls & Critical Warnings
Avoid these 3 common validation traps, parser errors, and algorithmic policy penalties when deploying Library schema.
Confusing Central Flagship with Neighborhood Branch Hours
Assigning central library hours to smaller neighborhood branches that close early creates public access disputes.
Deploy unique schema nodes with distinct @ids and hours for each branch location.
Using Generic LocalBusiness Instead of Library
Using general business types deprives public libraries of specialized civic knowledge panel attributes.
Always declare '@type: Library'.
Omitting Digital Catalog Inclusions
Patrons heavily search for digital eBook lending (OverDrive, Libby); omitting digital catalog signals reduces online borrowing engagement.
Mention digital catalog and Libby app access in description.
Recommended Implementation Scenarios
Related Schema Blueprints
Explore complementary structured data blueprints across the Organization & Identity cluster.
Community Center & Cultural Arts Hall Schema Markup (JSON-LD)
City Hall & Municipal Government Building Schema Markup (JSON-LD)
Government Organization & Municipal Agency Schema Markup (JSON-LD)
Public Municipal Park & Nature Recreation Area Schema Markup (JSON-LD)
Displayed below main page header or above the tool container. • Zero CLS Container