Skip to content

Six catalog rules carry a third-party 'under implementation' caveat verbatim #6

Description

@kinlane

Six rules in the Spotlight catalog carry this text, inherited verbatim from the third-party rulesets they were harvested from:

WARN: This rule is under implementation and just provides an hint.

That is team-digitale's honest note about the maturity of their rule. Carried into the API Commons catalog unchanged, it reads as a warning about our rule — published at apicommons.org/rules with no attribution explaining whose caveat it is.

Affected rules:

  • response-error-match-problem-schema
  • response-error-schema-problem-property-names
  • and four others in the same family

Three options

  1. Attribute it. Keep the text, but say whose caveat it is and link the upstream ruleset. Honest, and consistent with how the registry treats provenance elsewhere.
  2. Reimplement the rule so the caveat no longer applies, and write our own description. These are error-handling rules — the Problem Details ruleset now covers the same ground properly, grounded in RFC 9457.
  3. Drop them, since (2) supersedes them.

Option 2 or 3 is probably right — the Problem Details ruleset already does this job with real grounding.

Where to fix it

Not in _data/spotlight_rules.json — that file is generated. The source is spotlight-validator/rules/all-rules.yaml, then regenerate with scripts/generate-spotlight.py. rules/sources/* holds the harvested third-party originals and must not be edited; rewriting those would misrepresent what those vendors publish.

Metadata

Metadata

Assignees

No one assigned

    Labels

    debtKnown problems in what exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions