public void validate() {
        switch (pathType) {
            case FILE:
            case URI:
                if (path == null || path.isEmpty())
                    throw new IllegalArgumentException("Distributable URI/FILE resource must have a file or uri.");
                break;
        }
    }
The search definition-unique name of this constant
config-model/src/main/java/com/yahoo/schema/DistributableResource.java