TopologyDiagram.validate_json

TopologyDiagram.validate_json()[source]

Validate the object’s data against its json schema.

Returns:

str – The validated JSON representation of the data.

Raises:

jsonschema.exceptions.ValidationError