diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e72d6d..652ef34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## v0.2.1 - 2026-08-04 + +- 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 restores the published contract without adding new normative behavior. + ## v0.2.0 - 2026-07-31 - Added canonical Transformation Plan and SPSS Syntax Frontend profiles for a diff --git a/VERSIONING.md b/VERSIONING.md index 5d946e4..1983160 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"} } }