defaultSchemaDialect static method

String? defaultSchemaDialect(
  1. String version
)

The default JSON Schema dialect a peer should assume for schemas that omit $schema under the negotiated version. 2025-11-25 pins 2020-12 (SEP-1613); earlier revisions left the dialect unspecified (returns null — callers must not stamp a dialect for those peers).

Implementation

static String? defaultSchemaDialect(String version) =>
    version == v2025_11_25 ? jsonSchemaDialect2020_12 : null;