XooCode(){

SchoolDistrict

SchoolDistrict is a direct AdministrativeArea subtype for US-style school districts: an administrative area for the administration of schools. It has no unique properties; its value is in classifying the entity and linking it to its member schools through graph structure.

The standard pattern: the SchoolDistrict node carries the district's name, boundaries, and containedInPlace anchor, and each individual EducationalOrganization / school references the district via parentOrganization or memberOf.

Full example of schema.org/SchoolDistrict json-ld markup

The markup is verified as valid with Rich Results Test from Google.

Highlight legend:Required by GoogleRecommendedOptional
schema.org/SchoolDistrict
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "SchoolDistrict",
  "@id": "https://xoocode.com/reference/schooldistrict/dunmore",
  "name": "Dunmore School District",
  "url": "https://xoocode.com/reference/schooldistrict/dunmore",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "300 W Warren St",
    "addressLocality": "Dunmore",
    "addressRegion": "PA",
    "postalCode": "18512",
    "addressCountry": "US"
  },
  "containedInPlace": { "@type": "City", "name": "Dunmore" },
  "containsPlace": [
    { "@type": "EducationalOrganization", "name": "Dunmore Elementary Center" },
    { "@type": "EducationalOrganization", "name": "Dunmore Middle School" },
    { "@type": "EducationalOrganization", "name": "Dunmore High School" }
  ]
}
</script>

Why schema.org distinguishes SchoolDistrict

  • Real-estate sites use it for school-attendance-zone search.
  • Government sites use it for district budgets, per-pupil spending, and board listings.
  • News sites use it for district-level education coverage.

None of these use cases would be served by plain AdministrativeArea, because consumers need the explicit "this is an education-administration jurisdiction" signal.

Minimal valid version

The smallest markup that still produces a valid SchoolDistrict 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.

schema.org/SchoolDistrict (minimal)
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "SchoolDistrict",
  "name": "Dunmore School District",
  "containedInPlace": { "@type": "City", "name": "Dunmore" }
}
</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.

  • No dedicated rich result (used by education, real-estate, and government knowledge graphs)
    Google docs

Common SchoolDistrict 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.

  1. 01

    SchoolDistrict for a single school

    Wrong
    SchoolDistrict on one elementary school
    Right
    EducationalOrganization for the school; SchoolDistrict for the governing jurisdiction above it

    SchoolDistrict is the administrative area, not a school. Schools reference the district via parentOrganization or are contained in it via containsPlace.

  2. 02

    SchoolDistrict outside the US context without care

    Wrong
    SchoolDistrict on a UK local-authority education body
    Right
    Educational jurisdiction abroad: either SchoolDistrict (if the structure is analogous) or EducationalOrganization with explicit jurisdictional context

    The type originated around US school districts; use it when the structure genuinely matches, otherwise choose the closest semantic type.

Also mentioned in 1 other example

SchoolDistrict also appears in AdministrativeArea. See the full SchoolDistrict schema page for every reference.

About the example data

The Dunmore School District, a fictional three-school district containing Xoo Code's partner elementary school.

Comments

Loading comments...

Leave a comment