Validate an unknown value as a Candle. Returns a new object containing exactly the Candle fields (extra fields are stripped). Throws ValidationError on any violation.
unknown value to validate
caller-provided label used in error messages
Validate an unknown value as a Candle. Returns a new object containing exactly the Candle fields (extra fields are stripped). Throws ValidationError on any violation.