Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/specification/catalog/mcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ Maps to the [Catalog Search](search.md) capability.
"description": { "plain": "Size 10 variant" },
"price": { "amount": 12000, "currency": "USD" },
"availability": { "available": true },
"selected_options": [
"options": [
{ "name": "Size", "label": "10" }
],
"tags": ["running", "road", "neutral"],
Expand Down Expand Up @@ -554,7 +554,7 @@ Maps to the [Catalog Lookup](lookup.md#get-product-get_product) capability. Retu
"description": { "plain": "Blue, Size 10" },
"price": { "amount": 12000, "currency": "USD" },
"availability": { "available": true },
"selected_options": [
"options": [
{ "name": "Color", "label": "Blue" },
{ "name": "Size", "label": "10" }
]
Expand All @@ -566,7 +566,7 @@ Maps to the [Catalog Lookup](lookup.md#get-product-get_product) capability. Retu
"description": { "plain": "Blue, Size 12" },
"price": { "amount": 15000, "currency": "USD" },
"availability": { "available": true },
"selected_options": [
"options": [
{ "name": "Color", "label": "Blue" },
{ "name": "Size", "label": "12" }
]
Expand Down
6 changes: 3 additions & 3 deletions docs/specification/catalog/rest.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ Maps to the [Catalog Search](search.md) capability.
"description": { "plain": "Size 10 variant" },
"price": { "amount": 12000, "currency": "USD" },
"availability": { "available": true },
"selected_options": [
"options": [
{ "name": "Size", "label": "10" }
],
"tags": ["running", "road", "neutral"],
Expand Down Expand Up @@ -428,7 +428,7 @@ on option values and returns variants matching the selection.
"description": { "plain": "Blue, Size 10" },
"price": { "amount": 12000, "currency": "USD" },
"availability": { "available": true },
"selected_options": [
"options": [
{ "name": "Color", "label": "Blue" },
{ "name": "Size", "label": "10" }
]
Expand All @@ -440,7 +440,7 @@ on option values and returns variants matching the selection.
"description": { "plain": "Blue, Size 12" },
"price": { "amount": 15000, "currency": "USD" },
"availability": { "available": true },
"selected_options": [
"options": [
{ "name": "Color", "label": "Blue" },
{ "name": "Size", "label": "12" }
]
Expand Down
4 changes: 2 additions & 2 deletions source/schemas/shopping/types/variant.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,12 @@
}
}
},
"selected_options": {
"options": {
"type": "array",
"items": {
"$ref": "selected_option.json"
},
"description": "Option selections that define this variant."
"description": "Option values that define this variant (e.g., Color: Blue, Size: Large)."
},
"media": {
"type": "array",
Expand Down
Loading