changedOutput schema / (root)
Previous value: -{
- "anyOf": [
- {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "additionalProperties": true,
- "properties": {
- "cart_id": {
- "type": "string"
- },
- "guest_token": {
- "type": "string"
- },
- "lines": {
- "items": {
- "additionalProperties": true,
- "properties": {
- "quantity": {
- "type": "integer"
- },
- "variant_id": {
- "type": "integer"
- }
- },
- "required": [
- "variant_id",
- "quantity"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "next_action": {
- "type": "string"
- },
- "quote": {
- "anyOf": [
- {
- "additionalProperties": true,
- "properties": {
- "buyer_summary": {
- "type": "string"
- },
- "cart_id": {
- "type": "string"
- },
- "checkout_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "coupon_code": {
- "type": [
- "string",
- "null"
- ]
- },
- "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"
- },
- "discount": {
- "description": "Integer SGD cents; 1690 means S$16.90.",
- "minimum": 0,
- "type": "integer"
- },
- "discounts": {
- "items": {
- "additionalProperties": true,
- "properties": {
- "amount": {
- "description": "Integer SGD cents; 1690 means S$16.90.",
- "minimum": 0,
- "type": "integer"
- },
- "code": {
- "type": "string"
- },
- "description": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "amount",
- "description"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "free_delivery": {
- "const": true,
- "type": "boolean"
- },
- "lines": {
- "items": {
- "additionalProperties": true,
- "properties": {
- "available": {
- "type": "boolean"
- },
- "brand": {
- "type": [
- "string",
- "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_working_days": {
- "type": "integer"
- },
- "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"
- }
- ]
- },
- "line_total": {
- "description": "Integer SGD cents; 1690 means S$16.90.",
- "minimum": 0,
- "type": "integer"
- },
- "max_quantity": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "option_name": {
- "type": "string"
- },
- "product_id": {
- "type": "integer"
- },
- "product_name": {
- "type": "string"
- },
- "quantity": {
- "type": "integer"
- },
- "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",
- "quantity",
- "line_total",
- "delivery_working_days"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "money_unit": {
- "const": "cents",
- "type": "string"
- },
- "next_action": {
- "type": "string"
- },
- "quoted_at": {
- "format": "date-time",
- "type": "string"
- },
- "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"
- },
- "shipping": {
- "description": "Integer SGD cents; 1690 means S$16.90.",
- "minimum": 0,
- "type": "integer"
- },
- "stock_reserved": {
- "const": false,
- "type": "boolean"
- },
- "subtotal": {
- "description": "Integer SGD cents; 1690 means S$16.90.",
- "minimum": 0,
- "type": "integer"
- },
- "total": {
- "description": "Integer SGD cents; 1690 means S$16.90.",
- "minimum": 0,
- "type": "integer"
- },
- "version": {
- "type": "integer"
- }
- },
- "required": [
- "currency",
- "money_unit",
- "cart_id",
- "version",
- "lines",
- "coupon_code",
- "discounts",
- "subtotal",
- "discount",
- "shipping",
- "free_delivery",
- "total",
- "checkout_id",
- "stock_reserved",
- "quoted_at",
- "delivery_estimate",
- "return_policy",
- "buyer_summary",
- "next_action"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "version": {
- "type": "integer"
- }
- },
- "required": [
- "cart_id",
- "version",
- "lines",
- "quote",
- "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