Repository navigation
Align schema_0.24.yml with the 0.24 spec text - #128
Merged
kinlane merged 2 commits intoOct 21, 2026
Merged
Conversation
aid is marked Recommended in the 0.24 text and dropped from both required lists in the schema: 72 of 151 live published indexes omit the root aid and 193 of their APIs omit one, so Mandatory would fail most real adopters. OpenAPISource and "OpenAPI Source" are restored to the type pattern and added to the synonyms listing; "OpenAPI Source" appears 1,289 times in a 3,000-file sample of published indexes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
kinlane
approved these changes
Oct 21, 2026
kinlane
left a comment
Contributor
There was a problem hiding this comment.
Thank you, this is a real help. schema_0.24.yml had drifted a long way from the 0.24 text, and this brings it back line by line.
I tested it before merging by validating two sets of files against the old schema, your version, and your version with the commit I pushed on top (5b8184b):
| Files | Old schema | This PR as opened | With 5b8184b |
|---|---|---|---|
| 152 live published indexes (the apisjson.org showcase) | 61 valid | 40 valid | 88 valid |
3,000 apis.yml files from the API Evangelist catalog |
1 valid | 1,381 valid | 1,659 valid |
The commit I pushed does two things:
aidis now Recommended, not Mandatory, in both the text and the schema. You were right that the text said Mandatory. But 72 of the 151 live indexes omit the rootaid, and 193 of their APIs omit one, so requiring it would have failed most real adopters.OpenAPISourceandOpenAPI Sourceare back in the type pattern, and both are now listed in the text's synonyms. "OpenAPI Source" appears 1,289 times in the catalog sample.
These mismatches were there before this PR, so they're follow-ups rather than blockers: the text says networks where the schema says network; the contact field names in the text (fn, org, x-twitter) differ from the ones its own examples and the schema use; and §3.9 Extensions still reads "TBD".
This was referenced Oct 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The schema (schema_0.24.yml) did not match the described spec. This PR aligns the schema with the apisjson_0.24.txt