fixed JSON Schema to allow null position for vertices and groups
input data are validated against JSON Schema with AJV