Skip to content

Add JSON Type Definition (JTD, RFC 8927) support #260

@clemensv

Description

@clemensv

Feature request

Add conversion support for JSON Type Definition (JTD, RFC 8927).

Motivation

JTD is a simpler JSON schema language with growing adoption; direct support would complement existing JSON Schema support.

Suggested scope

  • Import: jtd2a (JTD -> Avrotize Schema)
  • Export: ^G2jtd (Avrotize Schema -> JTD)
  • Map forms (properties, optionalProperties, ^[lements, �alues, discriminator, ^[num, ype,
    ef)
  • Preserve unsupported semantics via metadata extensions

Acceptance criteria

  • Commands + docs
  • Fixtures for each JTD form
  • Roundtrip behavior documented

Additional requirement: JSON Structure conversions

Please also include JSON Structure conversion support:

  • jtd2s (JTD -> JSON Structure)
  • s2jtd (JSON Structure -> JTD)
  • Ensure coverage for all JTD forms in test fixtures.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions