Skip to contents

Unknown kinds and unsupported future versions fail closed. Legacy versions are accepted only when the caller explicitly permits them for migration.

Usage

validate_runtime_schema(kind, version, allow_legacy = FALSE)

Arguments

kind

Runtime artifact kind.

version

Positive integer schema version.

allow_legacy

Whether older versions may pass validation.

Value

The normalized schema version, invisibly.