Free Government Organization Schema Generator

Fill in the facts visible on your page, copy the Government Organization JSON-LD, and validate it before you publish. The guide, examples, and FAQs are below the tool. Generate this schema with AI

Type to filter 121 supported schema types.

Schema workflow

Use only facts a visitor can verify on the page, then validate the JSON-LD before publishing.

Type: Phone

Required

  • Visible Government Organization content
  • Canonical page URL
  • Clear page owner/publisher
  • Fields that match the visible page

Recommended

  • A representative image when the schema supports it
  • SameAs or related links when visible
  • Validation before publishing

Avoid

  • Adding properties that are not visible
  • Copying example URLs into production
  • Skipping Google and Schema.org validation
Next step

Validate, repair, and publish clean structured data.

Check the generated JSON-LD against the visible page, then run both SwiftSchema and external validators before publishing.

Government Organization Schema Generator — Clarify Public Identity

Generate clean GovernmentOrganization JSON‑LD for agencies and departments. Align official name, URL, logo, address, and profiles to strengthen authority.

Try the Gov Organization Generator

Why many government pages underperform

  • Official names and URLs are inconsistent across pages and directories.
  • Logos are blocked or unstable, reducing brand recognition.
  • Official channels (sameAs) are not linked, weakening trust.
  • Contact details and addresses are incomplete or misplaced.

How SwiftSchema helps

The generator outputs the essentials: official name, canonical URL, crawlable logo (prefer ImageObject), address/contactPoint, and sameAs links for authoritative profiles.

Use this on agency/department pages to establish a consistent identity and link to public channels.

How it works

  1. 01

    Choose GovernmentOrganization in the generator below.

  2. 02

    Enter the official entity name and canonical site URL.

  3. 03

    Provide a stable, crawlable logo; add address and contactPoint where applicable.

  4. 04

    Link official profiles with sameAs (e.g., .gov social, transparency portals).

  5. 05

    Copy JSON or Script, paste on the organization page, and validate in the Rich Results Test.

Ready to build the markup?

Deploy on agency pages. Validate. Ship.

Generate GovernmentOrganization JSON‑LD

What is GovernmentOrganization structured data?

GovernmentOrganization is a subtype of Organization for federal, state, local, or municipal agencies. It clarifies official names, websites, logos, addresses, contact points, and authoritative profiles (.gov, .mil, social). Accurate schema helps search engines distinguish official sources from unofficial lookalikes and builds trust for residents seeking services.

Essential properties

  1. name — official entity name (match signage, legal documents).
  2. url — canonical domain (often .gov or equivalent).
  3. logo — ImageObject hosted on the official domain; include width/height.
  4. address — headquarters or main office address; use PostalAddress.
  5. contactPoint — include contactType (general inquiries, FOIA, press) with telephone/email.
  6. sameAs — link to official profiles (e.g., usa.gov listing, social, transparency portals).
  7. department / subOrganization — list divisions or bureaus.
  8. parentOrganization — when part of a larger government body.
  9. knowsLanguage — languages the agency serves residents in (page locale goes on the WebPage as inLanguage).

Content prep checklist

  • Verify official names, abreviations, and translations.
  • Gather logos, seals, and icons (SVG/PNG) with accessible paths.
  • Confirm the main mailing address and service hours.
  • Document contact channels, service hotlines, and languages supported.
  • List official profiles (e.g., whitehouse.gov, data portals).
  • Include mission statements, leadership info, and service descriptions on the page.

Implementation workflow

  1. Collect branding & contact info from communications/public affairs teams.
  2. Generate GovernmentOrganization JSON‑LD with name, url, logo, address, contactPoint, sameAs.
  3. Embed the schema on the agency/department landing page (or site layout).
  4. Link departments/bureaus via department or subOrganization.
  5. Reference parent/child relationships (city department under city government).
  6. Validate via Rich Results Test; fix warnings around logos or contact points.
  7. Localize: set inLanguage on each localized page's WebPage markup and align hreflang/canonicals.

Department and service linking

  • Use department to list child agencies (e.g., Department of Health).
  • On child pages, reference the parent via parentOrganization.
  • Integrate service-specific schema (Service, ContactPoint) where appropriate to detail offerings.

Logos and seals

  • Provide high-resolution logos/seals accessible to Googlebot.
  • Avoid third-party CDNs that require authentication.
  • Update logos when rebranding; note that knowledge panels may take time to refresh.

Troubleshooting checklist

  • Inconsistent names: use alternateName for abbreviations but keep name official.
  • Logo fetch issues: ensure logos are served via HTTPS and not blocked by robots.
  • Missing contact info: include clear contact points so residents can reach the agency.
  • Unverified profiles: only link to official channels; avoid linking to unofficial social accounts.
  • Department duplication: don’t duplicate full Organization schema for each department unless they have standalone sites; use department references instead.

On-page parity checklist

  • Agency name on-page matches name (use alternateName for abbreviations).
  • Logo shown matches logo URL; logo is crawlable.
  • Address and contact numbers on-page align with address and contactPoint; languages supported are clear.
  • Official profiles on-page match sameAs; no broken/unofficial links.
  • Department/parent relationships in content align with department/parentOrganization in schema.
  • If multilingual, each page's WebPage inLanguage and hreflang/canonicals are consistent.

