ediverse Explore the platform

Spotlight PEPPOL BIS Billing 3.0 The EU e-invoicing mandate is here — France Sept 2026, Belgium Jan 2026, Germany 2025.

— 01

Foundations

— 02

Standards

— 03

Flagship messages

— 04

Tools

JSON Schema 2020-12

On this page

Modern 2020-12 JSON validation.

Definition

JSON Schema 2020-12 (draft-bhutton-json-schema-00) introduces: dynamic references, vocabularies, unevaluatedProperties, unevaluatedItems, $defs (replaces definitions), prefixItems (replaces items array). Keywords: type, properties, required, anyOf, oneOf, allOf, if/then/else, $ref, $defs. Tools: Ajv (Node.js), python-jsonschema, jsonschema-rs (Rust), validate.json-schema.org.

Origin

JSON Schema launched 2009 ; progressive drafts ; 2020-12 progressively stabilised 2021-2024.

Example in context

An API design in OpenAPI 3.1 uses JSON Schema 2020-12 in its components/schemas ; the server validates incoming requests with Ajv.