fix!: Cherrypick catalog variant schema fix into 2026-04-08 version#356
Merged
jingyli merged 1 commit intoUniversal-Commerce-Protocol:release/2026-04-08from Apr 13, 2026
Merged
Conversation
…l#353) Completes a rename decided in PR Universal-Commerce-Protocol#195 (get_product operation) but never executed on variant.json. The get_product operation introduced three distinct concepts that were previously conflated: request.selected — what the user chose (input parameter) product.selected — what the server resolved (response, post-relaxation) variant.options — what the variant IS (intrinsic, immutable) A variant's option values (Color: Blue, Size: Large) are intrinsic identity — they don't change based on user selections or server relaxation. The old name "selected_options" implied a relationship to user selection state that doesn't exist at the variant level. Schema: variant.selected_options → variant.options Docs: update variant examples in mcp.md and rest.md
ihoosain
approved these changes
Apr 13, 2026
aksbro-gpu
approved these changes
Apr 13, 2026
6373733
into
Universal-Commerce-Protocol:release/2026-04-08
9 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This is a cherrypick request for a breaking schema fix that should've been part of the
2026-04-08UCP version cut. See #353 for more details.Type of change
functionality to not work as expected, including removal of schema files
or fields)
Is this a Breaking Change or Removal?
If you checked "Breaking change" above, or if you are removing any schema
files or fields:
!to my PR title (e.g.,feat!: remove field).Checklist