Schema: City
Schema: City Example Markup
The following are examples of markup written in json+ld that include the correct usage for Schema: City.
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.
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 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 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.
GovernmentOrganization JSON-LD example for the Borough of Dunmore municipal government. Covers areaServed for jurisdictional scope, department for sub-agencies, and how GovernmentOrganization pairs with GovernmentService for public services.
Place JSON-LD example for Dunmore Main Street as a geographic location. Covers the most important of Place's 41 direct properties: address, geo, openingHoursSpecification, photo, containsPlace, publicAccess, and when to use Place vs LocalBusiness.
GovernmentService JSON-LD example for a Dunmore municipal trash pickup service. Covers jurisdiction and serviceOperator (the 2 properties unique to GovernmentService) plus inherited Service properties.
AdministrativeArea JSON-LD example for political jurisdictions: countries, states, cities, school districts. Place subtype with no unique properties but 4 specialized subtypes: Country, State, City, SchoolDistrict.
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.
State JSON-LD example for first-order national subdivisions (US states, Australian states, Indian states, German Länder). Direct AdministrativeArea subtype, commonly nested via containedInPlace into Country.
City JSON-LD example for incorporated cities and towns. Direct AdministrativeArea subtype used to anchor LocalBusinesses, events, and knowledge-graph entries into a municipal jurisdiction.
SchoolDistrict JSON-LD example for US-style school administrative areas. Direct AdministrativeArea subtype used to group schools and anchor district-level data on government and education sites.
CityHall JSON-LD example for a municipal seat of government. Direct GovernmentBuilding subtype. No unique properties; the type signals mayoral / council functions.
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.
FireStation JSON-LD example for a fire station. Dual-inherits CivicStructure + EmergencyService. 24/7 hours, engine company info, community education programmes.
PoliceStation JSON-LD example for a police station. Dual-inherits CivicStructure + EmergencyService. 24/7 emergency coverage + records-counter hours, services like fingerprinting and reporting.
Observation JSON-LD example for a single statistical observation at a specific time/place. Intangible + QuantitativeValue dual inheritance. Properties: measuredProperty, observationAbout, observationDate, value, variableMeasured, marginOfError.