XooCode(){

Schema: GovernmentBuilding

Schema: GovernmentBuilding Example Markup

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

GovernmentOffice

GovernmentOffice JSON-LD stub for government department offices (not the building). Direct LocalBusiness subtype with 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.

DefenceEstablishment

DefenceEstablishment JSON-LD example for a military base or defence installation. Direct GovernmentBuilding subtype. No unique properties; publicAccess is typically false.