DefenceEstablishment
DefenceEstablishment is a direct GovernmentBuilding subtype for military installations: bases, forts, defence ministries, armouries, training grounds. It has no unique properties; the value is in the classification and in being deliberate about publicAccess, which is almost always false and should be published explicitly.
Useful inherited patterns:
publicAccess:falsefor secure installations;trueonly for public-facing visitor centres or museums.parentOrganization: the defence ministry or branch of service.contactPoint: public-affairs office for media inquiries (avoid listing operational numbers).event: public events (open houses, memorial ceremonies, military tattoos) as Event entries.
Full example of schema.org/DefenceEstablishment json-ld markup
The markup is verified as valid with Rich Results Test from Google.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "DefenceEstablishment",
"@id": "https://fortdunmora.example",
"name": "Fort Dunmora",
"url": "https://fortdunmora.example",
"description": "Home of the Royal Dunmora Infantry School and the Fort Dunmora Military Museum. Training post with a public visitor centre.",
"telephone": "+1-570-555-0600",
"address": {
"@type": "PostalAddress",
"streetAddress": "Highway 9",
"addressLocality": "Upper Dunmora",
"addressCountry": "DM"
},
"publicAccess": false,
"amenityFeature": [
{ "@type": "LocationFeatureSpecification", "name": "Public access restricted to Visitor Centre and Museum", "value": true },
{ "@type": "LocationFeatureSpecification", "name": "Photo ID required at Visitor Centre gate", "value": true }
],
"parentOrganization": { "@type": "GovernmentOrganization", "name": "Royal Dunmora Ministry of Defence" },
"subOrganization": [
{ "@type": "Museum", "name": "Fort Dunmora Military Museum", "url": "https://fortdunmora.example/museum", "publicAccess": true }
]
}
</script>Operational-security note
Do not publish structured data that reveals layouts, unit designations at non-public depth, or operational schedules. Structured data is as public as your website; apply the same review you would to a press release.
Minimal valid version
The smallest markup that still produces a valid DefenceEstablishment entity. Use it as the floor. Reach for the advanced example above when you want search engines and AI agents to understand more about your content.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "DefenceEstablishment",
"name": "Fort Dunmora",
"address": { "@type": "PostalAddress", "streetAddress": "Highway 9", "addressLocality": "Upper Dunmora", "addressCountry": "DM" },
"publicAccess": false
}
</script>Google rich results this unlocks
Markup matching this example makes your page eligible for the following Google Search rich results. The primary target drives the required / recommended property classification in the advanced code block above.
- Google docsLocal business / civic structure knowledge panel (for public-facing components)
Common DefenceEstablishment mistakes
Mistakes that pass validation but silently fail to earn rich results or mislead consumers walking the graph. Avoid these and your markup will be ahead of most sites in the wild.
- 01
publicAccess true on the whole installation
WrongpublicAccess: true on a fort with a museum-only public areaRightpublicAccess: false on the installation; publicAccess: true on the subOrganization museum / visitor centreRoute-planners and map apps direct visitors to the wrong gate if the installation is flagged publicly accessible in full.
- 02
Publishing operational schedules
WrongStructured Event entries naming exercises, rotations, or unit movementsRightOnly public ceremonies, memorials, and open-house eventsOperational security: structured data is as indexable as anything else on your site.
Schema properties in this example
Also mentioned in 1 other example
DefenceEstablishment also appears in GovernmentBuilding. See the full DefenceEstablishment schema page for every reference.
About the example data
Fort Dunmora, a fictional small-army training post north of the Kingdom of Dunmora's capital with a public memorial and museum.
Comments
Loading comments...