changedOutput schema / properties / products / items / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "type": "null"
- },
- "product": {
- "additionalProperties": false,
- "properties": {
- "attributes": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "name": {
- "pattern": "\\S",
- "type": "string"
- },
- "value": {
- "pattern": "\\S",
- "type": "string"
- }
- },
- "required": [
- "name",
- "value"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "availability": {
- "anyOf": [
- {
- "additionalProperties": {},
- "properties": {
- "availableStoresCount": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "deliveryAvailability": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "availability": {
- "type": [
- "string",
- "null"
- ]
- },
- "text": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "isFreeDelivery": {
- "type": "boolean"
- },
- "storeAvailability": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "availability": {
- "type": [
- "string",
- "null"
- ]
- },
- "text": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "brand": {
- "type": [
- "string",
- "null"
- ]
- },
- "can_buy": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "catalogue_number": {
- "type": [
- "string",
- "null"
- ]
- },
- "checked_at": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
- "type": "string"
- },
- "ean": {
- "type": [
- "string",
- "null"
- ]
- },
- "market": {
- "enum": [
- "SK",
- "CZ",
- "PL"
- ],
- "type": "string"
- },
- "name": {
- "minLength": 1,
- "type": "string"
- },
- "price": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "anyOf": [
- {
- "pattern": "^\\d+(?:\\.\\d+)?$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "context": {
- "const": "public_online",
- "type": "string"
- },
- "currency": {
- "enum": [
- "EUR",
- "CZK",
- "PLN"
- ],
- "type": "string"
- },
- "lowest_amount": {
- "anyOf": [
- {
- "pattern": "^\\d+(?:\\.\\d+)?$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "original_amount": {
- "anyOf": [
- {
- "pattern": "^\\d+(?:\\.\\d+)?$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "original_unit_price": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "pattern": "^\\d+(?:\\.\\d+)?$",
- "type": "string"
- },
- "unit": {
- "pattern": "\\S",
- "type": "string"
- },
- "unit_size": {
- "pattern": "^(?=.*[1-9])\\d+(?:\\.\\d+)?$",
- "type": "string"
- }
- },
- "required": [
- "amount",
- "unit_size",
- "unit"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "sale_percentage": {},
- "unit_price": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "pattern": "^\\d+(?:\\.\\d+)?$",
- "type": "string"
- },
- "unit": {
- "pattern": "\\S",
- "type": "string"
- },
- "unit_size": {
- "pattern": "^(?=.*[1-9])\\d+(?:\\.\\d+)?$",
- "type": "string"
- }
- },
- "required": [
- "amount",
- "unit_size",
- "unit"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "variant": {
- "type": [
- "string",
- "null"
- ]
- },
- "voucher_campaign": {}
- },
- "required": [
- "amount",
- "currency",
- "context",
- "variant",
- "original_amount",
- "lowest_amount",
- "unit_price",
- "original_unit_price",
- "sale_percentage",
- "voucher_campaign"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "product_id": {
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,99}$",
- "type": "string"
- },
- "rating": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "count": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "value": {
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "value",
- "count"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "source": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "variants": {
- "items": {
- "additionalProperties": {},
- "properties": {
- "variantName": {
- "type": "string"
- },
- "variants": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "alias": {
- "type": "string"
- },
- "id": {
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,99}$",
- "type": "string"
- },
- "isActive": {
- "type": "boolean"
- },
- "isDisabled": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "alias",
- "isActive",
- "isDisabled"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "variantName",
- "variants"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "source",
- "market",
- "checked_at",
- "product_id",
- "name",
- "url",
- "ean",
- "catalogue_number",
- "brand",
- "can_buy",
- "rating",
- "attributes",
- "price",
- "variants",
- "availability"
- ],
- "type": "object"
- },
- "product_id": {
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,99}$",
- "type": "string"
- }
- },
- "required": [
- "product_id",
- "product",
- "error"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "enum": [
- "not_found",
- "rate_limited",
- "upstream_unavailable",
- "invalid_response",
- "timeout",
- "cancelled",
- "overloaded",
- "internal_error"
- ],
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "retryable": {
- "type": "boolean"
- }
- },
- "required": [
- "code",
- "message",
- "retryable"
- ],
- "type": "object"
- },
- "product": {
- "type": "null"
- },
- "product_id": {
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,99}$",
- "type": "string"
- }
- },
- "required": [
- "product_id",
- "product",
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "type": "null"
+ },
+ "product": {
+ "additionalProperties": false,
+ "properties": {
+ "attributes": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "value": {
+ "pattern": "\\S",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "value"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "availability": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "availableStoresCount": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "deliveryAvailability": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "availability": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "text": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "isFreeDelivery": {
+ "type": "boolean"
+ },
+ "storeAvailability": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "availability": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "text": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "brand": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "can_buy": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "catalogue_number": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "checked_at": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
+ "type": "string"
+ },
+ "ean": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "market": {
+ "enum": [
+ "SK",
+ "CZ",
+ "PL"
+ ],
+ "type": "string"
+ },
+ "name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "price": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "anyOf": [
+ {
+ "pattern": "^\\d+(?:\\.\\d+)?$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "context": {
+ "const": "public_online",
+ "type": "string"
+ },
+ "currency": {
+ "enum": [
+ "EUR",
+ "CZK",
+ "PLN"
+ ],
+ "type": "string"
+ },
+ "lowest_amount": {
+ "anyOf": [
+ {
+ "pattern": "^\\d+(?:\\.\\d+)?$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "original_amount": {
+ "anyOf": [
+ {
+ "pattern": "^\\d+(?:\\.\\d+)?$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "original_unit_price": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "pattern": "^\\d+(?:\\.\\d+)?$",
+ "type": "string"
+ },
+ "unit": {
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "unit_size": {
+ "pattern": "^(?=.*[1-9])\\d+(?:\\.\\d+)?$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "unit_size",
+ "unit"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "requires_membership": {
+ "description": "Whether this price requires Super zoo Family membership. Null means unknown.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "sale_percentage": {},
+ "unit_price": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "pattern": "^\\d+(?:\\.\\d+)?$",
+ "type": "string"
+ },
+ "unit": {
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "unit_size": {
+ "pattern": "^(?=.*[1-9])\\d+(?:\\.\\d+)?$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "unit_size",
+ "unit"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "variant": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "voucher_campaign": {}
+ },
+ "required": [
+ "amount",
+ "currency",
+ "context",
+ "variant",
+ "requires_membership",
+ "original_amount",
+ "lowest_amount",
+ "unit_price",
+ "original_unit_price",
+ "sale_percentage",
+ "voucher_campaign"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "product_id": {
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,99}$",
+ "type": "string"
+ },
+ "rating": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "count": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "value": {
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "value",
+ "count"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "source": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "variants": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "variantName": {
+ "type": "string"
+ },
+ "variants": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "alias": {
+ "type": "string"
+ },
+ "id": {
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,99}$",
+ "type": "string"
+ },
+ "isActive": {
+ "type": "boolean"
+ },
+ "isDisabled": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "alias",
+ "isActive",
+ "isDisabled"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "variantName",
+ "variants"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "source",
+ "market",
+ "checked_at",
+ "product_id",
+ "name",
+ "url",
+ "ean",
+ "catalogue_number",
+ "brand",
+ "can_buy",
+ "rating",
+ "attributes",
+ "price",
+ "variants",
+ "availability"
+ ],
+ "type": "object"
+ },
+ "product_id": {
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,99}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "product_id",
+ "product",
+ "error"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "enum": [
+ "invalid_input",
+ "not_found",
+ "rate_limited",
+ "upstream_unavailable",
+ "invalid_response",
+ "timeout",
+ "cancelled",
+ "overloaded",
+ "internal_error"
+ ],
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "retryable": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "code",
+ "message",
+ "retryable"
+ ],
+ "type": "object"
+ },
+ "product": {
+ "type": "null"
+ },
+ "product_id": {
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,99}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "product_id",
+ "product",
+ "error"
+ ],
+ "type": "object"
+ }
+]