changedOutput schema / properties / result / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "data": {
- "additionalProperties": false,
- "properties": {
- "completeness": {
- "enum": [
- "complete",
- "partial",
- "unknown"
- ],
- "type": "string"
- },
- "failures": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "enum": [
- "invalid_data",
- "invalid_input",
- "not_authenticated",
- "upstream_unavailable",
- "not_found",
- "sale_rules_unknown",
- "quantity_below_minimum",
- "cart_change_rejected",
- "cart_change_unconfirmed",
- "cache_unavailable",
- "order_details_unavailable",
- "cancelled",
- "deadline_exceeded",
- "server_closed",
- "queue_full"
- ],
- "type": "string"
- },
- "issues": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": "string"
- },
- "path": {
- "type": "string"
- }
- },
- "required": [
- "path",
- "code"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "message": {
- "minLength": 1,
- "type": "string"
- },
- "retryable": {
- "type": "boolean"
- }
- },
- "required": [
- "code",
- "message",
- "retryable"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "favoritesLoaded": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "nextCursor": {
- "type": [
- "string",
- "null"
- ]
- },
- "products": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "favorite": {
- "type": "boolean"
- },
- "minimumText": {
- "type": [
- "string",
- "null"
- ]
- },
- "name": {
- "maxLength": 250,
- "minLength": 1,
- "type": "string"
- },
- "price": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "currency": {
- "const": "EUR",
- "type": "string"
- },
- "minorUnits": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "currency",
- "minorUnits"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "productId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^\\d+$",
- "type": "string"
- },
- "productSlug": {
- "anyOf": [
- {
- "maxLength": 200,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "similarity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "unitPriceText": {
- "type": [
- "string",
- "null"
- ]
- },
- "url": {
- "format": "uri",
- "type": "string"
- }
- },
- "required": [
- "productId",
- "productSlug",
- "name",
- "price",
- "url",
- "unitPriceText",
- "minimumText",
- "favorite",
- "similarity"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "returned": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "scanned": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "products",
- "scanned",
- "returned",
- "favoritesLoaded",
- "completeness",
- "failures",
- "nextCursor"
- ],
- "type": "object"
- },
- "status": {
- "enum": [
- "success",
- "empty",
- "partial"
- ],
- "type": "string"
- }
- },
- "required": [
- "status",
- "data"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "anyOf": [
- {
- "enum": [
- "invalid_data",
- "invalid_input",
- "not_authenticated",
- "upstream_unavailable",
- "not_found",
- "sale_rules_unknown",
- "quantity_below_minimum",
- "cart_change_rejected",
- "cart_change_unconfirmed",
- "cache_unavailable",
- "order_details_unavailable",
- "cancelled",
- "deadline_exceeded",
- "server_closed",
- "queue_full"
- ],
- "type": "string"
- },
- {
- "enum": [
- "internal_error",
- "invalid_result"
- ],
- "type": "string"
- }
- ]
- },
- "issues": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": "string"
- },
- "path": {
- "type": "string"
- }
- },
- "required": [
- "path",
- "code"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "message": {
- "minLength": 1,
- "type": "string"
- },
- "retryable": {
- "type": "boolean"
- }
- },
- "required": [
- "code",
- "message",
- "retryable"
- ],
- "type": "object"
- },
- "mutation": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "outcome": {
- "const": "not_applied",
- "type": "string"
- }
- },
- "required": [
- "outcome"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "outcome": {
- "const": "unknown",
- "type": "string"
- },
- "recovery": {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "get_cart",
- "type": "string"
- },
- "automaticReplay": {
- "const": false,
- "type": "boolean"
- }
- },
- "required": [
- "action",
- "automaticReplay"
- ],
- "type": "object"
- }
- },
- "required": [
- "outcome",
- "recovery"
- ],
- "type": "object"
- }
- ]
- },
- "status": {
- "const": "error",
- "type": "string"
- }
- },
- "required": [
- "status",
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "additionalProperties": false,
+ "properties": {
+ "completeness": {
+ "enum": [
+ "complete",
+ "partial",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "failures": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "enum": [
+ "invalid_data",
+ "invalid_input",
+ "not_authenticated",
+ "upstream_unavailable",
+ "not_found",
+ "sale_rules_unknown",
+ "quantity_below_minimum",
+ "cart_change_rejected",
+ "cart_change_unconfirmed",
+ "cache_unavailable",
+ "order_details_unavailable",
+ "cancelled",
+ "deadline_exceeded",
+ "server_closed",
+ "queue_full",
+ "browser_unavailable"
+ ],
+ "type": "string"
+ },
+ "issues": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "path": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "path",
+ "code"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "retryable": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "code",
+ "message",
+ "retryable"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "favoritesLoaded": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "nextCursor": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "products": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "favorite": {
+ "type": "boolean"
+ },
+ "minimumText": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "maxLength": 250,
+ "minLength": 1,
+ "type": "string"
+ },
+ "packageText": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "price": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "additionalProperties": false,
+ "properties": {
+ "currency": {
+ "const": "EUR",
+ "type": "string"
+ },
+ "minorUnits": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "currency",
+ "minorUnits"
+ ],
+ "type": "object"
+ },
+ "per": {
+ "enum": [
+ "item",
+ "piece",
+ "kg",
+ "l"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "per"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "productId": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^\\d+$",
+ "type": "string"
+ },
+ "productSlug": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "recommendedPrice": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "additionalProperties": false,
+ "properties": {
+ "currency": {
+ "const": "EUR",
+ "type": "string"
+ },
+ "minorUnits": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "currency",
+ "minorUnits"
+ ],
+ "type": "object"
+ },
+ "per": {
+ "enum": [
+ "item",
+ "piece",
+ "kg",
+ "l"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "per"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "secondaryPrice": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "additionalProperties": false,
+ "properties": {
+ "currency": {
+ "const": "EUR",
+ "type": "string"
+ },
+ "minorUnits": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "currency",
+ "minorUnits"
+ ],
+ "type": "object"
+ },
+ "per": {
+ "enum": [
+ "item",
+ "piece",
+ "kg",
+ "l"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "per"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "url": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "productId",
+ "productSlug",
+ "name",
+ "price",
+ "url",
+ "secondaryPrice",
+ "packageText",
+ "recommendedPrice",
+ "minimumText",
+ "favorite"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "returned": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "scanned": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "products",
+ "scanned",
+ "returned",
+ "favoritesLoaded",
+ "completeness",
+ "failures",
+ "nextCursor"
+ ],
+ "type": "object"
+ },
+ "status": {
+ "enum": [
+ "success",
+ "empty",
+ "partial"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "data"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "anyOf": [
+ {
+ "enum": [
+ "invalid_data",
+ "invalid_input",
+ "not_authenticated",
+ "upstream_unavailable",
+ "not_found",
+ "sale_rules_unknown",
+ "quantity_below_minimum",
+ "cart_change_rejected",
+ "cart_change_unconfirmed",
+ "cache_unavailable",
+ "order_details_unavailable",
+ "cancelled",
+ "deadline_exceeded",
+ "server_closed",
+ "queue_full",
+ "browser_unavailable"
+ ],
+ "type": "string"
+ },
+ {
+ "enum": [
+ "internal_error",
+ "invalid_result"
+ ],
+ "type": "string"
+ }
+ ]
+ },
+ "issues": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "path": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "path",
+ "code"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "retryable": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "code",
+ "message",
+ "retryable"
+ ],
+ "type": "object"
+ },
+ "mutation": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "outcome": {
+ "const": "not_applied",
+ "type": "string"
+ }
+ },
+ "required": [
+ "outcome"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "outcome": {
+ "const": "unknown",
+ "type": "string"
+ },
+ "recovery": {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "get_cart",
+ "type": "string"
+ },
+ "automaticReplay": {
+ "const": false,
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "action",
+ "automaticReplay"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "outcome",
+ "recovery"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "status": {
+ "const": "error",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "error"
+ ],
+ "type": "object"
+ }
+]