Uh oh!
There was an error while loading. Please reload this page.
rfd: Introduce a Validation Library - #455
Conversation
This RFD describes the need to create a JavaScript library for validating CVE Records. Signed-off-by: Andrew Lilley Brinker <abrinker@mitre.org>
zmiele
commented
Sep 15, 2025
One small concern that comes to mind here is that this will require the inverse to be true as well. If there is an issue with the library, we'll be required to bump the version of the schema in order to provide fixes in the validation library. Is that something we're comfortable with? If so, we'll need to keep that in mind when defining the versioning rules for the schema in #418. |
alilleybrinker
commented
Sep 15, 2025
@zmiele hm, that's a fair point. In general, I think that such a binding still makes sense. The schema and the validation library become, in effect, a single product with a single version. Fixes to address bugs would be a patch release for both, whether the error is in the schema or in the library. |
alilleybrinker
commented
Sep 25, 2025
In discussion among the QWG today, we agreed that the negative operational trade-offs for matching versions between the validation library and the Record Format make such a matching commitment not worth it. We can instead document compatibility between the two. I'll amend the RFD. |
alilleybrinker
commented
Sep 25, 2025
Potential requirements for what we want out of the validator library:
|
jgamblin
commented
May 7, 2026
Hi Andrew, Thanks for putting this RFD together! It’s a very well-thought-out proposal and clearly articulates a growing pain point for the community. I completely agree that relying solely on JSON Schema is hitting its limits, especially with the introduction of complex fields like A few specific thoughts on the proposal:
Looking forward: Overall, I'm very much in favor of this direction. Great work laying the foundation here! |
This RFD describes the need to create a JavaScript library for validating CVE Records.
Rendered