Skip to content

Issue #104 drop AJV provenance from documentation tests - #177

Merged
simbo1905 merged 1 commit into
mainfrom
issue-104-drop-ajv-provenance
Nov 21, 2026
Merged

simbo1905 merged 1 commit into
mainfrom
issue-104-drop-ajv-provenance

Conversation

@simbo1905

Copy link
Copy Markdown
Owner

Closes #104

What

Rename DocumentationAJvTests to DocumentationJtdTests and delete the AJV provenance wording. The tests verify RFC 8927 JTD form conformance; the project must not claim nor imply AJV compatibility. The issue body's claim that {} means an object with no properties is JSON Schema thinking — RFC 8927 §3.3.1 keeps the empty form accepting all instances, which the code already does (Jtd.java compiles {} to EmptySchema; InterpreterValidator accepts anything).

Verify

mvnd -pl json-java21-jtd,json-compatibility-suite test -Djava.util.logging.ConsoleHandler.level=INFO

451 tests, 0 failures; JtdSpecConformanceTest 316/316 official RFC 8927 conformance; DocumentationJtdTests 21/21. Single rename commit (ea6919d), no other changes.

Rename DocumentationAJvTests to DocumentationJtdTests and remove the AJV
provenance wording: the tests verify RFC 8927 JTD form conformance and the
project must not claim nor imply AJV compatibility. The issue body's claim
that {} means an object with no properties is JSON Schema thinking; RFC 8927
section 3.3.1 keeps the empty form accepting all instances, which is what the
code already does.

Verify: mvnd -pl json-java21-jtd,json-compatibility-suite test
-Djava.util.logging.ConsoleHandler.level=INFO -> 451 tests, 0 failures,
316/316 RFC 8927 conformance, DocumentationJtdTests 21/21.
@simbo1905
simbo1905 merged commit 2e5cf37 into main Nov 21, 2026
7 checks passed
@simbo1905
simbo1905 deleted the issue-104-drop-ajv-provenance branch November 21, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Simplify enum deduplication logic in JtdPropertyTest

1 participant