OCCSurface.validate_json
- OCCSurface.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 –
Validate the object’s data against its json schema (self.JSONSCHEMA).
str – The validated JSON representation of the data.
jsonschema.exceptions.ValidationError –
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev