Capsule.validate_data

Capsule.validate_data()[source]

Validate the object’s data against its data schema.

Returns

dict – The validated data.

Raises

schema.SchemaError