Skip to content

WIP: experiment with json5#400

Closed
codeboten wants to merge 22 commits intoopen-telemetry:mainfrom
codeboten:codeboten/use-json5
Closed

WIP: experiment with json5#400
codeboten wants to merge 22 commits intoopen-telemetry:mainfrom
codeboten:codeboten/use-json5

Conversation

@codeboten
Copy link
Copy Markdown
Contributor

This tries using json5 as the source of truth for the schema files. This allows us to use multi lines for descriptions, and a slightly less verbose json syntax. locally i'm using a json5 utility to generate the .json schema.

This tries using json5 as the source of truth for the schema files. This allows us to use multi lines for descriptions, and a slightly less verbose json syntax. locally i'm using a json5 utility to generate the .json schema.

Signed-off-by: alex boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: alex boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: alex boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: alex boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: alex boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: alex boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: alex boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: alex boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: alex boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: alex boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: alex boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: alex boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: alex boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: alex boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: alex boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: alex boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: alex boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: alex boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: alex boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: alex boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: alex boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: alex boten <223565+codeboten@users.noreply.github.com>
@codeboten codeboten marked this pull request as ready for review November 11, 2025 06:06
@codeboten codeboten requested a review from a team as a code owner November 11, 2025 06:06
@zeitlinger
Copy link
Copy Markdown
Member

maybe use yaml-> json instead?

@codeboten
Copy link
Copy Markdown
Contributor Author

maybe use yaml-> json instead?

i was trying to stay as close to the resulting schema as possible with #396 and @jack-berg suggested using json5 for the support of multi line description and comments.

@codeboten
Copy link
Copy Markdown
Contributor Author

I'll add a thought here that bringing in json5 adds yet another variation on source data which makes things more confusing for contributors

@codeboten
Copy link
Copy Markdown
Contributor Author

Closing this PR, i don't think adding json5 makes things easier for maintainers, contributors, or end users here

@codeboten codeboten closed this Nov 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants