Skip to content

JSON Structure #982

@cportele

Description

@cportele

There is a proposal for a new spec (JSON Structure) as an alternative to JSON Schema when the focus is on a language that describes data structures, not validation. This is also what Part 5 is about. JSON Structure also supports units, etc.

The landing page is https://json-structure.org.

From the intro:

JSON Structure is a schema language that can describe data types and structures whose definitions map cleanly to programming language types and database constructs as well as to the popular JSON data encoding. The type model reflects the needs of modern applications and allows for rich annotations with semantic information that can be evaluated and understood by developers and by large language models (LLMs).

JSON Structure’s syntax is similar to that of JSON Schema, but while JSON Schema focuses on document validation, JSON Structure focuses on being a strong data definition language that also supports validation.

This topic is under discussion in the IETF HTTP API Working Group.

If it gains traction, it might be an additional or alternate option for future versions of Part 5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions