JSON Type Definition
RFC 8927, “JSON Type Definition”, is an Experimental document published in November 2020 by U. Carion. The canonical text is published by the RFC Editor.
Abstract
This document proposes a format, called JSON Type Definition (JTD), for describing the shape of JavaScript Object Notation (JSON) messages. Its main goals are to enable code generation from schemas as well as portable validation with standardized error indicators. To this end, JTD is intentionally limited to be no more expressive than the type systems of mainstream programming languages. This intentional limitation, as well as the decision to make JTD schemas be JSON documents, makes tooling atop of JTD easier to build.
This document does not have IETF consensus and is presented here to facilitate experimentation with the concept of JTD.
What “Experimental” means
Describes a specification that is part of a research or development effort, published so the community can gain experience with it.
The canonical text of RFC 8927 is hosted at rfc-editor.org. Available in HTML,TXT,PDF,XML.
- RFC 8926 Geneve: Generic Network Virtualization Encapsulation
- RFC 8928 Address-Protected Neighbor Discovery for Low-Power and Lossy Networks
- RFC 8925 IPv6-Only Preferred Option for DHCPv4
- RFC 8929 IPv6 Backbone Router
- RFC 8924 Service Function Chaining Operations, Administration, and Maintenance Framework
- RFC 8930 On Forwarding 6LoWPAN Fragments over a Multi-Hop IPv6 Network
- RFC 8923 A Minimal Set of Transport Services for End Systems
- RFC 8931 IPv6 over Low-Power Wireless Personal Area Network Selective Fragment Recovery