From 85380f2f412a42863e66221be5587cd86e629c4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=B5nis=20Ormisson?= Date: Tue, 4 Aug 2026 15:04:51 +0300 Subject: [PATCH] Fix frontend schema typed value reference --- CHANGELOG.md | 3 +++ VERSIONING.md | 2 +- transformation/spss-syntax-frontend-0.1.schema.json | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dfba617..42df551 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,9 @@ Until a protected or signed `v0.3.0` tag targets this work, implementations MUST action followed by an existing-target apply with no automatic Dolt commit. - Added independent synthetic golden fixtures, hashes, examples, and repository validation gates for the new contracts. +- Corrected the SPSS Syntax Frontend 0.1 schema's `$defs` and `$ref` keywords + so typed value-label values are constrained as the existing contract states; + this is eligible for a patch-series backport under the schema-defect policy. ## v0.2.0 - 2026-07-31 diff --git a/VERSIONING.md b/VERSIONING.md index 938359b..8f099bb 100644 --- a/VERSIONING.md +++ b/VERSIONING.md @@ -4,7 +4,7 @@ OpenStatSpec uses semantic versioning for tagged specification releases. - A major release may change normative relational semantics, required catalogue fields, conformance expectations, or the meaning of an existing requirement. - A minor release may add backward-compatible optional metadata, a new independent source or SQL profile, or new fixtures that do not invalidate an implementation's existing declared conformance scope. -- A patch release may clarify wording, correct examples, or fix fixture and schema defects without changing normative meaning. +- A patch release may clarify wording, correct examples, or fix fixture and schema defects without changing normative meaning. A schema-defect correction may be backported to a published release series only when it restores the already-stated normative contract; it must not introduce new required behavior, broaden the accepted contract, or silently revise canonical artifacts. Optional workflow profiles are versioned and claimed independently from the core source profile. Adding or revising an optional profile does not authorize diff --git a/transformation/spss-syntax-frontend-0.1.schema.json b/transformation/spss-syntax-frontend-0.1.schema.json index 54b02bb..9214981 100644 --- a/transformation/spss-syntax-frontend-0.1.schema.json +++ b/transformation/spss-syntax-frontend-0.1.schema.json @@ -4,7 +4,7 @@ "title": "OpenStatSpec SPSS-like Syntax Frontend Request 0.1", "type": "object", "additionalProperties": false, - "": { + "$defs": { "typed_value": { "oneOf": [ { @@ -55,7 +55,7 @@ "additionalProperties": false, "required": ["value", "label"], "properties": { - "value": {"": "#//typed_value"}, + "value": {"$ref": "#/$defs/typed_value"}, "label": {"type": "string"} } }