Base.validate_properties

Base.validate_properties(schema, verbose=True)

Validate the properties of the entity against a schema.

Parameters:
schemaUnion[str, dict]

The schema to validate against. Either a path to a JSON file or a dictionary for schemas for each property set.

verbosebool, optional

Whether to print the validation results.

Returns:
bool

True if the validation passes, False otherwise.