addedInput schema / allOf
Added value: +[
+ {
+ "if": {
+ "properties": {
+ "action": {
+ "const": "report_advice_response"
+ }
+ },
+ "required": [
+ "action"
+ ]
+ },
+ "then": {
+ "properties": {
+ "body": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": false,
+ "properties": {
+ "confirmation": {
+ "const": "SAVE_RESPONSE",
+ "type": "string"
+ },
+ "expectedRevision": {
+ "maximum": 999999999,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "input": {
+ "additionalProperties": false,
+ "properties": {
+ "claimedDecisionAt": {
+ "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"
+ }
+ ]
+ },
+ "claimedViewedAt": {
+ "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"
+ }
+ ]
+ },
+ "decision": {
+ "enum": [
+ "unknown",
+ "followed",
+ "modified",
+ "rejected"
+ ],
+ "type": "string"
+ },
+ "exposure": {
+ "enum": [
+ "unknown",
+ "unseen",
+ "viewed"
+ ],
+ "type": "string"
+ },
+ "modifiedTicketId": {
+ "anyOf": [
+ {
+ "format": "uuid",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "exposure",
+ "decision",
+ "claimedViewedAt",
+ "claimedDecisionAt",
+ "modifiedTicketId"
+ ],
+ "type": "object"
+ },
+ "reportDigest": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "reportId": {
+ "format": "uuid",
+ "type": "string"
+ }
+ },
+ "required": [
+ "reportId",
+ "reportDigest",
+ "expectedRevision",
+ "confirmation",
+ "input"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "commandKey",
+ "body"
+ ]
+ }
+ }
+]
changedInput schema / properties / action / enum
Previous value: -[
- "save_manual",
- "set_currency",
- "save_link",
- "recall_save"
-]New value: +[
+ "report_advice_response",
+ "save_manual",
+ "set_currency",
+ "save_link",
+ "recall_save"
+]