public void register(FileRegistry fileRegistry) {
        switch (pathType) {
            case FILE -> fileReference = fileRegistry.addFile(path);
            case URI -> fileReference = fileRegistry.addUri(path);
            default -> throw new IllegalArgumentException("Unknown path type " + pathType);
        }
    }
The search definition-unique name of this constant
config-model/src/main/java/com/yahoo/schema/DistributableResource.java