You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
json schema validation is fails on empty graph #53
The documentation says this is the empty graph representation.
The schema is failing on this graph, because oneOf matches on multiple subschema (see: img).
This empty graph is not tested in the test directory.
Activity
[-]json schema fails on empty graph[/-][+]json schema validation is fails on empty graph[/+]wshayes commentedon Mar 23, 2021
Not sure I'm following - it should fail on an empty graph object as there are required properties in the graph object.
Are you saying it should not fail? or that we have a test that is passing that should fail?
schaumb commentedon Mar 23, 2021
Schema:
https://github.com/jsongraph/json-graph-specification/blob/ce5ed4007c61df23dd0835094a7b69364ab445d9/json-graph-schema_v2.json
Graph:
The documentation says this is the empty graph representation.
The schema is failing on this graph, because
oneOfmatches on multiple subschema (see: img).This empty graph is not tested in the
testdirectory.wshayes commentedon Mar 23, 2021