XooCode(){

Schema: OpeningHoursSpecification

Schema: OpeningHoursSpecification Example Markup

The following are examples of markup written in json+ld that include the correct usage for Schema: OpeningHoursSpecification.

ContactPoint

ContactPoint JSON-LD example with customer service and technical support entries, phone numbers, email, available languages, and hours. The contact structure that Organization and LocalBusiness use for reachability.

OpeningHoursSpecification

OpeningHoursSpecification JSON-LD example with weekday and weekend hours, a seasonal holiday extension, and a closure date. The business hours structure that LocalBusiness and Place use for the "Open now" badge in search results.

Restaurant

Restaurant JSON-LD example for a casual grill in downtown Dunmore. Covers servesCuisine, hasMenu with Menu/MenuSection/MenuItem hierarchy, acceptsReservations, priceRange, and the full LocalBusiness property set including address, geo, openingHours, and aggregateRating.

Hotel

Hotel JSON-LD example for a boutique hotel in Dunmore hosting XooCon attendees. Covers starRating, amenityFeature with LocationFeatureSpecification, checkinTime/checkoutTime, numberOfRooms, petsAllowed, and the LodgingBusiness property set for hospitality search.

Dentist

Dentist JSON-LD example for a dental practice in Dunmore. Covers medicalSpecialty, isAcceptingNewPatients, availableService with MedicalProcedure, insurance accepted via paymentAccepted, and the MedicalBusiness property set for healthcare local search.

TouristAttraction

TouristAttraction JSON-LD example for The Thunderdome, the Dunmore conference center that hosts XooCon. Covers touristType, availableLanguage, isAccessibleForFree, publicAccess, and how TouristAttraction differs from Place and LocalBusiness for landmarks and points of interest.

FinancialService

FinancialService JSON-LD example for a credit union in Dunmore. Covers feesAndCommissionsSpecification (the only property unique to FinancialService), the four subtypes (BankOrCreditUnion, InsuranceAgency, AccountingService, AutomatedTeller), and how to mark up a financial institution with LocalBusiness properties.

CafeOrCoffeeShop

CafeOrCoffeeShop JSON-LD example for a coffee shop next to Xoo Code Shop Dunmore. Covers the FoodEstablishment inheritance (servesCuisine, hasMenu, acceptsReservations), how CafeOrCoffeeShop differs from Restaurant and Bakery, and practical LocalBusiness markup for a small cafe.

Store

Store JSON-LD example using the BookStore subtype for a bookshop in Dunmore that stocks Jane Xoo's textbook. Covers how to choose among the 31 Store subtypes, the difference between Store and generic LocalBusiness, and practical retail markup with paymentAccepted and priceRange.

SportsActivityLocation

SportsActivityLocation JSON-LD example using the ExerciseGym subtype for a fitness center in Dunmore. Covers the 9 subtypes (ExerciseGym, GolfCourse, SkiResort, StadiumOrArena, etc.), amenityFeature for gym equipment, and how SportsActivityLocation differs from SportsOrganization.

EntertainmentBusiness

EntertainmentBusiness JSON-LD example using the ArtGallery subtype for a gallery inside The Thunderdome. Covers the 7 subtypes (ArtGallery, Casino, NightClub, MovieTheater, AmusementPark, ComedyClub, AdultEntertainment) and how to mark up entertainment venues with LocalBusiness properties.

PlaceOfWorship

PlaceOfWorship JSON-LD example using the Church subtype for a parish in Dunmore. Covers the CivicStructure hierarchy (not LocalBusiness), the 5 subtypes (Church, Mosque, Synagogue, BuddhistTemple, HinduTemple), and Place-level properties without LocalBusiness fields like priceRange.

Park

Park JSON-LD example for a community park in Dunmore. Covers the CivicStructure hierarchy, isAccessibleForFree, publicAccess, amenityFeature for park facilities, and how Park differs from TouristAttraction and NaturalFeature for green spaces.

Airport

Airport JSON-LD example for a fictional regional airport serving Dunmore. Covers iataCode and icaoCode (the only properties unique to Airport), the CivicStructure hierarchy, and how Airport differs from LocalBusiness for transportation hubs.

StructuredValue

StructuredValue JSON-LD example for the parent type behind GeoCoordinates, MonetaryAmount, QuantitativeValue, PropertyValue, ContactPoint, OpeningHoursSpecification, OfferShippingDetails, PostalAddress, and many more. Covers when structured objects beat free-text strings and how the StructuredValue family composes inside other types.

FoodService

FoodService JSON-LD stub for a food service offering: breakfast, lunch, dinner, room service, banquet catering, meal delivery. Service subtype with no unique properties.

ConvenienceStore

ConvenienceStore JSON-LD stub for small neighbourhood shops and gas-station markets. Direct Store subtype with no unique properties.

EmergencyService

EmergencyService JSON-LD example for emergency-response organisations: fire departments, police departments, EMS/ambulance services, coast guard, mountain rescue. Direct LocalBusiness subtype and parent of FireStation and PoliceStation.

Hospital

Hospital JSON-LD example for an acute-care hospital. Triple-inherits CivicStructure + EmergencyService + MedicalOrganization. Direct properties: availableService, medicalSpecialty, healthcareReportingData.

Physician

Physician JSON-LD example for an individual doctor's practice. Dual-inherits MedicalBusiness + MedicalOrganization. 5 direct properties: availableService, hospitalAffiliation, medicalSpecialty, occupationalCategory, usNPI.

Pharmacy

Pharmacy JSON-LD example for a retail pharmacy. Dual-inherits MedicalBusiness + MedicalOrganization with no unique properties. Use for drug-dispensing local-search listings.

MedicalClinic

MedicalClinic JSON-LD example for a multi-provider outpatient clinic. Dual-inherits MedicalBusiness + MedicalOrganization. Direct properties: availableService, medicalSpecialty.

DiagnosticLab

DiagnosticLab JSON-LD example for a clinical diagnostic laboratory (bloodwork, imaging-read, genetic testing). MedicalOrganization subtype with one direct property: availableTest.

VeterinaryCare

VeterinaryCare JSON-LD example for a veterinary practice. Direct MedicalOrganization subtype for animal-healthcare providers. No unique properties.

Optician

Optician JSON-LD example for an eyeglass and contact-lens retailer. Direct MedicalBusiness subtype (a LocalBusiness specialty). No unique properties.

GovernmentBuilding

GovernmentBuilding JSON-LD example for a government-owned facility. Direct CivicStructure subtype, parent of CityHall, Courthouse, Embassy, LegislativeBuilding, DefenceEstablishment. No unique properties.

CityHall

CityHall JSON-LD example for a municipal seat of government. Direct GovernmentBuilding subtype. No unique properties; the type signals mayoral / council functions.

Courthouse

Courthouse JSON-LD example for a building where court is held. Direct GovernmentBuilding subtype. No unique properties; model court calendars, public access, and security with inherited CivicStructure properties.

Embassy

Embassy JSON-LD example for a diplomatic mission (embassies and consulates general). Direct GovernmentBuilding subtype. No unique properties; appointment-booking and jurisdiction are the key inherited patterns.

LegislativeBuilding

LegislativeBuilding JSON-LD example for a state capitol, parliament, or congressional building. Direct GovernmentBuilding subtype. Key pattern: session calendars, gallery access, tour schedules.

FireStation

FireStation JSON-LD example for a fire station. Dual-inherits CivicStructure + EmergencyService. 24/7 hours, engine company info, community education programmes.

PoliceStation

PoliceStation JSON-LD example for a police station. Dual-inherits CivicStructure + EmergencyService. 24/7 emergency coverage + records-counter hours, services like fingerprinting and reporting.

Cemetery

Cemetery JSON-LD example for a graveyard. Direct CivicStructure subtype. No unique properties; model visiting hours, plot search, and memorial programmes with inherited properties.

Crematorium

Crematorium JSON-LD example for a cremation facility. Direct CivicStructure subtype. No unique properties; commonly paired with FuneralParlor services via hasOfferCatalog.

PublicToilet

PublicToilet JSON-LD example for a public restroom. Direct CivicStructure subtype. Accessibility, opening hours, and gender-neutral signalling are the high-value inherited patterns.

TaxiService

TaxiService JSON-LD example for a taxi or ride-hire service. Direct Service subtype. Covers areaServed, hoursAvailable, provider (Organization), providerMobility, offers. The canonical type (supersedes the old Taxi type).

DayOfWeek

DayOfWeek JSON-LD reference. 8-value Enumeration (Monday-Sunday + PublicHolidays). Used on OpeningHoursSpecification.dayOfWeek, Schedule.byDay, ServicePeriod/ShippingDeliveryTime.businessDays, EducationalOccupationalProgram.dayOfWeek.

OfferShippingDetails

OfferShippingDetails JSON-LD example for Google's merchant listing shippingDetails rich result. Carries shippingRate, shippingDestination, deliveryTime, and the product's dimensions / weight for carrier-aware rate quotes.

ShippingDeliveryTime

ShippingDeliveryTime JSON-LD example for Google's estimated delivery date badge. Splits handling time, transit time, cutoff time, and business days so Google can compute the delivery window from order time.

LocationFeatureSpecification

LocationFeatureSpecification JSON-LD example for the amenityFeature of a Place, Accommodation, or LodgingBusiness. PropertyValue subtype adding hoursAvailable, validFrom, and validThrough for time-scoped amenities.

ServiceChannel

ServiceChannel JSON-LD example for the specific way a Service can be accessed: phone, SMS, postal, in-person, online. Intangible subtype carrying servicePhone, serviceUrl, serviceLocation, availableLanguage, processingTime.