Docs
chromia.com

STRUCT

validation_result

struct validation_result {
 valid: boolean;
 error: text? = null;
}
valid: boolean;

Whether the attempt succeeded

error: text? = null;

If valid is false, the error message. null otherwise

Source