Commit ad7b221
committed
docs(spec): bump version to 0.12
BREAKING: subsumes the four normative changes landed in ADR-0001..0004 on
this branch:
- JSON Schema Dialect framing (ADR-0001): derivation compatibility applies
whether the derived schema uses `allOf` + `$ref` or re-declares parent
fields directly; finality guard determined from the chained `$id` alone.
- `x-gts-traits-schema` as a JSON Schema subschema (ADR-0002): value MAY be
object/`true`/`false`; the registry composes all declarations along the
`$id` chain via `allOf` into a single effective trait-schema, so
descendants no longer need to repeat ancestor trait-schemas.
- Trait completeness keyed on `x-gts-abstract` (ADR-0003): completeness is
enforced at registration on non-abstract types (not only leaves), against
the materialized effective traits object.
- Trait-value merge via JSON Merge Patch (RFC 7396) along the `$id` chain
(ADR-0004): descendant last-wins, nested objects merge recursively,
arrays replace wholesale, `null` deletes; cross-descendant locking moves
from a GTS-specific immutability rule to standard JSON Schema `const`
in `x-gts-traits-schema`.
Conformance tests (in particular `tests/test_op13_schema_traits_validation.py`
cases asserting "override MUST fail") and reference implementations must be
updated to the new semantics in a follow-up.
Signed-off-by: Aviator 5 <ai.agent.tor@gmail.com>1 parent 708c7b0 commit ad7b221
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
115 | 116 | | |
116 | 117 | | |
117 | 118 | | |
| |||
0 commit comments