Result of inspecting a document for the OpenAPI 3.1 jsonSchemaDialect
keyword.
kind: "absent": the keyword is not declared. The walker assumes
Draft 2020-12, which is the spec-defined default.
kind: "known": the declared dialect URI matches one of the
supported drafts. The corresponding JsonSchemaDraft is returned so
the normaliser can route to the matching per-node transforms.
kind: "unknown": the keyword is present but its URI does not
match any supported draft. The caller should emit an
unknown-json-schema-dialect diagnostic and fall back to
Draft 2020-12.
Result of inspecting a document for the OpenAPI 3.1
jsonSchemaDialectkeyword.kind: "absent": the keyword is not declared. The walker assumes Draft 2020-12, which is the spec-defined default.kind: "known": the declared dialect URI matches one of the supported drafts. The correspondingJsonSchemaDraftis returned so the normaliser can route to the matching per-node transforms.kind: "unknown": the keyword is present but its URI does not match any supported draft. The caller should emit anunknown-json-schema-dialectdiagnostic and fall back to Draft 2020-12.