@NonNull
    private static CacheType parseType(final int type) {
        switch (type) {
            case 1:
                return CacheType.TRADITIONAL;
            case 2:
                return CacheType.MULTI;
            case 3:
                return CacheType.VIRTUAL;
            case 4:
                return CacheType.EVENT;
            case 5:
                // Not used
                return CacheType.WEBCAM;
            case 7:
                // Virtual Multi-step
                return CacheType.VIRTUAL;
            case 8:
                // Contest
                return CacheType.EVENT;
            case 9:
                return CacheType.MYSTERY;
            case 10:
                // Mystery Virtual
                return CacheType.MYSTERY;
            case 6:
                // "Extreme cache", not used.
            default:
                return CacheType.UNKNOWN;
        }
    }
Parses cache received by map query request. So the response contains only "core" data
(i.e. without logs, waypoints etc.)

@param response JSON response from API
@return parsed {@link Geocache}
main/src/main/java/cgeo/geocaching/connector/su/SuParser.java