class ForcedRoot implements JsonObjectConvertible, Comparable<ForcedRoot> {

    public @NotNull String[] getNamespacePrefixes() {
        return Stream.concat(
                streamIt(path).flatMap(path ->
                        Stream.of(path.split("/"))
                                .filter(inferTest1(String::isEmpty).negate())
                                .flatMap(JsonCnd::streamNsPrefix)),
                Stream.concat(
                        streamIt(primaryType).flatMap(JsonCnd::streamNsPrefix),
                        mixinTypes.stream().flatMap(JsonCnd::streamNsPrefix)))
                .toArray(String[]::new);
    }

}