Skip to content

Commit 7f05258

Browse files
Fix YAML parse errors in ecommerce catalog schema descriptions (#591)
Two description fields in the ecommerce_catalog_product schema used plain scalars containing `: ` inside backtick-quoted code and `{}` JSON literals, which the YAML parser mis-read as mapping entries. Converted both to literal block scalars (`|`) to fix parse errors introduced in PR #587.
1 parent b6054f7 commit 7f05258

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

descriptions/0/api.intercom.io.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33510,7 +33510,10 @@ components:
3351033510
nullable: true
3351133511
in_stock:
3351233512
type: boolean
33513-
description: Whether the product is available to purchase. If omitted, derived from variant stock — the product is in stock if at least one variant has `in_stock: true`. Products with no in-stock variants are hidden from Fin entirely and will not be recommended to shoppers.
33513+
description: |
33514+
Whether the product is available to purchase. If omitted, derived from variant stock — the
33515+
product is in stock if at least one variant has `in_stock: true`. Products with no in-stock
33516+
variants are hidden from Fin entirely and will not be recommended to shoppers.
3351433517
example: true
3351533518
nullable: true
3351633519
tags:
@@ -33552,7 +33555,11 @@ components:
3355233555
nullable: true
3355333556
available_options:
3355433557
type: array
33555-
description: Option types available for this product and their possible values (e.g. {"name": "Size", "values": ["S", "M", "L"]}). Fin uses these to understand what choices a shopper can make and to correctly filter variants when a shopper asks for a specific size, colour, or other attribute.
33558+
description: |
33559+
Option types available for this product and their possible values
33560+
(e.g. `{"name": "Size", "values": ["S", "M", "L"]}`). Fin uses these to understand what
33561+
choices a shopper can make and to correctly filter variants when a shopper asks for a
33562+
specific size, colour, or other attribute.
3355633563
items:
3355733564
type: object
3355833565
properties:

0 commit comments

Comments
 (0)