Skip to content

Compatibility

A bundle schema must use the GKM product versions supported by the installed ga4gh.gkm release. Loading fails when a recognized GKM schema reference uses a different version.

Supported product versions

ga4gh.gkm currently supports:

GKM product Supported version
gks-core 1.1.0
vrs 2.1.0-snapshot.2026-02.2
cat-vrs 1.1.0-snapshot.2026-02.3
va-spec 1.1.0-snapshot.2026-06.1

The table is generated during the documentation build from ga4gh.gkm.bundles.supported_gkm_versions().

Ballot releases during initial development

During initial development, the supported versions include ballot releases. As GKM products publish stable releases, ga4gh.gkm will move to the latest stable versions and stop supporting the superseded ballot releases.

API

compatibility

Compatibility checks for GKM product schemas.

Functions:

supported_gkm_versions

supported_gkm_versions() -> dict[str, str]

Return the latest GKM product versions supported by this installation.

Returns:

Type Description
dict[str, str]

Product names mapped to their supported schema versions.

check_gkm_version_compatibility

check_gkm_version_compatibility(schema: Mapping[str, Any]) -> None

Check GKM W3ID references against installed product versions.

Each recognized reference must exactly match the version reported by :func:supported_gkm_versions.

References outside the versioned GA4GH W3ID schema namespace are ignored.

Parameters:

Name Type Description Default
schema Mapping[str, Any]

Producer JSON Schema to inspect.

required

Raises:

Type Description
BundleCompatibilityError

If a GKM schema version does not match the installed reference implementation.