diff --git a/docs/specification/catalog/mcp.md b/docs/specification/catalog/mcp.md index 516b9bbb..3fa33170 100644 --- a/docs/specification/catalog/mcp.md +++ b/docs/specification/catalog/mcp.md @@ -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"], @@ -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" } ] @@ -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" } ] diff --git a/docs/specification/catalog/rest.md b/docs/specification/catalog/rest.md index 19251512..84c79289 100644 --- a/docs/specification/catalog/rest.md +++ b/docs/specification/catalog/rest.md @@ -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"], @@ -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" } ] @@ -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" } ] diff --git a/source/schemas/shopping/types/variant.json b/source/schemas/shopping/types/variant.json index bcbf753d..26735539 100644 --- a/source/schemas/shopping/types/variant.json +++ b/source/schemas/shopping/types/variant.json @@ -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",