`$file` should be aligned with `$schemaOrCallable`