Skip to content

Conversation

@mwoehlke
Copy link
Member

Fix a couple issue with the generated JSON schema, one of which caused the schema itself to be invalid. Also, remove debugging output that shouldn't be needed.

mwoehlke added 3 commits July 24, 2025 12:24
The JSON schema was not valid because it referenced the unknown 'null'
type. Add this to the list of built-in types so that a type definition
will be generated.
Modify how we generate the JSON schema to respect that the canonical
schema says that an optional attribute may be 'null'.
Remove some debugging output from the JSON schema builder. This was
useful during testing, but it spams the build output, and shouldn't be
needed now that the relevant functionality appears to be working.
@mwoehlke
Copy link
Member Author

If anyone wants to verify the updated JSON schema, it can be found in the CI archive (until that expires).

@ckyang0225
Copy link
Collaborator

I've verified the CI archive via https://www.jsonschemavalidator.net/, it looks good to me.

@mwoehlke mwoehlke merged commit 3b83aef into master Jul 25, 2025
3 checks passed
@mwoehlke mwoehlke deleted the fix-machine-schema branch July 25, 2025 15:23
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.

4 participants