If you build websites for small, local schools (a trade school, a career program, a community music academy), you will eventually be asked to "add schema." Usually that request comes with a screenshot of a competitor's search result and a vague hope that some markup will produce stars, carousels, or more calls.
Structured data does not work like that, and the education corner of schema.org has a few traps that general tutorials skip. This guide is a practical deep dive for developers: which types to pick, how to connect entities with @id, how to model a course that runs in two languages on different days, what FAQ markup is still good for, how to validate, the mistakes that show up in audits again and again, and why your JSON-LD has to agree with the school's Google Business Profile.
The examples use a local career school as the running case. The organization name and URL are a real one, Brilliant Dental Assisting School in Dallas. Every other value (address, phone, coordinates, IDs) is a placeholder that you should replace with verified data from your own client.
The mental model: entities, not snippets
The most useful shift is to stop thinking of structured data as "the schema snippet for this page" and start thinking of it as a small graph of entities that lives across the whole site.
A local school usually has a handful of entities:
- The organization itself.
- One or more places where it operates (often the same thing as the organization for a single-location school).
- Programs and courses it offers.
- People such as a director or instructors, if the site actually presents them.
- Web pages that describe these things.
Each entity gets a stable @id, typically a URL with a fragment. Other nodes reference that ID instead of repeating the data. That keeps your markup consistent and means a fix in one place propagates everywhere.
{ "@context": "https://schema.org", "@graph": [ { "@type": "EducationalOrganization", "@id": "https://brilliantdentalassisting.com/#org" }, { "@type": "WebSite", "@id": "https://brilliantdentalassisting.com/#website", "publisher": { "@id": "https://brilliantdentalassisting.com/#org" } } ] } The @id is just an identifier. It does not need to resolve to anything special, but using the canonical homepage URL plus a fragment makes it obvious what it refers to and avoids collisions.
Choosing the organization type
Start at the EducationalOrganization page on schema.org. Two facts about it matter:
- It inherits from both
OrganizationandCivicStructure, andCivicStructureis a kind ofPlace. That means anEducationalOrganizationcan legitimately carry place properties likeaddress,geo,openingHoursSpecification, andhasMap. - It has more specific subtypes:
CollegeOrUniversity,ElementarySchool,MiddleSchool,HighSchool,Preschool, andSchool.
For a career or vocational school that is not a K-12 school or a college, plain EducationalOrganization is usually the most honest choice. Picking CollegeOrUniversity because it sounds more impressive is a misrepresentation, and accuracy is the whole point.
Should you add LocalBusiness?
You will see sites multi-type their school as ["EducationalOrganization", "LocalBusiness"]. JSON-LD allows an array for @type, and doing so makes LocalBusiness-specific properties available. Google's local business structured data documentation is written around LocalBusiness and its subtypes.
There is no single correct answer. A reasonable rule:
- If the school operates from a physical location that people visit, has public hours, and has a Google Business Profile, multi-typing is defensible and lines up with how Google documents local entities.
- If the "school" is mostly an online program with an office address for mail, stick to
EducationalOrganizationand do not dress it up as a storefront.
A complete organization node
{ "@type": ["EducationalOrganization", "LocalBusiness"], "@id": "https://brilliantdentalassisting.com/#org", "name": "Brilliant Dental Assisting School", "url": "https://brilliantdentalassisting.com/", "logo": { "@type": "ImageObject", "url": "https://www.example.com/placeholder/logo-512.png", "width": 512, "height": 512 }, "image": "https://www.example.com/placeholder/building-front.jpg", "description": "Placeholder description that matches the visible About text.", "telephone": "+1-000-000-0000", "email": "info@example.com", "address": { "@type": "PostalAddress", "streetAddress": "0000 Placeholder Rd, Suite 000", "addressLocality": "Dallas", "addressRegion": "TX", "postalCode": "00000", "addressCountry": "US" }, "geo": { "@type": "GeoCoordinates", "latitude": 0.0, "longitude": 0.0 }, "hasMap": "https://www.example.com/placeholder-map-link", "openingHoursSpecification": [ { "@type": "OpeningHoursSpecification", "dayOfWeek": ["https://schema.org/Monday", "https://schema.org/Tuesday"], "opens": "09:00", "closes": "17:00" } ], "areaServed": { "@type": "City", "name": "Dallas" }, "knowsLanguage": ["en", "es"], "sameAs": [ "https://www.example.com/placeholder-social-profile-1", "https://www.example.com/placeholder-social-profile-2" ] } Notes on the less obvious properties:
-
knowsLanguageis defined onOrganizationandPerson. For a school that teaches in English and Spanish it is a cleaner signal than stuffing "bilingual" into the description. Use IETF BCP 47 codes. -
openingHoursSpecificationshould describe when the front office is open, not class times. Class times belong on the course instances below. -
sameAsis for profiles that unambiguously represent the same organization: official social accounts, a Wikipedia or Wikidata entry if one exists. It is not a place to list directory sites the school happens to appear on. -
geoshould come from a reliable geocode of the exact address, ideally matching the pin on the Business Profile.
Modeling programs and courses
This is where education markup gets interesting, because schema.org gives you two overlapping tools.
Course and CourseInstance
Course is a CreativeWork describing what is taught. CourseInstance describes a specific offering of it: when, where, how, and in what language. One course can have many instances.
That split maps nicely onto a common situation for local schools: the same curriculum taught in different languages on different days. Here is a course with an English instance and a Spanish instance.
{ "@type": "Course", "@id": "https://www.example-school.com/courses/example-certificate#course", "name": "Example Certificate Program", "description": "Placeholder description that matches the course page.", "url": "https://www.example-school.com/courses/example-certificate", "provider": { "@id": "https://brilliantdentalassisting.com/#org" }, "timeRequired": "P12W", "educationalCredentialAwarded": "Certificate of completion", "hasCourseInstance": [ { "@type": "CourseInstance", "courseMode": "Onsite", "inLanguage": "en", "location": { "@id": "https://brilliantdentalassisting.com/#org" }, "courseSchedule": { "@type": "Schedule", "repeatFrequency": "P1W", "byDay": "https://schema.org/Friday", "startTime": "00:00", "endTime": "00:00" } }, { "@type": "CourseInstance", "courseMode": "Onsite", "inLanguage": "es", "location": { "@id": "https://brilliantdentalassisting.com/#org" }, "courseSchedule": { "@type": "Schedule", "repeatFrequency": "P1W", "byDay": "https://schema.org/Sunday", "startTime": "00:00", "endTime": "00:00" } } ] } A few things worth calling out:
-
timeRequiredtakes an ISO 8601 duration.P12Wmeans twelve weeks. Do not write"12 weeks"as a string; parsers expect the duration format. -
courseModeaccepts text or a URL. Values likeOnsite,Online, andBlendedare widely used. Pick one convention and use it consistently. -
courseScheduleuses theScheduletype, withrepeatFrequencyas another ISO 8601 duration (P1Wfor weekly) andbyDaypointing at aDayOfWeekenumeration member. -
locationcan reference the organization's@idbecause the organization is also aPlace. That is one of the payoffs of the type hierarchy above. - The start and end times are zeroed placeholders here. Use the real ones, or omit them rather than guess.
EducationalOccupationalProgram
For career training, schema.org also has EducationalOccupationalProgram, which describes a program that prepares people for an occupation. It has properties like programType, occupationalCategory, timeToComplete, educationalProgramMode, occupationalCredentialAwarded, and hasCourse.
You can use both: a program node that hasCourse pointing at your Course node. Whether it adds much depends on the site. For a school with one flagship program, a well-described Course may be enough. For a school with several programs that each bundle multiple courses, the program layer models reality better.
{ "@type": "EducationalOccupationalProgram", "@id": "https://www.example-school.com/programs/example#program", "name": "Example Career Program", "provider": { "@id": "https://brilliantdentalassisting.com/#org" }, "occupationalCategory": "Placeholder occupation name or code", "educationalProgramMode": "In person", "hasCourse": { "@id": "https://www.example-school.com/courses/example-certificate#course" } } If you use occupationalCategory, prefer a recognized classification code and name it explicitly in your documentation. Do not invent codes.
What about offers and prices?
Course and EducationalOccupationalProgram can carry offers, and some tutorials push you to fill them in. Only do that if the price is clearly published on the page and you are confident it stays current. A stale price in markup is a liability. If the school does not publish pricing, leave offers out entirely.
A note on Google rich results for courses
Google introduced Course Info structured data in 2023 and then announced in its June 2025 post on simplifying the search results page that it was phasing out several features, Course Info among them. Search Console reporting and Rich Results Test support for those features were later removed.
In practice that means Course markup will not produce a special Google SERP feature today, and the Rich Results Test will not grade it. It is still valid schema.org, other consumers may use it, and it still describes your content in a machine-readable way. Keep it if it is accurate. Just set expectations with clients.
FAQPage: still useful, with honest expectations
FAQPage is simple to write, which is part of why it was so heavily abused.
{ "@type": "FAQPage", "@id": "https://www.example-school.com/faq#faq", "mainEntity": [ { "@type": "Question", "name": "Are classes offered in Spanish?", "acceptedAnswer": { "@type": "Answer", "text": "Placeholder answer that appears word for word on the page." } }, { "@type": "Question", "name": "Where do hands-on labs take place?", "acceptedAnswer": { "@type": "Answer", "text": "Placeholder answer that appears word for word on the page." } } ] } The rules that matter:
- Every question and answer must be visible on the page. Not hidden in a collapsed accordion that never renders server-side, and certainly not present only in the JSON-LD.
- It is for questions the site itself answers. User-submitted questions with multiple answers belong in
QAPage, notFAQPage. - No advertising inside answers. An answer that is really a sales pitch is not an FAQ.
- One FAQPage per URL. If the same FAQ block appears on many pages, mark it up on one canonical page.
In August 2023 Google announced it would show FAQ rich results only for well-known, authoritative government and health websites; check the current FAQ structured data documentation for the latest status. For a local school, assume no FAQ rich result. The markup can still make the page's question-and-answer structure explicit. The better reason to build the FAQ at all is that prospective students genuinely have these questions.
Connecting it all on real pages
You do not need every node on every page. A sensible distribution:
| Page | Nodes |
|---|---|
| Homepage | EducationalOrganization (full), WebSite |
| About | AboutPage referencing the org by @id, plus a Person for a director if the page profiles one |
| Course page | Course (full) referencing the org by @id |
| FAQ page | FAQPage |
| Blog post | BlogPosting with publisher referencing the org |
On a real school site, a course page like a dental assisting certificate program page is the natural home for the Course node, while the full organization description stays on the homepage and other pages point back to it.
If you add a Person for a director, describe only what the page says. For example, if the About page states the director is a practicing dentist with a DMD, jobTitle and honorificSuffix can reflect that. Do not add credentials, affiliations, or sameAs links the page does not show.
Generating it in code
Hand-editing JSON in templates leads to drift. Build nodes from one data source:
// lib/schema.ts const ORG_ID = "https://brilliantdentalassisting.com/#org"; export function orgRef() { return { "@id": ORG_ID }; } export function courseNode(c: { url: string; name: string; description: string; durationISO?: string; instances: { lang: "en" | "es"; day: string; mode: string }[]; }) { return { "@type": "Course", "@id": `${c.url}#course`, name: c.name, description: c.description, url: c.url, provider: orgRef(), ...(c.durationISO && { timeRequired: c.durationISO }), hasCourseInstance: c.instances.map((i) => ({ "@type": "CourseInstance", courseMode: i.mode, inLanguage: i.lang, location: orgRef(), courseSchedule: { "@type": "Schedule", repeatFrequency: "P1W", byDay: `https://schema.org/${i.day}`, }, })), }; } export function jsonLd(nodes: object[]) { return JSON.stringify({ "@context": "https://schema.org", "@graph": nodes }); } Render it with a single <script type="application/ld+json"> per page. If your framework escapes HTML in script content, make sure < inside strings is escaped as < so a stray </script> in a description cannot break out.
Validation workflow
Use more than one tool, because they answer different questions.
- Schema Markup Validator checks your markup against the full schema.org vocabulary. This is where you catch typos in property names, wrong value types, and types that do not accept a property. It is also the only one of these tools that still meaningfully checks Course markup.
- Rich Results Test tells you which Google-supported rich result types it detects and whether they have errors. Useful for
LocalBusiness,BlogPosting/Article, breadcrumbs, and anything else in Google's current Search Gallery. Run it against the live URL and against pasted code. - Search Console enhancement reports show issues at scale across the site after Google crawls it. URL Inspection shows the rendered HTML Google saw, which matters if your JSON-LD is injected client-side.
- A CI check that parses every page's JSON-LD and asserts a few invariants.
A minimal CI check might look like this:
// scripts/check-jsonld.ts import { readFileSync } from "node:fs"; import { globSync } from "glob"; const ORG_ID = "https://brilliantdentalassisting.com/#org"; let failures = 0; for (const file of globSync("out/**/*.html")) { const html = readFileSync(file, "utf8"); const blocks = [...html.matchAll(/<script type="application\/ld\+json">([\s\S]*?)<\/script>/g)]; for (const [, raw] of blocks) { let data: any; try { data = JSON.parse(raw); } catch { console.error(`Invalid JSON-LD in ${file}`); failures++; continue; } const nodes = data["@graph"] ?? [data]; for (const n of nodes) { if (n["@type"] === "Course" && n.provider?.["@id"] !== ORG_ID) { console.error(`Course without org provider in ${file}`); failures++; } if (n["@type"] === "FAQPage" && !Array.isArray(n.mainEntity)) { console.error(`FAQPage without mainEntity array in ${file}`); failures++; } } } } process.exit(failures ? 1 : 0); It will not replace the validators, but it catches regressions the moment someone edits a template.
Common mistakes in school markup
These show up repeatedly in audits.
1. Claiming a status the school does not have. Words like "accredited," "approved," "licensed," and "certified" mean different things and are not interchangeable. A school approved by a state workforce agency is not automatically accredited by an accrediting body. Do not try to encode these as structured claims unless you are certain of the exact relationship; describe them in visible text using the exact wording the school is entitled to use.
2. Markup that does not match the page. Hours in JSON-LD that differ from the footer, an FAQ in markup that is not on the page, a course description copied from an old brochure. Google's general structured data guidelines are clear that markup must represent the visible content.
3. Duplicate organization nodes with different data. A theme plugin outputs one Organization, an SEO plugin outputs another, and your custom code outputs a third. Each has a slightly different name or phone. Pick one source and disable the rest.
4. Wrong subtype. CollegeOrUniversity for a short career program, or MedicalBusiness because the school trains people for healthcare jobs. Type the entity for what it is.
5. Free-text where a format is expected. "timeRequired": "3 months", "byDay": "Sundays", "opens": "9am". Use ISO 8601 durations, DayOfWeek URLs, and 24-hour HH:MM.
6. Class times in opening hours. Office hours and class schedules are different facts. Keep them apart.
7. sameAs padding. Linking to every directory listing dilutes the property's meaning. Only official profiles.
8. Review markup on your own organization. Self-serving reviews of your own business are not eligible for review rich results under Google's guidelines, and fake ones are a policy problem. If you do not have a genuine third-party review system, skip it.
9. Client-side injection that never renders for crawlers. If JSON-LD is added by a tag manager after load, confirm in URL Inspection that it appears in the rendered HTML. Server rendering is safer.
10. Forgetting the Spanish (or other language) pages. On a bilingual site, the /es course page needs its own Course node with Spanish name and description and inLanguage: "es", referencing the same organization @id.
NAP consistency and the Google Business Profile
For a local school, structured data is only one of several places where the organization describes itself. The others include the Google Business Profile, the website footer and contact page, social profiles, and any directory listings. NAP (name, address, phone) consistency is the practice of making those agree.
Google's help article on how Google determines local ranking describes the main factors as relevance, distance, and prominence, and recommends complete, accurate business information. Consistent data across sources is a basic part of being accurate. It also has a very practical benefit: a parent who finds a different phone number on Maps than on the website is likely to give up.
A consistency checklist
Name. Use the exact name the school operates under, the same on the Business Profile, the site header, and name in JSON-LD. Do not append keywords like "Best Dental School Dallas" to the profile name; Google's Business Profile guidelines prohibit that.
Address. Pick one format and use it everywhere: "Suite" vs "Ste", "Road" vs "Rd". Search engines can reconcile small differences, but there is no reason to make them. Include the suite number if the school has one. Make sure geo coordinates match the map pin.
Phone. Use one primary local number. If the school uses a call-tracking number on the website, the Business Profile can list it as primary with the main number as an additional phone. Whatever you choose, the JSON-LD telephone should match what is visibly on the page.
Hours. Holiday hours and schedule changes should be updated in the Business Profile and on the site at the same time. Stale hours on one of them create the kind of mismatch that makes people distrust both.
Category and description. The Business Profile's primary category should describe what the school is. Keep the description factual and aligned with the site's About page.
Website link. Point the Business Profile's website field to the canonical homepage, with the exact protocol and trailing slash convention your site uses.
Make it a shared source of truth
The simplest way to keep NAP aligned is to stop typing it in multiple places. Store name, address, phone, hours, and coordinates in one config file or CMS entry. Render the footer, contact page, and JSON-LD from that same object. When the school moves or changes a phone number, update it once in code and once in the Business Profile.
// config/business.ts export const BUSINESS = { name: "Brilliant Dental Assisting School", url: "https://brilliantdentalassisting.com/", phone: "+1-000-000-0000", address: { street: "0000 Placeholder Rd, Suite 000", city: "Dallas", region: "TX", postal: "00000", country: "US", }, geo: { lat: 0.0, lng: 0.0 }, } as const; Then add a quarterly reminder to compare the live Business Profile against this file by hand. It takes a few minutes and catches edits made by someone who never touched the codebase.
FAQ
Do I need structured data for a small school site to rank?
No. Structured data helps search engines understand entities and can enable certain rich results, but it is not a substitute for useful content, accurate business information, and a fast, accessible site.
Should I use Microdata or JSON-LD?
JSON-LD is generally the easiest to maintain because it is separate from your HTML and can be generated from data. Google supports JSON-LD, Microdata, and RDFa.
Is Course markup pointless now that Course Info rich results are gone?
Not pointless, but lower priority. It is still valid schema.org and describes your offerings in a machine-readable way. Just do not promise a visual search feature from it.
Can I mark up class schedules?
Yes, through CourseInstance and courseSchedule. Keep the data current. If schedules change often and nobody will update the markup, describe the general pattern instead of exact times.
How do I handle a school with two campuses?
Model one parent organization and a separate node for each location, each with its own address, hours, and Business Profile. Link locations to the parent with parentOrganization or department, and give each location page its own markup.
Should JSON-LD be translated on Spanish pages?
Translate human-readable fields like name, description, and FAQ text so they match the visible Spanish content. Keep IDs, URLs to shared entities, and codes the same.
What tool should I trust when validators disagree?
They measure different things. The Schema Markup Validator checks vocabulary correctness; the Rich Results Test checks eligibility for Google features. Fix vocabulary errors first, then address any Google-specific warnings that apply to features you actually care about.
Closing
Good structured data for a local school is mostly discipline: pick accurate types, give every entity a stable @id, model courses the way they actually run, keep FAQ markup honest, validate with more than one tool, and make sure the website and Google Business Profile tell exactly the same story. None of it is flashy. All of it makes the school easier for both machines and people to understand.
Written by the team at Brilliant Dental Assisting School in Dallas, Texas.


