Skip to content

Documentation of Approach to Code from JSON Schema and the IDL Vocab Proposal #15786

@gregsdennis

Description

@gregsdennis

Hello. We at JSON Schema are beginning to define a new vocabulary (currently per draft 2020-12, but maybe later depending on release schedules) that defines JSON-Schema-to-code strategies, including possibly some new keywords where the standard keyword set falls short for this task.

As a constraints based model, JSON Schema is not designed for model description, and therefore isn't ideal for code generation. However, that hasn't stopped people from using it that way. Our goal with this new vocabulary is to formalize the approach toward this task.

As a leader in the JSON Schema codegen arena, this project can be a significant contributor to this effort, guiding the development of the vocabulary to align with your current approach.

Questions:

  • Is there any documentation on how this project translates particular JSON Schema constructs into code models?
  • Would any members of this project like to be directly involved in the development of this new vocabulary?

Also, please feel free to come join the conversation in the JSON Schema Slack workspace.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions