Repository navigation
Add the specification, schema and README - #2
Merged
Merged
Conversation
Carried over from api-commons/spotlight-spec. Schema $id moves to https://openlint.org/schema/v1/ruleset.schema.json; adds the oas3_2 and aas3_1 formats now registered in openlint/openlint. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…leases and $id Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 6, 2026
rickymoorhouse
approved these changes
Oct 8, 2026
rickymoorhouse
left a comment
There was a problem hiding this comment.
I had an initial read through these and all looks good - couldn't spot anything that looked out of place to me
P0lip
reviewed
Oct 8, 2026
Co-authored-by: Jakub Rożek <[email protected]>
Co-authored-by: Jakub Rożek <[email protected]>
…me behavior - true/false change only the enabled state; severity is untouched (verified: openlint mergers/rules.ts:28); unknown rule is an error (:9) - truthy/falsy follow ECMAScript truthiness (functions/src/truthy.ts) - unreferencedReusableObject is scoped to the documents being linted - circular and missing aliases are errors (alias.ts:52, :58); override aliases merge by name (mergers/rulesets.ts:39) - override globs follow minimatch for now - format detection noted as implementation-defined - new 'Runtime behavior (to be specified)' section: resolution, inheritance and merge order, cycles Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Closes #1
Adds the ruleset specification and JSON Schema, carried over from the OpenLint community's earlier draft in api-commons.
SPECIFICATION.md: the format as implemented today, without extension. Status: draft. Formalizing it continues in discussion #13.schema/v1/ruleset.schema.json: JSON Schema draft 2020-12README.md: what this is, its status, where things go, the open spec discussions, and the eight principles Joost proposed in Precise definitions for thecasingandalphabeticalfunctions #13 for writing the formal specificationLICENSE: Apache-2.0, as with SpectralChanges from the earlier draft:
$idis nowhttps://spec.openlint.org/schema/v1/ruleset.schema.json, to match Precise definitions for thecasingandalphabeticalfunctions #13's proposal that releases live onspec.openlint.org. Decide this before merging: once people reference an$id, it can't move.spec.openlint.orgdoesn't exist yet. Serving it from this repo through GitHub Pages would keep the schema in one place.casingandalphabeticalfunctions #13's principles, and that its one MUST describes the reference implementation for now; it isn't normative yetoas3_2andaas3_1formats, which openlint/openlint now registersopenlint:openapibuilt-ins are proposed (discussion Link open questions to the discussions that cover them #6), not yet part of the format"off"in anextendsexample, because YAML 1.1 parsers read a bareoffasfalseChecks: the schema is valid draft 2020-12. It accepts every example in the spec, an apisyouwonthate fixture from openlint/openlint, and the new formats. It rejects 7 malformed rulesets: empty, bare
given, a$schemakey, a numeric shorthand, a missingthen, an unknown root key, and a string alias.AI use: Claude carried the documents over, made the changes above, and ran the checks.
🤖 Generated with Claude Code