Skip to content

Fix visualConfiguration schema identities - #634

Open
GenericTSDeveloper wants to merge 1 commit into
microsoft:mainfrom
GenericTSDeveloper:junp-microsoft-fix-schema-version-mismatch
Open

Fix visualConfiguration schema identities#634
GenericTSDeveloper wants to merge 1 commit into
microsoft:mainfrom
GenericTSDeveloper:junp-microsoft-fix-schema-version-mismatch

Conversation

@GenericTSDeveloper

@GenericTSDeveloper GenericTSDeveloper commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Problem

Two visual configuration schemas advertise identities that do not match the files from which they are published:

  1. visualConfiguration/2.0.0/schema.json advertises the 2.1.0 URL in both its $id and properties.$schema.const.
  2. visualConfiguration/1.8.0/schema-embedded.json claims the $id of its sibling schema.json, so two different schemas share one identity.

Fix

  • Change the two self-identifying values in 2.0.0/schema.json from 2.1.0 to 2.0.0.
  • Change the embedded 1.8.0 schema's $id to its own schema-embedded.json publication path.

The dependency upgrades introduced deliberately in PR #371 remain unchanged:

  • formattingObjectDefinitions/1.4.0
  • semanticQuery/1.3.0

Validation

  • Existing suite: 528 passed
  • Final diff: two files, 3 insertions / 3 deletions
  • Confirmed all 16 formattingObjectDefinitions references remain on 1.4.0
  • Confirmed all 6 semanticQuery references remain on 1.3.0

@GenericTSDeveloper
GenericTSDeveloper force-pushed the junp-microsoft-fix-schema-version-mismatch branch 2 times, most recently from c6a6446 to 1af2ec6 Compare September 1, 2026 21:56
@GenericTSDeveloper GenericTSDeveloper changed the title Fix visualConfiguration schemas that advertise the wrong identity Fix visualConfiguration 2.0.0 schema identity Sep 1, 2026
The schema published from visualConfiguration/2.0.0 advertises the 2.1.0
URL in both its \ and properties.\.const. Update those two
self-identifying values to match the 2.0.0 publication path.

Keep the formattingObjectDefinitions 1.4.0 and semanticQuery 1.3.0
references introduced by PR microsoft#371; those dependency upgrades were
intentional.

The visualConfiguration/1.8.0 embedded schema claims the \ of its
sibling schema.json. Point it at its own schema-embedded.json publication
path so the two different schemas no longer share one identity.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@GenericTSDeveloper
GenericTSDeveloper force-pushed the junp-microsoft-fix-schema-version-mismatch branch from 1af2ec6 to 5e9441e Compare September 1, 2026 22:00
@GenericTSDeveloper GenericTSDeveloper changed the title Fix visualConfiguration 2.0.0 schema identity Fix visualConfiguration schema identities Sep 1, 2026
@GenericTSDeveloper
GenericTSDeveloper marked this pull request as ready for review September 1, 2026 22:02
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.

1 participant