{"input": "MONDO:0005148", "source_db": "mondo", "how": "pattern", "expect": {"valid": true, "normalized": "MONDO:0005148"}, "note": "canonical (type 2 diabetes)"}
{"input": "MONDO:9999999", "source_db": "mondo", "how": "pattern", "expect": {"valid": true, "normalized": "MONDO:9999999"}, "note": "well-formed even if it does not exist; pattern mode only checks shape"}
{"input": "mondo:0005148", "source_db": "mondo", "how": "pattern", "expect": {"valid": false, "suggestion": "MONDO:0005148"}, "note": "lowercase prefix is suggestible"}
{"input": "mondo:5148", "source_db": "mondo", "how": "pattern", "expect": {"valid": false, "suggestion": "MONDO:0005148"}, "note": "lowercase prefix and short local id"}
{"input": "MONDO:12345678", "source_db": "mondo", "how": "pattern", "expect": {"valid": false}, "note": "too many digits, not fixable by padding"}
{"input": "GO:0006915", "source_db": "mondo", "how": "pattern", "expect": {"valid": false}, "note": "wrong prefix for this source"}
{"input": "MONDO:0005148", "source_db": "mondo", "how": "cache", "version": "sample", "expect": {"valid": true, "normalized": "MONDO:0005148"}, "note": "exists in the sample snapshot"}
{"input": "MONDO:0018076", "source_db": "mondo", "how": "cache", "version": "sample", "expect": {"valid": true, "normalized": "MONDO:0018076"}, "note": "exists in the sample snapshot"}
{"input": "MONDO:9999999", "source_db": "mondo", "how": "cache", "version": "sample", "expect": {"valid": false}, "note": "well-formed but not in the snapshot"}
{"input": "mondo:5148", "source_db": "mondo", "how": "cache", "version": "sample", "expect": {"valid": false, "suggestion": "MONDO:0005148"}, "note": "suggested form exists in the snapshot"}
{"input": "mondo:9999999", "source_db": "mondo", "how": "cache", "version": "sample", "expect": {"valid": false}, "note": "suggested form does not exist, so no suggestion"}
