changedOutput schema / properties / result / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "data": {
- "additionalProperties": false,
- "properties": {
- "authentication": {
- "additionalProperties": false,
- "properties": {
- "checkedAt": {
- "anyOf": [
- {
- "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "state": {
- "enum": [
- "authenticated",
- "unauthenticated",
- "unknown"
- ],
- "type": "string"
- }
- },
- "required": [
- "state",
- "checkedAt"
- ],
- "type": "object"
- },
- "browser": {
- "enum": [
- "closed",
- "starting",
- "ready",
- "unknown"
- ],
- "type": "string"
- },
- "credentials": {
- "additionalProperties": false,
- "properties": {
- "hasEmail": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "hasPassword": {
- "type": [
- "boolean",
- "null"
- ]
- }
- },
- "required": [
- "hasEmail",
- "hasPassword"
- ],
- "type": "object"
- },
- "favorites": {
- "additionalProperties": false,
- "properties": {
- "empty": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "expiresAt": {
- "anyOf": [
- {
- "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "fetchedAt": {
- "anyOf": [
- {
- "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "state": {
- "enum": [
- "missing",
- "fresh",
- "stale",
- "unavailable"
- ],
- "type": "string"
- }
- },
- "required": [
- "state",
- "fetchedAt",
- "expiresAt",
- "empty"
- ],
- "type": "object"
- },
- "savedCookies": {
- "enum": [
- "available",
- "missing",
- "unavailable",
- "unknown"
- ],
- "type": "string"
- }
- },
- "required": [
- "browser",
- "credentials",
- "savedCookies",
- "authentication",
- "favorites"
- ],
- "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": {
+ "authentication": {
+ "additionalProperties": false,
+ "properties": {
+ "checkedAt": {
+ "anyOf": [
+ {
+ "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "state": {
+ "enum": [
+ "authenticated",
+ "unauthenticated",
+ "unknown"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "state",
+ "checkedAt"
+ ],
+ "type": "object"
+ },
+ "browser": {
+ "enum": [
+ "closed",
+ "starting",
+ "ready",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "credentials": {
+ "additionalProperties": false,
+ "properties": {
+ "hasEmail": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "hasPassword": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "hasEmail",
+ "hasPassword"
+ ],
+ "type": "object"
+ },
+ "favorites": {
+ "additionalProperties": false,
+ "properties": {
+ "empty": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "expiresAt": {
+ "anyOf": [
+ {
+ "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "fetchedAt": {
+ "anyOf": [
+ {
+ "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "state": {
+ "enum": [
+ "missing",
+ "fresh",
+ "stale",
+ "unavailable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "state",
+ "fetchedAt",
+ "expiresAt",
+ "empty"
+ ],
+ "type": "object"
+ },
+ "savedCookies": {
+ "enum": [
+ "available",
+ "missing",
+ "unavailable",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "update": {
+ "additionalProperties": false,
+ "properties": {
+ "available": {
+ "type": "boolean"
+ },
+ "currentVersion": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "latestVersion": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "currentVersion",
+ "latestVersion",
+ "available"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "browser",
+ "credentials",
+ "savedCookies",
+ "authentication",
+ "favorites",
+ "update"
+ ],
+ "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"
+ }
+]