Troubleshooting and validation

  • Logo/asset blocking: ensure robots.txt/CDN don’t block logos; test with URL Inspection.
  • Broken sameAs: periodically verify official links; remove outdated social accounts.
  • Multiple org blocks: keep one GovernmentOrganization block per page; consolidate CMS/plugin outputs.
  • NAP mismatches: align phone/address across footer, schema, and contact pages.

Maintenance routine

  • Audit quarterly for contact changes, leadership updates, or rebrands.
  • Revalidate schema after site updates or migrations.
  • Keep lastReviewed current; assign ownership (communications/web) for updates.

Maintenance tips

  • Update schema when leadership, contact info, or URLs change.
  • Keep a brand guidelines doc including structured data values for consistency across agencies.
  • Review schema annually or before major campaigns (budget season, elections).
  • Revalidate after site redesigns or CMS moves; ensure logos and contact points still render.
  • Keep lastReviewed current when leadership or contact details change.
  • Maintain an inventory of official domains/subdomains (www, services, portals) and ensure schema URLs align with canonical hosts.
  • Document FOIA/public records contacts and add them via contactPoint where applicable.
  • If you publish open data, link to your data catalog via sameAs or subjectOf to reinforce transparency.

Transparency, accessibility, and trust

  • Provide accessibility details on the page (language access, disability accommodations); align with contactPoint.availableLanguage.
  • Link to privacy, terms, and procurement policies from the agency page; keep them consistent with schema URLs.
  • For multilingual jurisdictions, localize content and schema, and use hreflang plus the WebPage inLanguage.
  • Avoid mixing unofficial social accounts; prefer verified .gov/.mil handles and authoritative directories.

Domain and sub-organization strategy

  • Keep one GovernmentOrganization block per agency page; for bureaus/divisions, use department/subOrganization and create detail pages as needed.
  • If using service portals on subdomains, ensure canonicals point to the right host and schema url matches.
  • Clearly denote parentOrganization for departments; on parent pages, list key departments with stable URLs.

Contacts and service lines

  • Add contactPoint entries for common needs: general info, FOIA, media/press, emergency, and language-specific lines.
  • Include contactOption (e.g., TollFree, HearingImpairedSupported) where relevant.
  • Keep hours/availability and response time expectations visible on-page and aligned with contactPoint details.

On-page parity checklist

  • Agency name on-page matches name (use alternateName for abbreviations).
  • Logo shown matches logo URL; logo is crawlable.
  • Address and contact numbers on-page align with address and contactPoint; languages supported are clear.
  • Official profiles on-page match sameAs; no broken/unofficial links.
  • Department/parent relationships in content align with department/parentOrganization in schema.
  • If multilingual, each page's WebPage inLanguage and hreflang/canonicals are consistent.
  • Privacy/terms/open-data links on-page align with URLs referenced in schema or sameAs.

Troubleshooting and validation

  • Logo/asset blocking: ensure robots.txt/CDN don’t block logos; test with URL Inspection.
  • Broken sameAs: periodically verify official links; remove outdated social accounts.
  • Multiple org blocks: keep one GovernmentOrganization block per page; consolidate CMS/plugin outputs.
  • NAP mismatches: align phone/address across footer, schema, and contact pages.
  • Wrong host: verify url matches the canonical .gov/.mil domain, not staging or alternates.

Maintenance routine

  • Audit quarterly for contact changes, leadership updates, or rebrands.
  • Revalidate schema after site updates or migrations.
  • Keep lastReviewed current; assign ownership (communications/web) for updates.
  • Maintain a change log for contacts/logos/URLs to track what changed and when.

Required properties

  • name

Recommended properties

  • logo
  • logo.width
  • logo.height
  • url
  • address.streetAddress
  • address.addressLocality
  • address.addressRegion
  • address.postalCode
  • address.addressCountry
  • contactPoint.telephone
  • contactPoint.contactType
  • contactPoint.availableLanguage
  • sameAs
Minimal JSON-LD
Validate
{
  "@context": "https://schema.org",
  "@type": "GovernmentOrganization",
  "name": "City of Example",
  "url": "https://www.example.gov"
}
GovernmentOrganization with address and contact points
Validate
{
  "@context": "https://schema.org",
  "@type": "GovernmentOrganization",
  "name": "City of Example",
  "url": "https://www.example.gov",
  "logo": {
    "@type": "ImageObject",
    "url": "https://www.example.gov/logo.png",
    "width": 512,
    "height": 512
  },
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "100 Main St",
    "addressLocality": "Example City",
    "addressRegion": "CA",
    "postalCode": "90000",
    "addressCountry": "US"
  },
  "contactPoint": [
    {
      "@type": "ContactPoint",
      "contactType": "information",
      "telephone": "+1-555-0100",
      "availableLanguage": [
        "en"
      ]
    },
    {
      "@type": "ContactPoint",
      "contactType": "press",
      "telephone": "+1-555-0110",
      "availableLanguage": [
        "en"
      ]
    }
  ],
  "sameAs": [
    "https://twitter.com/examplegov",
    "https://www.linkedin.com/company/examplegov/"
  ]
}

Related types

Browse all schema types

References