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.
tree-IT GmbH
Bad Neustadt an der Saale, Germany
€54-80K
Intermediate
Senior
Java
TypeScript
+1
MARKT-PILOT GmbH
Stuttgart, Germany
Remote
€75-90K
Senior
Java
TypeScript
+1
Dennemeyer Group
Hesperange, Luxembourg
Intermediate
Senior
.NET
Structured Query Language (SQL)
Matching moments
03:31 MIN
The value of progressive enhancement and semantic HTML
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
02:39 MIN
Establishing a single source of truth for all data
Cat Herding with Lions and Tigers - Christian Heilmann
02:33 MIN
Why you might not need JavaScript for everything
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
05:12 MIN
How to build structure and culture without killing agility
From Data Keeper to Culture Shaper: The Evolution of HR Across Growth Stages
06:47 MIN
Solving date and time issues with the Temporal API
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
08:07 MIN
Exploring modern JavaScript performance and new CSS features
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
11:32 MIN
The industry's focus on frameworks over web fundamentals
WeAreDevelopers LIVE – Frontend Inspirations, Web Standards and more
09:00 MIN
Navigating the growing complexity of modern CSS
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
Featured Partners
Related Videos
JSON and Beyond
Douglas Crockford
Bringing Clarity to Event Streams: Enabling Analytics and AI Through Rich Metadata
Clemens Vasters
Reasoning about Rust: an introduction to Rustdoc's JSON format
Luca Palmieri
Data is Key: Scraping Metadata from Websites
Lars Kölker
Modern software architectures
David Tielke
Tips and Tricks for Working with JSON
Dan Cranney
Lies we Tell Ourselves As Developers
Stefan Baumgartner
Specifications as the better way of software development
Artem Manchenkov
Related Articles
View all articles



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

Confideck GmbH
Vienna, Austria
Remote
Intermediate
Senior
Node.js
MongoDB
TypeScript

Visonum GmbH
Remote
Junior
Intermediate
React
Redux
TypeScript

Claire Joster SLU
Remote
API
ETL
GIT
Linux
+15

Devoteam
Canton de Levallois-Perret, France
Intermediate
JIRA
Scrum
Machine Learning
Agile Methodologies

Stackable
Java
HBase
Spark
Kafka
DevOps
+5

Universally Speaking
Wyboston, Chawston and Colesden, United Kingdom
JIRA
Microsoft Office



Scope AT
Remote
Kafka
Amazon Web Services (AWS)