changedOutput schema / (root)
Previous value: -{
- "anyOf": [
- {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "additionalProperties": true,
- "properties": {
- "catalog_observed_at": {
- "anyOf": [
- {
- "format": "date-time",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "When catalogue rows were read, retained on cache hits. Null for a batch (see each result) or a query needing no catalogue read. Not supplier verification time."
- },
- "currency": {
- "const": "SGD",
- "type": "string"
- },
- "freshness": {
- "additionalProperties": true,
- "properties": {
- "catalog_cache_max_age_seconds": {
- "type": "integer"
- },
- "revalidation": {
- "type": "string"
- },
- "stock_reserved": {
- "const": false,
- "type": "boolean"
- }
- },
- "required": [
- "catalog_cache_max_age_seconds",
- "stock_reserved",
- "revalidation"
- ],
- "type": "object"
- },
- "generated_at": {
- "description": "Response generation time, not the supplier's stock-verification time.",
- "format": "date-time",
- "type": "string"
- },
- "money_unit": {
- "const": "cents",
- "type": "string"
- },
- "next_action": {
- "type": "string"
- },
- "next_page": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "offer_terms": {
- "additionalProperties": true,
- "properties": {
- "account_required": {
- "type": "boolean"
- },
- "authentic": {
- "type": "boolean"
- },
- "delivery_area": {
- "type": "string"
- },
- "free_delivery": {
- "type": "boolean"
- },
- "minimum_spend": {
- "description": "Integer SGD cents; 1690 means S$16.90.",
- "minimum": 0,
- "type": "integer"
- },
- "return_policy": {
- "additionalProperties": true,
- "properties": {
- "condition": {
- "type": "string"
- },
- "policy_url": {
- "format": "uri",
- "type": "string"
- },
- "summary": {
- "type": "string"
- },
- "window_days": {
- "type": "integer"
- }
- },
- "required": [
- "window_days",
- "condition",
- "summary",
- "policy_url"
- ],
- "type": "object"
- },
- "seller": {
- "type": "string"
- },
- "shipping_cost": {
- "description": "Integer SGD cents; 1690 means S$16.90.",
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "seller",
- "free_delivery",
- "delivery_area",
- "minimum_spend",
- "shipping_cost",
- "return_policy",
- "authentic",
- "account_required"
- ],
- "type": "object"
- },
- "page": {
- "type": "integer"
- },
- "products": {
- "items": {
- "additionalProperties": true,
- "properties": {
- "available": {
- "type": "boolean"
- },
- "brand": {
- "type": [
- "string",
- "null"
- ]
- },
- "category": {
- "anyOf": [
- {
- "additionalProperties": true,
- "properties": {
- "name": {
- "type": "string"
- },
- "path": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "slug": {
- "type": "string"
- }
- },
- "required": [
- "slug",
- "name",
- "path"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "compare_at_price": {
- "anyOf": [
- {
- "description": "Integer SGD cents; 1690 means S$16.90.",
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Integer SGD cents; 1690 means S$16.90."
- },
- "condition": {
- "type": "string"
- },
- "condition_label": {
- "type": "string"
- },
- "currency": {
- "const": "SGD",
- "type": "string"
- },
- "delivery_estimate": {
- "additionalProperties": true,
- "properties": {
- "estimated_delivery_date": {
- "description": "Estimated Singapore delivery date, YYYY-MM-DD; not a guarantee.",
- "type": "string"
- },
- "working_days": {
- "additionalProperties": true,
- "properties": {
- "max": {
- "type": "integer"
- },
- "min": {
- "type": "integer"
- }
- },
- "required": [
- "min",
- "max"
- ],
- "type": "object"
- }
- },
- "required": [
- "working_days",
- "estimated_delivery_date"
- ],
- "type": "object"
- },
- "expiry": {
- "type": [
- "string",
- "null"
- ]
- },
- "fulfilment": {
- "additionalProperties": true,
- "properties": {
- "code": {
- "type": "string"
- },
- "label": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "label"
- ],
- "type": "object"
- },
- "gtin": {
- "type": [
- "string",
- "null"
- ]
- },
- "image": {
- "anyOf": [
- {
- "additionalProperties": true,
- "properties": {
- "alt": {
- "type": [
- "string",
- "null"
- ]
- },
- "height": {
- "anyOf": [
- {
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "mime_type": {
- "description": "MIME type inferred from the stored image URL extension; null when unknown.",
- "type": [
- "string",
- "null"
- ]
- },
- "url": {
- "format": "uri",
- "type": "string"
- },
- "width": {
- "anyOf": [
- {
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "url",
- "alt",
- "width",
- "height",
- "mime_type"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "image_url": {
- "anyOf": [
- {
- "format": "uri",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "max_quantity": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "option_name": {
- "type": "string"
- },
- "product_id": {
- "type": "integer"
- },
- "product_name": {
- "type": "string"
- },
- "sku": {
- "type": "string"
- },
- "slug": {
- "type": "string"
- },
- "stock_source": {
- "type": "string"
- },
- "tanatasa_pick": {
- "type": "boolean"
- },
- "unit_price": {
- "description": "Integer SGD cents; 1690 means S$16.90.",
- "minimum": 0,
- "type": "integer"
- },
- "unit_pricing": {
- "anyOf": [
- {
- "additionalProperties": true,
- "properties": {
- "basis": {
- "enum": [
- "ml",
- "g"
- ],
- "type": "string"
- },
- "per_100": {
- "description": "Integer SGD cents; 1690 means S$16.90.",
- "minimum": 0,
- "type": "integer"
- },
- "per_1000": {
- "description": "Integer SGD cents; 1690 means S$16.90.",
- "minimum": 0,
- "type": "integer"
- },
- "per_1000_label": {
- "type": "string"
- },
- "per_100_label": {
- "type": "string"
- },
- "total_quantity": {
- "type": "number"
- }
- },
- "required": [
- "basis",
- "total_quantity",
- "per_100",
- "per_1000",
- "per_100_label",
- "per_1000_label"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "url": {
- "format": "uri",
- "type": "string"
- },
- "variant_id": {
- "type": "integer"
- }
- },
- "required": [
- "variant_id",
- "product_id",
- "slug",
- "sku",
- "name",
- "option_name",
- "product_name",
- "brand",
- "currency",
- "unit_price",
- "compare_at_price",
- "available",
- "max_quantity",
- "url",
- "image_url",
- "image",
- "gtin",
- "condition",
- "condition_label",
- "expiry",
- "stock_source",
- "fulfilment",
- "tanatasa_pick",
- "unit_pricing",
- "category",
- "delivery_estimate"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "currency",
- "money_unit",
- "generated_at",
- "catalog_observed_at",
- "freshness",
- "offer_terms",
- "products",
- "page",
- "next_page",
- "next_action"
- ],
- "type": "object"
- },
- {
- "additionalProperties": true,
- "properties": {
- "error": {
- "additionalProperties": true,
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ],
- "type": "object"
- }
- },
- "required": [
- "error"
- ],
- "type": "object"
- }
- ],
- "type": "object"
-}New value: +null