Skip to content

Fix contentEncoding and contentMediaType minimum version to Draft-06#26

Closed
Copilot wants to merge 1 commit intofeat/draft-06from
copilot/sub-pr-22-another-one
Closed

Fix contentEncoding and contentMediaType minimum version to Draft-06#26
Copilot wants to merge 1 commit intofeat/draft-06from
copilot/sub-pr-22-another-one

Conversation

Copy link
Contributor

Copilot AI commented Feb 6, 2026

The contentEncoding and contentMediaType features were incorrectly marked as Draft-07 features when they were actually introduced in Draft-06 according to the JSON Schema specification.

Changes

  • Updated SchemaFeature::getMinimumVersion() to return SchemaVersion::Draft_06 for both ContentEncoding and ContentMediaType cases

This ensures proper version compatibility checks when these content annotation keywords are used in schemas.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] WIP Address feedback on Draft-06 support improvements Fix contentEncoding and contentMediaType minimum version to Draft-06 Feb 6, 2026
Copilot AI requested a review from tymondesigns February 6, 2026 00:04
@tymondesigns tymondesigns deleted the copilot/sub-pr-22-another-one branch February 6, 2026 07:29
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.

2 participants