Polygon.validate_json

Polygon.validate_json()[source]

Validate the object’s data against its json schema (self.JSONSCHEMA).

Returns

str – The validated JSON representation of the data.

Raises

jsonschema.exceptions.ValidationError