CesiumGS / CesiumGS/wetzel

Handle "oneOf" { "required" ... }

Open
#45 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
137
Forks
52
PR merge metrics
No merged PRs in 30d

Description

"Required" isn't always a yes/no condition in the glTF schema. Some types like [image](https://github.com/KhronosGroup/glTF/blob/41657440949864444672b8a2776b7c5086ad90e5/specification/2.0/schema/image.schema.json#L40-L43) have a "one or the other is required" kind of condition, that is not reflected in the documentation.

This tool should find a way to output that detail.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked image.schema.json example and inspect how wetzel currently turns JSON Schema required rules into Markdown. Determine how the oneOf alternative requirement should appear in generated documentation; done means the output preserves that requirement rather than presenting it as a simple yes/no condition.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.