changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "catalog": {
+ "description": "Used by the catalog widget (on-chain provenance per item)",
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "customerContext": {
+ "description": "Used by the catalog widget",
+ "type": "object"
+ },
+ "items": {
+ "description": "Catalog lines in the order shown (empty when no stock)",
+ "items": {
+ "description": "One line of the catalog text",
+ "properties": {
+ "bands": {
+ "additionalProperties": {
+ "type": "integer"
+ },
+ "description": "Packs per weight band, as listed under ๐ฆ",
+ "type": "object"
+ },
+ "catchRecordCount": {
+ "description": "Number of catch records in the traceability line",
+ "type": "integer"
+ },
+ "catchRecords": {
+ "description": "Up to 3 catch records as listed",
+ "items": {
+ "properties": {
+ "blogUrl": {
+ "type": "string"
+ },
+ "location": {
+ "type": "string"
+ },
+ "photoAt": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "photoAt"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "days": {
+ "description": "Days tier shown next to the tier (LINE VIP order-page catalog only)",
+ "type": "integer"
+ },
+ "fishName": {
+ "type": "string"
+ },
+ "label": {
+ "description": "Card label shown in parentheses (LINE VIP order-page catalog only)",
+ "type": "string"
+ },
+ "onchain": {
+ "description": "Midnight on-chain links as listed",
+ "items": {
+ "properties": {
+ "moreRecords": {
+ "type": "integer"
+ },
+ "network": {
+ "type": "string"
+ },
+ "tier": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "network",
+ "url"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "orderAs": {
+ "description": "Status and tier to pass to place_order, as shown after โ",
+ "properties": {
+ "status": {
+ "type": "string"
+ },
+ "tier": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "tier"
+ ],
+ "type": "object"
+ },
+ "orderUpToKg": {
+ "description": "Shown as \"order up to โฆkg\"; 0 when shown as \"cannot be ordered by kg right now\"",
+ "type": "number"
+ },
+ "packs": {
+ "description": "Stock packs as shown",
+ "type": "integer"
+ },
+ "preferred": {
+ "description": "true when marked โ
(preferred fish)",
+ "type": "boolean"
+ },
+ "priceOnRequest": {
+ "description": "true when the line shows \"price on request\"",
+ "type": "boolean"
+ },
+ "priceThbPerKg": {
+ "description": "Price shown for this line (THB/kg). Retail for anonymous callers, the customer's own price when vip is present",
+ "type": "number"
+ },
+ "section": {
+ "description": "Section heading (LINE VIP order-page catalog only)",
+ "type": "string"
+ },
+ "status": {
+ "description": "Cut / preparation as shown",
+ "type": "string"
+ },
+ "thaiName": {
+ "type": "string"
+ },
+ "tier": {
+ "description": "Fresh / Tier1 / Tier2, or \"all\" for lines listed as [all tiers]",
+ "type": "string"
+ },
+ "weightKg": {
+ "description": "Stock weight as shown (kg, one decimal)",
+ "type": "number"
+ }
+ },
+ "required": [
+ "fishName",
+ "weightKg"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "nextActions": {
+ "description": "Used by the catalog widget (buttons)",
+ "type": "array"
+ },
+ "vip": {
+ "description": "Customer line shown for a registered customer",
+ "properties": {
+ "cashbackLimitThb": {
+ "type": "number"
+ },
+ "cashbackRemainingThb": {
+ "type": "number"
+ },
+ "companyName": {
+ "type": "string"
+ },
+ "orderMode": {
+ "description": "LINE VIP order-page catalog: catalog browsing only / order from the LINE VIP order page / order in this chat",
+ "enum": [
+ "view_only",
+ "line_order_page",
+ "chat"
+ ],
+ "type": "string"
+ },
+ "shippingZone": {
+ "description": "\"0\" = local (free), otherwise the zone number shown",
+ "type": "string"
+ },
+ "tierPricing": {
+ "description": "true when shown as \"tier pricing applied\"",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "companyName"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "items"
+ ],
+ "type": "object"
+}