Skip to content

Add specification links to multipleOf.json - #999

Open
shivamsingh-007 wants to merge 101 commits into
json-schema-org:unifyfrom
shivamsingh-007:spec/minimum-property
Open

Add specification links to multipleOf.json#999
shivamsingh-007 wants to merge 101 commits into
json-schema-org:unifyfrom
shivamsingh-007:spec/minimum-property

Conversation

@shivamsingh-007

Copy link
Copy Markdown

Summary

Add specification links to tests/draft2020-12/multipleOf.json, marking each test case as validating section 6.2.1 (multipleOf) of the JSON Schema Validation specification.

Related Issue

Fixes #699

What changed

  • Added "specification": [{"validation": "6.2.1"}] to all 5 test case objects in tests/draft2020-12/multipleOf.json

Why this approach

Proposed in PR #807 (type.json) as the format for this feature. Each test case gets its specification property immediately after description, as a small single-file PR per the issue's guidance.

Testing done

  • JSON syntax validated
  • Spec links validated via bin/annotate-specification-links -- all 5 resolve to the draft-bhutton-json-schema-validation-01 section 6.2.1

Checklist

  • Tests added/updated -- N/A (metadata-only change to test data)
  • Docs updated -- N/A (doc change within test file itself)
  • Lint/format passes -- N/A (JSON file)
  • Linked issue referenced (Fixes Add a specification property to test cases + tests #699)
  • No DCO required (MIT license, no CLA/DCO)
  • No unrelated changes bundled in

@shivamsingh-007
shivamsingh-007 requested a review from a team as a code owner July 20, 2026 10:31
Copilot AI review requested due to automatic review settings July 20, 2026 10:31

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@shivamsingh-007

Copy link
Copy Markdown
Author

Hi @jdesrosiers, this PR adds specification section references to the multipleOf.json test file ("specification": [{"validation": "6.2.1"}]). Would you mind taking a look when you get a chance?

codefromlani and others added 24 commits July 28, 2026 10:46
…tory (json-schema-org#912)

* Add validation suite checker and schema

* Refine Validation checker

* Fix validation test schema and error messages

* Handle unknown dialects
* Add default tests

* Add default validation tests

* Remove old default tests

* Add
* Add divisibleBy tests

* Add divisibleBy validation tests
* Add maxItems tests

* Add maxItems validation tests

* Remove compatibility 3
* Add extends tests

* Add extends validation tests

* Remove old extends tests

* Update compatibility
* Add disallow tests

* Add disallow validation tests

* Add

* Update compatibility
* Add maxLength tests

* Add maxLength validation tests

* Remove compatibility 3

* Remove v1 tests
* Add minItems tests

* Add minItems validation tests

* Remove v1 tests
* Add minLength tests

* Add minLength validation tests

* Remove v1 tests
* Add properties tests

* Add properties validation tests

* Remove v1 tests
* Add maximum tests

* Add maximum validation tests

* Merge exclusiveMaximum

* Update compatibility

* Remove v1 tests

* Remove old tests
* Add minimum tests

* Add minimum validation tests

* Merge exclusiveMinimum

* Clean up

* Update compatibility
* Add recursiveRef tests

* Update validation/tests/recursiveRef.json

---------

Co-authored-by: Jason Desrosiers <jdesrosi@gmail.com>
* Add infinite-loop-detection tests

* Update validation/tests/infinite-loop-detection.json

---------

Co-authored-by: Jason Desrosiers <jdesrosi@gmail.com>
* Add pattern tests

* Update validation/tests/pattern.json

---------

Co-authored-by: Jason Desrosiers <jdesrosi@gmail.com>
* Add additionalProperties tests

* Update validation/tests/additionalProperties.json

* Update validation/tests/additionalProperties.json

---------

Co-authored-by: Jason Desrosiers <jdesrosi@gmail.com>
* Add required tests

* Update validation/tests/required.json

---------

Co-authored-by: Jason Desrosiers <jdesrosi@gmail.com>
* Fix validation suite schema

* Update validation/validation-test-schema.json

---------

Co-authored-by: Jason Desrosiers <jdesrosi@gmail.com>
* Add contains tests

* Add minContains and maxContains tests
* Add ref tests

* A few fixes and cleanup and moved some tests to legacy

* Move all tests that use

* Add ref-legacy tests

* Remove duplicate test case

* Some comptibility fixes, reordered tests to match ref.json, added id tests

* Alter recursive reference test so it can run on draft-03

* Fix a couple of mistakes

* Move all test that use /id

* Add refRemote tests

* Add refRemote legacy tests

* Refactor to ref, id, and anchor

---------

Co-authored-by: Jason Desrosiers <jdesrosi@gmail.com>
codefromlani and others added 27 commits August 11, 2026 11:05
* Add optional format hostname tests

* Add host-name, remove IDN tests for v1, sync tests across versions

---------

Co-authored-by: Jason Desrosiers <jdesrosi@gmail.com>
* Add optional format time tests

* Update to match recent clarifications on leap second validity

---------

Co-authored-by: Jason Desrosiers <jdesrosi@gmail.com>
* Add optional format unknown tests

* Update validation/tests/optional/format/unknown.json

---------

Co-authored-by: Jason Desrosiers <jdesrosi@gmail.com>
* Add optional id and id-legacy tests

* Move id-legacy tests

* Move anchor tests to anchor.json

---------

Co-authored-by: Jason Desrosiers <jdesrosi@gmail.com>
* Add optional unknownKeyword tests

* Update validation/tests/optional/unknownKeyword.json

---------

Co-authored-by: Jason Desrosiers <jdesrosi@gmail.com>
* Add optional format idn-email tests

* Update description

* Apply suggestions from code review

Co-authored-by: Jason Desrosiers <jdesrosi@gmail.com>

---------

Co-authored-by: Jason Desrosiers <jdesrosi@gmail.com>
* Add optional format idn-hostname tests

* Add missing test

---------

Co-authored-by: Jason Desrosiers <jdesrosi@gmail.com>
* Add optional dynamicRef tests

* Fix dynamic reference for v1 version of the test

---------

Co-authored-by: Jason Desrosiers <jdesrosi@gmail.com>
* Add optional cross-draft tests

* Adjust compatibilities

---------

Co-authored-by: Jason Desrosiers <jdesrosi@gmail.com>
* Remove anchor v1 tests

* Restore formatting

---------

Co-authored-by: Jason Desrosiers <jdesrosi@gmail.com>
@jdesrosiers
jdesrosiers force-pushed the unify branch 2 times, most recently from e31ffe8 to 050b02d Compare August 29, 2026 19:43
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.

4 participants