<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Sourcemeta Blog</title>
    <link>https://www.sourcemeta.com/blog/</link>
    <description>Sourcemeta One is the self-hosted JSON Schema registry for enterprise teams. Unify your schemas, monitor quality, and govern your entire API layer. Built by a member of the JSON Schema Technical Steering Committee.</description>
    <language>en-us</language>
    <copyright>Copyright (c) 2024-2026 Sourcemeta OÜ</copyright>
    <docs>https://www.rssboard.org/rss-specification</docs>
    <generator>Hugo</generator>
    <image>
      <url>https://www.sourcemeta.com/icon-512x512.png</url>
      <title>Sourcemeta Blog</title>
      <link>https://www.sourcemeta.com/blog/</link>
    </image>
    <lastBuildDate>Fri, 30 Oct 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://www.sourcemeta.com/blog/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Solving the JSON Schema dialect fragmentation problem with auto-upgrades</title>
      <link>https://www.sourcemeta.com/blog/json-schema-dialect-auto-upgrade/</link>
      <guid isPermaLink="true">https://www.sourcemeta.com/blog/json-schema-dialect-auto-upgrade/</guid>
      <pubDate>Fri, 30 Oct 2026 00:00:00 +0000</pubDate>
      <dc:creator>Juan Cruz Viotti</dc:creator>
      <enclosure url="https://www.sourcemeta.com/blog/json-schema-dialect-auto-upgrade/adopters.webp" length="37024" type="image/webp" />
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;TL;DR: JSON Schema has published many dialects with breaking changes, and&#xA;specs like OpenAPI add their own extensions and constraints on top.&#xA;Different tools and schemas sit on different dialects, so using a schema you&#xA;need or plugging it into a tool you need is often hard or impossible. What&#xA;you really want is to keep one schema and let every tool receive it in the&#xA;dialect it understands. Sourcemeta finally makes that possible, upgrading&#xA;any schema on the fly to the dialect a tool expects, through the JSON Schema&#xA;CLI or the Sourcemeta One registry.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;h2 id=&#34;json-schema-evolves-and-evolution-brings-breaking-changes&#34;&gt;JSON Schema evolves, and evolution brings breaking changes&lt;/h2&gt;&#xA;&lt;p&gt;A 2025 OpenProceedings paper calls JSON Schema &lt;em&gt;&amp;ldquo;the de facto standard schema&#xA;language to describe JSON data&amp;rdquo;&lt;/em&gt;, with an adoption that is &lt;em&gt;&amp;ldquo;almost&#xA;ubiquitous&amp;rdquo;&lt;/em&gt; (&lt;a href=&#34;https://openproceedings.org/2025/conf/edbt/paper-T3.pdf&#34;&gt;OpenProceedings,&#xA;2025&lt;/a&gt;). Today, it is&#xA;&lt;a href=&#34;https://www.sourcemeta.com/blog/ai-only-speaks-json-schema/&#34;&gt;the one schema language every major AI provider (OpenAI, Google, Anthropic,&#xA;Mistral, xAI, DeepSeek) has converged on&lt;/a&gt;, and the format the Model Context&#xA;Protocol speaks. It is what &lt;a href=&#34;https://www.sourcemeta.com/blog/g7-runs-on-json-schema/&#34;&gt;every G7 government runs its digital public&#xA;infrastructure on&lt;/a&gt;, and from&#xA;December 2026 every EU country must run its &lt;a href=&#34;https://github.com/EWC-consortium/eudi-wallet-rulebooks-and-schemas/tree/main/data-schemas&#34;&gt;eIDAS 2.0 digital&#xA;identity&lt;/a&gt;&#xA;system on it as well. Whatever you are building, you almost certainly depend&#xA;on JSON Schema, directly or &lt;a href=&#34;https://www.sourcemeta.com/blog/json-schema-dominates-openapi/&#34;&gt;through OpenAPI&lt;/a&gt;, MCP, or a cloud service.&lt;/p&gt;&#xA;&lt;p&gt;Like any healthy standard, JSON Schema evolves. Each new version revisits&#xA;earlier decisions as the community learns more, rather than keeping them&#xA;forever. That willingness to break backward compatibility is much of what has&#xA;kept it from accumulating legacy it could never remove. The price is simply&#xA;that a schema written for one version may no longer be valid, or may quietly&#xA;mean something different, under another. Some are easy to spot: in Draft 6 the&#xA;identifier keyword &lt;a href=&#34;https://www.learnjsonschema.com/draft4/core/id/&#34;&gt;&lt;code&gt;id&lt;/code&gt;&lt;/a&gt; was&#xA;renamed to &lt;a href=&#34;https://www.learnjsonschema.com/draft6/core/id/&#34;&gt;&lt;code&gt;$id&lt;/code&gt;&lt;/a&gt;. Others&#xA;are far more subtle, like how the&#xA;&lt;a href=&#34;https://www.learnjsonschema.com/2020-12/core/anchor/&#34;&gt;&lt;code&gt;$anchor&lt;/code&gt;&lt;/a&gt; keyword&#xA;&lt;a href=&#34;https://www.learnjsonschema.com/2019-09/core/anchor/&#34;&gt;accepted colons in&#xA;2019-09&lt;/a&gt; but &lt;a href=&#34;https://www.learnjsonschema.com/2020-12/core/anchor/&#34;&gt;no longer&#xA;does in 2020-12&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The result is a family of dialects, each with its own set of breaking changes:&lt;/p&gt;&#xA;&lt;table&gt;&#xA;&#x9;&lt;thead&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Dialect&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Year&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Breaking changes&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&lt;/thead&gt;&#xA;&#x9;&lt;tbody&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Draft 0&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;2009&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;The first published draft.&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Draft 1&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;2009&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;No schema changes (an IETF metadata revision).&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Draft 2&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;2010&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;code&gt;maxDecimal&lt;/code&gt; replaced by &lt;a href=&#34;https://www.learnjsonschema.com/draft3/core/divisibleby/&#34;&gt;&lt;code&gt;divisibleBy&lt;/code&gt;&lt;/a&gt;, redefined from decimal places to divisibility.&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Draft 3&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;2010&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;code&gt;optional&lt;/code&gt; replaced by &lt;a href=&#34;https://www.learnjsonschema.com/draft3/core/required/&#34;&gt;&lt;code&gt;required&lt;/code&gt;&lt;/a&gt; with inverted meaning. &lt;code&gt;maximumCanEqual&lt;/code&gt; / &lt;code&gt;minimumCanEqual&lt;/code&gt; replaced by &lt;a href=&#34;https://www.learnjsonschema.com/draft3/core/exclusivemaximum/&#34;&gt;&lt;code&gt;exclusiveMaximum&lt;/code&gt;&lt;/a&gt; / &lt;a href=&#34;https://www.learnjsonschema.com/draft3/core/exclusiveminimum/&#34;&gt;&lt;code&gt;exclusiveMinimum&lt;/code&gt;&lt;/a&gt;. &lt;code&gt;requires&lt;/code&gt; renamed to &lt;a href=&#34;https://www.learnjsonschema.com/draft3/core/dependencies/&#34;&gt;&lt;code&gt;dependencies&lt;/code&gt;&lt;/a&gt;. &lt;a href=&#34;https://www.learnjsonschema.com/draft3/core/format/&#34;&gt;&lt;code&gt;format&lt;/code&gt;&lt;/a&gt; dropped the address-oriented values &lt;code&gt;street-address&lt;/code&gt;, &lt;code&gt;locality&lt;/code&gt;, &lt;code&gt;region&lt;/code&gt;, &lt;code&gt;postal-code&lt;/code&gt; and &lt;code&gt;country&lt;/code&gt;.&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Draft 4&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;2013&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://www.learnjsonschema.com/draft4/validation/required/&#34;&gt;&lt;code&gt;required&lt;/code&gt;&lt;/a&gt; changed from a per-property boolean flag to an array of names. &lt;a href=&#34;https://www.learnjsonschema.com/draft3/core/disallow/&#34;&gt;&lt;code&gt;disallow&lt;/code&gt;&lt;/a&gt; and &lt;a href=&#34;https://www.learnjsonschema.com/draft3/core/extends/&#34;&gt;&lt;code&gt;extends&lt;/code&gt;&lt;/a&gt; removed. &lt;a href=&#34;https://www.learnjsonschema.com/draft3/core/divisibleby/&#34;&gt;&lt;code&gt;divisibleBy&lt;/code&gt;&lt;/a&gt; renamed to &lt;a href=&#34;https://www.learnjsonschema.com/draft4/validation/multipleof/&#34;&gt;&lt;code&gt;multipleOf&lt;/code&gt;&lt;/a&gt;. &lt;a href=&#34;https://www.learnjsonschema.com/draft4/validation/type/&#34;&gt;&lt;code&gt;type&lt;/code&gt;&lt;/a&gt; dropped the &lt;code&gt;&amp;quot;any&amp;quot;&lt;/code&gt; value and can no longer hold inline subschemas. &lt;a href=&#34;https://www.learnjsonschema.com/draft4/validation/format/&#34;&gt;&lt;code&gt;format&lt;/code&gt;&lt;/a&gt; was pruned to six values (&lt;code&gt;date&lt;/code&gt;, &lt;code&gt;time&lt;/code&gt;, &lt;code&gt;utc-millisec&lt;/code&gt;, &lt;code&gt;regex&lt;/code&gt;, &lt;code&gt;color&lt;/code&gt;, &lt;code&gt;style&lt;/code&gt; and &lt;code&gt;phone&lt;/code&gt; removed, with &lt;code&gt;ip-address&lt;/code&gt; and &lt;code&gt;host-name&lt;/code&gt; renamed to &lt;code&gt;ipv4&lt;/code&gt; and &lt;code&gt;hostname&lt;/code&gt;).&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Draft 5&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;2016&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;No schema changes (a cleanup of Draft 4 that kept its meta-schemas).&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Draft 6&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;2017&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://www.learnjsonschema.com/draft4/core/id/&#34;&gt;&lt;code&gt;id&lt;/code&gt;&lt;/a&gt; renamed to &lt;a href=&#34;https://www.learnjsonschema.com/draft6/core/id/&#34;&gt;&lt;code&gt;$id&lt;/code&gt;&lt;/a&gt;. Boolean &lt;a href=&#34;https://www.learnjsonschema.com/draft6/validation/exclusiveminimum/&#34;&gt;&lt;code&gt;exclusiveMinimum&lt;/code&gt;&lt;/a&gt; / &lt;a href=&#34;https://www.learnjsonschema.com/draft6/validation/exclusivemaximum/&#34;&gt;&lt;code&gt;exclusiveMaximum&lt;/code&gt;&lt;/a&gt; became numeric. &lt;a href=&#34;https://www.learnjsonschema.com/draft6/validation/type/&#34;&gt;&lt;code&gt;type&lt;/code&gt;&lt;/a&gt; &lt;code&gt;&amp;quot;integer&amp;quot;&lt;/code&gt; now accepts values like &lt;code&gt;1.0&lt;/code&gt;.&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Draft 7&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;2018&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;None. Backward-compatible with Draft 6.&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;2019-09&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;2019&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://www.learnjsonschema.com/draft7/validation/definitions/&#34;&gt;&lt;code&gt;definitions&lt;/code&gt;&lt;/a&gt; renamed to &lt;a href=&#34;https://www.learnjsonschema.com/2019-09/core/defs/&#34;&gt;&lt;code&gt;$defs&lt;/code&gt;&lt;/a&gt;. &lt;a href=&#34;https://www.learnjsonschema.com/draft7/validation/dependencies/&#34;&gt;&lt;code&gt;dependencies&lt;/code&gt;&lt;/a&gt; split into &lt;a href=&#34;https://www.learnjsonschema.com/2019-09/validation/dependentrequired/&#34;&gt;&lt;code&gt;dependentRequired&lt;/code&gt;&lt;/a&gt; and &lt;a href=&#34;https://www.learnjsonschema.com/2019-09/applicator/dependentschemas/&#34;&gt;&lt;code&gt;dependentSchemas&lt;/code&gt;&lt;/a&gt;. Plain-name anchors moved from an &lt;a href=&#34;https://www.learnjsonschema.com/2019-09/core/id/&#34;&gt;&lt;code&gt;$id&lt;/code&gt;&lt;/a&gt; fragment to &lt;a href=&#34;https://www.learnjsonschema.com/2019-09/core/anchor/&#34;&gt;&lt;code&gt;$anchor&lt;/code&gt;&lt;/a&gt;, and &lt;a href=&#34;https://www.learnjsonschema.com/2019-09/core/ref/&#34;&gt;&lt;code&gt;$ref&lt;/code&gt;&lt;/a&gt; may now sit beside other keywords.&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;2020-12&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;2020&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Array &lt;a href=&#34;https://www.learnjsonschema.com/2019-09/applicator/items/&#34;&gt;&lt;code&gt;items&lt;/code&gt;&lt;/a&gt; and &lt;a href=&#34;https://www.learnjsonschema.com/2019-09/applicator/additionalitems/&#34;&gt;&lt;code&gt;additionalItems&lt;/code&gt;&lt;/a&gt; became &lt;a href=&#34;https://www.learnjsonschema.com/2020-12/applicator/prefixitems/&#34;&gt;&lt;code&gt;prefixItems&lt;/code&gt;&lt;/a&gt; and &lt;a href=&#34;https://www.learnjsonschema.com/2020-12/applicator/items/&#34;&gt;&lt;code&gt;items&lt;/code&gt;&lt;/a&gt;. &lt;a href=&#34;https://www.learnjsonschema.com/2019-09/core/recursiveref/&#34;&gt;&lt;code&gt;$recursiveRef&lt;/code&gt;&lt;/a&gt; / &lt;a href=&#34;https://www.learnjsonschema.com/2019-09/core/recursiveanchor/&#34;&gt;&lt;code&gt;$recursiveAnchor&lt;/code&gt;&lt;/a&gt; replaced by &lt;a href=&#34;https://www.learnjsonschema.com/2020-12/core/dynamicref/&#34;&gt;&lt;code&gt;$dynamicRef&lt;/code&gt;&lt;/a&gt; / &lt;a href=&#34;https://www.learnjsonschema.com/2020-12/core/dynamicanchor/&#34;&gt;&lt;code&gt;$dynamicAnchor&lt;/code&gt;&lt;/a&gt;. &lt;a href=&#34;https://www.learnjsonschema.com/2020-12/applicator/contains/&#34;&gt;&lt;code&gt;contains&lt;/code&gt;&lt;/a&gt; now marks matched items as evaluated, changing &lt;a href=&#34;https://www.learnjsonschema.com/2020-12/unevaluated/unevaluateditems/&#34;&gt;&lt;code&gt;unevaluatedItems&lt;/code&gt;&lt;/a&gt; results. &lt;a href=&#34;https://www.learnjsonschema.com/2020-12/core/anchor/&#34;&gt;&lt;code&gt;$anchor&lt;/code&gt;&lt;/a&gt; dropped the colon from its allowed characters.&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;h2 id=&#34;and-those-breaking-changes-cascade-to-json-schemas-adopters&#34;&gt;And those breaking changes cascade to JSON Schema&amp;rsquo;s adopters&lt;/h2&gt;&#xA;&lt;p&gt;JSON Schema is also a building block for other specifications, which embed it&#xA;to describe their data. So every breaking change in JSON Schema cascades up&#xA;into whatever is built on top of it. The clearest example is OpenAPI, which&#xA;embeds JSON Schema to describe the data in an API.&lt;/p&gt;&#xA;&lt;p&gt;What an OpenAPI document embeds is not a plain upstream dialect but its own&#xA;variant of JSON Schema, the OpenAPI Schema Object. Each OpenAPI version ties&#xA;that object to a particular JSON Schema dialect and then extends or restricts&#xA;it in its own way. OpenAPI has also rebased onto a newer dialect more than&#xA;once. All of this adds a new dimension to the fragmentation from the previous&#xA;section:&lt;/p&gt;&#xA;&lt;table&gt;&#xA;&#x9;&lt;thead&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Version&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Year&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;JSON Schema dialect&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&lt;/thead&gt;&#xA;&#x9;&lt;tbody&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Swagger 1.2&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;2014&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Reuses JSON Schema Draft 4&amp;rsquo;s primitive types (&lt;code&gt;type&lt;/code&gt; plus a &lt;code&gt;format&lt;/code&gt; modifier), but its Models and Properties are Swagger&amp;rsquo;s own objects that each &lt;a href=&#34;https://github.com/OAI/OpenAPI-Specification/blob/main/versions/1.2.md&#34;&gt;&lt;em&gt;&amp;ldquo;follows a subset of the JSON-Schema specification&amp;rdquo;&lt;/em&gt;&lt;/a&gt;, with non-standard spellings like &lt;code&gt;defaultValue&lt;/code&gt; (not &lt;a href=&#34;https://www.learnjsonschema.com/draft4/validation/default/&#34;&gt;&lt;code&gt;default&lt;/code&gt;&lt;/a&gt;) and &lt;code&gt;minimum&lt;/code&gt; / &lt;code&gt;maximum&lt;/code&gt; given as strings.&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Swagger / OpenAPI 2.0&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;2014&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://spec.openapis.org/oas/v2.0.html&#34;&gt;&lt;em&gt;&amp;ldquo;a subset of JSON Schema Draft 4&amp;rdquo;&lt;/em&gt;&lt;/a&gt; with OpenAPI-only additions (&lt;code&gt;discriminator&lt;/code&gt;, &lt;code&gt;readOnly&lt;/code&gt;, &lt;code&gt;xml&lt;/code&gt;, &lt;code&gt;externalDocs&lt;/code&gt;, &lt;code&gt;example&lt;/code&gt;) and its own &lt;code&gt;format&lt;/code&gt; values (&lt;code&gt;int32&lt;/code&gt;, &lt;code&gt;int64&lt;/code&gt;, &lt;code&gt;float&lt;/code&gt;, &lt;code&gt;double&lt;/code&gt;, &lt;code&gt;byte&lt;/code&gt;, &lt;code&gt;binary&lt;/code&gt;, &lt;code&gt;password&lt;/code&gt;). &lt;a href=&#34;https://www.learnjsonschema.com/draft4/validation/type/&#34;&gt;&lt;code&gt;type&lt;/code&gt;&lt;/a&gt; must be single-valued, and only &lt;a href=&#34;https://www.learnjsonschema.com/draft4/validation/allof/&#34;&gt;&lt;code&gt;allOf&lt;/code&gt;&lt;/a&gt; is supported among the logical applicators.&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;OpenAPI 3.0.x&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;2017&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://spec.openapis.org/oas/v3.0.3.html&#34;&gt;&lt;em&gt;&amp;ldquo;an extended subset of the JSON Schema Specification Wright Draft 00&amp;rdquo;&lt;/em&gt;&lt;/a&gt; (Draft 4 lineage), adding &lt;code&gt;nullable&lt;/code&gt;, &lt;code&gt;discriminator&lt;/code&gt;, &lt;code&gt;readOnly&lt;/code&gt;, &lt;code&gt;writeOnly&lt;/code&gt;, &lt;code&gt;xml&lt;/code&gt;, &lt;code&gt;externalDocs&lt;/code&gt;, &lt;code&gt;example&lt;/code&gt;, &lt;code&gt;deprecated&lt;/code&gt; and its own &lt;code&gt;format&lt;/code&gt; values (&lt;code&gt;int32&lt;/code&gt;, &lt;code&gt;int64&lt;/code&gt;, &lt;code&gt;byte&lt;/code&gt;, &lt;code&gt;binary&lt;/code&gt;, &lt;code&gt;password&lt;/code&gt;). &lt;a href=&#34;https://www.learnjsonschema.com/draft4/validation/type/&#34;&gt;&lt;code&gt;type&lt;/code&gt;&lt;/a&gt; must be a single string (no &lt;code&gt;null&lt;/code&gt;, use &lt;code&gt;nullable&lt;/code&gt;), and any JSON Schema keyword it does not list is &lt;em&gt;&amp;ldquo;strictly unsupported&amp;rdquo;&lt;/em&gt;.&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;OpenAPI 3.1&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;2021&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://spec.openapis.org/oas/v3.1.0.html&#34;&gt;&lt;em&gt;&amp;ldquo;a superset of the JSON Schema Specification Draft 2020-12&amp;rdquo;&lt;/em&gt;&lt;/a&gt;, defining an &lt;a href=&#34;https://spec.openapis.org/oas/3.1/dialect/base&#34;&gt;OpenAPI Schema Object dialect&lt;/a&gt; whose base vocabulary adds four keywords (&lt;a href=&#34;https://www.learnjsonschema.com/2020-12/openapi-3.1/discriminator/&#34;&gt;&lt;code&gt;discriminator&lt;/code&gt;&lt;/a&gt;, &lt;a href=&#34;https://www.learnjsonschema.com/2020-12/openapi-3.1/xml/&#34;&gt;&lt;code&gt;xml&lt;/code&gt;&lt;/a&gt;, &lt;a href=&#34;https://www.learnjsonschema.com/2020-12/openapi-3.1/externaldocs/&#34;&gt;&lt;code&gt;externalDocs&lt;/code&gt;&lt;/a&gt;, and &lt;a href=&#34;https://www.learnjsonschema.com/2020-12/openapi-3.1/example/&#34;&gt;&lt;code&gt;example&lt;/code&gt;&lt;/a&gt;).&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;OpenAPI 3.2&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;2025&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Also &lt;a href=&#34;https://spec.openapis.org/oas/v3.2.0.html&#34;&gt;a superset of 2020-12&lt;/a&gt;, with its &lt;a href=&#34;https://spec.openapis.org/oas/3.2/dialect/2025-09-17&#34;&gt;own base vocabulary&lt;/a&gt; carrying the same four keywords in revised form. &lt;a href=&#34;https://www.learnjsonschema.com/2020-12/openapi-3.2/example/&#34;&gt;&lt;code&gt;example&lt;/code&gt;&lt;/a&gt; is now deprecated, and &lt;a href=&#34;https://www.learnjsonschema.com/2020-12/openapi-3.2/xml/&#34;&gt;&lt;code&gt;xml&lt;/code&gt;&lt;/a&gt; gains a &lt;code&gt;nodeType&lt;/code&gt; while deprecating &lt;code&gt;attribute&lt;/code&gt; and &lt;code&gt;wrapped&lt;/code&gt;.&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;p&gt;OpenAPI is not the only one. The &lt;a href=&#34;https://modelcontextprotocol.io&#34;&gt;Model Context&#xA;Protocol&lt;/a&gt;, the fast-growing standard that&#xA;wires AI models to tools and &lt;a href=&#34;https://www.sourcemeta.com/blog/ai-only-speaks-json-schema/&#34;&gt;also builds on JSON Schema&lt;/a&gt; to describe a tool&amp;rsquo;s inputs and&#xA;outputs, hit the problem from the opposite direction. Where each OpenAPI&#xA;version pins a dialect and reshapes it, MCP left its embedded tool schemas&#xA;without a declared dialect at all. Implementations then ended up &lt;em&gt;&amp;ldquo;split&#xA;between draft-07 and 2020-12&amp;rdquo;&lt;/em&gt;, until&#xA;&lt;a href=&#34;https://modelcontextprotocol.io/seps/1613-establish-json-schema-2020-12-as-default-dialect-f&#34;&gt;SEP-1613&lt;/a&gt;&#xA;(October 2025) &lt;em&gt;&amp;ldquo;establishes JSON Schema 2020-12 as the default dialect for&#xA;embedded schemas within MCP messages&amp;rdquo;&lt;/em&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The flagship API and AI specs are not the only ones to change dialect. For&#xA;example, format specifications that ship JSON Schemas straight to their users&#xA;have quietly done the same. &lt;a href=&#34;https://www.khronos.org/gltf/&#34;&gt;glTF&lt;/a&gt;, Khronos&amp;rsquo;s&#xA;3D asset format, went &lt;a href=&#34;https://raw.githubusercontent.com/KhronosGroup/glTF/main/specification/2.0/schema/glTF.schema.json&#34;&gt;from Draft 4 to&#xA;2020-12&lt;/a&gt;&#xA;in 2021. &lt;a href=&#34;https://compose-spec.io/&#34;&gt;Docker Compose&lt;/a&gt; moved &lt;a href=&#34;https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json&#34;&gt;from 2019-09 to&#xA;2020-12&lt;/a&gt;&#xA;in 2026. &lt;a href=&#34;https://spdx.dev/&#34;&gt;SPDX&lt;/a&gt;, the software bill-of-materials standard,&#xA;went &lt;a href=&#34;https://raw.githubusercontent.com/spdx/spdx-spec/develop/schemas/spdx-schema-3-0-1.json&#34;&gt;from Draft 7 to&#xA;2020-12&lt;/a&gt;&#xA;with its 3.0 line in 2024. And &lt;a href=&#34;https://stacspec.org/&#34;&gt;STAC&lt;/a&gt;, the&#xA;SpatioTemporal Asset Catalog for geospatial data, moved &lt;a href=&#34;https://raw.githubusercontent.com/radiantearth/stac-spec/v0.9.0/catalog-spec/json-schema/catalog.json&#34;&gt;from Draft 6 to Draft&#xA;7&lt;/a&gt;&#xA;in 2020. Whole products migrate too: &lt;a href=&#34;https://docs.confluent.io/platform/current/schema-registry/index.html&#34;&gt;Confluent Schema&#xA;Registry&lt;/a&gt;,&#xA;Kafka&amp;rsquo;s schema registry, &lt;a href=&#34;https://docs.confluent.io/platform/current/schema-registry/fundamentals/serdes-develop/serdes-json.html&#34;&gt;added&#xA;2020-12&lt;/a&gt;&#xA;in Platform 7.6.0 in 2024, and &lt;a href=&#34;https://open-metadata.org/&#34;&gt;OpenMetadata&lt;/a&gt;, an&#xA;open-source metadata platform, moved its entire schema corpus from Draft 7 to&#xA;2020-12 in &lt;a href=&#34;https://github.com/open-metadata/OpenMetadata/pull/33631&#34;&gt;a single 2026 pull&#xA;request&lt;/a&gt; touching&#xA;1,324 files.&lt;/p&gt;&#xA;&lt;h2 id=&#34;how-fragmented-is-it-really&#34;&gt;How fragmented is it, really?&lt;/h2&gt;&#xA;&lt;p&gt;Pinning this down precisely is close to impossible. Most JSON Schema and&#xA;OpenAPI use lives inside companies, in private repositories and internal&#xA;services no one outside can measure. What is public is only a slice, so the&#xA;best we can do is triangulate from a few imperfect proxies. None is exhaustive&#xA;or representative on its own, and each looks at a different population, so&#xA;treat what follows as a rough picture, not a census. The useful part is that&#xA;the proxies disagree on magnitude but agree on the ranking.&lt;/p&gt;&#xA;&lt;h3 id=&#34;live-traffic-to-the-official-website&#34;&gt;Live traffic to the official website&lt;/h3&gt;&#xA;&lt;p&gt;Start with live traffic. The &lt;a href=&#34;https://json-schema.org&#34;&gt;json-schema.org&lt;/a&gt;&#xA;website hosts the meta-schema for each dialect. Its Cloudflare analytics show&#xA;which of those meta-schemas the world requests most over a trailing 30-day&#xA;window, and the ranking is telling: &lt;a href=&#34;https://json-schema.org/draft-07/schema&#34;&gt;Draft&#xA;7&lt;/a&gt; leads by a wide margin, &lt;a href=&#34;https://json-schema.org/draft-04/schema&#34;&gt;Draft&#xA;4&lt;/a&gt; is a close second, and&#xA;&lt;a href=&#34;https://json-schema.org/draft/2020-12/schema&#34;&gt;2020-12&lt;/a&gt; only comes third, with&#xA;&lt;a href=&#34;https://json-schema.org/draft-06/schema&#34;&gt;Draft 6&lt;/a&gt; and&#xA;&lt;a href=&#34;https://json-schema.org/draft/2019-09/schema&#34;&gt;2019-09&lt;/a&gt; far behind. That Draft&#xA;4, whose specification was published back in 2013, still outdraws the current&#xA;dialect is the sharpest sign of how sticky older dialects can be.&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://www.sourcemeta.com/blog/json-schema-dialect-auto-upgrade/jsonschema-org-top-paths.webp&#34; alt=&#34;json-schema.org meta-schema request paths over a trailing 30 days ending&#xA;2026-09-23 (Cloudflare analytics, site-owner data). Among dialect&#xA;meta-schemas Draft 7 leads at 37.99M requests, Draft 4 is second at 25.3M, the&#xA;2020-12 dialect meta-schema is at 11.85M, Draft 6 at 7.84M, and 2019-09 at&#xA;1.38M.&#34; width=&#34;1214&#34; height=&#34;1226&#34;&gt;&#xA;  &#xA;  &lt;figcaption&gt;json-schema.org meta-schema request paths over a trailing 30 days ending&#xA;2026-09-23 (Cloudflare analytics, site-owner data). Among dialect&#xA;meta-schemas Draft 7 leads at 37.99M requests, Draft 4 is second at 25.3M, the&#xA;2020-12 dialect meta-schema is at 11.85M, Draft 6 at 7.84M, and 2019-09 at&#xA;1.38M.&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&lt;p&gt;The first surprise is that Draft 7 leads at all. OpenAPI, the single largest&#xA;consumer of JSON Schema, never used it. Its 2.0 and 3.0 lines sit on the Draft&#xA;4 lineage, and 3.1 and later on 2020-12. Much of Draft 7&amp;rsquo;s traffic comes down&#xA;to one library, the Python&#xA;&lt;a href=&#34;https://github.com/python-jsonschema/jsonschema&#34;&gt;&lt;code&gt;jsonschema&lt;/code&gt;&lt;/a&gt; library&amp;rsquo;s&#xA;&lt;em&gt;&lt;a href=&#34;https://github.com/python-jsonschema/jsonschema/pull/1049&#34;&gt;deprecated&lt;/a&gt;&lt;/em&gt;&#xA;remote-&lt;code&gt;$ref&lt;/code&gt; fetch path, which sends the User-Agent &lt;code&gt;python-jsonschema (deprecated $ref resolution)&lt;/code&gt;. It fetches a schema&amp;rsquo;s meta-schema over the&#xA;network on every validation, doing exactly what the specification advises&#xA;against: &lt;a href=&#34;https://json-schema.org/draft/2020-12/json-schema-core.html#section-8.2.3&#34;&gt;&lt;em&gt;&amp;ldquo;implementations SHOULD NOT assume they should perform a network&#xA;operation when they encounter a network-addressable&#xA;URI&amp;rdquo;&lt;/em&gt;&lt;/a&gt;.&#xA;That does not make Draft 7&amp;rsquo;s lead fake, though. The library only fetches the&#xA;Draft 7 meta-schema because the schemas people feed it are Draft 7, so the&#xA;usage is real. The deprecated path just tilts the analytics further in its&#xA;favour.&lt;/p&gt;&#xA;&lt;p&gt;The other surprise is at the modern end. 2020-12 has been out for nearly six&#xA;years, and OpenAPI 3.1 adopted it back in February 2021. Yet it is still not&#xA;the most-requested dialect, and it has barely moved since &lt;a href=&#34;https://json-schema.org/blog/posts/website-analytics-snapshot-2023&#34;&gt;a 2023 article that&#xA;inspected the same Cloudflare&#xA;analytics&lt;/a&gt;.&#xA;Some of that gap is measurement, since the modern tools that use 2020-12 are&#xA;the ones most likely to ship the meta-schemas as built-in copies and validate&#xA;against those rather than fetch them over the network, so the figures&#xA;understate it. But the persistence is also the point. That same&#xA;python-jsonschema traffic was already there in 2023, which means whoever was&#xA;validating those Draft 7 schemas then is still doing it now, and still has not&#xA;upgraded.&lt;/p&gt;&#xA;&lt;p&gt;A last quirk we cannot explain is that 2020-12&amp;rsquo;s &lt;a href=&#34;https://json-schema.org/draft/2020-12/meta/core&#34;&gt;core vocabulary&#xA;meta-schema&lt;/a&gt; is requested&#xA;nearly twice as often as the &lt;a href=&#34;https://json-schema.org/draft/2020-12/schema&#34;&gt;dialect&#xA;meta-schema&lt;/a&gt; that references it.&lt;/p&gt;&#xA;&lt;h3 id=&#34;what-developers-publish-on-github&#34;&gt;What developers publish on GitHub&lt;/h3&gt;&#xA;&lt;p&gt;What developers actually declare on GitHub tells a compatible story. Every&#xA;dialect&amp;rsquo;s meta-schema lives at a distinct URL, and each version of OpenAPI and&#xA;AsyncAPI leaves a distinct marker in its documents. So a text search for those&#xA;strings is a rough headcount of what people publish.&lt;/p&gt;&#xA;&lt;p&gt;The table below runs one such query per row against GitHub&amp;rsquo;s code search API&#xA;on September 28th, 2026, and links each one so you can re-run it. This is text&#xA;matching over the API, not schema parsing. It counts every file containing the&#xA;string, including generated and vendored copies, which inflates the newest&#xA;dialects most. GitHub also returns the totals as estimates. So treat the&#xA;numbers as approximate, good enough as one more proxy, where the ranking&#xA;matters more than any exact figure.&lt;/p&gt;&#xA;&lt;table&gt;&#xA;&#x9;&lt;thead&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Specification&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Version&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Files on GitHub&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Searched for&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&lt;/thead&gt;&#xA;&#x9;&lt;tbody&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;JSON Schema&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Draft 0&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;398&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://github.com/search?q=%22json-schema.org%2Fdraft-00%2Fschema%22&amp;amp;type=code&#34;&gt;&lt;code&gt;&amp;quot;json-schema.org/draft-00/schema&amp;quot;&lt;/code&gt;&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;JSON Schema&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Draft 1&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;487&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://github.com/search?q=%22json-schema.org%2Fdraft-01%2Fschema%22&amp;amp;type=code&#34;&gt;&lt;code&gt;&amp;quot;json-schema.org/draft-01/schema&amp;quot;&lt;/code&gt;&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;JSON Schema&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Draft 2&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;489&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://github.com/search?q=%22json-schema.org%2Fdraft-02%2Fschema%22&amp;amp;type=code&#34;&gt;&lt;code&gt;&amp;quot;json-schema.org/draft-02/schema&amp;quot;&lt;/code&gt;&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;JSON Schema&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Draft 3&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;28,288&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://github.com/search?q=%22json-schema.org%2Fdraft-03%2Fschema%22&amp;amp;type=code&#34;&gt;&lt;code&gt;&amp;quot;json-schema.org/draft-03/schema&amp;quot;&lt;/code&gt;&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;JSON Schema&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Draft 4&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;444,416&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://github.com/search?q=%22json-schema.org%2Fdraft-04%2Fschema%22&amp;amp;type=code&#34;&gt;&lt;code&gt;&amp;quot;json-schema.org/draft-04/schema&amp;quot;&lt;/code&gt;&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;JSON Schema&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Draft 6&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;194,560&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://github.com/search?q=%22json-schema.org%2Fdraft-06%2Fschema%22&amp;amp;type=code&#34;&gt;&lt;code&gt;&amp;quot;json-schema.org/draft-06/schema&amp;quot;&lt;/code&gt;&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;JSON Schema&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Draft 7&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;839,680&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://github.com/search?q=%22json-schema.org%2Fdraft-07%2Fschema%22&amp;amp;type=code&#34;&gt;&lt;code&gt;&amp;quot;json-schema.org/draft-07/schema&amp;quot;&lt;/code&gt;&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;JSON Schema&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;2019-09&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;63,744&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://github.com/search?q=%22json-schema.org%2Fdraft%2F2019-09%2Fschema%22&amp;amp;type=code&#34;&gt;&lt;code&gt;&amp;quot;json-schema.org/draft/2019-09/schema&amp;quot;&lt;/code&gt;&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;JSON Schema&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;2020-12&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;829,440&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://github.com/search?q=%22json-schema.org%2Fdraft%2F2020-12%2Fschema%22&amp;amp;type=code&#34;&gt;&lt;code&gt;&amp;quot;json-schema.org/draft/2020-12/schema&amp;quot;&lt;/code&gt;&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;OpenAPI&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;2.0 (Draft 4 lineage)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;67,328&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://github.com/search?q=%22swagger%3A%20%5C%222.0%5C%22%22&amp;amp;type=code&#34;&gt;&lt;code&gt;&amp;quot;swagger: \&amp;quot;2.0\&amp;quot;&amp;quot;&lt;/code&gt;&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;OpenAPI&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;3.0 (Draft 4 subset)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;307,200&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://github.com/search?q=%22openapi%3A%203.0%22&amp;amp;type=code&#34;&gt;&lt;code&gt;&amp;quot;openapi: 3.0&amp;quot;&lt;/code&gt;&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;OpenAPI&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;3.1 (2020-12)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;100,352&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://github.com/search?q=%22openapi%3A%203.1%22&amp;amp;type=code&#34;&gt;&lt;code&gt;&amp;quot;openapi: 3.1&amp;quot;&lt;/code&gt;&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;OpenAPI&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;3.2 (2020-12)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;1,824&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://github.com/search?q=%22openapi%22%3A%20%223.2.0%22&amp;amp;type=code&#34;&gt;&lt;code&gt;&amp;quot;openapi&amp;quot;: &amp;quot;3.2.0&amp;quot;&lt;/code&gt;&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;AsyncAPI&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;2.x + 3.0 (Draft 7)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;13,088&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://github.com/search?q=%22asyncapi%3A%202%22&amp;amp;type=code&#34;&gt;&lt;code&gt;&amp;quot;asyncapi: 2&amp;quot;&lt;/code&gt;&lt;/a&gt;, &lt;a href=&#34;https://github.com/search?q=%22asyncapi%3A%203%22&amp;amp;type=code&#34;&gt;&lt;code&gt;&amp;quot;asyncapi: 3&amp;quot;&lt;/code&gt;&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;p&gt;Draft 7 leads here too, now by published files rather than by requests. The&#xA;one real divergence is 2020-12, which ranks higher by file count than by&#xA;traffic. Even that reflects the measurement bias pulling each way. File counts&#xA;are inflated by generated and vendored copies, while the traffic figures&#xA;understate 2020-12 because modern tools ship the meta-schemas as built-in&#xA;copies instead of fetching them.&lt;/p&gt;&#xA;&lt;p&gt;Draft 4 is the other constant. It no longer leads by raw file count, but its&#xA;lineage is what most public APIs still run on: OpenAPI 2.0 and 3.0 are both&#xA;custom Draft 4 dialects, and together they still outnumber the 2020-12-aligned&#xA;OpenAPI 3.1 by a wide margin, years after 2020-12 shipped. The extremes behave&#xA;as expected, with the earliest drafts effectively extinct and OpenAPI 3.2,&#xA;released only in September 2025, barely registering yet.&lt;/p&gt;&#xA;&lt;p&gt;A study from 2020 shows how recent Draft 7&amp;rsquo;s rise really is. &lt;em&gt;&lt;a href=&#34;https://arxiv.org/abs/2107.08677&#34;&gt;An Empirical&#xA;Study on the &amp;ldquo;Usage of Not&amp;rdquo; in Real-World JSON Schema&#xA;Documents&lt;/a&gt;&lt;/em&gt; crawled GitHub in July 2020,&#xA;removed duplicate copies, and found that across 82,094 files Draft 4 was&#xA;declared by 78.85% and Draft 7 by only 2.67%, with Draft 6 and Draft 3 in&#xA;between. That makes sense for the time. 2020-12 was not out yet, and Draft 7&#xA;was only two years old. Draft 4 was still the clear default. Our own numbers,&#xA;where Draft 7 now leads, show how far it has come since 2020.&lt;/p&gt;&#xA;&lt;h3 id=&#34;the-schemastore-catalogue&#34;&gt;The SchemaStore catalogue&lt;/h3&gt;&#xA;&lt;p&gt;One curated catalogue is worth a closer look.&#xA;&lt;a href=&#34;https://github.com/SchemaStore/schemastore&#34;&gt;SchemaStore&lt;/a&gt; is a large public&#xA;collection of JSON schemas for common configuration files. It is created and&#xA;maintained by Mads Kristensen, &lt;a href=&#34;https://www.youtube.com/watch?v=-yYTxLZZk58&#34;&gt;a longtime Visual Studio program manager at&#xA;Microsoft&lt;/a&gt;. It is also&#xA;overwhelmingly Draft 7. Of the 977 standalone schemas we analysed on September&#xA;28th, 2026, 89.3% declare Draft 7, only 7.4% declare 2020-12, just 1.1% Draft&#xA;4, and 1.7% declare no dialect at all.&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://www.sourcemeta.com/blog/json-schema-dialect-auto-upgrade/schemastore.webp&#34; alt=&#34;The SchemaStore landing page and its public catalogue, 1,551 files at the&#xA;time of writing. The project is run by volunteers and, by its own account,&#xA;serves more than a terabyte a day. Source:&#xA;schemastore.org&#34; width=&#34;2992&#34; height=&#34;1856&#34;&gt;&#xA;  &#xA;  &lt;figcaption&gt;The SchemaStore landing page and its public catalogue, 1,551 files at the&#xA;time of writing. The project is run by volunteers and, by its own account,&#xA;serves more than a terabyte a day. Source:&#xA;&lt;a href=&#34;https://www.schemastore.org/&#34;&gt;schemastore.org&lt;/a&gt;&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&lt;p&gt;That is the mirror image of the OpenAPI-driven proxies, where Draft 4 and&#xA;2020-12 lead and Draft 7 barely featured. The difference is what SchemaStore&#xA;is for. Visual Studio and Visual Studio Code draw on it for JSON and YAML&#xA;auto-completion. It lives entirely in the configuration-and-editor world,&#xA;which has no OpenAPI in it, so Draft 7 dominates. This suggests that much of&#xA;Draft 7&amp;rsquo;s lead in the earlier proxies comes from this world rather than from&#xA;APIs, and it is not a small one.&lt;/p&gt;&#xA;&lt;h2 id=&#34;what-dialects-do-real-products-and-specs-actually-use&#34;&gt;What dialects do real products and specs actually use?&lt;/h2&gt;&#xA;&lt;p&gt;So far we have counted schemas. The following table instead takes real&#xA;adopters of JSON Schema, commercial products, open-source projects, and&#xA;standards whose published artefact is the schema itself, and groups them by&#xA;the dialect each one uses. It is not exhaustive, and it reflects what each&#xA;project&amp;rsquo;s own documentation or published schemas state at the time of writing.&#xA;Adopters that support several dialects appear in every row they belong to, so&#xA;the numbers are row entries, not unique adopters.&lt;/p&gt;&#xA;&lt;table&gt;&#xA;&#x9;&lt;thead&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Dialect&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Count&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Commercial&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;OSS&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Schemas / Standards&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&lt;/thead&gt;&#xA;&#x9;&lt;tbody&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;strong&gt;Draft 3&lt;/strong&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;3&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://docs.informatica.com/data-integration/b2b-data-transformation/10-4-0/user-guide/wizard-input-and-output-formats/json/sample-json-schema.html&#34;&gt;Informatica B2B&lt;/a&gt;, &lt;a href=&#34;https://one.sourcemeta.com&#34;&gt;Sourcemeta One&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://raw.githubusercontent.com/FasterXML/jackson-module-jsonSchema/master/README.md&#34;&gt;Jackson jsonSchema module&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;—&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;strong&gt;Draft 4&lt;/strong&gt;, and OpenAPI 2.0 and 3.0&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;37&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://docs.aws.amazon.com/apigateway/latest/developerguide/models-mappings-models.html&#34;&gt;AWS API Gateway&lt;/a&gt;, &lt;a href=&#34;https://aws.amazon.com/about-aws/whats-new/2020/09/amazon-eventbridge-schema-registry-announces-support-for-json-schema/&#34;&gt;AWS EventBridge Schema Registry&lt;/a&gt;, &lt;a href=&#34;https://raw.githubusercontent.com/Azure/azure-resource-manager-schemas/main/schemas/2019-04-01/deploymentTemplate.json&#34;&gt;Azure ARM templates&lt;/a&gt;, &lt;a href=&#34;https://www.mongodb.com/docs/manual/reference/operator/query/jsonSchema/&#34;&gt;MongoDB &lt;code&gt;$jsonSchema&lt;/code&gt;&lt;/a&gt;, &lt;a href=&#34;https://ai.google.dev/gemini-api/docs/structured-output&#34;&gt;Google Gemini / Vertex&lt;/a&gt;, &lt;a href=&#34;https://developer.konghq.com/plugins/request-validator/&#34;&gt;Kong&lt;/a&gt;, &lt;a href=&#34;https://documentation.gravitee.io/apim/policy-reference/json-validation-policy&#34;&gt;Gravitee&lt;/a&gt;, &lt;a href=&#34;https://docs.axway.com/bundle/APIGateway_762_PolicyDevFilterReference_allOS_en_HTML5/page/Content/PolicyDevTopics/content_schema_json.htm&#34;&gt;Axway API Gateway&lt;/a&gt;, &lt;a href=&#34;https://www.ibm.com/docs/en/app-connect/13.0.x?topic=schema-json-requirements-message-maps&#34;&gt;IBM App Connect&lt;/a&gt;, &lt;a href=&#34;https://raw.githubusercontent.com/cloudflare/api-schemas/main/openapi.yaml&#34;&gt;Cloudflare&lt;/a&gt; (OpenAPI 3.0), &lt;a href=&#34;https://api.heroku.com/schema&#34;&gt;Heroku Platform API&lt;/a&gt; (Hyper-Schema), &lt;a href=&#34;https://raw.githubusercontent.com/microsoft/json-schemas/main/copilot/declarative-agent/v1.8/schema.json&#34;&gt;Microsoft json-schemas&lt;/a&gt;, &lt;a href=&#34;https://raw.githubusercontent.com/zapier/zapier-platform/main/packages/schema/exported-schema.json&#34;&gt;Zapier&lt;/a&gt;, &lt;a href=&#34;https://experienceleague.adobe.com/docs/experience-manager-65/forms/adaptive-forms-advanced-authoring/adaptive-form-json-schema-form-model.html&#34;&gt;Adobe Experience Manager&lt;/a&gt;, &lt;a href=&#34;https://help.apiary.io/api_101/json-schema/&#34;&gt;Apiary&lt;/a&gt;, &lt;a href=&#34;https://assertible.com/json-schema-validation&#34;&gt;Assertible&lt;/a&gt;, &lt;a href=&#34;https://developer.mescius.com/spreadjs/docs/features/jsonschema/fullschema&#34;&gt;SpreadJS&lt;/a&gt;, &lt;a href=&#34;https://docs.lightblue.io/standards/json_schema.html&#34;&gt;Lightblue&lt;/a&gt;, &lt;a href=&#34;https://api7.ai/enterprise&#34;&gt;API7&lt;/a&gt;, &lt;a href=&#34;https://one.sourcemeta.com&#34;&gt;Sourcemeta One&lt;/a&gt;, &lt;a href=&#34;https://github.com/confluentinc/schema-registry&#34;&gt;Confluent Schema Registry&lt;/a&gt;, &lt;a href=&#34;https://docs.aws.amazon.com/glue/latest/dg/schema-registry.html&#34;&gt;AWS Glue Schema Registry&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://kubernetes.io/blog/2019/06/20/crd-structural-schema/&#34;&gt;Kubernetes CRDs&lt;/a&gt;, &lt;a href=&#34;https://dev.mysql.com/doc/refman/8.0/en/json-validation-functions.html&#34;&gt;MySQL&lt;/a&gt;, &lt;a href=&#34;https://apisix.apache.org/docs/apisix/plugins/request-validation/&#34;&gt;Apache APISIX&lt;/a&gt;, &lt;a href=&#34;https://docs.snowplow.io/docs/api-reference/json-schema-reference/&#34;&gt;Snowplow / Iglu&lt;/a&gt;, &lt;a href=&#34;https://raw.githubusercontent.com/zalando/nakadi/master/docs/_data/nakadi-event-bus-api.yaml&#34;&gt;Nakadi&lt;/a&gt;, &lt;a href=&#34;https://github.com/gavinwahl/postgres-json-schema&#34;&gt;postgres-json-schema&lt;/a&gt;, &lt;a href=&#34;https://raw.githubusercontent.com/NCI-GDC/gdcdictionary/develop/src/gdcdictionary/schemas/case.yaml&#34;&gt;NCI Genomic Data Commons&lt;/a&gt;, &lt;a href=&#34;https://raw.githubusercontent.com/mozilla/mozilla-pipeline-schemas/master/schemas/activity-stream/events/events.1.schema.json&#34;&gt;Mozilla Data Pipeline&lt;/a&gt;, &lt;a href=&#34;https://git.drupalcode.org/project/patternkit&#34;&gt;Drupal Patternkit&lt;/a&gt;, &lt;a href=&#34;https://spec.openapis.org/oas/v3.0.3&#34;&gt;OpenAPI 3.0.x&lt;/a&gt;, &lt;a href=&#34;https://raw.githubusercontent.com/raml-org/raml-spec/master/versions/raml-10/raml-10.md&#34;&gt;RAML 1.0&lt;/a&gt;, &lt;a href=&#34;https://www.krakend.io/docs/endpoints/json-schema/&#34;&gt;KrakenD&lt;/a&gt;, &lt;a href=&#34;https://github.com/Apicurio/apicurio-registry&#34;&gt;Apicurio Registry&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://json-ld.org/schemas/jsonld-schema.json&#34;&gt;JSON-LD&lt;/a&gt; (document linter), &lt;a href=&#34;https://github.com/OpenBankingUK/read-write-api-specs&#34;&gt;UK Open Banking Standard&lt;/a&gt; (OpenAPI 3.0)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;strong&gt;Draft 6&lt;/strong&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;9&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://api7.ai/enterprise&#34;&gt;API7&lt;/a&gt;, &lt;a href=&#34;https://one.sourcemeta.com&#34;&gt;Sourcemeta One&lt;/a&gt;, &lt;a href=&#34;https://github.com/confluentinc/schema-registry&#34;&gt;Confluent Schema Registry&lt;/a&gt;, &lt;a href=&#34;https://docs.aws.amazon.com/glue/latest/dg/schema-registry.html&#34;&gt;AWS Glue Schema Registry&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://raw.githubusercontent.com/glideapps/quicktype/master/packages/quicktype-core/src/language/JSONSchema/JSONSchemaRenderer.ts&#34;&gt;quicktype&lt;/a&gt;, &lt;a href=&#34;https://apisix.apache.org/docs/apisix/plugins/request-validation/&#34;&gt;Apache APISIX&lt;/a&gt;, &lt;a href=&#34;https://www.krakend.io/docs/endpoints/json-schema/&#34;&gt;KrakenD&lt;/a&gt;, &lt;a href=&#34;https://github.com/Apicurio/apicurio-registry&#34;&gt;Apicurio Registry&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://www.hl7.org/fhir/patient.schema.json.html&#34;&gt;FHIR&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;strong&gt;Draft 7&lt;/strong&gt;, the crowded middle&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;30&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://documentation.decisions.com/docs/creating-types-json-schema&#34;&gt;Decisions&lt;/a&gt;, &lt;a href=&#34;https://docspring.com/docs/api/get_template_schema.html&#34;&gt;DocSpring&lt;/a&gt;, &lt;a href=&#34;https://docs.nginx.com/waf/policies/xml-json-content/&#34;&gt;NGINX App Protect&lt;/a&gt;, &lt;a href=&#34;https://api7.ai/enterprise&#34;&gt;API7&lt;/a&gt;, &lt;a href=&#34;https://one.sourcemeta.com&#34;&gt;Sourcemeta One&lt;/a&gt;, &lt;a href=&#34;https://github.com/confluentinc/schema-registry&#34;&gt;Confluent Schema Registry&lt;/a&gt;, &lt;a href=&#34;https://docs.aws.amazon.com/glue/latest/dg/schema-registry.html&#34;&gt;AWS Glue Schema Registry&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://raw.githubusercontent.com/backstage/backstage/master/packages/catalog-model/src/schema/Entity.schema.json&#34;&gt;Backstage&lt;/a&gt;, &lt;a href=&#34;https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/github-workflow.json&#34;&gt;GitHub Actions / Dependabot (SchemaStore)&lt;/a&gt;, &lt;a href=&#34;https://helm.sh/docs/topics/charts/&#34;&gt;Helm charts&lt;/a&gt;, &lt;a href=&#34;https://schemas.wp.org/trunk/theme.json&#34;&gt;WordPress theme.json&lt;/a&gt;, &lt;a href=&#34;https://raw.githubusercontent.com/ory/kratos/master/contrib/quickstart/kratos/email-password/identity.schema.json&#34;&gt;Ory Kratos&lt;/a&gt;, &lt;a href=&#34;https://docs.renovatebot.com/renovate-schema.json&#34;&gt;Renovate&lt;/a&gt;, &lt;a href=&#34;https://raw.githubusercontent.com/dbt-labs/dbt-jsonschema/main/schemas/1.6/dbt_project-1.6.json&#34;&gt;dbt&lt;/a&gt;, &lt;a href=&#34;https://raw.githubusercontent.com/StefanTerdell/zod-to-json-schema/master/README.md&#34;&gt;zod-to-json-schema&lt;/a&gt;, &lt;a href=&#34;https://raw.githubusercontent.com/YousefED/typescript-json-schema/master/typescript-json-schema.ts&#34;&gt;typescript-json-schema&lt;/a&gt;, &lt;a href=&#34;https://raw.githubusercontent.com/cloudevents/spec/main/cloudevents/formats/cloudevents.json&#34;&gt;CloudEvents&lt;/a&gt;, &lt;a href=&#34;https://www.asyncapi.com/docs/reference/specification/v3.0.0&#34;&gt;AsyncAPI 2.x/3.0&lt;/a&gt;, &lt;a href=&#34;https://apisix.apache.org/docs/apisix/plugins/request-validation/&#34;&gt;Apache APISIX&lt;/a&gt;, &lt;a href=&#34;https://www.krakend.io/docs/endpoints/json-schema/&#34;&gt;KrakenD&lt;/a&gt;, &lt;a href=&#34;https://github.com/Apicurio/apicurio-registry&#34;&gt;Apicurio Registry&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://raw.githubusercontent.com/finos/FDC3/main/packages/fdc3-context/schemas/context/context.schema.json&#34;&gt;FDC3&lt;/a&gt;, &lt;a href=&#34;https://raw.githubusercontent.com/radiantearth/stac-spec/master/item-spec/json-schema/item.json&#34;&gt;STAC&lt;/a&gt;, &lt;a href=&#34;https://geojson.org/schema/GeoJSON.json&#34;&gt;GeoJSON&lt;/a&gt;, &lt;a href=&#34;https://raw.githubusercontent.com/CycloneDX/specification/master/schema/bom-1.6.schema.json&#34;&gt;CycloneDX&lt;/a&gt;, &lt;a href=&#34;https://raw.githubusercontent.com/spdx/spdx-spec/support/2.3/schemas/spdx-schema.json&#34;&gt;SPDX&lt;/a&gt;, &lt;a href=&#34;https://github.com/usnistgov/OSCAL/releases/download/v1.2.3/oscal_complete_schema.json&#34;&gt;NIST OSCAL&lt;/a&gt;, &lt;a href=&#34;https://raw.githubusercontent.com/HumanCellAtlas/metadata-schema/master/json_schema/core/project/project_core.json&#34;&gt;Human Cell Atlas&lt;/a&gt;, &lt;a href=&#34;https://raw.githubusercontent.com/Transparency-Information-Language/schema/master/tilt-schema.json&#34;&gt;TILT&lt;/a&gt;, &lt;a href=&#34;https://github.com/ietf-wg-asdf/SDF&#34;&gt;SDF (IETF ASDF)&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;strong&gt;2019-09&lt;/strong&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;5&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://one.sourcemeta.com&#34;&gt;Sourcemeta One&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://www.krakend.io/docs/endpoints/json-schema/&#34;&gt;KrakenD&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://raw.githubusercontent.com/devicetree-org/dt-schema/main/dtschema/meta-schemas/core.yaml&#34;&gt;Linux kernel Devicetree bindings&lt;/a&gt; (dt-schema), &lt;a href=&#34;https://github.com/getmanfred/mac&#34;&gt;Manfred Awesomic CV&lt;/a&gt;, &lt;a href=&#34;https://github.com/MovieLabs/OMC&#34;&gt;MovieLabs OMC&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;strong&gt;2020-12&lt;/strong&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;28&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://docs.anthropic.com/en/docs/tool-use&#34;&gt;Anthropic Claude&lt;/a&gt;, &lt;a href=&#34;https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ToolInputSchema.html&#34;&gt;AWS Bedrock&lt;/a&gt;, &lt;a href=&#34;https://docs.oracle.com/en/database/oracle/oracle-database/23/adjsn/json-schema.html&#34;&gt;Oracle 23ai&lt;/a&gt;, &lt;a href=&#34;https://zuplo.com/docs/policies/request-validation-inbound&#34;&gt;Zuplo&lt;/a&gt;, &lt;a href=&#34;https://one.sourcemeta.com&#34;&gt;Sourcemeta One&lt;/a&gt;, &lt;a href=&#34;https://github.com/confluentinc/schema-registry&#34;&gt;Confluent Schema Registry&lt;/a&gt;, &lt;a href=&#34;https://docs.dottxt.ai/supported-features&#34;&gt;dottxt&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://raw.githubusercontent.com/nf-core/tools/main/nf_core/pipeline-template/nextflow_schema.json&#34;&gt;nf-core&lt;/a&gt;, &lt;a href=&#34;https://raw.githubusercontent.com/microsoft/typespec/main/packages/json-schema/src/json-schema-emitter.ts&#34;&gt;TypeSpec&lt;/a&gt;, &lt;a href=&#34;https://pydantic.dev/docs/validation/latest/concepts/json_schema/&#34;&gt;pydantic v2&lt;/a&gt;, &lt;a href=&#34;https://raw.githubusercontent.com/invopop/jsonschema/main/schema.go&#34;&gt;invopop/jsonschema + schemars v1&lt;/a&gt;, &lt;a href=&#34;https://spec.openapis.org/oas/v3.1.0&#34;&gt;OpenAPI 3.1&lt;/a&gt;, &lt;a href=&#34;https://raw.githubusercontent.com/open-telemetry/opentelemetry-configuration/main/opentelemetry_configuration.json&#34;&gt;OpenTelemetry&lt;/a&gt;, &lt;a href=&#34;https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json&#34;&gt;Docker Compose&lt;/a&gt;, &lt;a href=&#34;https://raw.githubusercontent.com/json-api/json-api/gh-pages/_schemas/1.0/schema.json&#34;&gt;JSON:API&lt;/a&gt;, &lt;a href=&#34;https://spec.openapis.org/arazzo/v1.0.0.html&#34;&gt;Arazzo&lt;/a&gt;, &lt;a href=&#34;https://apisjson.org/&#34;&gt;APIs.json&lt;/a&gt;, &lt;a href=&#34;https://www.krakend.io/docs/endpoints/json-schema/&#34;&gt;KrakenD&lt;/a&gt;, &lt;a href=&#34;https://github.com/Apicurio/apicurio-registry&#34;&gt;Apicurio Registry&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://www.iso20022.org/sites/default/files/media/file/ISO_20022_Generation_of_JSON_Schema_Draft_2020_12_for_ISO_20022_2013_10June2025.pdf&#34;&gt;ISO 20022 (JSON)&lt;/a&gt;, &lt;a href=&#34;https://raw.githubusercontent.com/KhronosGroup/glTF/main/specification/2.0/schema/glTF.schema.json&#34;&gt;glTF (Khronos)&lt;/a&gt;, &lt;a href=&#34;https://raw.githubusercontent.com/smart-data-models/dataModel.Weather/master/WeatherObserved/schema.json&#34;&gt;Smart Data Models&lt;/a&gt;, &lt;a href=&#34;https://www.iptc.org/std/ninjs/ninjs-schema_3.2.json&#34;&gt;NinJS (IPTC)&lt;/a&gt;, &lt;a href=&#34;https://raw.githubusercontent.com/RDA-DMP-Common/RDA-DMP-Common-Standard/master/examples/JSON/JSON-schema/1.2/maDMP-schema-1.2.json&#34;&gt;RDA DMP Common&lt;/a&gt;, &lt;a href=&#34;https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/schema/2025-11-25/schema.json&#34;&gt;MCP&lt;/a&gt;, &lt;a href=&#34;https://github.com/a2aproject/A2A&#34;&gt;A2A&lt;/a&gt;, &lt;a href=&#34;https://github.com/ossf/osv-schema/blob/main/validation/schema.json&#34;&gt;OSSF OSV&lt;/a&gt;, &lt;a href=&#34;https://github.com/nasa-gcn/gcn-schema&#34;&gt;NASA GCN&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;strong&gt;Unclear&lt;/strong&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;14&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;em&gt;LLM APIs, each a different bespoke subset:&lt;/em&gt; &lt;a href=&#34;https://developers.openai.com/api/docs/guides/structured-outputs&#34;&gt;OpenAI&lt;/a&gt;, &lt;a href=&#34;https://learn.microsoft.com/en-us/azure/ai-foundry/openai/how-to/structured-outputs&#34;&gt;Azure OpenAI&lt;/a&gt;, &lt;a href=&#34;https://docs.cohere.com/docs/structured-outputs&#34;&gt;Cohere&lt;/a&gt;, &lt;a href=&#34;https://console.groq.com/docs/structured-outputs&#34;&gt;Groq&lt;/a&gt;, &lt;a href=&#34;https://docs.mistral.ai/capabilities/structured-output/custom_structured_output/&#34;&gt;Mistral&lt;/a&gt;, &lt;a href=&#34;https://docs.together.ai/docs/json-mode&#34;&gt;Together AI&lt;/a&gt;. &lt;em&gt;No dialect declared:&lt;/em&gt; &lt;a href=&#34;https://docs.retool.com/docs/working-with-json-schema-form&#34;&gt;Retool&lt;/a&gt;, &lt;a href=&#34;https://developer.jamf.com/developer-guide/docs/schema&#34;&gt;JamF&lt;/a&gt;, &lt;a href=&#34;https://learn.microsoft.com/en-us/azure/api-management/validate-content-policy&#34;&gt;Azure API Management&lt;/a&gt;, &lt;a href=&#34;https://developer.walmart.com/us-marketplace/docs/item-setup-schema-key-points&#34;&gt;Walmart&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;em&gt;No dialect declared:&lt;/em&gt; &lt;a href=&#34;https://raw.githubusercontent.com/serverless/serverless/main/packages/serverless/lib/config-schema.js&#34;&gt;Serverless&lt;/a&gt;, &lt;a href=&#34;https://apim.docs.wso2.com/en/4.4.0/design/api-security/api-request-response-schema-validation/json-schema-validator/&#34;&gt;WSO2 API Manager&lt;/a&gt; &lt;em&gt;OSS constrained decoding, bespoke subset:&lt;/em&gt; &lt;a href=&#34;https://docs.vllm.ai/en/latest/features/structured_outputs.html&#34;&gt;vLLM&lt;/a&gt;, &lt;a href=&#34;https://github.com/mlc-ai/xgrammar&#34;&gt;XGrammar&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;—&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;p&gt;The pattern is that no single dialect wins. Real, current adopters span four&#xA;eras at once, from Draft 3 to 2020-12, and every one of them is still a&#xA;production dependency for someone. Draft 4 and Draft 7 carry the longest&#xA;tails, especially on the commercial side, while 2019-09 was skipped almost&#xA;entirely and 2020-12 is the one clearly gaining ground, mostly among newer AI&#xA;and data products. The split is sharp even inside a single category: among API&#xA;gateways alone, Kong, AWS API Gateway, Apache APISIX, Gravitee, and Axway&#xA;validate against Draft 4, NGINX App Protect reaches Draft 7, Zuplo is on&#xA;2020-12, and KrakenD supports several at once, so even a task as narrow as&#xA;validating requests in a gateway has no one-dialect answer. The LLM&#xA;structured-output APIs are worse still, each accepting its own incompatible&#xA;subset that is not a clean dialect at all.&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://www.sourcemeta.com/blog/json-schema-dialect-auto-upgrade/adopters.webp&#34; alt=&#34;The same table, stacked by what kind of adopter each entry is. Draft 4’s&#xA;lead is mostly commercial, 22 of its 37 entries, while Draft 7 and 2020-12&#xA;lean open source and standards. An adopter that supports several dialects is&#xA;counted in each one, so the bars are row entries rather than unique adopters.&#xA;Source: each project’s own documentation or published schemas&#34; width=&#34;1976&#34; height=&#34;931&#34;&gt;&#xA;  &#xA;  &lt;figcaption&gt;The same table, stacked by what kind of adopter each entry is. Draft 4&amp;rsquo;s&#xA;lead is mostly commercial, 22 of its 37 entries, while Draft 7 and 2020-12&#xA;lean open source and standards. An adopter that supports several dialects is&#xA;counted in each one, so the bars are row entries rather than unique adopters.&#xA;Source: each project&amp;rsquo;s own documentation or published schemas&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&lt;h2 id=&#34;where-fragmentation-bites&#34;&gt;Where fragmentation bites&lt;/h2&gt;&#xA;&lt;p&gt;The fragmentation is not a theoretical worry. It surfaces as a steady stream&#xA;of GitHub issues, and the same failures show up from one project to the next,&#xA;often with similar error strings. Here is what it looks like, one trap at a&#xA;time.&lt;/p&gt;&#xA;&lt;h3 id=&#34;the-hard-reject&#34;&gt;The hard reject&lt;/h3&gt;&#xA;&lt;p&gt;A tool that supports exactly one dialect does not adapt to a schema written in&#xA;another. It rejects it outright, before any validation happens, so the&#xA;mismatch surfaces as a flat refusal rather than a wrong answer. The clearest&#xA;live example is the Model Context Protocol, where servers built with the &lt;a href=&#34;https://github.com/modelcontextprotocol/typescript-sdk&#34;&gt;MCP&#xA;TypeScript SDK&lt;/a&gt; tag&#xA;their tool schemas as Draft 7 while Claude&amp;rsquo;s client validates against 2020-12&#xA;and nothing else.&lt;/p&gt;&#xA;&lt;p&gt;The schema is discarded before a single request is made, with an error that&#xA;names the exact problem:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Tool &amp;lsquo;&amp;lt;name&amp;gt;&amp;rsquo; has an invalid outputSchema: JSON Schema declares an&#xA;unsupported dialect (&amp;quot;$schema&amp;quot;: &amp;ldquo;&lt;a href=&#34;http://json-schema.org/draft-07/schema#%22&#34;&gt;http://json-schema.org/draft-07/schema#&amp;quot;&lt;/a&gt;).&#xA;The default validator supports JSON Schema 2020-12 only&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;That one report drew 54 comments (&lt;a href=&#34;https://github.com/anthropics/claude-code/issues/86142&#34;&gt;claude-code&#xA;#86142&lt;/a&gt;), and the&#xA;cause is mundane. The SDK &lt;em&gt;&amp;ldquo;falls back to &amp;lsquo;draft-7&amp;rsquo; whenever no explicit&#xA;target is passed&amp;rdquo;&lt;/em&gt; (&lt;a href=&#34;https://github.com/modelcontextprotocol/typescript-sdk/issues/2721&#34;&gt;typescript-sdk&#xA;#2721&lt;/a&gt;).&lt;/p&gt;&#xA;&lt;p&gt;The same error shows up in other MCP projects too, like the reference file&#xA;server (&lt;a href=&#34;https://github.com/modelcontextprotocol/servers/issues/4841&#34;&gt;servers&#xA;#4841&lt;/a&gt;) and the&#xA;&lt;a href=&#34;https://github.com/mcp-use/mcp-use&#34;&gt;mcp-use&lt;/a&gt; client (&lt;a href=&#34;https://github.com/mcp-use/mcp-use/issues/1839&#34;&gt;mcp-use&#xA;#1839&lt;/a&gt;). But this is not an&#xA;MCP problem. It is what any single-dialect tool does.&#xA;&lt;a href=&#34;https://ajv.js.org&#34;&gt;AJV&lt;/a&gt; defaults to Draft 7, so feed it a 2020-12 schema and&#xA;it fails with &lt;code&gt;no schema with key or ref&lt;/code&gt; unless you pass &lt;code&gt;--spec=draft2020&lt;/code&gt;&#xA;(&lt;a href=&#34;https://github.com/ajv-validator/ajv-cli/issues/251&#34;&gt;ajv-cli #251&lt;/a&gt;). And&#xA;some tools never made the jump at all, like&#xA;&lt;a href=&#34;https://github.com/rjsf-team/react-jsonschema-form&#34;&gt;react-jsonschema-form&lt;/a&gt;,&#xA;which still cannot handle 2020-12 (&lt;a href=&#34;https://github.com/rjsf-team/react-jsonschema-form/issues/3750&#34;&gt;rjsf&#xA;#3750&lt;/a&gt;, &lt;a href=&#34;https://github.com/rjsf-team/react-jsonschema-form/issues/3751&#34;&gt;rjsf&#xA;#3751&lt;/a&gt;).&lt;/p&gt;&#xA;&lt;p&gt;The same loud failure happens keyword by keyword, not only for a schema as a&#xA;whole.&#xA;&lt;a href=&#34;https://www.learnjsonschema.com/2020-12/validation/exclusiveminimum/&#34;&gt;&lt;code&gt;exclusiveMinimum&lt;/code&gt;&lt;/a&gt;&#xA;flipped from a boolean flag to a numeric bound between Draft 4 and Draft 6, so&#xA;a validator built for one form errors on the other (&lt;a href=&#34;https://github.com/kogosoftwarellc/open-api/issues/776&#34;&gt;kogosoftwarellc&#xA;#776&lt;/a&gt;). Array&#xA;&lt;a href=&#34;https://www.learnjsonschema.com/draft4/validation/items/&#34;&gt;&lt;code&gt;items&lt;/code&gt;&lt;/a&gt; became&#xA;&lt;a href=&#34;https://www.learnjsonschema.com/2020-12/applicator/prefixitems/&#34;&gt;&lt;code&gt;prefixItems&lt;/code&gt;&lt;/a&gt;&#xA;in 2020-12, crashing generators that still expect an &lt;code&gt;items&lt;/code&gt; key, with&#xA;&lt;a href=&#34;https://github.com/orval-labs/orval&#34;&gt;orval&lt;/a&gt; dying on &lt;code&gt;All arrays must have an items key define&lt;/code&gt; (&lt;a href=&#34;https://github.com/orval-labs/orval/issues/890&#34;&gt;orval&#xA;#890&lt;/a&gt;) and&#xA;&lt;a href=&#34;https://github.com/OpenAPITools/openapi-generator&#34;&gt;openapi-generator&lt;/a&gt; hitting&#xA;the same wall twice (&lt;a href=&#34;https://github.com/OpenAPITools/openapi-generator/issues/19704&#34;&gt;openapi-generator&#xA;#19704&lt;/a&gt;,&#xA;&lt;a href=&#34;https://github.com/OpenAPITools/openapi-generator/issues/17923&#34;&gt;openapi-generator&#xA;#17923&lt;/a&gt;). And&#xA;keywords like&#xA;&lt;a href=&#34;https://www.learnjsonschema.com/2020-12/validation/mincontains/&#34;&gt;&lt;code&gt;minContains&lt;/code&gt;&lt;/a&gt;&#xA;or &lt;a href=&#34;https://www.learnjsonschema.com/2020-12/core/anchor/&#34;&gt;&lt;code&gt;$anchor&lt;/code&gt;&lt;/a&gt; are&#xA;flagged &amp;ldquo;unknown&amp;rdquo; under the wrong dialect (&lt;a href=&#34;https://github.com/ajv-validator/ajv/issues/1872&#34;&gt;AJV&#xA;#1872&lt;/a&gt;, &lt;a href=&#34;https://github.com/ajv-validator/ajv/issues/1854&#34;&gt;AJV&#xA;#1854&lt;/a&gt;).&lt;/p&gt;&#xA;&lt;h3 id=&#34;the-silent-trap&#34;&gt;The silent trap&lt;/h3&gt;&#xA;&lt;p&gt;Worse than a loud rejection is no error at all. A dialect change can render a&#xA;once-valid keyword unknown, sometimes changing a schema&amp;rsquo;s meaning by accident.&#xA;As JSON Schema TSC member Ben Hutton puts it, an unknown keyword &lt;em&gt;&lt;a href=&#34;https://words.benhutton.me/2025-01-20-openai-chatgpt-and-structured-output-with-json-schema-pt1&#34;&gt;&amp;ldquo;is just&#xA;going to be ignored. You won&amp;rsquo;t get an error. It makes no noise.&#xA;Silence.&amp;rdquo;&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;The move from OpenAPI 3.0 to 3.1 is full of these. &lt;code&gt;nullable&lt;/code&gt; was a real&#xA;keyword in 3.0 but does not exist in 2020-12, so a 3.1 document that still&#xA;emits it simply loses that information:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;nullable: true is emitted as-is. OpenAPI 3.1 uses JSON Schema 2020-12, where&#xA;nullable no longer exists &amp;hellip; Tools reading a 3.1 document ignore it, so the&#xA;nullability is silently lost.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;The same silent drop runs through all 579 &lt;code&gt;nullable&lt;/code&gt; occurrences in&#xA;&lt;a href=&#34;https://www.svix.com&#34;&gt;Svix&lt;/a&gt;&amp;rsquo;s published spec (&lt;a href=&#34;https://github.com/svix/svix-webhooks/issues/2551&#34;&gt;svix&#xA;#2551&lt;/a&gt;, &lt;a href=&#34;https://github.com/fastify/fastify-swagger/issues/954&#34;&gt;fastify-swagger&#xA;#954&lt;/a&gt;). Other changes&#xA;are just as quiet. An&#xA;&lt;a href=&#34;https://www.learnjsonschema.com/2020-12/validation/exclusiveminimum/&#34;&gt;&lt;code&gt;exclusiveMinimum&lt;/code&gt;&lt;/a&gt;&#xA;bound can vanish on upgrade, &lt;em&gt;&amp;ldquo;left as &lt;code&gt;undefined&lt;/code&gt;&amp;rdquo;&lt;/em&gt; with nothing flagged&#xA;(&lt;a href=&#34;https://github.com/scalar/scalar/issues/10235&#34;&gt;scalar #10235&lt;/a&gt;). A bare&#xA;&lt;code&gt;type: &amp;quot;null&amp;quot;&lt;/code&gt; can conjure a phantom model in a code generator&#xA;(&lt;a href=&#34;https://github.com/OpenAPITools/openapi-generator/issues/24520&#34;&gt;openapi-generator&#xA;#24520&lt;/a&gt;). In&#xA;&lt;a href=&#34;https://n8n.io&#34;&gt;n8n&lt;/a&gt;, the same Draft 7 versus 2020-12 mismatch from the hard&#xA;reject above never surfaces. The MCP server&amp;rsquo;s tool schemas are discarded for&#xA;declaring the wrong dialect, and the only sign is &lt;em&gt;&amp;ldquo;zero tools appear in chat,&#xA;with no visible error&amp;rdquo;&lt;/em&gt; (&lt;a href=&#34;https://github.com/n8n-io/n8n/issues/36361&#34;&gt;n8n&#xA;#36361&lt;/a&gt;).&lt;/p&gt;&#xA;&lt;h3 id=&#34;the-mixed-dialect-trap&#34;&gt;The mixed-dialect trap&lt;/h3&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://json-schema.org/draft/2020-12/json-schema-core.html&#34;&gt;JSON Schema was designed to let a single document mix&#xA;dialects&lt;/a&gt;. So a&#xA;2020-12 document that references a Draft 7 GeoJSON schema is spec-valid. The&#xA;tools, though, often disagree. For example, reference a Draft 7 schema from a&#xA;2020-12 document, and a tool may apply the newer dialect across the reference,&#xA;where a keyword like&#xA;&lt;a href=&#34;https://www.learnjsonschema.com/draft7/validation/dependencies/&#34;&gt;&lt;code&gt;dependencies&lt;/code&gt;&lt;/a&gt;&#xA;no longer exists. The &lt;a href=&#34;https://covjson.org&#34;&gt;CoverageJSON&lt;/a&gt; maintainers hit&#xA;exactly this wall:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;OpenAPI 3.1 base their schema on JSON Schema Specification Draft 2020-12 &amp;hellip;&#xA;But &lt;a href=&#34;https://covjson.org/schema/dev/coveragejson.json&#34;&gt;https://covjson.org/schema/dev/coveragejson.json&lt;/a&gt; is based on&#xA;&lt;a href=&#34;http://json-schema.org/draft-07/schema&#34;&gt;http://json-schema.org/draft-07/schema&lt;/a&gt;, which is an older version of&#xA;JSON-Schema.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;The thread ran to 24 comments before it was understood (&lt;a href=&#34;https://github.com/opengeospatial/CoverageJSON/issues/205&#34;&gt;CoverageJSON&#xA;#205&lt;/a&gt;).&lt;/p&gt;&#xA;&lt;p&gt;The same failure shows up wherever a cross-dialect reference is bundled or&#xA;resolved. &lt;a href=&#34;https://github.com/Redocly/redocly-cli&#34;&gt;Redocly&lt;/a&gt; trips on bundling&#xA;a 2020-12 root into an OpenAPI 3.1 spec (&lt;a href=&#34;https://github.com/Redocly/redocly-cli/issues/1613&#34;&gt;redocly-cli&#xA;#1613&lt;/a&gt;),&#xA;&lt;a href=&#34;https://github.com/APIDevTools/json-schema-ref-parser&#34;&gt;json-schema-ref-parser&lt;/a&gt;&#xA;on the &lt;a href=&#34;https://www.learnjsonschema.com/2020-12/core/id/&#34;&gt;&lt;code&gt;$id&lt;/code&gt;&lt;/a&gt; and&#xA;&lt;a href=&#34;https://www.learnjsonschema.com/2020-12/core/ref/&#34;&gt;&lt;code&gt;$ref&lt;/code&gt;&lt;/a&gt; changes from&#xA;2019-09 (&lt;a href=&#34;https://github.com/APIDevTools/json-schema-ref-parser/issues/145&#34;&gt;json-schema-ref-parser&#xA;#145&lt;/a&gt;),&#xA;&lt;a href=&#34;https://github.com/python-jsonschema/jsonschema&#34;&gt;python-jsonschema&lt;/a&gt; on an&#xA;embedded 2020-12 meta-schema (&lt;a href=&#34;https://github.com/python-jsonschema/jsonschema/issues/884&#34;&gt;python-jsonschema&#xA;#884&lt;/a&gt;) and on a&#xA;resolver rewrite that broke a working STAC schema (&lt;a href=&#34;https://github.com/python-jsonschema/jsonschema/issues/1064&#34;&gt;python-jsonschema&#xA;#1064&lt;/a&gt;).&lt;/p&gt;&#xA;&lt;h3 id=&#34;why-multi-dialect-tooling-is-not-enough&#34;&gt;Why multi-dialect tooling is not enough&lt;/h3&gt;&#xA;&lt;p&gt;So the obvious fix suggests itself: make every tool speak every dialect. Many&#xA;already try, since general-purpose validators tend to support several dialects&#xA;at once. But that alone cannot close the gap. Even a perfectly multi-dialect&#xA;validator has no say over what happens next, as your schema flows on into&#xA;someone else&amp;rsquo;s gateway, code generator, editor, and LLM endpoint. There will&#xA;always be one more consumer, or one more publisher, working in a different&#xA;dialect than you expected. Making every tool speak every dialect is the right&#xA;idea in principle and impossible to guarantee in practice.&lt;/p&gt;&#xA;&lt;h2 id=&#34;auto-upgrade-the-schema-and-why-nobody-has-finished-the-job&#34;&gt;Auto-upgrade the schema, and why nobody has finished the job&lt;/h2&gt;&#xA;&lt;p&gt;The holy grail is easy to state. You write a schema once, in whatever dialect&#xA;was current at the time, and from then on your tooling transforms it on the&#xA;fly into whatever dialect each consumer needs, including dialects that have&#xA;not been published yet. The endless question of which dialect to write in,&#xA;which dialect to support, which dialect a given tool happens to speak, simply&#xA;disappears for good.&lt;/p&gt;&#xA;&lt;p&gt;This is what Sourcemeta&amp;rsquo;s&#xA;&lt;a href=&#34;https://github.com/sourcemeta/jsonschema/blob/main/docs/upgrade.markdown&#34;&gt;auto-upgrade&lt;/a&gt;&#xA;does. The idea itself is not new, and people have written dialect upgraders&#xA;for years, but none of them gets the whole job right.&lt;/p&gt;&#xA;&lt;table&gt;&#xA;&#x9;&lt;thead&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Capability&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;&lt;a href=&#34;https://github.com/ajv-validator/json-schema-migrate&#34;&gt;json-schema-migrate&lt;/a&gt;&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;&lt;a href=&#34;https://github.com/un-ts/json-schema-migrate-x&#34;&gt;json-schema-migrate-x&lt;/a&gt;&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;&lt;a href=&#34;https://crates.io/crates/jsonschema-migrate&#34;&gt;jsonschema-migrate&lt;/a&gt; (Rust)&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;&lt;strong&gt;&lt;a href=&#34;https://www.sourcemeta.com&#34;&gt;Sourcemeta&lt;/a&gt;&lt;/strong&gt;&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&lt;/thead&gt;&#xA;&#x9;&lt;tbody&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Repoints &lt;a href=&#34;https://www.learnjsonschema.com/2020-12/core/ref/&#34;&gt;&lt;code&gt;$ref&lt;/code&gt;&lt;/a&gt; after a keyword moves&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;No&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;No&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Partial (only &lt;code&gt;#/definitions&lt;/code&gt;)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;strong&gt;Yes&lt;/strong&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Fixes &lt;a href=&#34;https://www.learnjsonschema.com/2020-12/core/anchor/&#34;&gt;&lt;code&gt;$anchor&lt;/code&gt;&lt;/a&gt; references&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;No (emits invalid names)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;No (emits invalid names)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;No (deletes anchors)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;strong&gt;Yes&lt;/strong&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Guards new keywords&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;No&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;No&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;No&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;strong&gt;Yes&lt;/strong&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Embedded resources&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Yes&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Yes&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;No&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;strong&gt;Yes&lt;/strong&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Mixed-dialect documents&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;No (force one dialect)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;No (force one dialect)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;No (inner left unconverted)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;strong&gt;Yes&lt;/strong&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Handles a stray &lt;code&gt;$schema&lt;/code&gt; (invalid without &lt;code&gt;$id&lt;/code&gt;)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;No (leaves it)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;No (rewrites it to the 2020-12 URI)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;No (leaves it)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;strong&gt;Yes&lt;/strong&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Emits the requested dialect&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;No (writes 2019-09)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Yes&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Yes&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;strong&gt;Yes&lt;/strong&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Source dialects&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Draft 4&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Draft 4&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Draft 4 to 2019-09&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;strong&gt;Draft 3 to 2020-12, and OpenAPI 3.0/3.1&lt;/strong&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Target dialects&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Draft 6 to 2020-12&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Draft 6 to 2020-12&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;2020-12 only&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;strong&gt;Draft 4 to 2020-12, and OpenAPI 3.1/3.2&lt;/strong&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;OpenAPI 3.0 schemas&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;No&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;No&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;No&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;strong&gt;Yes&lt;/strong&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;OpenAPI 3.1 / 3.2 custom vocabularies&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;No&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;No&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;No&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;strong&gt;Yes&lt;/strong&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Maintained&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;No (2021)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Yes&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Yes&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;strong&gt;Yes&lt;/strong&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; tools that only upgrade schemas inside an OpenAPI document, such&#xA;as &lt;a href=&#34;https://www.npmjs.com/package/@scalar/openapi-upgrader&#34;&gt;Scalar&amp;rsquo;s&#xA;openapi-upgrader&lt;/a&gt;,&#xA;&lt;a href=&#34;https://github.com/Mermade/oas-kit&#34;&gt;swagger2openapi&lt;/a&gt;, and&#xA;&lt;a href=&#34;https://github.com/apiture/openapi-down-convert&#34;&gt;openapi-down-convert&lt;/a&gt;, are&#xA;left out of the table above, since none can take a standalone JSON Schema.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;JSON Schema is a &lt;a href=&#34;https://arxiv.org/abs/2307.10034&#34;&gt;complex language&lt;/a&gt;, and&#xA;upgrading it correctly across dialects is a massive undertaking. The table&#xA;above is a non-exhaustive sample of the aspects that make it hard, and there&#xA;are many more, some extremely subtle, like the&#xA;&lt;a href=&#34;https://www.learnjsonschema.com/2020-12/core/anchor/&#34;&gt;&lt;code&gt;$anchor&lt;/code&gt;&lt;/a&gt; keyword&#xA;quietly dropping the colon from its legal characters between 2019-09 and&#xA;2020-12. Sourcemeta is committed to getting all of them right, every time.&lt;/p&gt;&#xA;&lt;h2 id=&#34;using-it-today&#34;&gt;Using it today&lt;/h2&gt;&#xA;&lt;p&gt;There are two ways to get a schema in the dialect a given tool expects, and&#xA;they suit different workflows. The command line is for local development,&#xA;where you upgrade a schema yourself when you need it. The registry is for&#xA;publishing at an organisation&amp;rsquo;s scale, where you store one schema and let each&#xA;consumer ask for the dialect it wants, so nobody upgrades anything by hand.&lt;/p&gt;&#xA;&lt;h3 id=&#34;the-json-schema-cli&#34;&gt;The JSON Schema CLI&lt;/h3&gt;&#xA;&lt;p&gt;The &lt;a href=&#34;https://github.com/sourcemeta/jsonschema/blob/main/docs/upgrade.markdown&#34;&gt;&lt;code&gt;jsonschema upgrade&lt;/code&gt;&lt;/a&gt;&#xA;command upgrades a schema on the spot. Point it at a file and name the target&#xA;dialect. Take this Draft 3 schema, which embeds a Draft 7 resource of its own:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#e5e5e5;background-color:#000;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-json&#34; data-lang=&#34;json&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;{&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;$schema&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;http://json-schema.org/draft-03/schema#&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;id&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;https://schemas.my-corp.com/order&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;type&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;object&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;properties&amp;#34;&lt;/span&gt;: {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;quantity&amp;#34;&lt;/span&gt;: { &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;type&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;integer&amp;#34;&lt;/span&gt;, &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;divisibleBy&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#ff0;font-weight:bold&#34;&gt;5&lt;/span&gt;, &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;required&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#fff;font-weight:bold&#34;&gt;true&lt;/span&gt; },&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;express&amp;#34;&lt;/span&gt;: { &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;$ref&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;#/dependencies/creditCard&amp;#34;&lt;/span&gt; },&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;shipTo&amp;#34;&lt;/span&gt;: {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;$schema&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;http://json-schema.org/draft-07/schema#&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;$id&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;https://schemas.my-corp.com/address&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;type&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;object&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;dependencies&amp;#34;&lt;/span&gt;: { &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;number&amp;#34;&lt;/span&gt;: [ &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;street&amp;#34;&lt;/span&gt; ] }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  },&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;dependencies&amp;#34;&lt;/span&gt;: {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;creditCard&amp;#34;&lt;/span&gt;: { &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;required&amp;#34;&lt;/span&gt;: [ &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;billingAddress&amp;#34;&lt;/span&gt; ] }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Run:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#e5e5e5;background-color:#000;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;jsonschema upgrade order.json --to 2020-12&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;and you get:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#e5e5e5;background-color:#000;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-json&#34; data-lang=&#34;json&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;{&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;$schema&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;https://json-schema.org/draft/2020-12/schema&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;$id&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;https://schemas.my-corp.com/order&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;type&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;object&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;required&amp;#34;&lt;/span&gt;: [ &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;quantity&amp;#34;&lt;/span&gt; ],&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;properties&amp;#34;&lt;/span&gt;: {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;quantity&amp;#34;&lt;/span&gt;: { &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;type&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;integer&amp;#34;&lt;/span&gt;, &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;multipleOf&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#ff0;font-weight:bold&#34;&gt;5&lt;/span&gt; },&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;express&amp;#34;&lt;/span&gt;: { &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;$ref&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;#/dependentSchemas/creditCard&amp;#34;&lt;/span&gt; },&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;shipTo&amp;#34;&lt;/span&gt;: {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;$schema&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;https://json-schema.org/draft/2020-12/schema&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;$id&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;https://schemas.my-corp.com/address&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;type&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;object&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;dependentRequired&amp;#34;&lt;/span&gt;: { &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;number&amp;#34;&lt;/span&gt;: [ &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;street&amp;#34;&lt;/span&gt; ] }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  },&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;dependentSchemas&amp;#34;&lt;/span&gt;: {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;creditCard&amp;#34;&lt;/span&gt;: { &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;required&amp;#34;&lt;/span&gt;: [ &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;billingAddress&amp;#34;&lt;/span&gt; ] }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;In one pass it took the outer schema from Draft 3 to 2020-12. It renamed&#xA;&lt;a href=&#34;https://www.learnjsonschema.com/draft3/core/id/&#34;&gt;&lt;code&gt;id&lt;/code&gt;&lt;/a&gt; to&#xA;&lt;a href=&#34;https://www.learnjsonschema.com/2020-12/core/id/&#34;&gt;&lt;code&gt;$id&lt;/code&gt;&lt;/a&gt;, moved the&#xA;per-property&#xA;&lt;a href=&#34;https://www.learnjsonschema.com/2020-12/validation/required/&#34;&gt;&lt;code&gt;required&lt;/code&gt;&lt;/a&gt;&#xA;flag up into an array, and turned&#xA;&lt;a href=&#34;https://www.learnjsonschema.com/draft3/core/divisibleby/&#34;&gt;&lt;code&gt;divisibleBy&lt;/code&gt;&lt;/a&gt; into&#xA;&lt;a href=&#34;https://www.learnjsonschema.com/2020-12/validation/multipleof/&#34;&gt;&lt;code&gt;multipleOf&lt;/code&gt;&lt;/a&gt;.&#xA;Each use of&#xA;&lt;a href=&#34;https://www.learnjsonschema.com/draft3/core/dependencies/&#34;&gt;&lt;code&gt;dependencies&lt;/code&gt;&lt;/a&gt;&#xA;split by form, the schema-valued one into&#xA;&lt;a href=&#34;https://www.learnjsonschema.com/2020-12/applicator/dependentschemas/&#34;&gt;&lt;code&gt;dependentSchemas&lt;/code&gt;&lt;/a&gt;&#xA;and the property list into&#xA;&lt;a href=&#34;https://www.learnjsonschema.com/2020-12/validation/dependentrequired/&#34;&gt;&lt;code&gt;dependentRequired&lt;/code&gt;&lt;/a&gt;.&#xA;The &lt;a href=&#34;https://www.learnjsonschema.com/2020-12/core/ref/&#34;&gt;&lt;code&gt;$ref&lt;/code&gt;&lt;/a&gt; in &lt;code&gt;express&lt;/code&gt;&#xA;repointed to match. The embedded &lt;code&gt;shipTo&lt;/code&gt; resource is on a different dialect,&#xA;Draft 7. It was upgraded on its own terms in the same pass.&lt;/p&gt;&#xA;&lt;h3 id=&#34;sourcemeta-one&#34;&gt;Sourcemeta One&lt;/h3&gt;&#xA;&lt;p&gt;The command line is fine for a one-off, or a script that walks a directory.&#xA;But an organisation can hold thousands of schemas across many dialects, owned&#xA;by different teams and changing all the time. Upgrading each one by hand does&#xA;not scale, and neither does keeping a converted copy for every consumer.&lt;/p&gt;&#xA;&lt;p&gt;Say the &lt;code&gt;order&lt;/code&gt; schema above lives in a &lt;a href=&#34;https://one.sourcemeta.com&#34;&gt;Sourcemeta&#xA;One&lt;/a&gt; instance at &lt;code&gt;schemas.my-corp.com&lt;/code&gt;. You choose&#xA;the dialect you want with an &lt;code&gt;as&lt;/code&gt; query parameter on the fetch URL. A team&#xA;still on an older validator asks for Draft 7:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;https://schemas.my-corp.com/order?as=draft7&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Another team on a modern stack asks the same path for 2020-12:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;https://schemas.my-corp.com/order?as=2020-12&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;One schema is stored, and each consumer gets the dialect it asks for. Those&#xA;URLs are ordinary references too, so they drop into whatever consumes the&#xA;schema. An OpenAPI 3.1 description can point a request body straight at the&#xA;2020-12 form:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#e5e5e5;background-color:#000;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-yaml&#34; data-lang=&#34;yaml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;font-weight:bold&#34;&gt;openapi&lt;/span&gt;: &lt;span style=&#34;color:#ff0;font-weight:bold&#34;&gt;3.1.0&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;font-weight:bold&#34;&gt;info&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;font-weight:bold&#34;&gt;title&lt;/span&gt;: Orders&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;font-weight:bold&#34;&gt;version&lt;/span&gt;: &lt;span style=&#34;color:#ff0;font-weight:bold&#34;&gt;1.0.0&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;font-weight:bold&#34;&gt;paths&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;font-weight:bold&#34;&gt;/orders&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;post&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;requestBody&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;font-weight:bold&#34;&gt;content&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;font-weight:bold&#34;&gt;application/json&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;font-weight:bold&#34;&gt;schema&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;              &lt;span style=&#34;font-weight:bold&#34;&gt;$ref&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;https://schemas.my-corp.com/order?as=2020-12&amp;#34;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;A conversion always arrives bundled, so every reference inside travels already&#xA;converted. A consumer never follows a&#xA;&lt;a href=&#34;https://www.learnjsonschema.com/2020-12/core/ref/&#34;&gt;&lt;code&gt;$ref&lt;/code&gt;&lt;/a&gt; into a document&#xA;left in the old dialect. The full contract is in the &lt;a href=&#34;https://one.sourcemeta.com/api/#fetch&#34;&gt;Sourcemeta One HTTP&#xA;API&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;next-steps&#34;&gt;Next steps&lt;/h2&gt;&#xA;&lt;p&gt;&lt;strong&gt;Custom meta-schemas.&lt;/strong&gt; Auto-upgrade covers the official dialects, but not a&#xA;meta-schema or a schema that declares a custom one. A meta-schema describes a&#xA;dialect by naming that dialect&amp;rsquo;s keywords as ordinary data, often under&#xA;&lt;a href=&#34;https://www.learnjsonschema.com/2020-12/applicator/properties/&#34;&gt;&lt;code&gt;properties&lt;/code&gt;&lt;/a&gt;&#xA;or&#xA;&lt;a href=&#34;https://www.learnjsonschema.com/2020-12/applicator/patternproperties/&#34;&gt;&lt;code&gt;patternProperties&lt;/code&gt;&lt;/a&gt;.&#xA;Upgrading renames the keywords in a schema, but it cannot tell which of those&#xA;data strings also meant a keyword and should move with them. So a conversion&#xA;can succeed and still leave the result out of step with the meta-schema, and&#xA;the meta-schema with its vocabularies. We are exploring meta-schema-level&#xA;hints to carry the intent that cannot be inferred today.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Downgrades.&lt;/strong&gt; Auto-upgrade only goes one way today. Going the other way is&#xA;harder, since a newer dialect can often express things an older one cannot.&#xA;Our &lt;a href=&#34;https://github.com/json-schema-org/upgrade-downgrade-rules&#34;&gt;preliminary&#xA;research&lt;/a&gt;, from a&#xA;&lt;a href=&#34;https://github.com/json-schema-org/community/issues/599&#34;&gt;Google Summer of Code&#xA;project&lt;/a&gt;, found that&#xA;more cases are possible than expected.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Swagger 2.0.&lt;/strong&gt; Auto-upgrade starts at OpenAPI 3.0, not the older &lt;a href=&#34;https://spec.openapis.org/oas/v2.0.html&#34;&gt;Swagger&#xA;2.0&lt;/a&gt;. There has been almost no demand&#xA;for it, and the numbers above show it trailing OpenAPI 3.0 several times over.&#xA;We will consider adding it if enough people ask.&lt;/p&gt;&#xA;&lt;p&gt;The specification is also trying to end new fragmentation at the source. Its&#xA;next release, JSON Schema v1, makes &lt;a href=&#34;https://json-schema.org/blog/posts/stable-json-schema&#34;&gt;backward compatibility a&#xA;priority&lt;/a&gt; after &lt;a href=&#34;https://json-schema.org/blog/posts/the-last-breaking-change&#34;&gt;one&#xA;last breaking change&lt;/a&gt;.&#xA;But that is the long game, and the dialects already deployed are not going&#xA;anywhere, as the numbers above show. Auto-upgrade is for the fragmentation you&#xA;have now.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Fully solving JSON Schema and JSON-LD interoperability</title>
      <link>https://www.sourcemeta.com/blog/json-schema-jsonld-interoperability/</link>
      <guid isPermaLink="true">https://www.sourcemeta.com/blog/json-schema-jsonld-interoperability/</guid>
      <pubDate>Tue, 14 Jul 2026 00:00:00 +0000</pubDate>
      <dc:creator>Juan Cruz Viotti</dc:creator>
      <enclosure url="https://www.sourcemeta.com/blog/json-schema-jsonld-interoperability/annotation-vocabulary.webp" length="133190" type="image/webp" />
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;TL;DR: The same &lt;a href=&#34;https://json-schema.org&#34;&gt;JSON Schema&lt;/a&gt; that validates&#xA;your data can now declare what that data &lt;em&gt;means&lt;/em&gt;. We built a ten-keyword&#xA;extension vocabulary (&lt;code&gt;x-jsonld-*&lt;/code&gt;) that promotes instances to&#xA;&lt;a href=&#34;https://www.w3.org/TR/json-ld11/&#34;&gt;JSON-LD&lt;/a&gt; (the JSON serialisation of&#xA;&lt;a href=&#34;https://www.w3.org/RDF/&#34;&gt;RDF&lt;/a&gt;). Annotate the schemas you already have, and&#xA;every payload they validate becomes knowledge-graph-ready. Over the past&#xA;decade, everyone from&#xA;&lt;a href=&#34;https://github.com/mulesoft-labs/json-ld-schema&#34;&gt;MuleSoft&lt;/a&gt; to&#xA;&lt;a href=&#34;https://github.com/adobe/xdm/blob/master/docs/introduction.md&#34;&gt;Adobe&lt;/a&gt; to&#xA;&lt;a href=&#34;https://datatracker.ietf.org/doc/draft-polli-restapi-ld-keywords/&#34;&gt;the Italian&#xA;government&lt;/a&gt;&#xA;attempted some version of this bridge, and every attempt fell short of the&#xA;same hard part: composition. We solved it, and it ships today in the &lt;a href=&#34;https://github.com/sourcemeta/jsonschema/blob/main/docs/rdf.markdown&#34;&gt;JSON&#xA;Schema&#xA;CLI&lt;/a&gt;&#xA;and in the &lt;a href=&#34;https://one.sourcemeta.com/api/#rdf&#34;&gt;Sourcemeta One&lt;/a&gt; registry.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;There is a fair chance &lt;a href=&#34;https://json-ld.org&#34;&gt;JSON-LD&lt;/a&gt; lives in your head as&#xA;&amp;ldquo;the &lt;a href=&#34;https://schema.org&#34;&gt;schema.org&lt;/a&gt; blob you paste into a web page so &lt;a href=&#34;https://developers.google.com/search/docs/appearance/structured-data/intro-structured-data&#34;&gt;Google&#xA;shows rich&#xA;results&lt;/a&gt;&amp;rdquo;.&#xA;But &lt;a href=&#34;https://www.w3.org/TR/json-ld11/&#34;&gt;JSON-LD&lt;/a&gt; is much more than that. It is&#xA;one of the credential formats the &lt;a href=&#34;https://www.w3.org/TR/vc-data-model-2.0/&#34;&gt;EU Digital Identity&#xA;Wallet&lt;/a&gt; accepts, which all 27 member&#xA;states must ship by December 2026. It is the foundation of Microsoft&amp;rsquo;s &lt;a href=&#34;https://learn.microsoft.com/en-us/azure/digital-twins/concepts-models&#34;&gt;Digital Twins&#xA;Definition&#xA;Language&lt;/a&gt;.&#xA;It is how &lt;a href=&#34;https://research.google/blog/croissant-a-metadata-format-for-ml-ready-datasets/&#34;&gt;hundreds of thousands of machine-learning&#xA;datasets&lt;/a&gt;&#xA;describe themselves on &lt;a href=&#34;https://huggingface.co/docs/dataset-viewer/en/croissant&#34;&gt;Hugging&#xA;Face&lt;/a&gt; and&#xA;&lt;a href=&#34;https://www.kaggle.com&#34;&gt;Kaggle&lt;/a&gt;, how &lt;a href=&#34;https://op.europa.eu/en/web/eu-vocabularies/cellar&#34;&gt;all of EU&#xA;law&lt;/a&gt; is published, and how&#xA;websites &lt;a href=&#34;https://news.microsoft.com/source/features/company-news/introducing-nlweb-bringing-conversational-interfaces-directly-to-the-web/&#34;&gt;talk to AI&#xA;agents&lt;/a&gt;.&#xA;&lt;a href=&#34;https://json-ld.org&#34;&gt;JSON-LD&lt;/a&gt; is what JSON looks like when it graduates into a&#xA;&lt;a href=&#34;https://cacm.acm.org/practice/industry-scale-knowledge-graphs/&#34;&gt;knowledge&#xA;graph&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;And yet, from where the &lt;a href=&#34;https://json-schema.org&#34;&gt;JSON Schema&lt;/a&gt; world sits,&#xA;&lt;a href=&#34;https://json-ld.org&#34;&gt;JSON-LD&lt;/a&gt; might as well be on another planet. It does not&#xA;matter which door brought you to JSON Schema: OpenAPI specifications (&lt;a href=&#34;https://www.sourcemeta.com/blog/json-schema-dominates-openapi/&#34;&gt;76% of&#xA;the modern ones are majority JSON Schema by&#xA;volume&lt;/a&gt;),&#xA;&lt;a href=&#34;https://www.asyncapi.com/&#34;&gt;AsyncAPI&lt;/a&gt; message payloads, &lt;a href=&#34;https://www.sourcemeta.com/blog/ai-only-speaks-json-schema/&#34;&gt;MCP tool&#xA;definitions&lt;/a&gt;, &lt;a href=&#34;https://json-schema.org/blog/posts/w3c-wot-case-study&#34;&gt;W3C&#xA;Web of Things Thing&#xA;Descriptions&lt;/a&gt;, the&#xA;IETF&amp;rsquo;s &lt;a href=&#34;https://datatracker.ietf.org/doc/html/draft-ietf-asdf-sdf&#34;&gt;Semantic Definition&#xA;Format&lt;/a&gt; for the&#xA;Internet of Things, or plain standalone data models of the kind &lt;a href=&#34;https://www.sourcemeta.com/blog/g7-runs-on-json-schema/&#34;&gt;governments&#xA;now publish in national&#xA;registries&lt;/a&gt;. &lt;em&gt;Sooner&#xA;or later the same need appears: joining &lt;a href=&#34;https://json-schema.org&#34;&gt;JSON&#xA;Schema&lt;/a&gt;&amp;rsquo;s validation strengths with&#xA;&lt;a href=&#34;https://json-ld.org&#34;&gt;JSON-LD&lt;/a&gt;&amp;rsquo;s semantic strengths.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;The rest of this article covers how the two languages each won their own layer&#xA;of the data world, who tried to bridge them over the past decade, where every&#xA;attempt fell short, and how we made it work.&lt;/p&gt;&#xA;&lt;h2 id=&#34;our-json-ld-extension-vocabulary&#34;&gt;Our JSON-LD extension vocabulary&lt;/h2&gt;&#xA;&lt;p&gt;We built the bridge as a &lt;a href=&#34;https://json-schema.org&#34;&gt;JSON Schema&lt;/a&gt; extension&#xA;vocabulary: ten annotation keywords under the &lt;code&gt;x-jsonld-&lt;/code&gt; prefix, deliberately&#xA;continuing the convention introduced by the Italian government&amp;rsquo;s &lt;a href=&#34;https://datatracker.ietf.org/doc/draft-polli-restapi-ld-keywords/&#34;&gt;REST API&#xA;Linked Data Keywords IETF&#xA;draft&lt;/a&gt;.&#xA;Because the keywords are plain &lt;code&gt;x-&lt;/code&gt; extensions rather than a formal &lt;a href=&#34;https://json-schema.org/draft/2020-12/json-schema-core#name-extending-json-schema&#34;&gt;JSON&#xA;Schema&#xA;vocabulary&lt;/a&gt;,&#xA;annotated schemas remain valid for every implementation, including the many&#xA;with no vocabulary support at all.&lt;/p&gt;&#xA;&lt;p&gt;Here is a schema that describes a&#xA;&lt;a href=&#34;https://schema.org/Order&#34;&gt;&lt;code&gt;schema.org/Order&lt;/code&gt;&lt;/a&gt; whose &lt;code&gt;seller&lt;/code&gt; and &lt;code&gt;customer&lt;/code&gt;&#xA;reuse a single &lt;code&gt;party&lt;/code&gt; definition through&#xA;&lt;a href=&#34;https://www.learnjsonschema.com/2020-12/core/ref/&#34;&gt;&lt;code&gt;$ref&lt;/code&gt;&lt;/a&gt;, where a &lt;code&gt;party&lt;/code&gt;&#xA;reuses a shared &lt;code&gt;address&lt;/code&gt;, and where a &lt;code&gt;party&lt;/code&gt; is a&#xA;&lt;a href=&#34;https://schema.org/Person&#34;&gt;&lt;code&gt;schema.org/Person&lt;/code&gt;&lt;/a&gt; or a&#xA;&lt;a href=&#34;https://schema.org/Organization&#34;&gt;&lt;code&gt;schema.org/Organization&lt;/code&gt;&lt;/a&gt; depending on its&#xA;&lt;code&gt;kind&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#e5e5e5;background-color:#000;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-json&#34; data-lang=&#34;json&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;{&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;$schema&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;https://json-schema.org/draft/2020-12/schema&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;type&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;object&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;x-jsonld-type&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;https://schema.org/Order&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;properties&amp;#34;&lt;/span&gt;: {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;orderNumber&amp;#34;&lt;/span&gt;: {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;type&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;string&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;x-jsonld-id&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;https://schema.org/orderNumber&amp;#34;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    },&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;seller&amp;#34;&lt;/span&gt;: {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;$ref&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;#/$defs/party&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;x-jsonld-id&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;https://schema.org/seller&amp;#34;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    },&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;customer&amp;#34;&lt;/span&gt;: {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;$ref&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;#/$defs/party&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;x-jsonld-id&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;https://schema.org/customer&amp;#34;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  },&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;required&amp;#34;&lt;/span&gt;: [ &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;orderNumber&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;seller&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;customer&amp;#34;&lt;/span&gt; ],&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;$defs&amp;#34;&lt;/span&gt;: {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;party&amp;#34;&lt;/span&gt;: {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;type&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;object&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;properties&amp;#34;&lt;/span&gt;: {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;kind&amp;#34;&lt;/span&gt;: { &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;enum&amp;#34;&lt;/span&gt;: [ &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;person&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;organization&amp;#34;&lt;/span&gt; ] },&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;name&amp;#34;&lt;/span&gt;: { &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;type&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;string&amp;#34;&lt;/span&gt;, &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;x-jsonld-id&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;https://schema.org/name&amp;#34;&lt;/span&gt; },&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;address&amp;#34;&lt;/span&gt;: {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;$ref&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;#/$defs/address&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;x-jsonld-id&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;https://schema.org/address&amp;#34;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      },&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;required&amp;#34;&lt;/span&gt;: [ &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;kind&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;name&amp;#34;&lt;/span&gt; ],&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;if&amp;#34;&lt;/span&gt;: { &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;properties&amp;#34;&lt;/span&gt;: { &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;kind&amp;#34;&lt;/span&gt;: { &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;const&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;person&amp;#34;&lt;/span&gt; } } },&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;then&amp;#34;&lt;/span&gt;: { &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;x-jsonld-type&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;https://schema.org/Person&amp;#34;&lt;/span&gt; },&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;else&amp;#34;&lt;/span&gt;: { &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;x-jsonld-type&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;https://schema.org/Organization&amp;#34;&lt;/span&gt; }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    },&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;address&amp;#34;&lt;/span&gt;: {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;type&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;object&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;x-jsonld-type&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;https://schema.org/PostalAddress&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;properties&amp;#34;&lt;/span&gt;: {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;country&amp;#34;&lt;/span&gt;: {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;type&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;string&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;x-jsonld-id&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;https://schema.org/addressCountry&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;x-jsonld-self&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;http://publications.europa.eu/resource/authority/country/{this}&amp;#34;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;And here is an order payload, one company selling to one individual, the kind&#xA;that would flow through a commerce API:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#e5e5e5;background-color:#000;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-json&#34; data-lang=&#34;json&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;{&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;orderNumber&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;AC-2026-0042&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;seller&amp;#34;&lt;/span&gt;: {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;kind&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;organization&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;name&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;ACME GmbH&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;address&amp;#34;&lt;/span&gt;: { &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;country&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;DEU&amp;#34;&lt;/span&gt; }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  },&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;customer&amp;#34;&lt;/span&gt;: {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;kind&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;person&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;name&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;Erika Mustermann&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;address&amp;#34;&lt;/span&gt;: { &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;country&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;ITA&amp;#34;&lt;/span&gt; }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Now let&amp;rsquo;s run this through the &lt;a href=&#34;https://github.com/sourcemeta/jsonschema&#34;&gt;Sourcemeta JSON Schema&#xA;CLI&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#e5e5e5;background-color:#000;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ jsonschema rdf schema.json instance.json&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Both parties come out of the same&#xA;&lt;a href=&#34;https://www.learnjsonschema.com/2020-12/core/ref/&#34;&gt;&lt;code&gt;$ref&lt;/code&gt;&lt;/a&gt; with different&#xA;&lt;a href=&#34;https://www.w3.org/RDF/&#34;&gt;RDF&lt;/a&gt; types, the seller an&#xA;&lt;a href=&#34;https://schema.org/Organization&#34;&gt;&lt;code&gt;Organization&lt;/code&gt;&lt;/a&gt; and the customer a&#xA;&lt;a href=&#34;https://schema.org/Person&#34;&gt;&lt;code&gt;Person&lt;/code&gt;&lt;/a&gt;, each carrying an address typed as a&#xA;&lt;a href=&#34;https://schema.org/PostalAddress&#34;&gt;&lt;code&gt;schema.org/PostalAddress&lt;/code&gt;&lt;/a&gt; with its country&#xA;promoted to the &lt;a href=&#34;http://publications.europa.eu/resource/authority/country/&#34;&gt;EU country&#xA;authority&lt;/a&gt; IRI:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#e5e5e5;background-color:#000;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-json&#34; data-lang=&#34;json&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;[&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;@type&amp;#34;&lt;/span&gt;: [ &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;https://schema.org/Order&amp;#34;&lt;/span&gt; ],&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;https://schema.org/orderNumber&amp;#34;&lt;/span&gt;: [ { &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;@value&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;AC-2026-0042&amp;#34;&lt;/span&gt; } ],&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;https://schema.org/seller&amp;#34;&lt;/span&gt;: [&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;@type&amp;#34;&lt;/span&gt;: [ &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;https://schema.org/Organization&amp;#34;&lt;/span&gt; ],&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;https://schema.org/name&amp;#34;&lt;/span&gt;: [ { &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;@value&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;ACME GmbH&amp;#34;&lt;/span&gt; } ],&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;https://schema.org/address&amp;#34;&lt;/span&gt;: [&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;@type&amp;#34;&lt;/span&gt;: [ &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;https://schema.org/PostalAddress&amp;#34;&lt;/span&gt; ],&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;https://schema.org/addressCountry&amp;#34;&lt;/span&gt;: [&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;              { &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;@id&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;http://publications.europa.eu/resource/authority/country/DEU&amp;#34;&lt;/span&gt; }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            ]&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        ]&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    ],&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;https://schema.org/customer&amp;#34;&lt;/span&gt;: [&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;@type&amp;#34;&lt;/span&gt;: [ &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;https://schema.org/Person&amp;#34;&lt;/span&gt; ],&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;https://schema.org/name&amp;#34;&lt;/span&gt;: [ { &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;@value&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;Erika Mustermann&amp;#34;&lt;/span&gt; } ],&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;https://schema.org/address&amp;#34;&lt;/span&gt;: [&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;@type&amp;#34;&lt;/span&gt;: [ &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;https://schema.org/PostalAddress&amp;#34;&lt;/span&gt; ],&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;https://schema.org/addressCountry&amp;#34;&lt;/span&gt;: [&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;              { &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;@id&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;http://publications.europa.eu/resource/authority/country/ITA&amp;#34;&lt;/span&gt; }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            ]&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        ]&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    ]&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;]&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The seller and customer were typed differently from the same definition, and&#xA;the &lt;code&gt;address&lt;/code&gt; mapping, written once, applied to both, because the annotations&#xA;compose through &lt;a href=&#34;https://www.learnjsonschema.com/2020-12/core/ref/&#34;&gt;&lt;code&gt;$ref&lt;/code&gt;&lt;/a&gt;&#xA;exactly as validation does. One schema. One pass. If the instance is invalid,&#xA;no &lt;a href=&#34;https://www.w3.org/RDF/&#34;&gt;RDF&lt;/a&gt; comes out at all. That output is in standard&#xA;&lt;a href=&#34;https://www.w3.org/TR/json-ld11/#expanded-document-form&#34;&gt;JSON-LD expanded&#xA;form&lt;/a&gt;, canonical and&#xA;context-free.&lt;/p&gt;&#xA;&lt;p&gt;If you would rather keep the document looking like the JSON your&#xA;consumers already parse, compact it against a context of your choosing. For&#xA;example, consider this &lt;code&gt;context.json&lt;/code&gt;:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#e5e5e5;background-color:#000;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-json&#34; data-lang=&#34;json&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;{&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;@context&amp;#34;&lt;/span&gt;: {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;schema&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;https://schema.org/&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;orderNumber&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;schema:orderNumber&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;seller&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;schema:seller&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;customer&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;schema:customer&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;name&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;schema:name&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;address&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;schema:address&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;country&amp;#34;&lt;/span&gt;: {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;@id&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;schema:addressCountry&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;@type&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;@id&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;@context&amp;#34;&lt;/span&gt;: { &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;@base&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;http://publications.europa.eu/resource/authority/country/&amp;#34;&lt;/span&gt; }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;You can convert to JSON-LD emitting the shape your consumers already know how&#xA;to parse, with its semantics embedded, as follows:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#e5e5e5;background-color:#000;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ jsonschema rdf schema.json instance.json --compact context.json&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#e5e5e5;background-color:#000;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-json&#34; data-lang=&#34;json&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;{&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;@type&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;schema:Order&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;orderNumber&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;AC-2026-0042&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;seller&amp;#34;&lt;/span&gt;: {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;@type&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;schema:Organization&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;name&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;ACME GmbH&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;address&amp;#34;&lt;/span&gt;: { &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;@type&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;schema:PostalAddress&amp;#34;&lt;/span&gt;, &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;country&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;DEU&amp;#34;&lt;/span&gt; }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  },&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;customer&amp;#34;&lt;/span&gt;: {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;@type&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;schema:Person&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;name&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;Erika Mustermann&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;address&amp;#34;&lt;/span&gt;: { &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;@type&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;schema:PostalAddress&amp;#34;&lt;/span&gt;, &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;country&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;ITA&amp;#34;&lt;/span&gt; }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  },&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;@context&amp;#34;&lt;/span&gt;: {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;schema&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;https://schema.org/&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;orderNumber&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;schema:orderNumber&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;seller&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;schema:seller&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;customer&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;schema:customer&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;name&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;schema:name&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;address&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;schema:address&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;country&amp;#34;&lt;/span&gt;: {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;@id&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;schema:addressCountry&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;@type&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;@id&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;@context&amp;#34;&lt;/span&gt;: { &lt;span style=&#34;font-weight:bold&#34;&gt;&amp;#34;@base&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;http://publications.europa.eu/resource/authority/country/&amp;#34;&lt;/span&gt; }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;In other words, the context is your choice of projection. The schema&#xA;annotations remain the single source of truth.&lt;/p&gt;&#xA;&lt;h2 id=&#34;json-ld-and-the-knowledge-graph-economy&#34;&gt;JSON-LD and the knowledge graph economy&lt;/h2&gt;&#xA;&lt;p&gt;Look again at what came out of that command. The expanded form is&#xA;&lt;a href=&#34;https://json-ld.org&#34;&gt;JSON-LD&lt;/a&gt;, which is the JSON serialisation of&#xA;&lt;a href=&#34;https://www.w3.org/RDF/&#34;&gt;RDF&lt;/a&gt;, the &lt;a href=&#34;https://www.w3.org/RDF/&#34;&gt;W3C&lt;/a&gt;&amp;rsquo;s model for&#xA;describing anything as a graph of subject-predicate-object (triple) statements.&#xA;Build enough of those statements and you have a knowledge graph. The idea is&#xA;simple: give every thing (such as a person, a country, a product, etc) one&#xA;shared identifier, and record every fact as a link between those identifiers.&#xA;Do that, and data scattered across systems, formats, and organisations becomes&#xA;a single connected web that anyone, and any machine (including AI), can query&#xA;across sources and reason over as a whole. &lt;em&gt;That is the door our example&#xA;quietly opened, and it leads somewhere very large.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;Almost everything you would call authoritative knowledge is already living in&#xA;this way. &lt;a href=&#34;https://en.wikipedia.org/wiki/Wikidata&#34;&gt;Wikidata&lt;/a&gt; holds 1.65 billion&#xA;statements. &lt;a href=&#34;https://sparql.uniprot.org/&#34;&gt;UniProt&lt;/a&gt;, the reference database of&#xA;protein knowledge, exposes &lt;a href=&#34;https://www.expasy.org/resources/uniprot-sparql-endpoint&#34;&gt;over 190 billion&#xA;triples&lt;/a&gt; through what&#xA;is widely cited as the largest public&#xA;&lt;a href=&#34;https://www.w3.org/TR/sparql11-query/&#34;&gt;SPARQL&lt;/a&gt; endpoint on earth, and the US&#xA;&lt;a href=&#34;https://pubchemdocs.ncbi.nlm.nih.gov/rdf&#34;&gt;National Institutes of Health&lt;/a&gt;&#xA;publishes its PubChem chemistry database as more than 130 billion triples of&#xA;its own. Both are nodes in a life-sciences web that interlinks through the&#xA;&lt;a href=&#34;https://lod-cloud.net/&#34;&gt;Linked Open Data cloud&lt;/a&gt; and its &lt;a href=&#34;https://dl.acm.org/doi/full/10.1145/3786331&#34;&gt;1,658 connected&#xA;datasets&lt;/a&gt;. Governments are wired&#xA;the same way: &lt;a href=&#34;https://op.europa.eu/en/web/eu-vocabularies/cellar&#34;&gt;every EU legal act is&#xA;RDF&lt;/a&gt; behind a public&#xA;endpoint, and &lt;a href=&#34;https://rdf.insee.fr/&#34;&gt;France&amp;rsquo;s statistics office&lt;/a&gt;, its&#xA;&lt;a href=&#34;https://data.bnf.fr/en/semanticweb&#34;&gt;national library&lt;/a&gt;, and&#xA;&lt;a href=&#34;https://www.europeana.eu&#34;&gt;Europeana&amp;rsquo;s&lt;/a&gt; 50 million cultural objects all publish&#xA;in it. Healthcare does the same through &lt;a href=&#34;https://www.hl7.org/fhir/rdf.html&#34;&gt;HL7&#xA;FHIR&lt;/a&gt;, which defines an RDF form for the&#xA;records it moves between systems. So does big tech: &lt;a href=&#34;https://cacm.acm.org/practice/industry-scale-knowledge-graphs/&#34;&gt;Google, Microsoft,&#xA;Facebook, eBay, and IBM each run their&#xA;own&lt;/a&gt;. And it&#xA;is how AI now gets its facts, since a model on its own is a &lt;a href=&#34;https://arxiv.org/html/2411.14258v1&#34;&gt;parametric memory&#xA;that hallucinates&lt;/a&gt; and the fix is to&#xA;ground it in a graph, the pattern behind&#xA;&lt;a href=&#34;https://arxiv.org/abs/2404.16130&#34;&gt;GraphRAG&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://www.sourcemeta.com/blog/json-schema-jsonld-interoperability/victor-hugo.webp&#34; alt=&#34;France’s national library publishes its entire catalogue as linked data. Every record, like this one for Victor Hugo, the 19th-century French novelist behind Les Misérables, is a node in a knowledge graph, downloadable as RDF and JSON-LD (highlighted). Source: Bibliothèque nationale de France.&#34; width=&#34;2994&#34; height=&#34;1856&#34;&gt;&#xA;  &#xA;  &lt;figcaption&gt;France&amp;rsquo;s national library publishes its entire catalogue as linked data. Every record, like this one for Victor Hugo, the 19th-century French novelist behind Les Misérables, is a node in a knowledge graph, downloadable as RDF and JSON-LD (highlighted). Source: &lt;a href=&#34;https://data.bnf.fr/en/11907966/victor_hugo/&#34;&gt;Bibliothèque nationale de France&lt;/a&gt;.&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&lt;p&gt;None of them do this for tidiness. &lt;em&gt;They do it because the graph is where data&#xA;turns into value&lt;/em&gt;. We know that data is a valuable asset, but raw data is worth&#xA;only what you can refine it into, and the knowledge graph is the refinery. When&#xA;Google launched its &lt;a href=&#34;https://cacm.acm.org/practice/industry-scale-knowledge-graphs/&#34;&gt;Knowledge Graph in&#xA;2012&lt;/a&gt; under the&#xA;slogan &amp;ldquo;things, not strings&amp;rdquo;, search stopped matching text and started&#xA;understanding entities. By 2016, &lt;a href=&#34;https://en.wikipedia.org/wiki/Knowledge_Graph_%28Google%29&#34;&gt;Google reported that it held 70 billion facts&#xA;and answered roughly a third of its 100 billion monthly&#xA;searches&lt;/a&gt; straight from&#xA;it. The mechanism is&#xA;&lt;a href=&#34;https://www.w3.org/RDF/&#34;&gt;RDF&lt;/a&gt;&amp;rsquo;s shared identifiers. They allow independently&#xA;produced data to become joinable, so the graph is worth more than the databases&#xA;poured into it, and every entity added compounds the value of the ones already&#xA;there. And this compounding now has a price. A &lt;a href=&#34;https://arxiv.org/abs/2311.07509&#34;&gt;data.world&#xA;benchmark&lt;/a&gt; measured a language model at 16%&#xA;accuracy over a raw SQL database and 54% over the same data as a knowledge&#xA;graph.&#xA;&lt;a href=&#34;https://www.gartner.com/en/newsroom/press-releases/2026-04-16-gartner-says-organizations-with-successful-ai-initiatives-invest-up-to-four-times-more-in-data-and-analytics-foundations&#34;&gt;Gartner&lt;/a&gt;&#xA;finds the organisations with the most mature data foundations achieve up to 65%&#xA;greater business outcomes. And the &lt;a href=&#34;https://www.globenewswire.com/news-release/2025/01/31/3018718/0/en/Knowledge-Graph-Research-Report-2025-Global-Market-to-Reach-6-93-Billion-by-2030-from-1-06-Billion-in-2024-Growing-at-a-CAGR-of-36-6-Changing-for-Organizations-Deal-with-Large-Data.html&#34;&gt;knowledge graph market is projected to grow&#xA;from $1.06 billion in 2024 to $6.93 billion by&#xA;2030&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;bridging-json-schema-and-json-ld&#34;&gt;Bridging JSON Schema and JSON-LD&lt;/h2&gt;&#xA;&lt;p&gt;Zooming out, structure and meaning are things you constantly need at once, and&#xA;today they live in different languages. &lt;a href=&#34;https://json-schema.org&#34;&gt;JSON Schema&lt;/a&gt;&#xA;owns structure, whether the container is &lt;a href=&#34;https://www.sourcemeta.com/blog/json-schema-dominates-openapi/&#34;&gt;an OpenAPI&#xA;specification&lt;/a&gt;,&#xA;&lt;a href=&#34;https://www.sourcemeta.com/blog/ai-only-speaks-json-schema/&#34;&gt;an AI tool&#xA;definition&lt;/a&gt;, or &lt;a href=&#34;https://www.sourcemeta.com/blog/g7-runs-on-json-schema/&#34;&gt;a&#xA;national data&#xA;registry&lt;/a&gt;. Then,&#xA;&lt;a href=&#34;https://json-ld.org&#34;&gt;JSON-LD&lt;/a&gt; owns meaning, as the last section showed. &lt;em&gt;The&#xA;catch is that a single JSON document routinely needs both at once, and inside&#xA;that document the two languages cannot see each other&lt;/em&gt;. A &lt;a href=&#34;https://json-schema.org&#34;&gt;JSON&#xA;Schema&lt;/a&gt; cannot say that &lt;code&gt;family_name&lt;/code&gt; means&#xA;&lt;a href=&#34;https://schema.org/familyName&#34;&gt;&lt;code&gt;schema.org/familyName&lt;/code&gt;&lt;/a&gt;, and a&#xA;&lt;a href=&#34;https://json-ld.org&#34;&gt;JSON-LD&lt;/a&gt; context cannot say that &lt;code&gt;family_name&lt;/code&gt; is a&#xA;required string conditional on the presence of &lt;code&gt;first_name&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://www.sourcemeta.com/blog/json-schema-jsonld-interoperability/wot-thing-description.webp&#34; alt=&#34;A real Thing Description from the W3C Web of Things standard (Example 2). Most of it is JSON Schema (properties, type), sprinkled with JSON-LD to add meaning (@context, and @type: saref:LightSwitch pointing at a semantic vocabulary). The two languages sit in one document but do not integrate: the schema keywords cannot see the semantic ones, or the other way round. Source: W3C WoT Thing Description 1.1, Example 2.&#34; width=&#34;2994&#34; height=&#34;1856&#34;&gt;&#xA;  &#xA;  &lt;figcaption&gt;A real Thing Description from the W3C Web of Things standard (Example 2). Most of it is JSON Schema (&lt;code&gt;properties&lt;/code&gt;, &lt;code&gt;type&lt;/code&gt;), sprinkled with JSON-LD to add meaning (&lt;code&gt;@context&lt;/code&gt;, and &lt;code&gt;@type: saref:LightSwitch&lt;/code&gt; pointing at a semantic vocabulary). The two languages sit in one document but do not integrate: the schema keywords cannot see the semantic ones, or the other way round. Source: &lt;a href=&#34;https://www.w3.org/TR/wot-thing-description11/&#34;&gt;W3C WoT Thing Description 1.1, Example 2&lt;/a&gt;.&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&lt;p&gt;Now picture closing that gap. For example, the &lt;a href=&#34;https://github.com/EWC-consortium/eudi-wallet-rulebooks-and-schemas&#34;&gt;EU wallet&#xA;schema&lt;/a&gt;&#xA;already validates every credential a wallet API handles. Put the meaning inside&#xA;it, and that one file also emits the knowledge graph. No second artefact to&#xA;author, review, version, or keep in sync. The meaning is defined exactly once&#xA;next to its validation constraints, and every payload pours into the graph for&#xA;free. In other words, intermixing JSON Schema and JSON-LD gives the&#xA;&lt;a href=&#34;https://www.w3.org/RDF/&#34;&gt;RDF&lt;/a&gt; world a powerful validation story, and it gives&#xA;the &lt;a href=&#34;https://json-schema.org&#34;&gt;JSON Schema&lt;/a&gt; world a significant upgrade in&#xA;semantics and knowledge graph integration.&lt;/p&gt;&#xA;&lt;p&gt;The reason to state the prize so plainly is that the alternative, two artefacts&#xA;kept in sync by hand, is everywhere, and it is a heavy tax. The &lt;a href=&#34;https://www.commonwl.org&#34;&gt;Common&#xA;Workflow Language&lt;/a&gt; project named it in 2015, when it&#xA;abandoned existing schema languages because &lt;a href=&#34;https://github.com/common-workflow-language/schema_salad&#34;&gt;&amp;ldquo;none understand linked&#xA;data&amp;rdquo;&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&amp;ldquo;one must maintain separate JSON schema, JSON-LD context, RDF schema, and&#xA;human documentation, despite significant overlap of content and obvious&#xA;need for these documents to stay synchronized.&amp;rdquo;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;A decade later that tax is institutional:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://www.w3.org/TR/vc-data-model-2.0/&#34;&gt;W3C Verifiable Credentials&#xA;2.0&lt;/a&gt;&lt;/strong&gt;: the standard beneath the EU&#xA;wallet, carries a &lt;a href=&#34;https://json-ld.org&#34;&gt;JSON-LD&lt;/a&gt; &lt;code&gt;@context&lt;/code&gt; for meaning and a&#xA;separate &lt;a href=&#34;https://www.w3.org/TR/vc-json-schema/&#34;&gt;&lt;code&gt;credentialSchema&lt;/code&gt;&lt;/a&gt; for&#xA;structure in every single credential. It takes &lt;a href=&#34;https://www.w3.org/TR/vc-data-model-2.0/#differences-between-contexts-types-and-credentialschemas&#34;&gt;a whole&#xA;appendix&lt;/a&gt;&#xA;to hold the two apart, a &lt;code&gt;credentialSchema&lt;/code&gt; defining &amp;ldquo;the contents and&#xA;structure of a set of claims&amp;rdquo; while a &lt;code&gt;@context&lt;/code&gt; is &amp;ldquo;best used only for&#xA;conveying the semantics and term definitions of the data&amp;rdquo;, and it takes the&#xA;two &amp;ldquo;used in combination&amp;rdquo; before &amp;ldquo;both producers and consumers can be more&#xA;confident about the expected contents and data types&amp;rdquo;. Nothing links them,&#xA;so the companion specification can only &lt;a href=&#34;https://www.w3.org/TR/vc-json-schema/#relationship-to-verifiable-credential-type-property&#34;&gt;advise the&#xA;author&lt;/a&gt;:&#xA;&amp;ldquo;It is advised to associate all properties that have a semantic mapping with&#xA;a property in a credential schema.&amp;rdquo; That advice is the entire binding, and&#xA;implementations show what it is worth.&#xA;&lt;a href=&#34;https://github.com/openwallet-foundation/credo-ts&#34;&gt;Credo&lt;/a&gt;, the OpenWallet&#xA;Foundation&amp;rsquo;s wallet framework, ships the whole JSON-LD stack down to RDF&#xA;canonicalisation and &lt;a href=&#34;https://github.com/openwallet-foundation/credo-ts/blob/main/packages/core/src/modules/vc/jsonld/contexts/defaultContexts.ts&#34;&gt;nineteen hand-authored context&#xA;documents&lt;/a&gt;,&#xA;while &lt;code&gt;credentialSchema&lt;/code&gt; is &lt;a href=&#34;https://github.com/openwallet-foundation/credo-ts/blob/main/packages/core/src/modules/vc/models/credential/W3cCredentialSchema.ts&#34;&gt;modelled as an &lt;code&gt;id&lt;/code&gt; and a&#xA;&lt;code&gt;type&lt;/code&gt;&lt;/a&gt;&#xA;that it never fetches or evaluates.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://github.com/webuild-consortium&#34;&gt;WE BUILD&lt;/a&gt;&lt;/strong&gt;: one of the&#xA;EU-co-funded Large Scale Pilots now building that wallet, keeps its credential&#xA;&lt;a href=&#34;https://github.com/webuild-consortium/webuild-attestation-rulebooks-catalog&#34;&gt;JSON&#xA;Schemas&lt;/a&gt;&#xA;in one repository owned by one working group, while &lt;a href=&#34;https://github.com/webuild-consortium/wp4-semantics-group&#34;&gt;a second&#xA;group&lt;/a&gt;&#xA;hand-maintains the &lt;a href=&#34;https://github.com/webuild-consortium/wp4-semantics-group/blob/main/vocab/README.md&#34;&gt;SKOS terminology, OWL vocabulary, and JSON-LD&#xA;context&lt;/a&gt;&#xA;in another. Nothing in the schemas points at the vocabulary, so the mapping&#xA;between them survives in a third artefact: a Markdown table in the&#xA;&lt;a href=&#34;https://github.com/webuild-consortium/webuild-attestation-rulebooks-catalog/blob/main/rulebooks/rb-pid/README.md&#34;&gt;human-readable&#xA;rulebook&lt;/a&gt;,&#xA;under a column headed &amp;ldquo;Semantic Reference&amp;rdquo;, recording that &lt;code&gt;family_name&lt;/code&gt;&#xA;means &lt;a href=&#34;https://w3id.org/ebwv#familyName&#34;&gt;&lt;code&gt;w3id.org/ebwv#familyName&lt;/code&gt;&lt;/a&gt; while&#xA;&lt;a href=&#34;https://github.com/webuild-consortium/webuild-attestation-rulebooks-catalog/blob/main/data-schemas/sd-jwt/ds002-pid-sd-jwt.json&#34;&gt;the schema next&#xA;door&lt;/a&gt;&#xA;can only call it a string.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://github.com/gs1/EPCIS&#34;&gt;GS1&amp;rsquo;s EPCIS&lt;/a&gt;&lt;/strong&gt;: the global supply-chain&#xA;standard, ships &lt;code&gt;EPCIS-JSON-Schema.json&lt;/code&gt; and &lt;code&gt;epcis-context.jsonld&lt;/code&gt; side by&#xA;side in one repository.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://smart-data-models.github.io/data-models/&#34;&gt;FIWARE&amp;rsquo;s Smart Data&#xA;Models&lt;/a&gt;&lt;/strong&gt;: keep a schema&#xA;for every entry in the catalogue, paired with a JSON-LD context.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://docs.gaia-x.eu/technical-committee/architecture-document/22.10/self-description/&#34;&gt;Gaia-X&lt;/a&gt;&lt;/strong&gt;:&#xA;Europe&amp;rsquo;s flagship cloud-federation project, pairs a&#xA;&lt;a href=&#34;https://json-ld.org&#34;&gt;JSON-LD&lt;/a&gt; self-description with a separate SHACL shape&#xA;for every participant.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://beckn.io&#34;&gt;Beckn&lt;/a&gt;&lt;/strong&gt;: the open-commerce protocol from the architects&#xA;of India&amp;rsquo;s Aadhaar and UPI, and the backbone of India&amp;rsquo;s government-backed&#xA;&lt;a href=&#34;https://ondc.org/about-ondc/&#34;&gt;ONDC&lt;/a&gt; network and its &lt;a href=&#34;https://cxotoday.com/press-release/ondc-surpasses-200-million-transactions-with-the-last-100mn-coming-in-just-6-months/&#34;&gt;200 million&#xA;transactions&lt;/a&gt;,&#xA;goes further still: it &lt;a href=&#34;https://github.com/beckn/protocol-specifications-v2/blob/main/docs/Schema_Design_Guide.md&#34;&gt;normatively&#xA;requires&lt;/a&gt;&#xA;every one of the &lt;a href=&#34;https://github.com/beckn/schemas&#34;&gt;300+ concepts in its schema&#xA;repository&lt;/a&gt; to ship four artefacts side by&#xA;side, an OpenAPI envelope, a JSON Schema, a JSON-LD context, and an RDF&#xA;vocabulary.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://github.com/adobe/xdm/blob/master/docs/introduction.md&#34;&gt;Adobe&lt;/a&gt;&lt;/strong&gt;:&#xA;specified its Experience Data Model in both grammars at once, then had to&#xA;bolt on a &lt;a href=&#34;https://experienceleague.adobe.com/en/docs/experience-platform/xdm/api/appendix&#34;&gt;&amp;ldquo;Compatibility&#xA;Mode&amp;rdquo;&lt;/a&gt;&#xA;that flattens the &lt;a href=&#34;https://json-ld.org&#34;&gt;JSON-LD&lt;/a&gt; namespacing out for its own&#xA;platform.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;And the request to fix this at the source has sat &lt;a href=&#34;https://github.com/json-schema-org/json-schema-vocabularies/issues/13&#34;&gt;open on the JSON Schema&#xA;issue tracker since April&#xA;2017&lt;/a&gt;.&#xA;Everyone pays the tax. Nobody has figured out how to fully remove it.&lt;/p&gt;&#xA;&lt;h2 id=&#34;the-double-edge-of-expressiveness&#34;&gt;The double edge of expressiveness&lt;/h2&gt;&#xA;&lt;p&gt;So now you might wonder, with the prize this clear and the demand this old, why&#xA;has this stayed unsolved?&lt;/p&gt;&#xA;&lt;p&gt;Because the obvious fix, embed the &lt;code&gt;@context&lt;/code&gt; in the schema, &lt;em&gt;only works on the&#xA;easy case&lt;/em&gt;. That is what &lt;a href=&#34;https://datatracker.ietf.org/doc/draft-polli-restapi-ld-keywords/&#34;&gt;the Italian government&amp;rsquo;s REST API Linked Data&#xA;Keywords IETF&#xA;draft&lt;/a&gt; does.&#xA;This is often enough for standalone simple schemas. But in practice, schemas&#xA;are very often not standalone, and very often not simple. At scale, models of&#xA;rich cross-referenced schemas are extremely common for schema reusability and&#xA;data governance purposes.&lt;/p&gt;&#xA;&lt;p&gt;What makes it hard to solve this for complex schemas is the very thing JSON&#xA;Schema is best at. JSON Schema is a &lt;a href=&#34;https://dl.acm.org/doi/10.1145/2872427.2883029&#34;&gt;remarkably expressive&#xA;language&lt;/a&gt;. The meaning of a&#xA;property can be split across files with&#xA;&lt;a href=&#34;https://www.learnjsonschema.com/2020-12/core/ref/&#34;&gt;&lt;code&gt;$ref&lt;/code&gt;&lt;/a&gt;, combined through&#xA;logical applicators like&#xA;&lt;a href=&#34;https://www.learnjsonschema.com/2020-12/applicator/anyof/&#34;&gt;&lt;code&gt;anyOf&lt;/code&gt;&lt;/a&gt;, or made&#xA;to depend on the data in complex ways through&#xA;&lt;a href=&#34;https://www.learnjsonschema.com/2020-12/applicator/if/&#34;&gt;&lt;code&gt;if&lt;/code&gt;&lt;/a&gt;/&lt;a href=&#34;https://www.learnjsonschema.com/2020-12/applicator/then/&#34;&gt;&lt;code&gt;then&lt;/code&gt;&lt;/a&gt;/&lt;a href=&#34;https://www.learnjsonschema.com/2020-12/applicator/else/&#34;&gt;&lt;code&gt;else&lt;/code&gt;&lt;/a&gt;,&#xA;and other similar keywords. With&#xA;&lt;a href=&#34;https://www.learnjsonschema.com/2020-12/core/dynamicref/&#34;&gt;&lt;code&gt;$dynamicRef&lt;/code&gt;&lt;/a&gt; a&#xA;schema even resolves a reference differently depending on the context it is&#xA;evaluated in, so there is no static document to analyse ahead of time and the&#xA;meaning is decided during evaluation, against the data. This is why validating&#xA;&lt;a href=&#34;https://arxiv.org/abs/2307.10034&#34;&gt;Modern JSON Schema is PSPACE-complete&lt;/a&gt;. In&#xA;comparison, a &lt;a href=&#34;https://json-ld.org&#34;&gt;JSON-LD&lt;/a&gt; context has none of this. It is a&#xA;flat table of names, and it cannot follow a schema whose properties change&#xA;meaning by position or by data. It could never, for instance, produce the order&#xA;from our example, where the very same &lt;code&gt;party&lt;/code&gt; definition became a&#xA;&lt;a href=&#34;https://schema.org/Person&#34;&gt;&lt;code&gt;Person&lt;/code&gt;&lt;/a&gt; or an&#xA;&lt;a href=&#34;https://schema.org/Organization&#34;&gt;&lt;code&gt;Organization&lt;/code&gt;&lt;/a&gt; depending on a property in&#xA;the payload.&lt;/p&gt;&#xA;&lt;p&gt;If you take this as a criticism, that JSON Schema is simply too complicated, you&#xA;have it backwards. The complexity is not over-engineering. It is the language&#xA;earning its keep. Most people who resent JSON Schema for its constraint-driven&#xA;complexity have simply not yet met the problems that demand such complexity.&#xA;And when they do, they are thankful that the expressiveness exists.&lt;/p&gt;&#xA;&lt;h2 id=&#34;a-decade-of-attempts&#34;&gt;A decade of attempts&lt;/h2&gt;&#xA;&lt;p&gt;But all of that expressiveness is what a bridge to&#xA;&lt;a href=&#34;https://json-ld.org&#34;&gt;JSON-LD&lt;/a&gt; has to carry across, and it is why no one had&#xA;built one that holds. Everyone who tried faced the same fork: strip the&#xA;expressiveness away so the mapping to &lt;a href=&#34;https://www.w3.org/RDF/&#34;&gt;RDF&lt;/a&gt; turns&#xA;easy, or keep it and try to pay the price. A decade of attempts went both ways,&#xA;and came up short in both cases.&lt;/p&gt;&#xA;&lt;p&gt;The strippers made the problem vanish by not having it. The &lt;a href=&#34;https://www.commonwl.org/draft-3/SchemaSalad.html&#34;&gt;Common Workflow&#xA;Language&amp;rsquo;s Schema Salad&lt;/a&gt;&#xA;rebuilt the schema language on top of Avro, while&#xA;&lt;a href=&#34;https://linkml.io/linkml/generators/jsonld-context.html&#34;&gt;LinkML&lt;/a&gt; and the&#xA;automotive industry&amp;rsquo;s&#xA;&lt;a href=&#34;https://catenax-ev.github.io/docs/next/standards/CX-0003-SAMMSemanticAspectMetaModel&#34;&gt;Catena-X&lt;/a&gt;&#xA;generate JSON Schema from a separate RDF model you must author first. This&#xA;path has real public-sector uptake: Switzerland&amp;rsquo;s&#xA;&lt;a href=&#34;https://www.ech.ch/&#34;&gt;eCH&lt;/a&gt; e-government standards group authors the data&#xA;standards for the Swiss political system in LinkML precisely so that &lt;a href=&#34;https://github.com/swiss/political-affairs-ech-group&#34;&gt;JSON&#xA;Schema and OWL can be regenerated side by side on every&#xA;commit&lt;/a&gt;, further proof&#xA;of how badly the two worlds need each other. A simpler&#xA;language projects into RDF more cleanly, but simplicity is the price: you&#xA;surrender the conditionals and constraints that are the reason to reach for&#xA;JSON Schema at all, and that &lt;a href=&#34;https://www.chiply.dev/post-schema-languages&#34;&gt;no other mainstream schema language&#xA;matches&lt;/a&gt;. &amp;ldquo;Those languages define&#xA;structure&amp;rdquo;, as Charlie Holland puts it, while &amp;ldquo;JSON Schema defines structure&#xA;and constraints&amp;rdquo;.&lt;/p&gt;&#xA;&lt;p&gt;The embracers kept JSON Schema and hit the wall head-on. The &lt;a href=&#34;https://github.com/opengeospatial/ogc-na-tools&#34;&gt;Open Geospatial&#xA;Consortium&amp;rsquo;s tooling&lt;/a&gt; assembles&#xA;the context from the schema at build time, and its own source carries a&#xA;thirty-line comment about &lt;a href=&#34;https://ogcincubator.github.io/bblocks-docs/create/semantic-uplift&#34;&gt;&amp;ldquo;binding&#xA;bubbling&amp;rdquo;&lt;/a&gt;,&#xA;where a referenced schema&amp;rsquo;s mappings silently overwrite the parent&amp;rsquo;s. India&amp;rsquo;s&#xA;&lt;a href=&#34;https://beckn.io&#34;&gt;Beckn&lt;/a&gt; walks the same path today: its &lt;a href=&#34;https://github.com/beckn/schemas/tree/main/tools&#34;&gt;generator&#xA;scripts&lt;/a&gt; scrape property&#xA;names out of a schema and map each one to a flat &lt;code&gt;beckn:&lt;/code&gt; IRI, blind to&#xA;&lt;a href=&#34;https://www.learnjsonschema.com/2020-12/core/ref/&#34;&gt;&lt;code&gt;$ref&lt;/code&gt;&lt;/a&gt; (in one &lt;a href=&#34;https://github.com/beckn/schemas/tree/main/schema/AckNoCallback/v2.0&#34;&gt;typical&#xA;concept&lt;/a&gt;,&#xA;four of the five terms in the published context sit behind references the&#xA;generator cannot see), which is why the repository also carries scripts named&#xA;&lt;code&gt;schema_parity_audit.py&lt;/code&gt; and &lt;code&gt;identify-and-fix-missing-context-vocab.py&lt;/code&gt; to&#xA;patch the artefacts back into agreement.&lt;/p&gt;&#xA;&lt;p&gt;The credential world built the same thing and stopped in the same place:&#xA;&lt;a href=&#34;https://github.com/transmute-industries/verifiable-data/blob/main/packages/jsonld-schema/src/schemasToContext.ts&#34;&gt;&lt;code&gt;schemasToContext&lt;/code&gt;&lt;/a&gt;,&#xA;from &lt;a href=&#34;https://transmute.industries&#34;&gt;Transmute&lt;/a&gt;, which holds an editor&amp;rsquo;s seat on&#xA;&lt;a href=&#34;https://www.w3.org/TR/vc-json-schema/&#34;&gt;the VC JSON Schema specification&lt;/a&gt;,&#xA;reads &lt;code&gt;$linkedData&lt;/code&gt; annotations off a schema&amp;rsquo;s properties and flattens them&#xA;into a context, and that design is the ecosystem&amp;rsquo;s convention: &lt;a href=&#34;https://github.com/hashgraph/guardian&#34;&gt;Hedera&amp;rsquo;s&#xA;Guardian&lt;/a&gt; vendors the file itself, and&#xA;the &lt;a href=&#34;https://github.com/w3c-ccg/traceability-vocab/blob/main/packages/traceability-schemas/scripts/openapi-to-context.js&#34;&gt;W3C CCG traceability&#xA;vocabulary&lt;/a&gt;&#xA;builds its context from its own copy of the same design. Each reads a single&#xA;level of &lt;code&gt;properties&lt;/code&gt; and resolves no&#xA;&lt;a href=&#34;https://www.learnjsonschema.com/2020-12/core/ref/&#34;&gt;&lt;code&gt;$ref&lt;/code&gt;&lt;/a&gt;, leaving the caller&#xA;to hand over every subschema up front, and Transmute&amp;rsquo;s source marks where it&#xA;stops with a commented-out stub: &lt;code&gt;// Need to handle anyOf and oneOf better...&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Others went sideways:&#xA;&lt;a href=&#34;https://github.com/mulesoft-labs/json-ld-schema&#34;&gt;MuleSoft&lt;/a&gt; validated existing&#xA;JSON-LD with JSON Schema before being archived at &amp;ldquo;pre-alpha&amp;rdquo;, and&#xA;&lt;a href=&#34;https://rml.io/specs/rml/&#34;&gt;RML&lt;/a&gt; and the AI-assisted&#xA;&lt;a href=&#34;https://arxiv.org/abs/2606.07094&#34;&gt;MetaConfigurator&lt;/a&gt; add a third artefact to&#xA;drift from the other two. Even&#xA;&lt;a href=&#34;https://github.com/adobe/xdm/blob/master/docs/introduction.md&#34;&gt;Adobe&lt;/a&gt; and&#xA;&lt;a href=&#34;https://www.research.autodesk.com/app/uploads/2023/03/TranslatingJSONSchemalogicsintoOWLaxioms.pdf_recQnFKTPMiScRn8N.pdf&#34;&gt;Autodesk&lt;/a&gt;&#xA;took runs at this JSON Schema and JSON-LD interoperability problem.&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://www.sourcemeta.com/blog/json-schema-jsonld-interoperability/ogc-context-assembly.webp&#34; alt=&#34;How OGC’s tooling builds the JSON-LD context: a static second pass walks the compiled schema tree through every $ref, allOf, anyOf, and oneOf, collecting mappings into one flat @context. In their own words, “the assembly is really schema traversal”. It is re-creating evaluation at build time, and that is why it cannot follow a schema whose meaning depends on the data: with no instance to run against, a static walk has no way to know which if/then/else branch or $dynamicRef target applies. Source: OGC Building Blocks, semantic uplift documentation.&#34; width=&#34;2308&#34; height=&#34;1398&#34;&gt;&#xA;  &#xA;  &lt;figcaption&gt;How OGC&amp;rsquo;s tooling builds the JSON-LD context: a static second pass walks the compiled schema tree through every &lt;code&gt;$ref&lt;/code&gt;, &lt;code&gt;allOf&lt;/code&gt;, &lt;code&gt;anyOf&lt;/code&gt;, and &lt;code&gt;oneOf&lt;/code&gt;, collecting mappings into one flat &lt;code&gt;@context&lt;/code&gt;. In their own words, &amp;ldquo;the assembly is really schema traversal&amp;rdquo;. It is re-creating evaluation at build time, and that is why it cannot follow a schema whose meaning depends on the data: with no instance to run against, a static walk has no way to know which &lt;code&gt;if&lt;/code&gt;/&lt;code&gt;then&lt;/code&gt;/&lt;code&gt;else&lt;/code&gt; branch or &lt;code&gt;$dynamicRef&lt;/code&gt; target applies. Source: &lt;a href=&#34;https://ogcincubator.github.io/bblocks-docs/create/semantic-uplift&#34;&gt;OGC Building Blocks, semantic uplift documentation&lt;/a&gt;.&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&lt;h2 id=&#34;five-ways-to-fall-short&#34;&gt;Five ways to fall short&lt;/h2&gt;&#xA;&lt;p&gt;For all their differences, the attempts share the same gaps. None couples&#xA;validation and emission in one pass. None reproduces the composition inside the&#xA;schema itself, and the closest do it as a lossy build step. None handles&#xA;conditional meaning, and none mints identifiers from the data.&lt;/p&gt;&#xA;&lt;p&gt;The most serious attempt is telling in where it came from. Italy runs both&#xA;worlds at national scale: a &lt;a href=&#34;https://github.com/italia/daf-ontologie-vocabolari-controllati&#34;&gt;network of RDF&#xA;ontologies&lt;/a&gt;&#xA;that models its public administration as a knowledge graph, and a &lt;a href=&#34;https://www.sourcemeta.com/blog/g7-runs-on-json-schema/&#34;&gt;national&#xA;platform of services&lt;/a&gt;&#xA;described in OpenAPI and JSON Schema. It felt the collision before anyone else&#xA;and set out to close it.&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://www.sourcemeta.com/blog/json-schema-jsonld-interoperability/italy-cpv-person-ontology.webp&#34; alt=&#34;Italy’s Core Person Vocabulary, one of the government RDF ontologies in its national semantic catalogue. It defines the concept of a Person, the same concept our example mapped, and is authored by the national statistics office (ISTAT) and digital agency (AgID). Running a whole network of these alongside a national JSON Schema API platform is why Italy hit the collision first. Source: schema.gov.it, Catalogo Nazionale della Semantica dei Dati.&#34; width=&#34;2500&#34; height=&#34;1872&#34;&gt;&#xA;  &#xA;  &lt;figcaption&gt;Italy&amp;rsquo;s Core Person Vocabulary, one of the government RDF ontologies in its national semantic catalogue. It defines the concept of a Person, the same concept our example mapped, and is authored by the national statistics office (ISTAT) and digital agency (AgID). Running a whole network of these alongside a national JSON Schema API platform is why Italy hit the collision first. Source: &lt;a href=&#34;https://schema.gov.it/lode/extract?url=https://w3id.org/italia/onto/CPV&#34;&gt;schema.gov.it, Catalogo Nazionale della Semantica dei Dati&lt;/a&gt;.&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&lt;p&gt;Even so, &lt;a href=&#34;https://datatracker.ietf.org/doc/draft-polli-restapi-ld-keywords/&#34;&gt;Roberto Polli&amp;rsquo;s REST API Linked Data Keywords IETF proposal for this&#xA;problem&lt;/a&gt;&#xA;(now at its ninth revision) admits the limit:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&amp;ldquo;Automatic composability is not an explicit goal of this specification&#xA;because of its complexity. [&amp;hellip;] These issues can be tackled in future&#xA;versions of this specifications.&amp;rdquo;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Against what a working solution actually needs, the pattern is stark:&lt;/p&gt;&#xA;&lt;table&gt;&#xA;&#x9;&lt;thead&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Attempt&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th style=&#34;text-align: center&#34;&gt;Standard JSON Schema&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th style=&#34;text-align: center&#34;&gt;Single evaluation pass&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th style=&#34;text-align: center&#34;&gt;Composition&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th style=&#34;text-align: center&#34;&gt;Conditional meaning&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th style=&#34;text-align: center&#34;&gt;IRI minting&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&lt;/thead&gt;&#xA;&#x9;&lt;tbody&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Polli draft (embed context)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;yes&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;OGC (generate context)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;yes&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;partial&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://github.com/transmute-industries/verifiable-data/blob/main/packages/jsonld-schema/src/schemasToContext.ts&#34;&gt;Transmute, W3C CCG traceability&lt;/a&gt; (generate context)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;yes&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Schema Salad (new language)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;partial&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;LinkML / Catena-X, automotive (separate model)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;MuleSoft, Salesforce (validate JSON-LD)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;partial&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;&lt;a href=&#34;https://www.learnjsonschema.com/2020-12/core/ref/&#34;&gt;&lt;code&gt;$ref&lt;/code&gt;&lt;/a&gt; only&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;RML / MetaConfigurator (mapping)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;yes&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Adobe XDM (maintain both by hand)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;partial&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://github.com/beckn/schemas&#34;&gt;Beckn / ONDC, India&amp;rsquo;s DPI&lt;/a&gt; (four parallel artefacts)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;yes&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;no&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;strong&gt;Sourcemeta&lt;/strong&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;&lt;strong&gt;yes&lt;/strong&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;&lt;strong&gt;yes&lt;/strong&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;&lt;strong&gt;yes&lt;/strong&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;&lt;strong&gt;yes&lt;/strong&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td style=&#34;text-align: center&#34;&gt;&lt;strong&gt;yes&lt;/strong&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;p&gt;After a decade of attempts, from academic prototypes to Adobe, Salesforce, and&#xA;the automotive industry, the wall was still standing. That is where we come in.&lt;/p&gt;&#xA;&lt;h2 id=&#34;how-we-cracked-it&#34;&gt;How we cracked it&lt;/h2&gt;&#xA;&lt;p&gt;So how do you carry all of that expressiveness into&#xA;&lt;a href=&#34;https://www.w3.org/RDF/&#34;&gt;RDF&lt;/a&gt;? Every prior attempt treated the schema as a&#xA;document to be parsed and mapped. We treat it as a program to be run.&#xA;Sourcemeta maintains &lt;a href=&#34;https://github.com/sourcemeta/blaze&#34;&gt;Blaze&lt;/a&gt;, a&#xA;high-performance C++ &lt;a href=&#34;https://www.vldb.org/pvldb/vol19/p279-viotti.pdf&#34;&gt;JSON Schema&#xA;validator&lt;/a&gt; that compiles a&#xA;schema into a low-level program and executes it against an instance. Around&#xA;that execution we built a full custom &lt;a href=&#34;https://json-ld.org&#34;&gt;JSON-LD&lt;/a&gt; engine&#xA;that rides along, producing the &lt;a href=&#34;https://www.w3.org/RDF/&#34;&gt;RDF&lt;/a&gt; in lockstep with&#xA;the validation itself. So the meaning is built during evaluation, as part of&#xA;the process, and the dynamism that defeated every static approach is carried by&#xA;the run instead of fought.&lt;/p&gt;&#xA;&lt;p&gt;The result is full support for every construct JSON Schema has, in one file and&#xA;one pass, with no second artefact to drift. The order from our initial example,&#xA;which no prior tool could produce due to its use of some advanced keywords, is&#xA;not a special case. It is simply what the engine does. If a schema can validate&#xA;your data, it can now describe what that data means.&lt;/p&gt;&#xA;&lt;h2 id=&#34;use-it-today&#34;&gt;Use it today&lt;/h2&gt;&#xA;&lt;p&gt;The vocabulary is ten keywords under the &lt;code&gt;x-jsonld-&lt;/code&gt; prefix, and the &lt;a href=&#34;https://github.com/sourcemeta/jsonschema/blob/main/docs/rdf.markdown&#34;&gt;CLI&#xA;documentation&lt;/a&gt;&#xA;is for now the full reference (we are aiming for a proper spec around it soon).&#xA;You can use it today from the command line by pointing &lt;a href=&#34;https://github.com/sourcemeta/jsonschema/blob/main/docs/rdf.markdown&#34;&gt;&lt;code&gt;jsonschema rdf&lt;/code&gt;&lt;/a&gt; at&#xA;a schema and an instance, and get &lt;a href=&#34;https://json-ld.org&#34;&gt;JSON-LD&lt;/a&gt; back, exactly&#xA;as we did above.&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://www.sourcemeta.com/blog/json-schema-jsonld-interoperability/annotation-vocabulary.webp&#34; alt=&#34;The ten x-jsonld-* keywords of the vocabulary, from the JSON Schema CLI documentation. Each annotates a subschema to map it into JSON-LD: x-jsonld-id for the predicate IRI a property maps to, x-jsonld-type for the node @type, x-jsonld-self to mint a node @id from instance values, and so on. Because they are plain x- extension keywords, annotated schemas stay valid for every other JSON Schema tool. Source: JSON Schema CLI RDF documentation&#34; width=&#34;2092&#34; height=&#34;1358&#34;&gt;&#xA;  &#xA;  &lt;figcaption&gt;The ten &lt;code&gt;x-jsonld-*&lt;/code&gt; keywords of the vocabulary, from the JSON Schema CLI documentation. Each annotates a subschema to map it into JSON-LD: &lt;code&gt;x-jsonld-id&lt;/code&gt; for the predicate IRI a property maps to, &lt;code&gt;x-jsonld-type&lt;/code&gt; for the node &lt;code&gt;@type&lt;/code&gt;, &lt;code&gt;x-jsonld-self&lt;/code&gt; to mint a node &lt;code&gt;@id&lt;/code&gt; from instance values, and so on. Because they are plain &lt;code&gt;x-&lt;/code&gt; extension keywords, annotated schemas stay valid for every other JSON Schema tool. Source: &lt;a href=&#34;https://github.com/sourcemeta/jsonschema/blob/main/docs/rdf.markdown&#34;&gt;JSON Schema CLI RDF documentation&lt;/a&gt;&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&lt;p&gt;But the command line is the small version of the idea. The same engine ships in&#xA;&lt;a href=&#34;https://one.sourcemeta.com/api/#rdf&#34;&gt;Sourcemeta One&lt;/a&gt;, our flagship schema&#xA;registry, where it runs over HTTP. Every schema the registry governs can turn&#xA;an instance into &lt;a href=&#34;https://json-ld.org&#34;&gt;JSON-LD&lt;/a&gt; on request, &lt;em&gt;making meaning an&#xA;API call&lt;/em&gt; (available through MCP too).&lt;/p&gt;&#xA;&lt;p&gt;With this, you can send your data to the registry and know what that data&#xA;means, resolved against the schemas your organisation has already agreed on, so&#xA;the transformation happens once, at the infrastructure layer, instead of being&#xA;rebuilt inside every service.&lt;/p&gt;&#xA;&lt;p&gt;The idea is for schemas, their governance, and now their meaning to finally&#xA;live in one place. So if you have data and you want to know what it means, you&#xA;ask Sourcemeta One.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Every G7 government already runs on JSON Schema</title>
      <link>https://www.sourcemeta.com/blog/g7-runs-on-json-schema/</link>
      <guid isPermaLink="true">https://www.sourcemeta.com/blog/g7-runs-on-json-schema/</guid>
      <pubDate>Wed, 06 May 2026 00:00:00 +0000</pubDate>
      <dc:creator>Juan Cruz Viotti</dc:creator>
      <enclosure url="https://www.sourcemeta.com/blog/g7-runs-on-json-schema/beckn-schema-registry.webp" length="196820" type="image/webp" />
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;TL;DR: Every G7 government (United States, United Kingdom, France, Germany,&#xA;Italy, Japan, and Canada) runs its digital public infrastructure on JSON&#xA;Schema. So do nine out of ten of the OECD&amp;rsquo;s top digital governments in&#xA;the 2025 ranking. France and Italy already operate national registries that&#xA;support JSON Schema, and the Netherlands is building one. From December 2026,&#xA;every EU country will run mandatory digital identity infrastructure on &lt;a href=&#34;https://github.com/EWC-consortium/eudi-wallet-rulebooks-and-schemas/tree/main/data-schemas&#34;&gt;JSON&#xA;Schema&lt;/a&gt;,&#xA;under eIDAS 2.0.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;h2 id=&#34;the-public-sector-runs-on-apis&#34;&gt;The public sector runs on APIs&lt;/h2&gt;&#xA;&lt;p&gt;In 2015, &lt;a href=&#34;https://techcrunch.com/2015/05/06/apis-fuel-the-software-thats-eating-the-world/&#34;&gt;TechCrunch&#xA;declared&lt;/a&gt;&#xA;that &lt;em&gt;APIs fuel the software that&amp;rsquo;s eating the world&lt;/em&gt;. And as you probably&#xA;know, the public sector is no exception. For example, the UK&amp;rsquo;s &lt;a href=&#34;https://github.com/co-cddo/api-catalogue&#34;&gt;API&#xA;Catalogue&lt;/a&gt; currently federates &lt;a href=&#34;https://raw.githubusercontent.com/co-cddo/api-catalogue/main/data/catalogue.csv&#34;&gt;1,791&#xA;API&#xA;entries&lt;/a&gt;&#xA;across UK public-sector publishers. The Netherlands&amp;rsquo; &lt;a href=&#34;https://apis.developer.overheid.nl/&#34;&gt;national API&#xA;registry&lt;/a&gt; currently lists 302 APIs. The&#xA;community-run &lt;a href=&#34;https://bund.dev/&#34;&gt;bund.dev&lt;/a&gt; portal currently indexes more than&#xA;60 German federal APIs. Italy publishes its &lt;a href=&#34;https://api.gov.it/en/catalogue&#34;&gt;API&#xA;catalogue&lt;/a&gt;, which currently carries 14,672&#xA;e-services across 9,398 adhering public and private entities.&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://www.sourcemeta.com/blog/g7-runs-on-json-schema/pdnd-services.webp&#34; alt=&#34;Top PDND e-services by number of enabled entities, filtered to central&#xA;public administrations as providers. PagoPA’s SEND digital-notifications&#xA;service leads with around 7,000 enabled entities, followed by four ANNCSU&#xA;address-registry services from Agenzia delle Entrate (around 5,032, 3,070,&#xA;2,509, and lower), then Ministero dell’Interno’s residence, family, and&#xA;citizenship verification services, and AgID’s INAD digital-domicile registry.&#xA;Source: PDND interop dashboard&#34; width=&#34;1990&#34; height=&#34;1338&#34;&gt;&#xA;  &#xA;  &lt;figcaption&gt;Top PDND e-services by number of enabled entities, filtered to central&#xA;public administrations as providers. PagoPA&amp;rsquo;s SEND digital-notifications&#xA;service leads with around 7,000 enabled entities, followed by four ANNCSU&#xA;address-registry services from Agenzia delle Entrate (around 5,032, 3,070,&#xA;2,509, and lower), then Ministero dell&amp;rsquo;Interno&amp;rsquo;s residence, family, and&#xA;citizenship verification services, and AgID&amp;rsquo;s INAD digital-domicile registry.&#xA;Source: &lt;a href=&#34;https://www.interop.pagopa.it/numeri&#34;&gt;PDND interop dashboard&lt;/a&gt;&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&lt;p&gt;In terms of scale, Denmark&amp;rsquo;s &lt;a href=&#34;https://datafordeler.dk/&#34;&gt;Central Data Distribution&#xA;Platform&lt;/a&gt; API &lt;a href=&#34;https://netcompany.com/netcompany-takes-over-one-of-europes-largest-data-platforms-and-sends-digital-denmark-into-an-ai-ready-future/&#34;&gt;&amp;ldquo;processes more than 70 million calls&#xA;daily, and handles a daily data volume of 2.5&#xA;terabytes&amp;rdquo;&lt;/a&gt;.&#xA;The United States &lt;a href=&#34;https://api.data.gov/&#34;&gt;data API&lt;/a&gt; is &lt;em&gt;&amp;ldquo;used by 25 agencies&#xA;for over 450 APIs&amp;rdquo;&lt;/em&gt;. South Korea&amp;rsquo;s &lt;a href=&#34;https://www.data.go.kr/en/index.do&#34;&gt;data&#xA;API&lt;/a&gt; offers &lt;a href=&#34;https://govinsider.asia/intl-en/article/south-korea-leverages-open-government-data-for-ai-development&#34;&gt;&amp;ldquo;87,000 public data sets and&#xA;11,000 open&#xA;APIs&amp;rdquo;&lt;/a&gt;.&#xA;The UK Government Digital Service publishes an &lt;a href=&#34;https://github.com/i-dot-ai/lex&#34;&gt;API exposing more than 8.4&#xA;million UK legal documents&lt;/a&gt;. Beyond datasets,&#xA;the &lt;a href=&#34;https://www.notifications.service.gov.uk/&#34;&gt;GOV.UK Notify&lt;/a&gt; API &lt;a href=&#34;https://gds.blog.gov.uk/2026/02/05/more-than-a-helpdesk-user-supports-role-in-helping-gov-uk-notify-send-12-billion-messages/&#34;&gt;sent 12&#xA;billion messages by February&#xA;2026&lt;/a&gt;&#xA;on behalf of more than 11,000 public-sector services. Estonia&amp;rsquo;s&#xA;&lt;a href=&#34;https://x-road.global/&#34;&gt;X-Road&lt;/a&gt; API exchange links &lt;a href=&#34;https://ec.europa.eu/regional_policy/en/projects/europe/x-road-cross-border-co-development-of-national-data-exchange-platform&#34;&gt;&amp;ldquo;more than 1,000&#xA;inter-connected databases covering some 1,700 services&amp;rdquo; and answers &amp;ldquo;more than&#xA;50 million enquiries every&#xA;month&amp;rdquo;&lt;/a&gt;.&#xA;In the US, the Law Enforcement Information eXchange (LInX) connects &lt;a href=&#34;https://federalnewsnetwork.com/wp-content/uploads/2025/09/Book-of-NIEM-v10-8-4-25.pdf&#34;&gt;&amp;ldquo;thousands&#xA;of law enforcement agencies&amp;rdquo; sharing &amp;ldquo;1.8 billion records amongst each&#xA;other&amp;rdquo;&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The AI wave is only reinforcing the fact that the public sector runs on APIs.&#xA;As Kin Lane puts it, &lt;a href=&#34;https://apievangelist.com/blog/2026/05/07/seeing-mcp/&#34;&gt;&amp;ldquo;MCP is an&#xA;API&amp;rdquo;&lt;/a&gt;, and adoption&#xA;within the public sector has already started. For example, consider the &lt;a href=&#34;https://www.govinfo.gov/features/mcp-public-preview&#34;&gt;US&#xA;GovInfo MCP&lt;/a&gt;, the &lt;a href=&#34;https://github.com/uscensusbureau/us-census-bureau-data-api-mcp&#34;&gt;US&#xA;Census Bureau&#xA;MCP&lt;/a&gt;, France&amp;rsquo;s&#xA;&lt;a href=&#34;https://www.data.gouv.fr/posts/experimentation-autour-dun-serveur-mcp-pour-datagouv&#34;&gt;data.gouv.fr&#xA;MCP&lt;/a&gt;,&#xA;Japan&amp;rsquo;s Digital Agency&#xA;&lt;a href=&#34;https://github.com/digital-go-jp/jgrants-mcp-server&#34;&gt;jgrants-mcp-server&lt;/a&gt;, and&#xA;the UK Government Digital Service&amp;rsquo;s &lt;a href=&#34;https://github.com/i-dot-ai/parliament-mcp&#34;&gt;Parliament&#xA;MCP&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;openapi-becomes-national-policy&#34;&gt;OpenAPI becomes national policy&lt;/h2&gt;&#xA;&lt;p&gt;Like the rest of the industry, the public sector has also settled on&#xA;&lt;a href=&#34;https://www.openapis.org&#34;&gt;OpenAPI&lt;/a&gt; as the format for describing APIs in a&#xA;machine-human readable way.&lt;/p&gt;&#xA;&lt;p&gt;Many governments have explicitly written &amp;ldquo;use OpenAPI&amp;rdquo; into national API&#xA;standards documents. For example, &lt;a href=&#34;https://www.canada.ca/en/government/system/digital-government/digital-government-innovations/government-canada-standards-apis.html&#34;&gt;Canada mandates OpenAPI for all federal&#xA;RESTful&#xA;APIs&lt;/a&gt;.&#xA;The United Kingdom&amp;rsquo;s Open Standards Board states that &lt;a href=&#34;https://www.gov.uk/government/publications/recommended-open-standards-for-government/describing-restful-apis-with-openapi-3&#34;&gt;&amp;ldquo;Describing RESTful&#xA;APIs with OpenAPI 3 is recommended by the government Open Standards&#xA;Board&amp;rdquo;&lt;/a&gt;.&#xA;Italy goes a step further: every API published on the National Digital Data&#xA;Platform (PDND) is validated by &lt;a href=&#34;https://github.com/italia/api-oas-checker-rules&#34;&gt;&amp;ldquo;running the OAS Checker with the Italian&#xA;Guidelines Full profile and obtaining 0&#xA;errors&amp;rdquo;&lt;/a&gt;. Japan&amp;rsquo;s Digital&#xA;Agency states that &lt;a href=&#34;https://www.digital.go.jp/assets/contents/node/basic_page/field_ref_resources/fe5f0631-c978-42db-8416-6759cfa7e53a/f6ca1b7b/20241001_policies_development_management_outline_04.pdf&#34;&gt;&amp;ldquo;Government agencies are expected to adopt OAS [&amp;hellip;] to&#xA;make development more&#xA;efficient&amp;rdquo;&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The following table offers a more exhaustive summary:&lt;/p&gt;&#xA;&lt;table&gt;&#xA;&#x9;&lt;thead&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Country&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Mandate or standard&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Source&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&lt;/thead&gt;&#xA;&#x9;&lt;tbody&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;🇨🇦 Canada&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Federal RESTful API mandate&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://www.canada.ca/en/government/system/digital-government/digital-government-innovations/government-canada-standards-apis.html&#34;&gt;Standards on APIs&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;🇬🇧 United Kingdom&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Open Standards Board recommendation, &lt;a href=&#34;https://www.gov.uk/guidance/gds-api-technical-and-data-standards&#34;&gt;GDS API technical and data standards&lt;/a&gt; guidance&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://www.gov.uk/government/publications/recommended-open-standards-for-government/describing-restful-apis-with-openapi-3&#34;&gt;gov.uk&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;🇫🇷 France&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;OAS required for national API registry submissions&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://interoperable-europe.ec.europa.eu/collection/semic-support-centre/semantic-enrichment-apis-openapi-case-study&#34;&gt;SEMIC 2024&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;🇮🇹 Italy&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Zero-error PDND validation gate (AgID)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://github.com/italia/api-oas-checker-rules&#34;&gt;api-oas-checker-rules&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;🇯🇵 Japan&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Digital Agency DS-464-2 (Sept 2024)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://www.digital.go.jp/assets/contents/node/basic_page/field_ref_resources/fe5f0631-c978-42db-8416-6759cfa7e53a/f6ca1b7b/20241001_policies_development_management_outline_04.pdf&#34;&gt;DS-464-2&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;🇦🇺 Australia&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;NAPIDS MUST&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://api.gov.au/&#34;&gt;api.gov.au&lt;/a&gt;, &lt;a href=&#34;https://github.com/apigovau/national-api-design-standards&#34;&gt;source repo&lt;/a&gt;, &lt;a href=&#34;https://architecture.digital.gov.au/standard/application-programming-interfaces-apis-standard&#34;&gt;architecture standard&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;🇳🇿 New Zealand&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Digital.govt.nz RECOMMEND, Te Whatu Ora HISO 10108 MUST, &lt;a href=&#34;https://docref.digital.govt.nz/nz/dia/nz-api-standard/draft/en/&#34;&gt;Draft NZ API Standard v1.0&lt;/a&gt; (Nov 2025)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://www.digital.govt.nz/standards-and-guidance/technology-and-architecture/application-programming-interfaces-apis/api-guidelines&#34;&gt;API Guidelines&lt;/a&gt;, &lt;a href=&#34;https://apistandards.digital.health.nz/api-publishing/openapi-specifications/&#34;&gt;HISO 10108&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;🇫🇮 Finland&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;OpenAPI 3 required at Suomi.fi DEL&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://kehittajille.suomi.fi/services/data-exchange-layer/support-articles/data-exchange/x-road-communication-protocol&#34;&gt;Suomi.fi DEL&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;🇪🇪 Estonia&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;RIHA describes machine interfaces in OpenAPI&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://e-gov.github.io/RIHA-Index/&#34;&gt;RIHA-Index&lt;/a&gt;, &lt;a href=&#34;https://e-gov.github.io/RIHA-Index/Tehnoloogiavalikud&#34;&gt;Tehnoloogiavalikud&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;🇸🇬 Singapore&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;APEX Cloud + GovTech OpenAPI Linter as a service, &lt;a href=&#34;https://www.tech.gov.sg/technews/three-important-considerations-in-api-development/&#34;&gt;GovTech recommends modern standards such as OpenAPI&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://www.apex.gov.sg/&#34;&gt;apex.gov.sg&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;🇪🇸 Spain&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;2025 Practical Guide for publishing Open Data with APIs&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://datos.gob.es/sites/default/files/doc/file/guia_publicacion_apis.pdf&#34;&gt;datos.gob.es&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;🇨🇭 Switzerland&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Federal guidelines MUST&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://github.com/swiss/api-guidelines&#34;&gt;swiss/api-guidelines&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;🇧🇪 Belgium&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Belgif Federal Interoperability Framework, OpenAPI 3.0&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://www.belgif.be/specification/rest/api-guide/&#34;&gt;Belgif&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;🇳🇱 Netherlands&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;API Design Rules on Forum Standaardisatie&amp;rsquo;s comply-or-explain mandatory list since 2019&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://logius-standaarden.github.io/API-Design-Rules/&#34;&gt;logius-standaarden&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;p&gt;Even beyond mandates, the European Commission found that &lt;a href=&#34;https://interoperable-europe.ec.europa.eu/collection/semic-support-centre/semantic-enrichment-apis-openapi-case-study&#34;&gt;&amp;ldquo;OAS was used by&#xA;almost half of all reviewed API&#xA;portals&amp;rdquo;&lt;/a&gt;&#xA;across the European public-sector portals it surveyed.&lt;/p&gt;&#xA;&lt;p&gt;The picture extends across borders too.  &lt;a href=&#34;https://x-road.global/&#34;&gt;X-Road&lt;/a&gt;, an&#xA;open-source data-exchange platform that uses OpenAPI to describe its REST&#xA;services, was jointly founded by Estonia, Finland, and Iceland through the&#xA;&lt;a href=&#34;https://www.niis.org/&#34;&gt;Nordic Institute for Interoperability Solutions&#xA;(NIIS)&lt;/a&gt;.  Estonia operates it domestically as&#xA;&lt;a href=&#34;https://www.ria.ee/en/state-information-system/data-exchange-platforms/data-exchange-layer-x-tee&#34;&gt;X-tee&lt;/a&gt;&#xA;and Finland as the &lt;a href=&#34;https://kehittajille.suomi.fi/services/data-exchange-layer/&#34;&gt;Suomi.fi data exchange&#xA;layer&lt;/a&gt;. X-Road has&#xA;been adopted as the national data exchange in Cambodia (as&#xA;&lt;a href=&#34;https://x-road.global/xroad-case-studies-library/2024/10/21/camdx-is-cambodias-national-data-exchange-solution-and-its-based-on-x-road&#34;&gt;CamDX&lt;/a&gt;),&#xA;Japan (&lt;a href=&#34;https://investinestonia.com/japans-major-gas-company-nichigas-started-to-use-a-software-solution-based-on-estonian-x-road/&#34;&gt;via PlanetCross at&#xA;Nichigas&lt;/a&gt;),&#xA;&lt;a href=&#34;https://x-road.global/xroad-case-studies-library/2024/10/21/first-steps-towards-interoperability-in-the-public-sector-of-el-salvador&#34;&gt;El Salvador&lt;/a&gt;,&#xA;and Kyrgyzstan (as&#xA;&lt;a href=&#34;https://x-road.global/xroad-case-studies-library/2026/5/4/the-tunduk-story-how-kyrgyzstan-built-a-digital-nation-on-an-open-source-backbone&#34;&gt;Tunduk&lt;/a&gt;).&lt;/p&gt;&#xA;&lt;h2 id=&#34;both-openapi-and-mcp-are-all-about-json-schema&#34;&gt;Both OpenAPI and MCP are all about JSON Schema&lt;/h2&gt;&#xA;&lt;p&gt;We have established that public-sector API adoption runs through OpenAPI and&#xA;MCP. What is easy to miss, but more consequential, is that both share the same&#xA;substrate: &lt;a href=&#34;https://json-schema.org&#34;&gt;JSON Schema&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;More precisely, OpenAPI builds on top of JSON Schema. While OpenAPI offers&#xA;syntax to declare endpoints and top-level metadata, what you use to actually&#xA;describe request bodies, responses, headers, and query parameters is &lt;em&gt;JSON&#xA;Schema embedded within OpenAPI&lt;/em&gt;. In fact, we previously found that &lt;em&gt;&lt;a href=&#34;https://www.sourcemeta.com/blog/json-schema-dominates-openapi/&#34;&gt;&amp;ldquo;in 76% of&#xA;modern OpenAPI specs, JSON Schema dominates the specification&amp;rdquo;&lt;/a&gt;&lt;/em&gt;. So when governments work on&#xA;OpenAPI at the scale we have just seen, they are, in the large majority,&#xA;working on JSON Schema. &lt;strong&gt;A government OpenAPI mandate is, on closer reading, a&#xA;JSON Schema mandate.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://www.sourcemeta.com/blog/json-schema-dominates-openapi/providers.webp&#34; alt=&#34;From our study of public OpenAPI specifications across industry, the JSON&#xA;Schema content embedded within an OpenAPI document often dominates the file.&#xA;For well-known production APIs such as Mailchimp, the embedded JSON Schema can&#xA;exceed 90% of the contents of the file. From In 76% of modern OpenAPI specs&#34; width=&#34;1979&#34; height=&#34;932&#34;&gt;&#xA;  &#xA;  &lt;figcaption&gt;From our study of public OpenAPI specifications across industry, the JSON&#xA;Schema content embedded within an OpenAPI document often dominates the file.&#xA;For well-known production APIs such as Mailchimp, the embedded JSON Schema can&#xA;exceed 90% of the contents of the file. From &lt;a href=&#34;https://www.sourcemeta.com/blog/json-schema-dominates-openapi/&#34;&gt;&lt;em&gt;In 76% of modern OpenAPI specs,&#xA;JSON Schema dominates the specification&lt;/em&gt;&lt;/a&gt;&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&lt;p&gt;The same principle holds for MCP. The &lt;a href=&#34;https://modelcontextprotocol.io/specification/2025-11-25&#34;&gt;official&#xA;specification&lt;/a&gt; is&#xA;built on &lt;a href=&#34;https://www.learnjsonschema.com/2020-12/&#34;&gt;JSON Schema 2020-12&lt;/a&gt;, and&#xA;every MCP tool exposes its inputs as a JSON Schema object. The pattern reaches well beyond MCP. As we previously argued, &lt;em&gt;&lt;a href=&#34;https://www.sourcemeta.com/blog/ai-only-speaks-json-schema/&#34;&gt;&amp;ldquo;the only&#xA;schema language AI speaks is JSON Schema&amp;rdquo;&lt;/a&gt;&lt;/em&gt;. Every major LLM provider&amp;rsquo;s&#xA;tool-calling interface, every AI product, and every agent framework has&#xA;converged on the same substrate.&#xA;As Charlie Holland puts it, &lt;a href=&#34;https://www.chiply.dev/post-schema-languages&#34;&gt;&lt;em&gt;JSON Schema has become &amp;ldquo;the interface definition&#xA;language for AI tools&amp;rdquo;&lt;/em&gt;&lt;/a&gt;.&#xA;&lt;strong&gt;A government MCP server is, on closer reading, a JSON Schema deployment.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;We are not the only ones making this observation. When Kin Lane inventoried&#xA;the API specifications stewarded by the &lt;a href=&#34;https://www.linuxfoundation.org&#34;&gt;Linux&#xA;Foundation&lt;/a&gt;, he concluded that &lt;a href=&#34;https://apievangelist.com/2026/06/30/the-linux-foundation-is-the-home-of-our-api-specifications/&#34;&gt;JSON Schema&#xA;is the connective tissue across the whole&#xA;catalogue&lt;/a&gt;:&#xA;OpenAPI, AsyncAPI, CloudEvents, and others all build on it, and &lt;em&gt;&amp;ldquo;JSON Schema&#xA;is the substrate the other specifications are built on top of&amp;rdquo;&lt;/em&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Taken together, public-sector use of OpenAPI and MCP rank among the largest&#xA;JSON Schema deployments in the world.&lt;/p&gt;&#xA;&lt;h2 id=&#34;the-rise-of-national-schema-registries&#34;&gt;The rise of national schema registries&lt;/h2&gt;&#xA;&lt;p&gt;If OpenAPI and MCP are both about JSON Schema, it is no surprise that&#xA;governments are starting to treat schemas as their own layer, separable from&#xA;any particular API specification and reusable across OpenAPI, MCP, and&#xA;potentially other future consumers. They operate their schemas as standalone&#xA;national assets.&lt;/p&gt;&#xA;&lt;p&gt;France runs &lt;a href=&#34;https://schema.data.gouv.fr/&#34;&gt;schema.data.gouv.fr&lt;/a&gt; as a national&#xA;multi-format schema registry. Among its JSON Schemas, the &lt;a href=&#34;https://github.com/139bercy/format-commande-publique&#34;&gt;public procurement&#xA;format&lt;/a&gt; maintained by the&#xA;Ministry of Economy and Finance is used by every French state entity to publish&#xA;all public contracts above €40,000. The &lt;a href=&#34;https://github.com/gip-inclusion/data-inclusion-schema&#34;&gt;data inclusion&#xA;schema&lt;/a&gt; backs the&#xA;&lt;a href=&#34;https://www.data.inclusion.gouv.fr/&#34;&gt;national platform&lt;/a&gt; aggregating&#xA;social-services data across France Travail, CAF, and local social services. And&#xA;the &lt;a href=&#34;https://schema.data.gouv.fr/etalab/schema-amenagements-cyclables/&#34;&gt;cycling facilities&#xA;format&lt;/a&gt;&#xA;feeds the Base Nationale des Aménagements Cyclables, France&amp;rsquo;s mandatory&#xA;contribution to the EU Regulation 2017/1926 multimodal-travel National Access&#xA;Point at &lt;a href=&#34;https://transport.data.gouv.fr/&#34;&gt;transport.data.gouv.fr&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://www.sourcemeta.com/blog/g7-runs-on-json-schema/schema-data-gouv-fr.webp&#34; alt=&#34;The schema.data.gouv.fr&#xA;registry filtered to JSON Schema entries. Visible cards include the&#xA;cycling-facilities format, the essential data of French public contracts, and&#xA;on-street parking footprints&#34; width=&#34;2992&#34; height=&#34;1856&#34;&gt;&#xA;  &#xA;  &lt;figcaption&gt;The &lt;a href=&#34;https://schema.data.gouv.fr/schemas.html?q=&amp;amp;type=jsonschema&#34;&gt;schema.data.gouv.fr&lt;/a&gt;&#xA;registry filtered to JSON Schema entries. Visible cards include the&#xA;cycling-facilities format, the essential data of French public contracts, and&#xA;on-street parking footprints&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&lt;p&gt;Italy runs &lt;a href=&#34;https://schema.gov.it/&#34;&gt;schema.gov.it&lt;/a&gt; providing JSON Schemas&#xA;packaged as OpenAPI components, with each schema&amp;rsquo;s properties cross-referenced&#xA;to &lt;a href=&#34;https://w3id.org/italia&#34;&gt;Italian government RDF ontologies&lt;/a&gt;.  For example, the&#xA;&lt;a href=&#34;https://github.com/INPS-it/NDC&#34;&gt;INPS National Data Catalog&lt;/a&gt; publishes the JSON&#xA;Schemas backing core social-security workflows: &lt;a href=&#34;https://github.com/INPS-it/NDC/tree/main/assets/schemas/prestazione-naspi&#34;&gt;NASPI unemployment-benefit&#xA;applications&lt;/a&gt;,&#xA;&lt;a href=&#34;https://github.com/INPS-it/NDC/tree/main/assets/schemas/pratica-riscatto&#34;&gt;pension credit purchase&#xA;requests&lt;/a&gt;,&#xA;and the &lt;a href=&#34;https://github.com/INPS-it/NDC/tree/main/assets/schemas/pratica-rilascio-modello-a1&#34;&gt;A1 certificate for cross-border workers under EU Regulation&#xA;883/2004&lt;/a&gt;.&#xA;Italy is also pioneering the IETF draft &lt;a href=&#34;https://www.ietf.org/archive/id/draft-polli-restapi-ld-keywords-07.html&#34;&gt;&lt;em&gt;REST API Linked Data&#xA;Keywords&lt;/em&gt;&lt;/a&gt;,&#xA;which defines two new JSON Schema keywords for embedding JSON-LD context&#xA;directly into OpenAPI and JSON Schema documents.&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://www.sourcemeta.com/blog/g7-runs-on-json-schema/schema-gov-it.webp&#34; alt=&#34;The schema.gov.it&#xA;national semantic catalogue, jointly operated by the Dipartimento per la&#xA;Trasformazione Digitale and Istat, filtered to entries of type&#xA;Schema&#34; width=&#34;2992&#34; height=&#34;1856&#34;&gt;&#xA;  &#xA;  &lt;figcaption&gt;The &lt;a href=&#34;https://schema.gov.it/search?type=SCHEMA&amp;amp;sortBy=TITLE&amp;amp;direction=ASC&#34;&gt;schema.gov.it&lt;/a&gt;&#xA;national semantic catalogue, jointly operated by the Dipartimento per la&#xA;Trasformazione Digitale and Istat, filtered to entries of type&#xA;Schema&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&lt;p&gt;The Netherlands &lt;a href=&#34;https://developer.overheid.nl/blog/2026/04/23/don-update&#34;&gt;announced in April&#xA;2026&lt;/a&gt; that they are&#xA;building &lt;code&gt;schemas.overheid.nl&lt;/code&gt;, a central register for reusable JSON Schemas&#xA;and OpenAPI components.&lt;/p&gt;&#xA;&lt;p&gt;The registry pattern is not confined to the G7 or the OECD. India, whose&#xA;Aadhaar and UPI made it the global reference case for digital public&#xA;infrastructure, initiated &lt;a href=&#34;https://ondc.org/about-ondc/&#34;&gt;ONDC&lt;/a&gt;, the open&#xA;e-commerce network incorporated by the government in December 2021, which&#xA;&lt;a href=&#34;https://cxotoday.com/press-release/ondc-surpasses-200-million-transactions-with-the-last-100mn-coming-in-just-6-months/&#34;&gt;crossed 200 million transactions in March&#xA;2025&lt;/a&gt;.&#xA;ONDC runs on the &lt;a href=&#34;https://beckn.io&#34;&gt;Beckn protocol&lt;/a&gt;, designed by the&#xA;architects of Aadhaar and UPI themselves, and the Beckn ecosystem operates&#xA;its own &lt;a href=&#34;https://schema.beckn.io&#34;&gt;schema registry&lt;/a&gt; of over 600 schema types,&#xA;offered &lt;em&gt;&lt;a href=&#34;https://schema.beckn.io&#34;&gt;&amp;ldquo;as a public infrastructure to enable interoperable value-exchange&#xA;flows&amp;rdquo;&lt;/a&gt;&lt;/em&gt;, with each concept published as an OpenAPI&#xA;3.1 component alongside its &lt;a href=&#34;https://www.learnjsonschema.com/2020-12/&#34;&gt;JSON Schema&#xA;2020-12&lt;/a&gt; document. The same&#xA;protocol is carrying the model beyond India: the &lt;a href=&#34;https://emarketplace.govstack.global/8-service-apis&#34;&gt;ITU&amp;rsquo;s GovStack&#xA;e-marketplace building&#xA;block&lt;/a&gt; was &lt;em&gt;&lt;a href=&#34;https://emarketplace.govstack.global/8-service-apis&#34;&gt;&amp;ldquo;adapted&#xA;from Beckn protocol APIs and&#xA;schema&amp;rdquo;&lt;/a&gt;&lt;/em&gt;, and&#xA;Beckn-based networks are &lt;a href=&#34;https://beckn.io&#34;&gt;live at national scale in Gambia and&#xA;Nepal&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://www.sourcemeta.com/blog/g7-runs-on-json-schema/beckn-schema-registry.webp&#34; alt=&#34;The Beckn schema registry entry for&#xA;DriverCandidateProfileResource,&#xA;a driver recruitment concept from Beckn’s transport-hiring domain. Every&#xA;concept gets a persistent canonical IRI plus versioned developer URLs for&#xA;each of its faces: the OpenAPI document (attributes.yaml), the JSON-LD&#xA;context, and the RDF vocabulary. Source:&#xA;schema.beckn.io&#34; width=&#34;2992&#34; height=&#34;1856&#34;&gt;&#xA;  &#xA;  &lt;figcaption&gt;The Beckn schema registry entry for&#xA;&lt;a href=&#34;https://schema.beckn.io/DriverCandidateProfileResource&#34;&gt;DriverCandidateProfileResource&lt;/a&gt;,&#xA;a driver recruitment concept from Beckn&amp;rsquo;s transport-hiring domain. Every&#xA;concept gets a persistent canonical IRI plus versioned developer URLs for&#xA;each of its faces: the OpenAPI document (attributes.yaml), the JSON-LD&#xA;context, and the RDF vocabulary. Source:&#xA;&lt;a href=&#34;https://schema.beckn.io/DriverCandidateProfileResource&#34;&gt;schema.beckn.io&lt;/a&gt;&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&lt;h2 id=&#34;the-rise-of-national-schema-collections&#34;&gt;The rise of national schema collections&lt;/h2&gt;&#xA;&lt;p&gt;One tier down, individual agencies and research bodies operate their own&#xA;reusable pure JSON Schema collections, often spanning entire scientific or&#xA;regulatory domains.&lt;/p&gt;&#xA;&lt;p&gt;NASA uses JSON Schema across multiple missions and platforms. It publishes&#xA;&lt;a href=&#34;https://github.com/nasa-gcn/gcn-schema&#34;&gt;JSON Schemas&lt;/a&gt; for the &lt;a href=&#34;https://gcn.nasa.gov/&#34;&gt;General&#xA;Coordinates Network&lt;/a&gt; alert format. When LIGO detects a&#xA;gravitational wave or Swift detects a gamma-ray burst, alerts in this format go&#xA;out within seconds so observatories around the world can slew toward the source&#xA;while it is still visible. NASA also maintains the &lt;a href=&#34;https://github.com/nasa/Common-Metadata-Repository&#34;&gt;Common Metadata&#xA;Repository&lt;/a&gt; (CMR), which&#xA;defines the Unified Metadata Model in JSON Schema and underpins the entire&#xA;&lt;a href=&#34;https://www.earthdata.nasa.gov/&#34;&gt;EOSDIS Earth-science catalogue&lt;/a&gt;. Any&#xA;researcher querying NASA Earthdata for satellite imagery, climate datasets, or&#xA;atmospheric measurements hits records validated against this model.&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://www.sourcemeta.com/blog/g7-runs-on-json-schema/nasa-gcn-schema.webp&#34; alt=&#34;The NASA General Coordinates Network for v7.0.0,&#xA;showing mission-specific JSON Schema folders for BOOM, BurstCube, CHIME,&#xA;Einstein Probe, Fermi, Glowbug, HEASARC, IceCube, KM3NeT, and&#xA;others&#34; width=&#34;2992&#34; height=&#34;1856&#34;&gt;&#xA;  &#xA;  &lt;figcaption&gt;The &lt;a href=&#34;https://gcn.nasa.gov/docs/schema/v7.0.0/gcn/notices&#34;&gt;NASA General Coordinates Network Schema&#xA;Browser&lt;/a&gt; for v7.0.0,&#xA;showing mission-specific JSON Schema folders for BOOM, BurstCube, CHIME,&#xA;Einstein Probe, Fermi, Glowbug, HEASARC, IceCube, KM3NeT, and&#xA;others&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&lt;p&gt;NIST publishes &lt;a href=&#34;https://github.com/usnistgov/OSCAL/releases/latest&#34;&gt;OSCAL&lt;/a&gt;,&#xA;the Open Security Controls Assessment Language, as the JSON-Schema-backed&#xA;control language behind&#xA;&lt;a href=&#34;https://csrc.nist.gov/pubs/sp/800/53/r5/upd1/final&#34;&gt;NIST 800-53&lt;/a&gt;, &lt;a href=&#34;https://csrc.nist.gov/pubs/sp/800/171/r3/final&#34;&gt;NIST&#xA;800-171&lt;/a&gt;, &lt;a href=&#34;https://csrc.nist.gov/pubs/sp/800/218/final&#34;&gt;NIST&#xA;800-218&lt;/a&gt;, and &lt;a href=&#34;https://www.nist.gov/cyberframework&#34;&gt;CSF&#xA;v2.0&lt;/a&gt;. Cloud providers seeking &lt;a href=&#34;https://www.fedramp.gov/&#34;&gt;FedRAMP&#xA;authorization&lt;/a&gt;, defense contractors handling&#xA;&lt;a href=&#34;https://www.archives.gov/cui&#34;&gt;Controlled Unclassified Information&lt;/a&gt;, and any&#xA;organisation aligning with the US Cybersecurity Framework can now express their&#xA;entire compliance posture as JSON validated against OSCAL.&lt;/p&gt;&#xA;&lt;p&gt;The US &lt;a href=&#34;https://www.cancer.gov/&#34;&gt;National Cancer Institute&lt;/a&gt; (part of&#xA;&lt;a href=&#34;https://www.nih.gov/&#34;&gt;NIH&lt;/a&gt;) publishes the &lt;a href=&#34;https://github.com/NCI-GDC/gdcdictionary&#34;&gt;GDC Data&#xA;Dictionary&lt;/a&gt;, 89 JSON Schemas defining&#xA;every entity in the &lt;a href=&#34;https://gdc.cancer.gov/&#34;&gt;Genomic Data Commons&lt;/a&gt;, the&#xA;federal cancer-genomics platform pooling harmonised tumour data from across NCI&#xA;programmes. Every biospecimen, patient case, sequencing aliquot, mutation call,&#xA;and clinical record submitted to the GDC has to validate against one of these&#xA;schemas.&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://www.sourcemeta.com/blog/g7-runs-on-json-schema/gdc-pathology-report.webp&#34; alt=&#34;The GDC pathology,&#xA;a JSON Schema defining the structure of pathology-report records&#xA;submitted to the Genomic Data Commons&#34; width=&#34;2992&#34; height=&#34;1856&#34;&gt;&#xA;  &#xA;  &lt;figcaption&gt;The &lt;a href=&#34;https://github.com/NCI-GDC/gdcdictionary/blob/develop/src/gdcdictionary/schemas/pathology_report.yaml&#34;&gt;GDC pathology-report&#xA;schema&lt;/a&gt;,&#xA;a JSON Schema defining the structure of pathology-report records&#xA;submitted to the Genomic Data Commons&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&lt;p&gt;The UK Atomic Energy Authority publishes &lt;a href=&#34;https://github.com/ukaea/ukaea-metadata&#34;&gt;fusion-research metadata&#xA;schemas&lt;/a&gt; in &lt;a href=&#34;https://www.learnjsonschema.com/2020-12/&#34;&gt;JSON Schema&#xA;2020-12&lt;/a&gt;, covering dataset,&#xA;experiment, instrument, sample, and equipment records, plus dedicated schemas&#xA;for the&#xA;&lt;a href=&#34;https://www.ukaea.org/service/heating-by-induction-to-verify-extremes-hive/&#34;&gt;HIVE&lt;/a&gt;&#xA;and &lt;a href=&#34;https://www.ukaea.org/focus/materials-research-facility/&#34;&gt;MRF&lt;/a&gt;&#xA;facilities. These describe data across UKAEA&amp;rsquo;s fusion programme, including the&#xA;&lt;a href=&#34;https://www.ukaea.org/work/jet-decommissioning-and-repurposing/&#34;&gt;JET tokamak&lt;/a&gt;,&#xA;&lt;a href=&#34;https://www.ukaea.org/work/mast-upgrade/&#34;&gt;MAST-U&lt;/a&gt;, and the upcoming&#xA;&lt;a href=&#34;https://stepfusion.com/&#34;&gt;STEP&lt;/a&gt; prototype fusion power plant targeting grid&#xA;connection in the 2040s.&lt;/p&gt;&#xA;&lt;p&gt;The UK government uses JSON Schema across multiple departments. The Government&#xA;Digital Service describes every content type published on&#xA;&lt;a href=&#34;https://www.gov.uk/&#34;&gt;GOV.UK&lt;/a&gt; as a JSON Schema through the &lt;a href=&#34;https://github.com/alphagov/publishing-api/tree/main/content_schemas&#34;&gt;publishing-api&#xA;content&#xA;schemas&lt;/a&gt;,&#xA;50+ formats covering case studies, consultations, detailed guides, document&#xA;collections, fatality notices, and statistics, with every page validated&#xA;against a JSON Schema before publishing. The Home Office maintains several JSON&#xA;Schema repositories across its operational services, including&#xA;&lt;a href=&#34;https://github.com/UKHomeOffice/booktravel_schema&#34;&gt;booktravel_schema&lt;/a&gt;, which&#xA;defines the contract between the Home Office&amp;rsquo;s Book Travel service and&#xA;third-party escort and travel providers handling immigration removals. The&#xA;Driver and Vehicle Licensing Agency (DVLA) has publicly described how it has&#xA;&lt;em&gt;&lt;a href=&#34;https://dvla.github.io/posts/2022-10-working-with-json-schema/&#34;&gt;&amp;ldquo;invested in tooling and processes that make heavy use of JSON&#xA;Schema&amp;rdquo;&lt;/a&gt;&lt;/em&gt;,&#xA;using it to describe its data models, generate human-friendly documentation,&#xA;validate data, and code-generate Java and TypeScript representations of those&#xA;models.&lt;/p&gt;&#xA;&lt;h2 id=&#34;json-schema-across-jurisdictions&#34;&gt;JSON Schema across jurisdictions&lt;/h2&gt;&#xA;&lt;p&gt;JSON Schema does not stop at national borders. When governments coordinate&#xA;across jurisdictions and need to write down the shape of the data they&#xA;exchange, the format they reach for is, increasingly, JSON Schema.&lt;/p&gt;&#xA;&lt;p&gt;The most consequential example is the &lt;a href=&#34;https://github.com/eu-digital-identity-wallet&#34;&gt;European Digital Identity (EUDI)&#xA;Wallet&lt;/a&gt;, the flagship&#xA;digital-identity initiative under &lt;a href=&#34;https://en.wikipedia.org/wiki/EIDAS&#34;&gt;eIDAS&#xA;2.0&lt;/a&gt;, mandatory across all 27 EU Member&#xA;States by December 2026. Its reference data model is published by the EU Wallet&#xA;Consortium (EWC) as &lt;a href=&#34;https://github.com/EWC-consortium/eudi-wallet-rulebooks-and-schemas/tree/main/data-schemas&#34;&gt;14 versioned JSON&#xA;Schemas&lt;/a&gt;&#xA;covering the EU company certificate, IBAN attestation, signatory rights,&#xA;legal-person identification, ferry boarding pass, ultimate beneficial owners,&#xA;payment wallet, payment-data confirmation, personal contact details, student&#xA;ID, vReceipts, person identification data, photo ID, and ID-proofing &lt;a href=&#34;https://www.etsi.org/deliver/etsi_ts/119400_119499/119461/02.01.01_60/ts_119461v020101p.pdf&#34;&gt;ETSI&#xA;461&lt;/a&gt;.&#xA;The upstream &lt;a href=&#34;https://www.w3.org/TR/vc-data-model-2.0/&#34;&gt;W3C Verifiable Credentials Data Model&#xA;2.0&lt;/a&gt;, on which every national EUDI&#xA;Wallet implementation depends, defines its &lt;code&gt;credentialSchema&lt;/code&gt; property with&#xA;&lt;code&gt;JsonSchema&lt;/code&gt; as a type.&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://www.sourcemeta.com/blog/g7-runs-on-json-schema/eudi-legal-pid.webp&#34; alt=&#34;The EWC consortium,&#xA;one of the 14 JSON Schemas (2020-12) underpinning the EUDI Wallet reference&#xA;data model&#34; width=&#34;2992&#34; height=&#34;1856&#34;&gt;&#xA;  &#xA;  &lt;figcaption&gt;The &lt;a href=&#34;https://github.com/EWC-consortium/eudi-wallet-rulebooks-and-schemas/blob/main/data-schemas/ds004-legal-person-identification-data.json&#34;&gt;EWC consortium&amp;rsquo;s Legal Person Identification Data&#xA;schema&lt;/a&gt;,&#xA;one of the 14 JSON Schemas (2020-12) underpinning the EUDI Wallet reference&#xA;data model&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&lt;p&gt;The pattern extends beyond the EU itself. Switzerland is not a member state&#xA;and is not bound by eIDAS 2.0, yet its national e-ID, approved by referendum&#xA;in September 2025, independently landed on the same substrate. The Swiss&#xA;Confederation&amp;rsquo;s &lt;a href=&#34;https://www.eid.admin.ch/en&#34;&gt;swiyu&lt;/a&gt; wallet &lt;a href=&#34;https://github.com/swiyu-admin-ch/eidch-ios-wallet/blob/main/Modules/Features/BITOpenID/Sources/BITOpenID/Domain/Validators/VcSdJwtSchemaValidator.swift&#34;&gt;validates every&#xA;credential type-metadata schema against the official JSON Schema 2020-12&#xA;meta-schema&lt;/a&gt;,&#xA;which it ships embedded in the app, and the &lt;a href=&#34;https://github.com/swiyu-admin-ch/didresolver&#34;&gt;DID&#xA;resolver&lt;/a&gt; of its trust&#xA;infrastructure validates DID log entries against &lt;a href=&#34;https://github.com/swiyu-admin-ch/didresolver/blob/main/did_webvh/src/embed/jsonschema/did_log_jsonschema_v_1_0_eid_conform.json&#34;&gt;dedicated &amp;ldquo;e-ID-conform&amp;rdquo;&#xA;JSON Schemas&#xA;(2020-12)&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;In the United States,&#xA;&lt;a href=&#34;https://www.niem.gov/&#34;&gt;NIEM (the National Information Exchange Model)&lt;/a&gt;&#xA;plays an analogous role.&#xA;&lt;a href=&#34;https://www.oasis-open.org/2025/12/09/oasis-approves-two-niemopen-standards-to-advance-ai-ready-data-interoperability/&#34;&gt;NIEM 6.0 and the NIEMOpen Naming and Design Rules 6.0 were approved as&#xA;OASIS Standards on 9 December 2025&lt;/a&gt;.&#xA;The model harmonises &lt;em&gt;&amp;ldquo;the 20,000+ data elements&amp;rdquo;&lt;/em&gt; used across&#xA;US-government data exchanges (per the&#xA;&lt;a href=&#34;https://federalnewsnetwork.com/wp-content/uploads/2025/09/Book-of-NIEM-v10-8-4-25.pdf&#34;&gt;Book of NIEM 2025&lt;/a&gt;),&#xA;with&#xA;&lt;a href=&#34;https://github.com/niemopen/niem-naming-design-rules/blob/main/doc/cmf-to-json-schema-guide.md&#34;&gt;JSON Schema as its bindings vocabulary&lt;/a&gt;&#xA;for JSON-encoded payloads.&#xA;NIEM is used by the FBI, the Department of Defense, all 50 US states,&#xA;and Employment and Social Development Canada (ESDC).&lt;/p&gt;&#xA;&lt;p&gt;Additionally, several intergovernmental research bodies publish their own JSON&#xA;Schema data models, each spanning many member states. The &lt;a href=&#34;https://wmo.int/&#34;&gt;World Meteorological&#xA;Organization&lt;/a&gt;, a &lt;a href=&#34;https://www.un.org/&#34;&gt;United Nations&lt;/a&gt;&#xA;agency with 193 member states and territories, publishes&#xA;&lt;a href=&#34;https://schemas.wmo.int/wcmp/2.1.0/schemas/wcmp2-bundled.json&#34;&gt;WCMP2&lt;/a&gt; (Core&#xA;Metadata Profile 2 v2.1.0) as the JSON Schema for weather and climate metadata,&#xA;with the UK Met Office among its downstream consumers.&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://www.sourcemeta.com/blog/g7-runs-on-json-schema/schemas-wmo-int.webp&#34; alt=&#34;The WMO schema repository at schemas.wmo.int,&#xA;served as a static directory listing of versioned schema collections including&#xA;IWXXM, METCE, WaterML, WCMP, WMDR, and others. Source schemas are developed at&#xA;github.com/wmo-im&#34; width=&#34;2792&#34; height=&#34;1442&#34;&gt;&#xA;  &#xA;  &lt;figcaption&gt;The &lt;a href=&#34;https://schemas.wmo.int/&#34;&gt;WMO schema repository at schemas.wmo.int&lt;/a&gt;,&#xA;served as a static directory listing of versioned schema collections including&#xA;IWXXM, METCE, WaterML, WCMP, WMDR, and others. Source schemas are developed at&#xA;&lt;a href=&#34;https://github.com/wmo-im&#34;&gt;github.com/wmo-im&lt;/a&gt;&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;  The &lt;a href=&#34;https://home.cern/&#34;&gt;European&#xA;Organization for Nuclear Research (CERN)&lt;/a&gt;, an&#xA;intergovernmental body with 25 member states, runs its &lt;a href=&#34;https://github.com/cernopendata/cernopendata-portal&#34;&gt;Open Data&#xA;portal&lt;/a&gt; on&#xA;JSON-Schema-validated records. The &lt;a href=&#34;https://www.ebi.ac.uk/&#34;&gt;European Bioinformatics Institute&#xA;(EMBL-EBI)&lt;/a&gt;, the intergovernmental molecular-biology&#xA;lab spanning 29 European member states, maintains a &lt;a href=&#34;https://github.com/EBIBioSamples/json-schema-store&#34;&gt;versioned JSON Schema&#xA;store&lt;/a&gt; for biological&#xA;samples.&lt;/p&gt;&#xA;&lt;h2 id=&#34;the-audit-every-g7-and-nine-of-the-oecd-top-ten&#34;&gt;The audit: every G7, and nine of the OECD top ten&lt;/h2&gt;&#xA;&lt;p&gt;Across the previous sections, we have seen many governments using JSON Schema&#xA;in three ways: as standalone schema collections, inside OpenAPI specifications,&#xA;and inside MCP servers. Returning to the article&amp;rsquo;s premise, every&#xA;&lt;a href=&#34;https://en.wikipedia.org/wiki/G7&#34;&gt;G7&lt;/a&gt; member has at least one piece of JSON&#xA;Schema infrastructure on the public record:&lt;/p&gt;&#xA;&lt;table&gt;&#xA;&#x9;&lt;thead&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Country&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Evidence&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&lt;/thead&gt;&#xA;&#x9;&lt;tbody&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;🇺🇸 United States&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://api.data.gov/&#34;&gt;api.data.gov&lt;/a&gt;, &lt;a href=&#34;https://code.gov&#34;&gt;Code.gov&lt;/a&gt; metadata schema (itself a JSON Schema), &lt;a href=&#34;https://github.com/nasa-gcn/gcn-schema&#34;&gt;NASA General Coordinates Network schemas&lt;/a&gt;, &lt;a href=&#34;https://github.com/nasa/Common-Metadata-Repository&#34;&gt;NASA CMR/UMM&lt;/a&gt;, &lt;a href=&#34;https://github.com/usnistgov/OSCAL/releases/latest&#34;&gt;NIST OSCAL&lt;/a&gt;, &lt;a href=&#34;https://github.com/NCI-GDC/gdcdictionary&#34;&gt;NCI GDC Data Dictionary&lt;/a&gt;, &lt;a href=&#34;https://www.govinfo.gov/features/mcp-public-preview&#34;&gt;GovInfo MCP&lt;/a&gt;, &lt;a href=&#34;https://github.com/uscensusbureau/us-census-bureau-data-api-mcp&#34;&gt;US Census Bureau MCP&lt;/a&gt;, NIEM 6.0 &lt;a href=&#34;https://www.oasis-open.org/2025/12/09/oasis-approves-two-niemopen-standards-to-advance-ai-ready-data-interoperability/&#34;&gt;OASIS standard&lt;/a&gt; with &lt;a href=&#34;https://github.com/niemopen/niem-naming-design-rules/blob/main/doc/cmf-to-json-schema-guide.md&#34;&gt;JSON Schema bindings&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;🇬🇧 United Kingdom&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://github.com/co-cddo/api-catalogue&#34;&gt;UK API Catalogue&lt;/a&gt;, &lt;a href=&#34;https://www.notifications.service.gov.uk/&#34;&gt;GOV.UK Notify&lt;/a&gt;, &lt;a href=&#34;https://www.gov.uk/government/publications/recommended-open-standards-for-government/describing-restful-apis-with-openapi-3&#34;&gt;Open Standards Board OpenAPI 3 recommendation&lt;/a&gt;, &lt;a href=&#34;https://github.com/alphagov/publishing-api/tree/main/content_schemas&#34;&gt;GOV.UK content schemas&lt;/a&gt;, &lt;a href=&#34;https://github.com/ukaea/ukaea-metadata&#34;&gt;UKAEA fusion-research schemas&lt;/a&gt;, &lt;a href=&#34;https://github.com/UKHomeOffice/booktravel_schema&#34;&gt;UK Home Office booktravel_schema&lt;/a&gt;, &lt;a href=&#34;https://dvla.github.io/posts/2022-10-working-with-json-schema/&#34;&gt;DVLA tooling and processes that &amp;ldquo;make heavy use of JSON Schema&amp;rdquo;&lt;/a&gt;, UK GDS i.AI &lt;a href=&#34;https://github.com/i-dot-ai/parliament-mcp&#34;&gt;Parliament MCP&lt;/a&gt; and &lt;a href=&#34;https://lex.lab.i.ai.gov.uk/api/openapi.json&#34;&gt;Lex API&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;🇫🇷 France&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://schema.data.gouv.fr/&#34;&gt;schema.data.gouv.fr&lt;/a&gt; national multi-format schema registry, &lt;a href=&#34;https://www.data.gouv.fr/posts/experimentation-autour-dun-serveur-mcp-pour-datagouv&#34;&gt;data.gouv.fr MCP&lt;/a&gt;, #1 on the OECD OURdata 2025 index&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;🇩🇪 Germany&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://github.com/bundesapi&#34;&gt;bundesAPI&lt;/a&gt; and &lt;a href=&#34;https://bund.dev/&#34;&gt;bund.dev&lt;/a&gt; community-curated catalogue documenting 60+ German federal APIs in OpenAPI. On the official side, &lt;a href=&#34;https://github.com/gematik&#34;&gt;gematik&lt;/a&gt; (the national health-IT body majority-owned by the Federal Ministry of Health) publishes OpenAPI specs for the &lt;a href=&#34;https://github.com/gematik/api-erp&#34;&gt;e-prescription&lt;/a&gt;, &lt;a href=&#34;https://github.com/gematik/api-ePA&#34;&gt;electronic patient record&lt;/a&gt;, and other national health interfaces&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;🇮🇹 Italy&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://api.gov.it/en/catalogue&#34;&gt;api.gov.it&lt;/a&gt; PDND catalogue (14,672 e-services across 9,398 entities), &lt;a href=&#34;https://schema.gov.it/&#34;&gt;schema.gov.it&lt;/a&gt; national semantic catalogue (JSON Schemas packaged as OpenAPI components), &lt;a href=&#34;https://italia.github.io/api-oas-checker/&#34;&gt;AgID OAS Checker&lt;/a&gt; zero-error validation gate&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;🇯🇵 Japan&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Digital Agency &lt;a href=&#34;https://www.digital.go.jp/assets/contents/node/basic_page/field_ref_resources/fe5f0631-c978-42db-8416-6759cfa7e53a/f6ca1b7b/20241001_policies_development_management_outline_04.pdf&#34;&gt;DS-464-2&lt;/a&gt; names OAS, &lt;a href=&#34;https://github.com/digital-go-jp/jgrants-mcp-server&#34;&gt;jgrants-mcp-server&lt;/a&gt;, &lt;code&gt;genai-ai-api&lt;/code&gt; government generative AI app platform, one of the four fastest-rising scorers in OECD DGI 2025&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;🇨🇦 Canada&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://www.canada.ca/en/government/system/digital-government/digital-government-innovations/government-canada-standards-apis.html&#34;&gt;Government of Canada Standards on APIs&lt;/a&gt; federal OpenAPI mandate (in production, for example at &lt;a href=&#34;https://api.weather.gc.ca/openapi&#34;&gt;api.weather.gc.ca/openapi&lt;/a&gt;), Employment and Social Development Canada adoption of NIEM&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;p&gt;The &lt;a href=&#34;https://www.oecd.org/en/publications/government-at-a-glance-2025_0efd0bcd-en/full-report/digital-government-index_1edec44e.html&#34;&gt;OECD Digital Government Index&#xA;2025&lt;/a&gt;&#xA;top ten extends the same pattern beyond the UK (4th) and France (9th). Australia (2nd) mandates OpenAPI through&#xA;&lt;a href=&#34;https://api.gov.au/&#34;&gt;NAPIDS&lt;/a&gt; and auto-extracts JSON Schemas from OpenAPI for&#xA;the &lt;a href=&#34;https://github.com/ConsumerDataStandardsAustralia/standards&#34;&gt;Consumer Data&#xA;Right&lt;/a&gt;. Portugal&#xA;(3rd) publishes federal OpenAPI specs through&#xA;&lt;a href=&#34;https://github.com/amagovpt&#34;&gt;amagovpt&lt;/a&gt;, for example&#xA;&lt;a href=&#34;https://github.com/amagovpt/doc-SAFE&#34;&gt;doc-SAFE&lt;/a&gt;. Norway (5th) ships OpenAPI&#xA;through &lt;a href=&#34;https://github.com/Altinn/dialogporten/tree/main/docs/schema/V1&#34;&gt;Altinn&#xA;Dialogporten&lt;/a&gt;.&#xA;Estonia (6th) describes its&#xA;&lt;a href=&#34;https://www.ria.ee/en/state-information-system/data-exchange-platforms/data-exchange-layer-x-tee&#34;&gt;X-tee&lt;/a&gt;&#xA;services in OpenAPI and catalogues them at &lt;a href=&#34;https://www.riha.ee&#34;&gt;RIHA&lt;/a&gt;.&#xA;Ireland (7th) ships the &lt;a href=&#34;https://github.com/ogcio/govie-messagingie/blob/main/apps/messaging-api/openapi-definition.yml&#34;&gt;OGCIO MessagingIE OpenAPI&#xA;spec&lt;/a&gt;.&#xA;Denmark (8th) publishes the &lt;a href=&#34;https://github.com/Sundhedsdatastyrelsen/ehdsi/blob/main/national-connector/epps-api/epps-ncp-api/src/main/openapi/ncp.yaml&#34;&gt;Danish Health Data Authority NCP&#xA;API&lt;/a&gt;&#xA;in OpenAPI alongside &lt;a href=&#34;https://datafordeler.dk/&#34;&gt;Datafordeleren&lt;/a&gt;. And Chile&#xA;(10th) operates &lt;a href=&#34;https://www.chilecompra.cl/api/&#34;&gt;Mercado Público&lt;/a&gt; on the&#xA;JSON-Schema-based &lt;a href=&#34;https://standard.open-contracting.org/latest/en/schema/&#34;&gt;Open Contracting Data&#xA;Standard&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The single holdout is Korea (1st), where no public OpenAPI or JSON Schema&#xA;evidence was found despite the country topping the OECD index.&lt;/p&gt;&#xA;&lt;p&gt;Beyond the OECD top 10 digital governments, the pattern continues.&#xA;Switzerland, whose federal API guidelines already &lt;a href=&#34;https://github.com/swiss/api-guidelines&#34;&gt;mandate&#xA;OpenAPI&lt;/a&gt;, is now developing the&#xA;e-government standards for its political system, covering parliamentary&#xA;operations, political actors, and public consultations (eCH-0293 through&#xA;eCH-0297), &lt;a href=&#34;https://github.com/swiss/political-affairs-ech-group&#34;&gt;schema-first on the Federal Chancellery&amp;rsquo;s GitHub&#xA;organisation&lt;/a&gt;. The&#xA;&lt;a href=&#34;https://www.ech.ch/&#34;&gt;eCH&lt;/a&gt; standards group&amp;rsquo;s stated principle is that &lt;em&gt;&lt;a href=&#34;https://github.com/swiss/political-affairs-ech-group/blob/main/README.md&#34;&gt;&amp;ldquo;the&#xA;data schemata are the primary&#xA;artifacts&amp;rdquo;&lt;/a&gt;&lt;/em&gt;:&#xA;every commit regenerates the JSON Schemas, published under government&#xA;identifiers such as&#xA;&lt;a href=&#34;https://github.com/swiss/political-affairs-ech-group/blob/main/ech-0293_operations/output/schema.json&#34;&gt;&lt;code&gt;https://ch.paf.link/schema/operations&lt;/code&gt;&lt;/a&gt;,&#xA;alongside RDF artifacts derived from the same sources. Sweden&#xA;coordinates the &lt;a href=&#34;https://github.com/EWC-consortium/eudi-wallet-rulebooks-and-schemas/tree/main/data-schemas&#34;&gt;EWC&#xA;consortium&lt;/a&gt;&#xA;behind the EUDI Wallet&amp;rsquo;s JSON Schemas, and&#xA;Statistics Sweden ships its open-source&#xA;&lt;a href=&#34;https://github.com/statisticssweden/Balsam&#34;&gt;Balsam&lt;/a&gt; research platform with the&#xA;OpenAPI generator.&#xA;Slovakia&amp;rsquo;s &lt;a href=&#34;https://github.com/slovak-egov&#34;&gt;slovak-egov&lt;/a&gt; organisation&#xA;publishes Swagger and OpenAPI specs across its national open-data&#xA;catalogue and the EU&amp;rsquo;s Once-Only Technical System pilot, alongside&#xA;&lt;a href=&#34;https://github.com/slovak-egov/centralny-model-udajov/tree/main/tbox/national/dcat-ap-sk&#34;&gt;national JSON Schemas for the Slovak DCAT-AP&#xA;profile&lt;/a&gt;. Lithuania&amp;rsquo;s&#xA;&lt;a href=&#34;https://github.com/ivpk&#34;&gt;ivpk&lt;/a&gt; maintains national&#xA;&lt;a href=&#34;https://github.com/ivpk/api-specifications&#34;&gt;API specifications&lt;/a&gt; and a&#xA;&lt;a href=&#34;https://github.com/ivpk/uapi&#34;&gt;universal API&lt;/a&gt; in OpenAPI. Israel&amp;rsquo;s&#xA;&lt;a href=&#34;https://github.com/MohGovIL/Swagger&#34;&gt;Ministry of Health&lt;/a&gt; and Colombia&amp;rsquo;s&#xA;&lt;a href=&#34;https://github.com/AltaConsejeriaTIC&#34;&gt;Alta Consejería TIC&lt;/a&gt; publish&#xA;OpenAPI specifications across their respective public-sector&#xA;portfolios.&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://www.sourcemeta.com/blog/g7-runs-on-json-schema/slovak-dcat-ap-catalog.webp&#34; alt=&#34;The Slovak DCAT-AP catalogue,&#xA;JSON Schema 2020-12, defining the Slovak national open-data catalogue&#xA;profile&#34; width=&#34;2992&#34; height=&#34;1856&#34;&gt;&#xA;  &#xA;  &lt;figcaption&gt;The Slovak &lt;a href=&#34;https://github.com/slovak-egov/centralny-model-udajov/blob/main/tbox/national/dcat-ap-sk/json-sch%C3%A9my-2.0.1/katal%C3%B3g.json&#34;&gt;DCAT-AP catalogue JSON&#xA;Schema&lt;/a&gt;,&#xA;JSON Schema 2020-12, defining the Slovak national open-data catalogue&#xA;profile&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&lt;h2 id=&#34;json-schema-is-now-national-infrastructure&#34;&gt;JSON Schema is now national infrastructure&lt;/h2&gt;&#xA;&lt;p&gt;Across this article, we have seen that the G7, nine out of ten of the OECD&amp;rsquo;s&#xA;top digital governments, and many others, &lt;em&gt;all make use of JSON Schema&lt;/em&gt;.&#xA;Sometimes directly, through national schema registries and cross-government&#xA;data models. Sometimes indirectly, through OpenAPI specifications and MCP APIs.&#xA;And this is no longer always a choice. For example, &lt;a href=&#34;https://github.com/EWC-consortium/eudi-wallet-rulebooks-and-schemas/tree/main/data-schemas&#34;&gt;eIDAS&#xA;2.0&lt;/a&gt;&#xA;makes JSON Schema an EU-wide regulatory mandate.&lt;/p&gt;&#xA;&lt;p&gt;Luke Keller, chief innovation officer at the US Census Bureau, &lt;a href=&#34;https://fedscoop.com/federal-goverment-mcp-improve-ai-access-public-data/&#34;&gt;told&#xA;FedScoop&lt;/a&gt;:&#xA;&lt;em&gt;&amp;quot;[MCP is] not the answer. It&amp;rsquo;s one of many answers.&amp;quot;&lt;/em&gt; He is right. In 2026,&#xA;those answers are OpenAPI and MCP. Tomorrow, they might be something else.&#xA;&lt;strong&gt;However, the foundational layer they all sit on is the same: JSON Schema. It&#xA;is the stable substrate underneath an ever-evolving stack.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;For this reason, France and Italy already operate national registries that&#xA;support JSON Schema, and the Netherlands &lt;a href=&#34;https://developer.overheid.nl/blog/2026/04/23/don-update&#34;&gt;joined them as recently as April&#xA;2026&lt;/a&gt;. The US, the&#xA;UK, and EU-wide initiatives like the EUDI Wallet continue to bet on JSON Schema&#xA;as the format for the standalone data models they share across agencies,&#xA;missions, and borders.&lt;/p&gt;&#xA;&lt;p&gt;The list will only grow.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>The only schema language AI speaks is JSON Schema</title>
      <link>https://www.sourcemeta.com/blog/ai-only-speaks-json-schema/</link>
      <guid isPermaLink="true">https://www.sourcemeta.com/blog/ai-only-speaks-json-schema/</guid>
      <pubDate>Fri, 01 May 2026 00:00:00 +0000</pubDate>
      <dc:creator>Juan Cruz Viotti</dc:creator>
      <enclosure url="https://www.sourcemeta.com/blog/ai-only-speaks-json-schema/a2a-schemas.webp" length="85282" type="image/webp" />
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;TL;DR: Every major LLM provider (OpenAI, Google, Anthropic, Mistral, xAI,&#xA;DeepSeek), the Model Context Protocol, and the AI products built on them&#xA;(agent frameworks and vertical AI APIs) have all converged on the same and&#xA;only schema language: JSON Schema.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;h2 id=&#34;ai-is-plumbed-into-apis-and-apis-speak-json&#34;&gt;AI is plumbed into APIs, and APIs speak JSON&lt;/h2&gt;&#xA;&lt;p&gt;AI is delivered through APIs. Every major LLM provider exposes its models&#xA;behind an HTTP endpoint. AI also consumes the world through APIs: tool calls&#xA;hit REST endpoints and &lt;a href=&#34;https://www.pulsemcp.com/servers&#34;&gt;MCP servers&lt;/a&gt; expose&#xA;capabilities over HTTP. APIs sit on both sides of the boundary.&lt;/p&gt;&#xA;&lt;p&gt;That observation is not contested. &lt;a href=&#34;https://konghq.com/blog/enterprise/what-is-an-ai-gateway&#34;&gt;Marco&#xA;Palladino&lt;/a&gt;, CTO of&#xA;Kong, writes: &lt;em&gt;AI traffic is API traffic&lt;/em&gt;. &lt;a href=&#34;https://www.postman.com/state-of-api/2024&#34;&gt;Postman&amp;rsquo;s 2024 State of the API&#xA;report&lt;/a&gt; recorded a 73%&#xA;year-over-year jump in AI-related API traffic across its platform, with OpenAI&#xA;alone accounting for 78.5% of it. The &lt;a href=&#34;https://www.postman.com/state-of-api/2025/&#34;&gt;2025&#xA;follow-up&lt;/a&gt; puts it even more&#xA;directly: &lt;em&gt;APIs are no longer just powering applications. They&amp;rsquo;re powering&#xA;agents.&lt;/em&gt; &lt;a href=&#34;https://apievangelist.com/2025/01/27/how-do-i-prepare-my-apis-for-ai-agents/&#34;&gt;Kin&#xA;Lane&lt;/a&gt;&#xA;treats AI agents as just another API consumer.&lt;/p&gt;&#xA;&lt;p&gt;And those APIs speak JSON. In &lt;a href=&#34;https://www.postman.com/state-of-api/2025/&#34;&gt;Postman&amp;rsquo;s 2025 State of the API&#xA;survey&lt;/a&gt; of 5,700+ developers, 93%&#xA;reported building REST APIs, and REST APIs in practice mean JSON over HTTP.&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://www.sourcemeta.com/blog/ai-only-speaks-json-schema/api-types.webp&#34; alt=&#34;REST still dominates at 93% (Source: Postman 2025 State of the API)&#34; width=&#34;1932&#34; height=&#34;1096&#34;&gt;&#xA;  &#xA;  &lt;figcaption&gt;REST still dominates at 93% (Source: Postman 2025 State of the API)&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&lt;p&gt;JSON is what application-layer software uses to move structured data between&#xA;processes, services, and organisations. The format question was settled before&#xA;LLMs arrived.&lt;/p&gt;&#xA;&lt;h2 id=&#34;from-please-respond-in-valid-json-im-begging-you-to-schema-enforced-generation&#34;&gt;From &amp;ldquo;please respond in valid JSON, I&amp;rsquo;m begging you&amp;rdquo; to schema-enforced generation&lt;/h2&gt;&#xA;&lt;p&gt;If AI is delivered through APIs and APIs speak JSON, then naturally users&#xA;wanted LLMs to talk JSON too. In 2023, getting it reliably was a notorious&#xA;engineering pain. Workarounds piled up: regex extractors, assistant prefills&#xA;(&lt;code&gt;&amp;quot;Here is your JSON output: {&amp;quot;&lt;/code&gt;), multi-step prompting, repair loops, and even&#xA;prompts that politely &lt;em&gt;begged&lt;/em&gt; the model to comply. Each had its own brittle&#xA;edge cases. Charlie Guo&amp;rsquo;s &lt;a href=&#34;https://www.ignorance.ai/p/stop-begging-for-json&#34;&gt;&lt;em&gt;Stop begging for&#xA;JSON&lt;/em&gt;&lt;/a&gt; is the museum tour,&#xA;and captures perfectly what anyone shipping LLM features had lived through:&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://www.sourcemeta.com/blog/ai-only-speaks-json-schema/meme.webp&#34; alt=&#34;A prompt asking the LLM to return only valid JSON, followed by the model’s mocking compliance&#34; width=&#34;2322&#34; height=&#34;1256&#34;&gt;&#xA;  &#xA;  &lt;figcaption&gt;A prompt asking the LLM to return only valid JSON, followed by the model&amp;rsquo;s mocking compliance&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&lt;p&gt;The community treated the problem as serious enough to need dedicated&#xA;infrastructure. &lt;a href=&#34;https://github.com/1rgs/jsonformer&#34;&gt;jsonformer&lt;/a&gt; (~5000 stars&#xA;on GitHub), an open-source library released in early 2023, opened its README by&#xA;saying &lt;em&gt;current approaches to this problem are brittle and error-prone&lt;/em&gt;. The&#xA;OpenAI developer forums in 2023–2024 were full of &lt;a href=&#34;https://community.openai.com/t/gpt3-5-json-output-format/712044&#34;&gt;similar&#xA;threads&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;To solve this, OpenAI famously shipped the &lt;a href=&#34;https://openai.com/index/introducing-structured-outputs-in-the-api/&#34;&gt;Structured&#xA;Outputs&lt;/a&gt;&#xA;feature in August 2024: hand the API a &lt;a href=&#34;https://json-schema.org&#34;&gt;JSON Schema&lt;/a&gt;, and the model&amp;rsquo;s output is&#xA;guaranteed to validate against it at the token level. No more begging, no more&#xA;retry loops, no more regex extractors. The pain went from a weekly source of&#xA;suffering to an API parameter.&lt;/p&gt;&#xA;&lt;p&gt;The choice of JSON Schema specifically wasn&amp;rsquo;t accidental. JSON Schema had been&#xA;the de facto schema language for HTTP APIs for years.&#xA;&lt;a href=&#34;https://www.openapis.org&#34;&gt;OpenAPI&lt;/a&gt;, the dominant API description standard, is&#xA;built on top of it. AI runs on APIs. When OpenAI needed a contract language for&#xA;the JSON-output problem, they naturally reached for the one API engineers&#xA;already used.&lt;/p&gt;&#xA;&lt;h2 id=&#34;structured-outputs-six-providers-one-schema-language&#34;&gt;Structured outputs: six providers, one schema language&lt;/h2&gt;&#xA;&lt;p&gt;Structured outputs proved indispensable beyond chat UIs, for any production&#xA;pipeline that needed to consume LLM output programmatically. As &lt;a href=&#34;https://dottxt.ai&#34;&gt;Julien&#xA;Chaumond&lt;/a&gt;, CTO of HuggingFace, put it: &lt;em&gt;Structured&#xA;generation is the future of LLMs.&lt;/em&gt; Within fifteen months of the first such&#xA;launch, every major LLM provider had shipped equivalent support. At the time of&#xA;this writing, all of them support JSON Schema. Literally all of them:&lt;/p&gt;&#xA;&lt;table&gt;&#xA;&#x9;&lt;thead&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Provider&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Launched&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Dialect support&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Notes&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&lt;/thead&gt;&#xA;&#x9;&lt;tbody&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://platform.openai.com/docs/guides/structured-outputs&#34;&gt;OpenAI&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;August 2024&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Unspecified&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;code&gt;response_format&lt;/code&gt; with &lt;code&gt;json_schema&lt;/code&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://docs.x.ai/docs/guides/structured-outputs&#34;&gt;xAI / Grok&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;December 2024&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://www.learnjsonschema.com/2020-12/&#34;&gt;2020-12&lt;/a&gt; and &lt;a href=&#34;https://www.learnjsonschema.com/draft7&#34;&gt;Draft 7&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;code&gt;response_format&lt;/code&gt; with &lt;code&gt;json_schema&lt;/code&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://docs.mistral.ai/capabilities/structured_output/&#34;&gt;Mistral&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;January 2025&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Unspecified&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;code&gt;response_format&lt;/code&gt; with &lt;code&gt;json_schema&lt;/code&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://api-docs.deepseek.com/guides/function_calling&#34;&gt;DeepSeek&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;August 2025 (Beta)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Unspecified&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Through strict-mode function calling&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://blog.google/technology/developers/gemini-api-structured-outputs/&#34;&gt;Google Gemini&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;November 2025&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Unspecified (OpenAPI 3.0 lineage)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;code&gt;response_json_schema&lt;/code&gt; parameter&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://platform.claude.com/docs/en/build-with-claude/structured-outputs&#34;&gt;Anthropic&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;November 2025&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;https://www.learnjsonschema.com/2020-12/&#34;&gt;2020-12&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;code&gt;output_config.format&lt;/code&gt; (and strict tool use)&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;As an interesting data point: every provider supports JSON Schema and only&#xA;JSON Schema on the wire. Not Protocol Buffers. Not Apache Avro. Not GraphQL&#xA;SDL. Not even Google, despite &lt;a href=&#34;https://protobuf.dev/&#34;&gt;having invented Protocol&#xA;Buffers&lt;/a&gt;, supports it in their own AI API.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;But while every model now technically accepts JSON Schema, it&amp;rsquo;s not all rosy&#xA;yet. Dialect commitment is uneven, with only xAI explicitly naming the ones&#xA;they support. As &lt;a href=&#34;https://words.benhutton.me/2025-01-20-openai-chatgpt-and-structured-output-with-json-schema-pt1&#34;&gt;Ben&#xA;Hutton&lt;/a&gt;,&#xA;a JSON Schema Technical Steering Committee member, writes: &lt;em&gt;You wouldn&amp;rsquo;t push&#xA;your code to a server where you didn&amp;rsquo;t know what version of the programming&#xA;language is installed. So why is this OK for JSON Schema?&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;And even where the dialect is named, each provider supports a different slice&#xA;of the language: there are keyword gaps, varied nested-schema depth limits, and&#xA;different limitations on advanced features. Even worse, the providers diverge&#xA;on which features they support. For example, OpenAI supports recursive schemas&#xA;but rejects &lt;a href=&#34;https://www.learnjsonschema.com/2020-12/applicator/allof/&#34;&gt;&lt;code&gt;allOf&lt;/code&gt;&lt;/a&gt;,&#xA;while Anthropic does the opposite.&lt;/p&gt;&#xA;&lt;p&gt;The meme has evolved. Yesterday&amp;rsquo;s pain was begging for valid JSON responses.&#xA;Today, we beg that a valid JSON Schema is actually accepted by every provider.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;This is the gap our &lt;a href=&#34;https://github.com/sourcemeta/jsonschema&#34;&gt;JSON Schema&#xA;CLI&lt;/a&gt; tries to close. &lt;a href=&#34;https://github.com/sourcemeta/jsonschema/blob/main/docs/llm.markdown&#34;&gt;&lt;code&gt;jsonschema llm&lt;/code&gt;&lt;/a&gt;&#xA;takes the schema you already have, however many files it spans, whatever&#xA;dialect it is on, in JSON or in YAML, prepares whatever the provider will&#xA;actually accept, and validates what comes back against the schema you wrote&#xA;rather than the copy that went out.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;h2 id=&#34;llm-output-constraining-is-hard&#34;&gt;LLM output constraining is hard&lt;/h2&gt;&#xA;&lt;p&gt;This isn&amp;rsquo;t JSON Schema&amp;rsquo;s fault. Constraining an LLM&amp;rsquo;s output to a schema at the&#xA;token level is a genuinely hard problem. Each token the model emits has to keep&#xA;the output valid, and supporting more of JSON Schema&amp;rsquo;s advanced features&#xA;(logical operators, dynamic referencing and polymorphism, highly circular&#xA;schemas, and more) makes it even harder.&lt;/p&gt;&#xA;&lt;p&gt;And this problem is complex and important enough that an entire research&#xA;subfield, &lt;a href=&#34;https://arxiv.org/abs/2307.09702&#34;&gt;constrained decoding&lt;/a&gt;, has formed&#xA;around it.  Open-source libraries like&#xA;&lt;a href=&#34;https://github.com/dottxt-ai/outlines&#34;&gt;Outlines&lt;/a&gt; (65M+ downloads),&#xA;&lt;a href=&#34;https://github.com/mlc-ai/xgrammar&#34;&gt;XGrammar&lt;/a&gt;, and Microsoft&amp;rsquo;s&#xA;&lt;a href=&#34;https://github.com/guidance-ai/llguidance&#34;&gt;llguidance&lt;/a&gt; made the technique&#xA;practical at production scale. There is even a published academic benchmark,&#xA;&lt;a href=&#34;https://arxiv.org/pdf/2501.10868&#34;&gt;JSONSchemaBench&lt;/a&gt;, built on 10,000 real-world&#xA;JSON Schemas to evaluate competing implementations.&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://www.sourcemeta.com/blog/ai-only-speaks-json-schema/paper.webp&#34; alt=&#34;Abstract of the foundational constrained-decoding paper, Efficient Guided Generation for Large Language Models, by Brandon T. Willard and Rémi Louf, who later co-founded dottxt&#34; width=&#34;2216&#34; height=&#34;1460&#34;&gt;&#xA;  &#xA;  &lt;figcaption&gt;Abstract of the foundational constrained-decoding paper, &lt;em&gt;Efficient Guided Generation for Large Language Models&lt;/em&gt;, by Brandon T. Willard and Rémi Louf, who later co-founded dottxt&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&lt;p&gt;Even more, the authors of that paper went on to found&#xA;&lt;a href=&#34;https://dottxt.ai&#34;&gt;dottxt&lt;/a&gt;, a French startup that &lt;a href=&#34;https://techfundingnews.com/french-startup-dottxt-raises-11-9m-to-tell-how-ai-models-answer/&#34;&gt;raised&#xA;$11.9M&lt;/a&gt;&#xA;to solve this specific problem. Born from their popular&#xA;&lt;a href=&#34;https://github.com/dottxt-ai/outlines&#34;&gt;Outlines&lt;/a&gt; library, dottxt aims for&#xA;full LLM JSON Schema coverage and already supports far more of JSON Schema&#xA;than the major providers do, allowing users to make use of JSON Schema on&#xA;arbitrary models without feeling the compatibility pain.&lt;/p&gt;&#xA;&lt;p&gt;Worth noting that this problem is specific to autoregressive generation. A&#xA;newer class of models sidesteps it entirely: non-autoregressive &lt;em&gt;decision&lt;/em&gt;&#xA;models that return a typed decision in a single forward pass instead of&#xA;generating text. There is no token stream to constrain, so nothing needs a&#xA;grammar. And yet the contract is still JSON Schema.&#xA;&lt;a href=&#34;https://github.com/NandhaKishorM/laya&#34;&gt;Laya&lt;/a&gt;, an open-weight (Apache-2.0)&#xA;model of this kind, compiles &lt;a href=&#34;https://github.com/NandhaKishorM/laya/blob/4aa6761be8173de4ce6d92c31b3e40b6eaf59a7c/laya/structured.py&#34;&gt;&lt;em&gt;&amp;ldquo;a JSON schema (or a pydantic&#xA;model)&amp;rdquo;&lt;/em&gt;&lt;/a&gt;&#xA;into its own typed questions, accepting only a flat subset that rejects&#xA;arrays, nested objects, and &lt;code&gt;$ref&lt;/code&gt; recursion. Even when the hard part goes&#xA;away, JSON Schema is what a new architecture reaches for to let developers&#xA;declare the shape of an answer.&lt;/p&gt;&#xA;&lt;h2 id=&#34;tool-calling-and-how-mcp-unified-it&#34;&gt;Tool calling, and how MCP unified it&lt;/h2&gt;&#xA;&lt;p&gt;LLMs are most powerful when they can connect to other systems: query databases,&#xA;hit APIs, run computations, fetch documents. To do this they need a way to&#xA;declare &lt;em&gt;I want to call this function with these arguments&lt;/em&gt;, and every major&#xA;provider had to ship one. Unsurprisingly, they all landed on the same answer:&#xA;define the tool&amp;rsquo;s input as JSON Schema. OpenAI&amp;rsquo;s&#xA;&lt;a href=&#34;https://platform.openai.com/docs/guides/function-calling&#34;&gt;&lt;code&gt;parameters&lt;/code&gt;&lt;/a&gt;,&#xA;Anthropic&amp;rsquo;s&#xA;&lt;a href=&#34;https://platform.claude.com/docs/en/agents-and-tools/tool-use/define-tools&#34;&gt;&lt;code&gt;input_schema&lt;/code&gt;&lt;/a&gt;,&#xA;Gemini&amp;rsquo;s&#xA;&lt;a href=&#34;https://ai.google.dev/gemini-api/docs/function-calling&#34;&gt;&lt;code&gt;function_declarations&lt;/code&gt;&lt;/a&gt;.&#xA;Different field names, identical substrate.&lt;/p&gt;&#xA;&lt;p&gt;Then &lt;a href=&#34;https://modelcontextprotocol.io&#34;&gt;MCP&lt;/a&gt; (Model Context Protocol) came along&#xA;to unify it. &lt;a href=&#34;https://www.anthropic.com/news/model-context-protocol&#34;&gt;Announced by&#xA;Anthropic&lt;/a&gt; in November&#xA;2024 and &lt;a href=&#34;https://modelcontextprotocol.io/specification/2025-11-25&#34;&gt;built on JSON Schema&#xA;2020-12&lt;/a&gt;, MCP is to&#xA;AI agents what OpenAPI is to HTTP APIs: a single shared way to describe tools&#xA;so any model can discover and invoke them. &lt;a href=&#34;https://techcrunch.com/2025/03/26/openai-adopts-rival-anthropics-standard-for-connecting-ai-models-to-data/&#34;&gt;OpenAI&amp;rsquo;s official adoption in March&#xA;2025&lt;/a&gt;&#xA;was the inflection point. Monthly SDK downloads jumped from around 8 million to&#xA;22 million within weeks. Google DeepMind, Microsoft, Meta, Cursor, Windsurf,&#xA;JetBrains, Replit, and ChatGPT desktop followed. In December 2025, Anthropic&#xA;donated MCP to the &lt;a href=&#34;https://www.linuxfoundation.org&#34;&gt;Linux Foundation&lt;/a&gt;, the&#xA;same body that governs &lt;a href=&#34;https://www.openapis.org&#34;&gt;OpenAPI&lt;/a&gt; and&#xA;&lt;a href=&#34;https://www.asyncapi.com&#34;&gt;AsyncAPI&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://www.sourcemeta.com/blog/ai-only-speaks-json-schema/mcp-timeline.webp&#34; alt=&#34;One year of MCP: spec releases, ecosystem milestones, and adoption highlights, from the November 2024 launch to the December 2025 Linux Foundation donation. From Anthropic&#34; width=&#34;1920&#34; height=&#34;2500&#34;&gt;&#xA;  &#xA;  &lt;figcaption&gt;One year of MCP: spec releases, ecosystem milestones, and adoption highlights, from the November 2024 launch to the December 2025 Linux Foundation donation. From &lt;a href=&#34;https://www.anthropic.com/news/donating-the-model-context-protocol-and-establishing-of-the-agentic-ai-foundation&#34;&gt;Anthropic&lt;/a&gt;&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&lt;p&gt;The adoption is substantial. By March 2026, MCP SDKs had reached &lt;a href=&#34;https://effloow.com/articles/mcp-ecosystem-growth-100-million-installs-2026&#34;&gt;97&#xA;million monthly&#xA;downloads&lt;/a&gt;,&#xA;with &lt;a href=&#34;https://www.pulsemcp.com/servers&#34;&gt;13,700+ servers on PulseMCP&#xA;alone&lt;/a&gt; and 300+ MCP clients across&#xA;editors, chat apps, and enterprise platforms. The business case is&#xA;concrete. &lt;a href=&#34;https://block.xyz/&#34;&gt;Block&lt;/a&gt; reports 50–75% time savings on common&#xA;tasks for thousands of employees using their MCP-compatible&#xA;&lt;a href=&#34;https://block.github.io/goose/&#34;&gt;Goose&lt;/a&gt; agent. &lt;a href=&#34;https://www.microsoft.com/en-us/dynamics-365/blog/business-leader/2025/11/18/microsoft-ignite-2025-powering-frontier-firms-with-agentic-business-applications/&#34;&gt;Microsoft&amp;rsquo;s Sales Development&#xA;Agent&lt;/a&gt;&#xA;recorded a 15.1% increase in lead-to-opportunity conversion across&#xA;61,734 leads. &lt;a href=&#34;https://zapier.com/mcp&#34;&gt;Zapier&amp;rsquo;s MCP server&lt;/a&gt; connects&#xA;9,000+ apps with 30,000+ actions.&lt;/p&gt;&#xA;&lt;p&gt;The entire LLM tool ecosystem now builds on JSON Schema too.&lt;/p&gt;&#xA;&lt;h2 id=&#34;and-the-whole-ai-stack-speaks-json-schema&#34;&gt;And the whole AI stack speaks JSON Schema&lt;/h2&gt;&#xA;&lt;p&gt;Beyond the LLM APIs and the MCP/tools layer, the JSON Schema foundation&#xA;extended naturally upward to the AI products built on top. Here is a&#xA;non-exhaustive list:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://www.retab.com&#34;&gt;Retab&lt;/a&gt;&lt;/strong&gt;. Document AI platform with&#xA;&lt;a href=&#34;https://www.startuphub.ai/ai-news/funding-round/2025/retab-exits-stealth-mode-with-3-5m-for-sota-ai-document-processing/&#34;&gt;$3.5M pre-seed&lt;/a&gt;&#xA;backed by Eric Schmidt and the CEOs of Datadog and Dataiku, with&#xA;500M+ documents processed. Their SDK literally takes a &lt;code&gt;json_schema&lt;/code&gt;&#xA;argument&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://landing.ai&#34;&gt;LandingAI&lt;/a&gt;&lt;/strong&gt;. Andrew Ng&amp;rsquo;s document AI&#xA;company. Their Agentic Document Extraction takes &lt;a href=&#34;https://docs.landing.ai/ade/ade-extract-schema-json&#34;&gt;JSON Schema as&#xA;its extraction&#xA;format&lt;/a&gt;, with&#xA;documented support for standard JSON Schema keywords and format&#xA;values&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://vapi.ai&#34;&gt;Vapi&lt;/a&gt;&lt;/strong&gt;. Voice AI agent platform. Custom tool&#xA;definitions take a JSON Schema as the &lt;code&gt;parameters&lt;/code&gt; field&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://www.assemblyai.com&#34;&gt;AssemblyAI&lt;/a&gt;&lt;/strong&gt;. Speech and transcript&#xA;understanding. Their LLM Gateway exposes &lt;code&gt;response_format&lt;/code&gt; with&#xA;&lt;code&gt;json_schema&lt;/code&gt;, OpenAI-compatible&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://www.firecrawl.dev&#34;&gt;Firecrawl&lt;/a&gt;&lt;/strong&gt;. Web scraping and&#xA;extraction. The &lt;code&gt;schema&lt;/code&gt; parameter takes a JSON Schema describing&#xA;the structured output to extract from a page&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://tavily.com&#34;&gt;Tavily&lt;/a&gt;&lt;/strong&gt;. Deep research API. The&#xA;&lt;code&gt;output_schema&lt;/code&gt; parameter is &lt;em&gt;&amp;ldquo;a JSON Schema object that defines&#xA;the structure of the research output&amp;rdquo;&lt;/em&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Above the products sit &lt;em&gt;agent frameworks&lt;/em&gt;: the libraries and tools developers&#xA;use to build programs that compose LLMs with tools, memory, and control flow to&#xA;decide for themselves which actions to take. Unsurprisingly, every major one&#xA;uses JSON Schema as the contract between the model and the tools it can invoke:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://www.langchain.com&#34;&gt;LangChain&lt;/a&gt;&lt;/strong&gt;. The dominant Python agent&#xA;framework&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://www.crewai.com&#34;&gt;CrewAI&lt;/a&gt;&lt;/strong&gt;. Multi-agent orchestration&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://openai.github.io/openai-agents-python/&#34;&gt;OpenAI Agents SDK&lt;/a&gt;&lt;/strong&gt;.&#xA;OpenAI&amp;rsquo;s first-party agent framework&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://learn.microsoft.com/semantic-kernel/&#34;&gt;Microsoft Semantic&#xA;Kernel&lt;/a&gt;&lt;/strong&gt;.  Microsoft&amp;rsquo;s&#xA;framework supporting .NET, Python, and Java&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://mastra.ai&#34;&gt;Mastra&lt;/a&gt;&lt;/strong&gt;. TypeScript-first agent framework&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://ai-sdk.dev&#34;&gt;Vercel AI SDK&lt;/a&gt;&lt;/strong&gt;. The dominant Next.js AI integration&#xA;layer&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://composio.dev&#34;&gt;Composio&lt;/a&gt;&lt;/strong&gt;. Tool-integration platform with hundreds&#xA;of pre-built integrations&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;None of these products coordinate on which schema language to use. They&#xA;independently arrived at the same answer to the same problem, making JSON&#xA;Schema the contract at every layer of the stack.&lt;/p&gt;&#xA;&lt;h2 id=&#34;even-the-exception-isnt-quite-an-exception-the-a2a-hybrid-case&#34;&gt;Even the exception isn&amp;rsquo;t quite an exception: the A2A hybrid case&lt;/h2&gt;&#xA;&lt;p&gt;You would expect at least one exception to this convergence. Google has every&#xA;reason to push &lt;a href=&#34;https://protobuf.dev/&#34;&gt;Protocol Buffers&lt;/a&gt; in their AI&#xA;infrastructure. So when Google designed &lt;a href=&#34;https://a2a-protocol.org/&#34;&gt;A2A&lt;/a&gt;&#xA;(Agent-to-Agent), an open protocol for AI agent-to-agent communication, they&#xA;made Protocol Buffers the &lt;em&gt;&amp;ldquo;single authoritative normative definition&amp;rdquo;&lt;/em&gt; of the&#xA;spec.&lt;/p&gt;&#xA;&lt;p&gt;End of story? Not quite. Look at how A2A actually works on the wire and JSON&#xA;Schema is still everywhere. Agents communicate using &lt;a href=&#34;https://www.jsonrpc.org/specification&#34;&gt;JSON-RPC&#xA;2.0&lt;/a&gt; over HTTP. The wire format is JSON,&#xA;not binary Protocol Buffers. The spec already &lt;a href=&#34;https://github.com/a2aproject/A2A/blob/v1.0.0/scripts/proto_to_json_schema.sh&#34;&gt;generates a JSON Schema at&#xA;build time&lt;/a&gt;&#xA;out of the Protocol Buffers definition, and the authors plan to add an&#xA;OpenAPI v3 bundle on top for enhanced tooling. You can explore these schemas at&#xA;&lt;a href=&#34;https://schemas.sourcemeta.com/a2a&#34;&gt;schemas.sourcemeta.com&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://www.sourcemeta.com/blog/ai-only-speaks-json-schema/a2a-schemas.webp&#34; alt=&#34;The A2A Protocol schemas in Sourcemeta&#xA;&#34; width=&#34;2962&#34; height=&#34;1834&#34;&gt;&#xA;  &#xA;  &lt;figcaption&gt;The A2A Protocol schemas in &lt;a href=&#34;https://schemas.sourcemeta.com/a2a&#34;&gt;Sourcemeta&#xA;Schemas&lt;/a&gt;&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&lt;p&gt;So even where Protocol Buffers wins as the authoring source, JSON Schema wins&#xA;as the interoperability substrate. &lt;a href=&#34;https://www.chiply.dev/post-schema-languages&#34;&gt;Charlie&#xA;Holland&lt;/a&gt; captures the pattern&#xA;precisely: &lt;em&gt;&amp;ldquo;JSON Schema becomes the &amp;lsquo;assembly language&amp;rsquo; of schema&#xA;definitions&amp;rdquo;&lt;/em&gt; and higher-level languages compile down.&lt;/p&gt;&#xA;&lt;p&gt;The exception confirms the rule: convergence on JSON Schema is not just visible&#xA;at the LLM layer. It reaches even into the protocols designed to avoid it.&lt;/p&gt;&#xA;&lt;h2 id=&#34;the-schema-layer-deserves-its-own-infrastructure&#34;&gt;The schema layer deserves its own infrastructure&lt;/h2&gt;&#xA;&lt;p&gt;JSON Schema was first proposed in 2007 as a way to annotate JSON documents.&#xA;Nobody designed it for AI. It quietly became the &lt;a href=&#34;https://www.sourcemeta.com/blog/json-schema-dominates-openapi/&#34;&gt;dominant API-spec&#xA;substrate&lt;/a&gt; over a decade and&#xA;a half. The AI industry did not pick JSON Schema. It found that JSON Schema had&#xA;already been picked, by seventeen years of accumulated convention, and built on&#xA;top. As &lt;a href=&#34;https://www.chiply.dev/post-schema-languages&#34;&gt;Charlie Holland&lt;/a&gt; frames&#xA;it, JSON Schema has become &lt;em&gt;the interface definition language for AI tools&lt;/em&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The implication for anyone building APIs or AI-facing software is direct. Your&#xA;schema layer is no longer documentation. It is the interface AI systems will&#xA;use to consume your software. And the demand for that interface is already&#xA;universal. After auditing 989 Fortune 1000 companies, &lt;a href=&#34;https://apievangelist.com/blog/2026/05/25/the-fortune-1000-is-saturated-with-ai/&#34;&gt;Kin&#xA;Lane&lt;/a&gt;&#xA;found zero without an AI signal: &lt;em&gt;The signal floor is non-zero across every&#xA;industry in the Fortune 1000, including the ones I expected to come up empty.&#xA;Mining. Tobacco. Specialty retail.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;And the next layer of that interface is already taking shape: governance.&#xA;&lt;a href=&#34;https://portkey.ai/blog/mcp-governance/&#34;&gt;Portkey&amp;rsquo;s review of production MCP&#xA;deployments&lt;/a&gt; catalogues the security&#xA;and trust gaps now surfacing across the ecosystem, and points at a familiar&#xA;model for closing them: &lt;em&gt;A better reference is JSON-schema-based registries&#xA;used in major cloud platforms, where structure and validation are enforced.&lt;/em&gt;&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>In 76% of modern OpenAPI specs, JSON Schema dominates the specification</title>
      <link>https://www.sourcemeta.com/blog/json-schema-dominates-openapi/</link>
      <guid isPermaLink="true">https://www.sourcemeta.com/blog/json-schema-dominates-openapi/</guid>
      <pubDate>Tue, 28 Apr 2026 00:00:00 +0000</pubDate>
      <dc:creator>Juan Cruz Viotti</dc:creator>
      <enclosure url="https://www.sourcemeta.com/blog/json-schema-dominates-openapi/dist.webp" length="54654" type="image/webp" />
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;TL;DR: We analysed thousands of real-world OpenAPI specifications and found&#xA;that in 76% of modern OpenAPI 3.x specs with a typed data model, JSON Schema&#xA;is the majority of the file. In the best-known APIs, it routinely exceeds&#xA;80%. The schema layer is the substance of every API contract, yet almost no&#xA;tool is positioned accordingly.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://www.openapis.org&#34;&gt;OpenAPI&lt;/a&gt; is, by every reasonable measure, the&#xA;dominant standard for describing HTTP APIs. It is a &lt;a href=&#34;https://www.linuxfoundation.org&#34;&gt;Linux&#xA;Foundation&lt;/a&gt; project whose founding members&#xA;include &lt;a href=&#34;https://www.google.com&#34;&gt;Google&lt;/a&gt;,&#xA;&lt;a href=&#34;https://www.microsoft.com&#34;&gt;Microsoft&lt;/a&gt;, &lt;a href=&#34;https://www.ibm.com&#34;&gt;IBM&lt;/a&gt;, &lt;a href=&#34;https://www.capitalone.com&#34;&gt;Capital&#xA;One&lt;/a&gt;, and &lt;a href=&#34;https://www.paypal.com&#34;&gt;PayPal&lt;/a&gt;. Today&#xA;the OpenAPI Initiative counts more than 30 corporate members, and the standard&#xA;is the de-facto contract used by &lt;a href=&#34;https://stripe.com&#34;&gt;Stripe&lt;/a&gt;,&#xA;&lt;a href=&#34;https://github.com&#34;&gt;GitHub&lt;/a&gt;, &lt;a href=&#34;https://mailchimp.com&#34;&gt;Mailchimp&lt;/a&gt;,&#xA;&lt;a href=&#34;https://vercel.com&#34;&gt;Vercel&lt;/a&gt;, &lt;a href=&#34;https://slack.com&#34;&gt;Slack&lt;/a&gt;,&#xA;&lt;a href=&#34;https://www.twilio.com&#34;&gt;Twilio&lt;/a&gt;, &lt;a href=&#34;https://zoom.us&#34;&gt;Zoom&lt;/a&gt;,&#xA;&lt;a href=&#34;https://aws.amazon.com&#34;&gt;AWS&lt;/a&gt;, &lt;a href=&#34;https://azure.microsoft.com&#34;&gt;Azure&lt;/a&gt;, &lt;a href=&#34;https://cloud.google.com&#34;&gt;Google&#xA;Cloud&lt;/a&gt;, and effectively every other organisation that&#xA;takes its public APIs seriously.&lt;/p&gt;&#xA;&lt;p&gt;What is much less well known is that most of an OpenAPI document is not,&#xA;strictly speaking, OpenAPI at all. It is &lt;a href=&#34;https://json-schema.org&#34;&gt;JSON&#xA;Schema&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;openapi-is-the-chassis-json-schema-is-the-engine&#34;&gt;OpenAPI is the chassis, JSON Schema is the engine&lt;/h2&gt;&#xA;&lt;p&gt;OpenAPI provides the structure for describing HTTP endpoints: paths, methods,&#xA;parameters, responses, security, servers. But the actual work of describing&#xA;what data flows in and out of those endpoints is delegated to the standard&#xA;OpenAPI builds on top of: JSON Schema.&lt;/p&gt;&#xA;&lt;p&gt;In fact, request bodies, response payloads, query parameter types, header&#xA;constraints: each of these is defined as a JSON Schema. In case you haven&amp;rsquo;t&#xA;seen an OpenAPI spec, this is how a trivial one defining a single endpoint&#xA;looks like:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#e5e5e5;background-color:#000;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-yaml&#34; data-lang=&#34;yaml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;font-weight:bold&#34;&gt;openapi&lt;/span&gt;: &lt;span style=&#34;color:#ff0;font-weight:bold&#34;&gt;3.1.0&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;font-weight:bold&#34;&gt;paths&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  /pets/{id}:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;font-weight:bold&#34;&gt;get&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;parameters&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        - &lt;span style=&#34;font-weight:bold&#34;&gt;name&lt;/span&gt;: id&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;font-weight:bold&#34;&gt;in&lt;/span&gt;: path&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;font-weight:bold&#34;&gt;required&lt;/span&gt;: &lt;span style=&#34;color:#fff;font-weight:bold&#34;&gt;true&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;color:#007f7f&#34;&gt;# This is a JSON Schema&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;font-weight:bold&#34;&gt;schema&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;font-weight:bold&#34;&gt;type&lt;/span&gt;: string&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;font-weight:bold&#34;&gt;format&lt;/span&gt;: uuid&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;font-weight:bold&#34;&gt;responses&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#0ff;font-weight:bold&#34;&gt;&amp;#34;200&amp;#34;&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;font-weight:bold&#34;&gt;content&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;font-weight:bold&#34;&gt;application/json&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;              &lt;span style=&#34;color:#007f7f&#34;&gt;# This is a JSON Schema&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;              &lt;span style=&#34;font-weight:bold&#34;&gt;schema&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                &lt;span style=&#34;font-weight:bold&#34;&gt;type&lt;/span&gt;: object&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                &lt;span style=&#34;font-weight:bold&#34;&gt;required&lt;/span&gt;: [ id, name ]&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                &lt;span style=&#34;font-weight:bold&#34;&gt;properties&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                  &lt;span style=&#34;font-weight:bold&#34;&gt;id&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                    &lt;span style=&#34;font-weight:bold&#34;&gt;type&lt;/span&gt;: string,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                    &lt;span style=&#34;font-weight:bold&#34;&gt;format&lt;/span&gt;: uuid&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                  &lt;span style=&#34;font-weight:bold&#34;&gt;name&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                    &lt;span style=&#34;font-weight:bold&#34;&gt;type&lt;/span&gt;: string&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                    &lt;span style=&#34;font-weight:bold&#34;&gt;minLength&lt;/span&gt;: &lt;span style=&#34;color:#ff0;font-weight:bold&#34;&gt;1&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This layering is not an OpenAPI quirk. When &lt;a href=&#34;https://apievangelist.com&#34;&gt;Kin&#xA;Lane&lt;/a&gt; inventoried every API specification stewarded&#xA;by the Linux Foundation, he found that &lt;a href=&#34;https://apievangelist.com/2026/06/30/the-linux-foundation-is-the-home-of-our-api-specifications/&#34;&gt;JSON Schema is the connective tissue&#xA;of the entire&#xA;catalogue&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;The deeper I looked, the more one thread kept showing up underneath&#xA;everything else: JSON Schema. OpenAPI uses it. Arazzo and Overlay use it.&#xA;AsyncAPI uses it. CloudEvents ships a JSON Schema. OSV and SPDX lean on it.&#xA;The OpenAPI metaschema is JSON Schema. [&amp;hellip;] JSON Schema is the substrate&#xA;the other specifications are built on top of.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;h2 id=&#34;lets-measure-how-big-the-engine-is&#34;&gt;Let&amp;rsquo;s measure how big the engine is&lt;/h2&gt;&#xA;&lt;p&gt;We analysed 4,127 real-world API specifications from the&#xA;&lt;a href=&#34;https://github.com/APIs-guru/openapi-directory&#34;&gt;APIs-guru/openapi-directory&lt;/a&gt;&#xA;repository, the largest curated dataset of public OpenAPI documents. The&#xA;dataset is no longer actively maintained, but it remains the de facto industry&#xA;corpus, still used in the test suites of well-known tools like&#xA;&lt;a href=&#34;https://www.speakeasy.com&#34;&gt;Speakeasy&lt;/a&gt;. The dataset and analysis script is&#xA;&lt;a href=&#34;https://github.com/sourcemeta-research/openapi-schema-count&#34;&gt;open-source&lt;/a&gt; for&#xA;anyone wishing to reproduce or extend these results.&lt;/p&gt;&#xA;&lt;p&gt;Across all 4,127 specifications and 17.6 million lines of YAML, &lt;strong&gt;54.3% of the&#xA;content is JSON Schema&lt;/strong&gt;, and if we restrict the analysis to OpenAPI 3.x&#xA;specifications (modern specs), the median rises to 61%. Overall, in 76% of&#xA;these specifications, JSON Schema is the literal majority of the file. More&#xA;concretely, we can conclude that: &lt;strong&gt;in 76% of modern OpenAPI specifications,&#xA;JSON Schema dominates the specification.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://www.sourcemeta.com/blog/json-schema-dominates-openapi/dist.webp&#34; alt=&#34;Distribution of schema percentage across OpenAPI 3.x specifications with&#xA;schemas. The 50% threshold is shown as a dashed line, 76% of the distribution&#xA;sits to the right of it.&#34; width=&#34;1980&#34; height=&#34;1136&#34;&gt;&#xA;  &#xA;  &lt;figcaption&gt;Distribution of schema percentage across OpenAPI 3.x specifications with&#xA;schemas. The 50% threshold is shown as a dashed line, 76% of the distribution&#xA;sits to the right of it.&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&lt;h2 id=&#34;the-trend-is-towards-more-schema-not-less&#34;&gt;The trend is towards more schema, not less&lt;/h2&gt;&#xA;&lt;p&gt;Comparing Swagger 2.0 to OpenAPI 3.x is interesting. The median Swagger 2.0&#xA;spec is 39% schema, while the median OpenAPI 3.x spec is 60%. That is certainly&#xA;not because the format suddenly enabled more schema content, but because&#xA;OpenAPI 3.x specifications were typically written more recently. For context,&#xA;Swagger 2.0 was the dominant format from roughly 2014 to 2017.  OpenAPI 3.x&#xA;took over from 2018 onwards.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;The ~21% jump is the industry learning, year over year, that schemas&#xA;matter.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;The same pattern shows up when we segment by API maturity. Specifications with&#xA;fewer than 10 reusable type definitions have a schema-to-non-schema ratio of&#xA;around 0.65:1. Specifications with more than 250 type definitions have a ratio&#xA;of 1.79:1. As APIs grow and stabilise, schema takes over.&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://www.sourcemeta.com/blog/json-schema-dominates-openapi/maturity.webp&#34; alt=&#34;Schema-to-non-schema ratio plotted against the number of reusable type&#xA;definitions per spec. The ratio crosses the 1.0 threshold (where schema equals&#xA;everything else combined) around the 25 to 50 type-definition range, and keeps&#xA;climbing.&#34; width=&#34;1982&#34; height=&#34;1136&#34;&gt;&#xA;  &#xA;  &lt;figcaption&gt;Schema-to-non-schema ratio plotted against the number of reusable type&#xA;definitions per spec. The ratio crosses the 1.0 threshold (where schema equals&#xA;everything else combined) around the 25 to 50 type-definition range, and keeps&#xA;climbing.&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&lt;h2 id=&#34;the-best-known-apis-are-almost-entirely-schema&#34;&gt;The best-known APIs are almost entirely schema&lt;/h2&gt;&#xA;&lt;p&gt;If you sort the well-known providers in the dataset by how much of their&#xA;specification is JSON Schema, the top of the list is striking:&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://www.sourcemeta.com/blog/json-schema-dominates-openapi/providers.webp&#34; alt=&#34;Schema percentage in the top five well-known APIs by schema content.&#xA;Mailchimp leads at nearly 94%, with Vercel, Stripe, Zoom and Adyen all above&#xA;64%.&#34; width=&#34;1979&#34; height=&#34;932&#34;&gt;&#xA;  &#xA;  &lt;figcaption&gt;Schema percentage in the top five well-known APIs by schema content.&#xA;Mailchimp leads at nearly 94%, with Vercel, Stripe, Zoom and Adyen all above&#xA;64%.&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&lt;p&gt;The companies known for taking their developer experience seriously sit at the&#xA;top of the list.&lt;/p&gt;&#xA;&lt;p&gt;It is reasonable to conclude that the providers who invest most heavily in API&#xA;quality also tend to invest more heavily in rich formal type definitions.&#xA;Likely for the purpose of documentation generation, SDK generation, contract&#xA;testing, and more.&lt;/p&gt;&#xA;&lt;h2 id=&#34;two-ways-the-industry-hides-the-schema-layer&#34;&gt;Two ways the industry hides the schema layer&lt;/h2&gt;&#xA;&lt;p&gt;If JSON Schema is the substance of the API contract, you would expect the&#xA;tooling ecosystem to be built around it. But It is not. The schema layer loses&#xA;in two distinct ways: it disappears when tools handle it well, and it goes&#xA;unnoticed when tools handle it poorly.&lt;/p&gt;&#xA;&lt;h3 id=&#34;when-schema-work-is-done-well-nobody-notices&#34;&gt;When schema work is done well, nobody notices&lt;/h3&gt;&#xA;&lt;p&gt;Take &lt;a href=&#34;https://www.speakeasy.com&#34;&gt;Speakeasy&lt;/a&gt;, one of the leading commercial SDK&#xA;generators in the space. Their product is excellent, and to do its job well it&#xA;has to do &lt;em&gt;substantial&lt;/em&gt; JSON Schema engineering for code-generation purposes.&#xA;By volume, most of what their generator does end-to-end is schema work, because&#xA;most of the spec is schema.&lt;/p&gt;&#xA;&lt;p&gt;And yet the product &lt;a href=&#34;https://github.com/speakeasy-api/speakeasy&#34;&gt;positions&#xA;itself&lt;/a&gt; as &amp;ldquo;OpenAPI native&amp;rdquo;. This&#xA;is not a Speakeasy critique. The same pattern shows up across most SDK&#xA;generation, design, and documentation tools: the schema work is being done,&#xA;often very well, but the product surface presents it as OpenAPI work.&lt;/p&gt;&#xA;&lt;p&gt;The irony is that the customer is led to think of their work as OpenAPI work,&#xA;when most of it is schema work. And so they never consider the schema layer as&#xA;a layer in its own right.&lt;/p&gt;&#xA;&lt;h3 id=&#34;when-schema-work-is-done-poorly-nobody-notices-either&#34;&gt;When schema work is done poorly, nobody notices either&lt;/h3&gt;&#xA;&lt;p&gt;Take &lt;a href=&#34;https://stoplight.io/open-source/prism&#34;&gt;Prism&lt;/a&gt;, a popular tool for&#xA;mocking and contract-testing APIs against their OpenAPI specs. Doing that job&#xA;means validating real request and response payloads against the schemas in the&#xA;spec, which means the validator under the hood is the substance of what the&#xA;tool does.&lt;/p&gt;&#xA;&lt;p&gt;Prism ships with &lt;a href=&#34;https://ajv.js.org&#34;&gt;AJV&lt;/a&gt;, a popular JavaScript JSON Schema&#xA;validator. The bad news is that AJV is consistently one of the least compliant&#xA;implementations of JSON Schema around, as proven by the official&#xA;&lt;a href=&#34;https://bowtie.report&#34;&gt;Bowtie&lt;/a&gt; cross-implementation conformance tool. At the&#xA;time of this writing, AJV lists 254 failures on the version of JSON Schema that&#xA;OpenAPI 3.1 itself uses.&lt;/p&gt;&#xA;&lt;p&gt;The practical consequence is more insidious than a broken test. Either Prism&#xA;rejects payloads that are perfectly valid against your schemas, pushing you to&#xA;weaken your spec until Prism is happy, or worse, Prism accepts payloads that&#xA;your schemas should reject, pushing you to ship an implementation that quietly&#xA;disagrees with what your spec actually says, &lt;em&gt;causing even more subtle drift.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;The irony is that Prism is part of&#xA;&lt;a href=&#34;https://smartbear.com/blog/elevating-api-development-with-stoplight/&#34;&gt;SwaggerHub&lt;/a&gt;,&#xA;the flagship platform of &lt;a href=&#34;https://smartbear.com&#34;&gt;SmartBear&lt;/a&gt;, the very company&#xA;that created the Swagger project. If the creators of the wrapper format ship a&#xA;tool that mishandles the substance inside the wrapper, what hope is there for&#xA;the rest of the industry?&lt;/p&gt;&#xA;&lt;h2 id=&#34;the-schema-layer-deserves-its-own-infrastructure&#34;&gt;The schema layer deserves its own infrastructure&lt;/h2&gt;&#xA;&lt;p&gt;If JSON Schema is the substance of your API contract, and if the schema content&#xA;of your APIs is going to keep growing as your APIs mature, then the schemas&#xA;deserve their own infrastructure: correct implementations, a cohesive&#xA;API-first registry, a governance model, a discovery mechanism, and tooling&#xA;that understands them as semantic objects rather than as opaque sections&#xA;within a YAML file.&lt;/p&gt;&#xA;&lt;p&gt;Kin Lane &lt;a href=&#34;https://apievangelist.com/2026/06/30/the-linux-foundation-is-the-home-of-our-api-specifications/&#34;&gt;arrives at the same&#xA;conclusion&lt;/a&gt;&#xA;from the standards side: &lt;em&gt;&amp;ldquo;there is no reason a CloudEvent&amp;rsquo;s schema, an&#xA;AsyncAPI message, and an OpenAPI body could not lean on the same JSON Schema&#xA;tooling and the same registry patterns&amp;rdquo;&lt;/em&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The data says the schema layer is already most of your API. The question is&#xA;whether you treat it that way.&lt;/p&gt;&#xA;</description>
    </item>
  </channel>
</rss>
