apoc.graph.validateDocument
Procedure
apoc.graph.validateDocument(json ANY, config MAP<STRING, ANY>)
- validates the JSON file and returns the result of the validation.
Usage Examples
CALL apoc.graph.validateDocument('[{"foo": "foo"}, {"bar": "bar", "id": 1, "type": "label"}, {"fooBar": "fooBar", "id": 1}]');
row |
---|
{message: "The object |
{message: "The object |