changedOutput schema / properties / comparison / items / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "found": {
- "const": false,
- "type": "boolean"
- },
- "sku": {
- "type": "string"
- }
- },
- "required": [
- "sku",
- "found"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "brand": {
- "type": [
- "string",
- "null"
- ]
- },
- "express_eligible": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "found": {
- "const": true,
- "type": "boolean"
- },
- "in_stock": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "price": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "bulk_prices": {
- "description": "Lower unit prices from min_quantity up.",
- "items": {
- "additionalProperties": false,
- "properties": {
- "ex_vat": {
- "type": "number"
- },
- "inc_vat": {
- "type": "number"
- },
- "min_quantity": {
- "type": "number"
- }
- },
- "required": [
- "min_quantity",
- "ex_vat",
- "inc_vat"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "currency": {
- "type": "string"
- },
- "ex_vat": {
- "type": "number"
- },
- "inc_vat": {
- "type": "number"
- },
- "on_sale": {
- "type": "boolean"
- },
- "vat_rate": {
- "description": "VAT rate in percent (20 = 20%). null when unknown: ex_vat then equals inc_vat.",
- "type": [
- "number",
- "null"
- ]
- },
- "was_ex_vat": {
- "type": "number"
- },
- "was_inc_vat": {
- "description": "Price before the sale; only when on_sale.",
- "type": "number"
- }
- },
- "required": [
- "currency",
- "ex_vat",
- "inc_vat",
- "on_sale",
- "vat_rate"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "sku": {
- "type": "string"
- },
- "specifications": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "stock_level": {
- "type": "number"
- },
- "summary": {
- "type": [
- "string",
- "null"
- ]
- },
- "url": {
- "type": [
- "string",
- "null"
- ]
- },
- "weight_kg": {
- "type": [
- "number",
- "null"
- ]
- }
- },
- "required": [
- "sku",
- "found",
- "name",
- "brand",
- "url",
- "price",
- "in_stock",
- "stock_level",
- "weight_kg",
- "express_eligible",
- "specifications",
- "summary"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "found": {
+ "const": false,
+ "type": "boolean"
+ },
+ "sku": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "sku",
+ "found"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "brand": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "express_eligible": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "found": {
+ "const": true,
+ "type": "boolean"
+ },
+ "in_stock": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "price": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "bulk_prices": {
+ "description": "Lower unit prices from min_quantity up.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "ex_vat": {
+ "type": "number"
+ },
+ "inc_vat": {
+ "type": "number"
+ },
+ "min_quantity": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "min_quantity",
+ "ex_vat",
+ "inc_vat"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "currency": {
+ "type": "string"
+ },
+ "ex_vat": {
+ "type": "number"
+ },
+ "inc_vat": {
+ "type": "number"
+ },
+ "on_sale": {
+ "type": "boolean"
+ },
+ "vat_rate": {
+ "description": "VAT rate in percent (20 = 20%). null when unknown: ex_vat then equals inc_vat.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "was_ex_vat": {
+ "type": "number"
+ },
+ "was_inc_vat": {
+ "description": "Price before the sale; only when on_sale.",
+ "type": "number"
+ }
+ },
+ "required": [
+ "currency",
+ "ex_vat",
+ "inc_vat",
+ "on_sale",
+ "vat_rate"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sku": {
+ "type": "string"
+ },
+ "specifications": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "stock_level": {
+ "type": "number"
+ },
+ "summary": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "weight_kg": {
+ "description": "Shipping weight in kg (packed), not net weight.",
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "sku",
+ "found",
+ "name",
+ "brand",
+ "url",
+ "price",
+ "in_stock",
+ "stock_level",
+ "weight_kg",
+ "express_eligible",
+ "specifications",
+ "summary"
+ ],
+ "type": "object"
+ }
+]