pub fn validate_schema<S>(
    schema: &SchemaV1<S>
) -> Result<(), SchemaValidationError>
where S: CustomSchema,