Skip to content

Conversation

@karenetheridge
Copy link
Member

I found this while updating my test harness with the most recent commits.

@karenetheridge karenetheridge requested a review from a team as a code owner November 2, 2025 05:13
Copy link
Member

@jdesrosiers jdesrosiers left a comment

Choose a reason for hiding this comment

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

Thanks! I knew I was probably missing something.

I made one comment inline. It's not necessarily something that needs to be changed in this PR, but it was something I noticed when reviewing.

* For 2019-09 and later published drafts, implementations that are able to detect the draft of each schema via `$schema` SHOULD be configured to do so
* For draft-07 and earlier, draft-next, and implementations unable to detect via `$schema`, implementations MUST be configured to expect the draft matching the test directory name
* For 2019-09 and later published versions, implementations that are able to detect the version of each schema via `$schema` SHOULD be configured to do so
* For draft-07 and earlier, v1 (not yet released), and implementations unable to detect via `$schema`, implementations MUST be configured to expect the version matching the test directory name
Copy link
Member

Choose a reason for hiding this comment

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

I'm not sure why draft-next was included in this bullet. That doesn't seem correct to me and I don't think it's correct for v1 either.

Suggested change
* For draft-07 and earlier, v1 (not yet released), and implementations unable to detect via `$schema`, implementations MUST be configured to expect the version matching the test directory name
* For draft-07 and earlier, and implementations unable to detect via `$schema`, implementations MUST be configured to expect the version matching the test directory name

Copy link
Member Author

@karenetheridge karenetheridge Nov 4, 2025

Choose a reason for hiding this comment

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

I'm going to leave this for now, as it's still not clear to me (nor is it in the latest version of the spec documents in json-schema-spec main branch) whether the name of the draft is actually intended to be "v1" or "v1/<year>" and how $schema keywords would refer to it.

As far as the test suite is concerned, as long as everything consistently refers to "v1" then test harnesses or implementations can just skip this directory entirely for now, as they would have done for "draft-next".

@karenetheridge karenetheridge merged commit be58fa9 into main Nov 4, 2025
4 checks passed
@karenetheridge karenetheridge deleted the ether/fix-draft-next-removal branch November 4, 2025 23:40
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.

3 participants