Putting Schema markup on legal help websites

As part of the Legal Help Online Cohort, our group at Stanford has been making lots of new schema markup for legal aid groups. What’s Schema markup? It’s computer code that lives on the backend of a website. It tells search engines (like Google) about what’s on a website, and why it should be shown to certain people.

We’ve built a tool that makes it easy for others to make markup for their sites.

And here is a video walking through how to make this markup:

How to Get Started Creating Schema Markup – Watch Video

Here’s an example of markup that we’ve made for a legal help site. This is for Indiana Legal Help, a site that provides free help for people who have civil justice needs.

You can create json code like this using the tool above, and then work with your developer to put it on a ‘hidden’ part of your website. That could be in the ‘header’ part of the homepage code, or across all pages on your website.

<script type="application/ld+json">
{
  "@context": "http://www.schema.org",
  "@graph": [
    {
      "@type": "LegalService",
      "name": "Indiana Legal Help",
      "url": "https://indianalegalhelp.org/",
      "logo": "https://indianalegalhelp.org/wp-content/uploads/2020/05/ILH_logo_2020.png",
      "description": "Indiana Legal Help is a project of the Coalition for Court Access. It offers lo and no-cost legal help in Indiana. It has forms, information, and referral information. It also has volunteer opportunities for legal professionals.",
      "email": [
        "info@indianalegalhelp.org"
      ],
      "knowsLanguage": [
        {
          "@type": "Language",
          "name": "English",
          "alternateName": "en"
        }
      ],
      "knowsAbout": [
        "https://taxonomy.legal/term/FA-07-00-00-00/domestic-violence-and-abuse",
        "https://taxonomy.legal/term/BE-00-00-00-00/benefits",
        "https://taxonomy.legal/term/CR-06-01-00-00/expungement-or-sealing-of-criminal-record",
        "https://taxonomy.legal/term/WO-00-00-00-00/work-and-employment-law",
        "https://taxonomy.legal/term/ES-00-00-00-00/estates-and-wills",
        "https://taxonomy.legal/term/HE-00-00-00-00/health",
        "https://taxonomy.legal/term/TR-00-00-00-00/traffic-and-cars",
        "https://taxonomy.legal/term/HO-00-00-00-00/housing",
        "https://taxonomy.legal/term/MO-00-00-00-00/money-debt-and-consumer-issues",
        "https://taxonomy.legal/term/FA-00-00-00-00/family",
        "https://taxonomy.legal/term/IM-00-00-00-00/immigration",
        "https://taxonomy.legal/term/CO-00-00-00-00/courts-and-lawyers",
        "https://taxonomy.legal/term/VE-00-00-00-00/veterans-and-military"
      ],
      "address": {
        "@type": "PostalAddress",
        "addressRegion": "IN"
      },
      "areaServed": {
        "@type": "AdministrativeArea",
        "name": [
          "Indiana"
        ]
      }
    }
  ]
}
</script>

Leave a comment

Your email address will not be published.