-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
I was trying to validate a JSON instance against its schema:
$ jsonschema validate ../csaf/csaf_2.1/json_schema/csaf.json ../csaf/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-01.json -r ../csaf/csaf_2.1/json_schema/meta.json -r ../csaf/csaf_2.1/referenced_schema/first/cvss-v2.0_strict.json -r ../csaf/csaf_2.1/referenced_schema/first/cvss-v3.0_strict.json -r ../csaf/csaf_2.1/referenced_schema/first/cvss-v3.1_strict.json -r ../csaf/csaf_2.1/referenced_schema/first/cvss-v4.0.1_strict.json -r ../csaf/csaf_2.1/referenced_schema/certcc/SelectionList_2_0_0.schema.json -r ../csaf/csaf_2.1/json_schema/extension-metaschema.json -r ../csaf/csaf_2.1/json_schema/extension-content.json -v
when the following error occurred:
unexpected error: Could not resolve the metaschema of the schema
Please report it at https://github.com/sourcemeta/jsonschema
So I opened this ticket. You can find all data and schemas at https://github.com/tschmidtb51/csaf/tree/csaf-2-1-csdpr01-feedback_extensions
PS: I patched the $id/id values in the CVSS JSON schemas by removing the part beginning with ? to make the tool work.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels