Material.validate_data

Material.validate_data()[source]

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

Returns

dict – The validated data.

Raises

SchemaError