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.
I was trying to validate a JSON instance against its schema:
when the following error occurred:
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/idvalues in the CVSS JSON schemas by removing the part beginning with?to make the tool work.