Short answer. For a law firm, the recommended type is LegalService; for a tax or accountancy firm, AccountingService; for a general consultancy, Organization or LocalBusiness with Service nodes. The generic ProfessionalService is deprecated in Schema.org for general use. The properties that send the strongest signal to generative engines are knowsAbout, sameAs, address (consistent NAP), founder/Person with worksFor, and a FAQPage block. All in JSON-LD, in a <script> in the <head>.
Why this markup matters more than ever
A website is written twice: once for people and once for machines. The human layer is the design and the copy; the machine layer is the structured markup. For years, that second layer was only used for Google’s rich snippets. Today it is the raw material generative engines use to decide whether your firm exists as an entity and whether they can recommend it with confidence.
In what we measure, most websites —including some that are excellent for a person— are mute to a machine: no markup at all, or generic markup that declares neither service nor location. On 1 August 2026 we checked this for dental clinics in Seville: of the 42 sources the AI used to answer, 62% were the clinics’ own websites. AI recommends the few it can read.
Which type to choose, depending on your case
| Type of firm | Recommended Schema type | Note |
|---|---|---|
| Law firm | LegalService | A descendant of LocalBusiness; there is also Attorney for individual profiles |
| Tax / accountancy firm | AccountingService | Specific and unambiguous |
| General consultancy / B2B boutique | Organization or LocalBusiness | With Service nodes for each service line |
| Any professional service | ProfessionalService | ⚠️ Deprecated for general use — see below |
The ProfessionalService case: deprecated, with nuances
Schema.org marks ProfessionalService as deprecated because of its ambiguity, and recommends the specific types in the table. Using it does not “break” anything —validators accept it and many sites use it—, but specific types give the engine more semantic clarity. A robust practice when you want compatibility is to declare the type as an array: "@type": ["LegalService", "Organization"] — the engine takes the specific one and keeps the generic base Google recommends for administrative data.
The properties that send the strongest signal
knowsAbout— the most underused. It explicitly declares the specialities (“Corporate Law”, “M&A”, “Compliance”). It is the most direct way of telling the engine which queries you are relevant for.sameAs— links verifiable profiles: LinkedIn, industry directories, registries. It builds the entity graph models use to corroborate that the firm is real. Without external corroboration there is no recommendation.address(NAP) — name, address and phone number identical to those in the rest of your online presence. A website that says one city and a directory that says another stop the engine from reconciling the entity.founder/Person+worksFor— links the partners to the organisation. Engines reason by person entities as much as by company entities.FAQPage— its question-answer pairs already come in the exact format a generative engine extracts to answer. It is the block with the most immediate return.Service+provider— one node per practice area, linked to the organisation. It avoids the single “services” page the machine cannot break down.
Complete example (adaptable)
A single block in the home page’s <head>, with a connected graph:
{
"@context": "https://schema.org",
"@graph": [
{
"@type": ["LegalService", "Organization"],
"@id": "https://www.yourfirm.es/#organization",
"name": "Firm Name",
"url": "https://www.yourfirm.es",
"logo": "https://www.yourfirm.es/logo.png",
"description": "Firm specialising in corporate law and M&A in Madrid.",
"address": {
"@type": "PostalAddress",
"streetAddress": "Example Street 1",
"addressLocality": "Madrid",
"postalCode": "28001",
"addressCountry": "ES"
},
"telephone": "+34 910 000 000",
"email": "contact@yourfirm.es",
"areaServed": { "@type": "Country", "name": "Spain" },
"knowsAbout": ["Corporate Law", "M&A", "Compliance"],
"sameAs": [
"https://www.linkedin.com/company/yourfirm/"
],
"founder": [{
"@type": "Person",
"name": "Partner Name",
"jobTitle": "Managing Partner",
"worksFor": { "@id": "https://www.yourfirm.es/#organization" },
"sameAs": ["https://www.linkedin.com/in/partner/"]
}]
},
{
"@type": "Service",
"name": "M&A advisory",
"provider": { "@id": "https://www.yourfirm.es/#organization" },
"serviceType": "Mergers and acquisitions",
"areaServed": "ES"
}
]
}
Always validate at validator.schema.org before publishing. A JSON-LD block with a syntax error is entirely invisible, not half invisible.
Mistakes we see every week in diagnostics
- Missing or broken JSON-LD — one extra comma and the whole block silently stops parsing.
- Contradictory NAP — the schema says one city and the legal notice another. The engine cannot reconcile the entity.
- Empty
sameAs— without links to verifiable profiles, the engine has no way to corroborate that the firm exists. - Everything on a single “services” page — without
Servicenodes per area, the machine cannot associate the firm with specific queries. - Correct markup but page not indexed — the best schema in the world is useless if the crawler cannot reach it: robots.txt, sitemap and indexing come first.
How it fits into a complete GEO strategy
Markup is the technical readability phase of Generative Engine Optimization: it comes after the diagnosis (measuring whether AI sees you) and before the authority work (getting other sources to corroborate you). The full discipline, with phases, prices and criteria for choosing a provider, is in the guide GEO consulting for law firms; and the measurement method, in algorithmic visibility audit.
Frequently asked questions
Which Schema.org type should a law firm use?
For a law firm, the recommended type is LegalService (a descendant of LocalBusiness), complemented by Service nodes for each practice area, Person for each partner linked via worksFor, and FAQPage on pages that answer questions. For a general consultancy or advisory firm, the recommended base is Organization or LocalBusiness with Service nodes. All in JSON-LD format.
Is ProfessionalService deprecated?
Yes. Schema.org marks ProfessionalService as deprecated for general use because of its ambiguity and recommends more specific types: LegalService for law firms, AccountingService for tax and accountancy firms, or Organization/LocalBusiness as a generic base. Using it does not break anything on its own, but specific types give more semantic clarity. A robust practice is to declare the specific type alongside Organization in an array.
Which Schema.org properties matter most for visibility in AI?
The ones most often missing that send the strongest signal: knowsAbout (explicit specialities), sameAs (verifiable profiles that build the entity graph), a complete address consistent with the rest of the online presence (NAP), founder/Person with worksFor, and FAQPage (its question-answer pairs already come in the format engines extract).
Is Schema.org enough for AI to recommend my firm?
No. Markup makes the website readable for the machine, which is a necessary condition but not a sufficient one. Engines also need to corroborate the entity in external sources (directories, mentions, verifiable profiles). A firm with perfect Schema and zero external authority will still not appear in competitive queries. The technical side is fixed in weeks; authority is built over months.
Update (July 2026): markup in practice
Schema is the layer we unlock, not the one we build: it makes readable to the engine what the firm already is. We tested it on our own website —flawless markup from day one— and in two months we went from no engine recognising us to Gemini including us among the consultancies it recommends. Schema was the necessary condition; authority, the slow work that came afterwards. How it looked, here.
Want to know whether your markup is readable for AI?
The Visibility Report measures whether your business appears when someone asks ChatGPT, Claude, Perplexity, Gemini or Copilot for a recommendation like yours: 15 queries across the five engines, 75 measurements, and a report on what is failing and why. It is included every month in the plan with a website, at €499/month, with no upfront fee.
Request a diagnosis

