Validate the data against an optional schema.
Usage
Pipeline.validate(schema=None)
schema: dict or None = None
Validation schema. If None, performs basic checks.
bool
True if the data passes validation.