Skip to content

Fail to deal with external schemata  #114

@Fadiabb

Description

@Fadiabb

Hallo,
We have faced the following problem during the validation of some json files:
The Validation of the CVE-2018-0171-modified.json file with csaf_json_schema.json schema throws an Error:
/vulnerabilities/0/scores/0/cvss_v3: did not match any of the specified OneOf schemas and thus this valid document is classified as invalid.
Validator confirms the validity of this file against this schema also.
It seems that something goes wrong when processing oneOf on #ref external schemata.

Tested with qri-io/jsonschema v0.2.1 und go v1.17.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions