Clemens Vasters
Introducing JSON Structure - A Better Schema
#1about 5 minutes
Why JSON Schema fails as a data definition language
JSON Schema's complexity with validation constructs like `allOf` and `anyOf` makes it a poor choice for defining data types, leading to a stalled standard.
#2about 2 minutes
Introducing JSON Structure as a type definition language
JSON Structure refactors JSON Schema into a strict type definition language with required types, named objects, and new built-in primitive types for better code generation.
#3about 2 minutes
Using new compound types like map and tuple
JSON Structure introduces formal compound types like `map` for dictionaries and `tuple` for creating efficient, compact wire formats for time-series data.
#4about 4 minutes
Defining discriminated unions and organizing types
Use the `choices` keyword for formal discriminated unions and organize schemas with namespaces and a restricted `$ref` for cleaner mapping to programming languages.
#5about 3 minutes
Managing dependencies with imports and explicit inheritance
Separate file inclusion from type referencing with `$import` and use `abstract` and `extends` for clear, unambiguous type inheritance.
#6about 4 minutes
Extending schemas with companion specifications
Add functionality through optional companion specs for internationalization, scientific units, currencies, and even re-introducing validation rules from JSON Schema.
#7about 2 minutes
How to get involved with the JSON Structure standard
JSON Structure is a new IETF draft, and community participation through filing issues and providing feedback at jsonstructure.org is encouraged.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
02:14 MIN
Introducing JSON Structure as a better schema language
Bringing Clarity to Event Streams: Enabling Analytics and AI Through Rich Metadata
03:36 MIN
Enforcing structured output with JSON Schema
Exploring Google Gemini and Generative AI
01:59 MIN
A deep dive into the micro-frontend JSON schema
Micro-Frontends Discovery
04:49 MIN
Using schemas to provide necessary data constraints
Bringing Clarity to Event Streams: Enabling Analytics and AI Through Rich Metadata
02:14 MIN
The origin story and design principles of JSON
JSON and Beyond
03:50 MIN
Using JSON:API to focus on data, not format
API Design - Getting Started
03:35 MIN
Generic scraping with schema.org and JSON-LD
Data is Key: Scraping Metadata from Websites
01:06 MIN
Creating a standard for micro-frontend metadata
Micro-Frontends Discovery
Featured Partners
Related Videos
Bringing Clarity to Event Streams: Enabling Analytics and AI Through Rich Metadata
Clemens Vasters
JSON and Beyond
Douglas Crockford
Reasoning about Rust: an introduction to Rustdoc's JSON format
Luca Palmieri
Data is Key: Scraping Metadata from Websites
Lars Kölker
Specifications as the better way of software development
Artem Manchenkov
NoSQL Data Modeling for Front-end Developers
Stanimira Vlaeva
Oh CommonJS! Why are you mESMing with me?
John Nguyen
Demystifying Crypto & Web3: A Technical Journey Through 15 Years of Innovation
Ed Marquez
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.


CONTIAMO GMBH
Berlin, Germany
Senior
Python
Docker
TypeScript
PostgreSQL

doinstruct Software GmbH
Berlin, Germany
Senior
GIT
JavaScript
TypeScript


Saby Company Page
Sarajevo, Bosnia and Herzegovina
Remote
€40-45K
Junior
Ruby on Rails
Microsoft SQL Server
Google Cloud Platform
+2


doinstruct Software GmbH
Berlin, Germany
Intermediate
Senior
Node.js

Bite Client
Atlanta, United States of America
Remote
€55-90K
Senior
Ruby
Backbone.js
