changedOutput schema / properties / call / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "archived": {
- "type": "boolean"
- },
- "callerNumber": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "captureStatus": {
- "anyOf": [
- {
- "enum": [
- "tool_captured",
- "transcript_recovered",
- "partial",
- "none",
- "unknown"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "category": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "durationSeconds": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "followUpDismissedAt": {
- "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))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "intake": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "answers": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "answer": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "question": {
- "type": "string"
- },
- "questionId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "status": {
- "enum": [
- "answered",
- "declined",
- "not_collected"
- ],
- "type": "string"
- }
- },
- "required": [
- "questionId",
- "question",
- "answer",
- "status"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "contextualDetails": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "type": "string"
- },
- "value": {
- "type": "string"
- }
- },
- "required": [
- "label",
- "value"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "recordedAt": {
- "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"
- }
- ]
- },
- "scenario": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "scenario",
- "answers",
- "contextualDetails",
- "recordedAt"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "linkedRequestIds": {
- "items": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "type": "array"
- },
- "needsReply": {
- "type": "boolean"
- },
- "occurredAt": {
- "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"
- },
- "primaryRequest": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "priority": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "category": {
- "enum": [
- "active_damage",
- "blocked_access",
- "safety_concern",
- "essential_service_disruption",
- "routine_timing",
- "none",
- "unknown"
- ],
- "type": "string"
- },
- "confidence": {
- "enum": [
- "high",
- "low"
- ],
- "type": "string"
- },
- "evidenceStatus": {
- "enum": [
- "caller_grounded",
- "unverified"
- ],
- "type": "string"
- },
- "followUpRequested": {
- "type": "boolean"
- },
- "level": {
- "enum": [
- "urgent",
- "routine",
- "unknown"
- ],
- "type": "string"
- },
- "reason": {
- "maxLength": 300,
- "type": "string"
- },
- "temporalStatus": {
- "enum": [
- "current",
- "past",
- "hypothetical",
- "resolved",
- "unknown"
- ],
- "type": "string"
- },
- "uncertainty": {
- "maxLength": 300,
- "type": "string"
- }
- },
- "required": [
- "level",
- "category",
- "temporalStatus",
- "followUpRequested",
- "confidence",
- "reason",
- "uncertainty",
- "evidenceStatus"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "recoverySmsStatus": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "requestCaptureStatus": {
- "anyOf": [
- {
- "enum": [
- "not_applicable",
- "pending",
- "pending_address",
- "created",
- "incomplete",
- "failed"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "summary": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "unread": {
- "type": "boolean"
- },
- "url": {
- "format": "uri",
- "type": "string"
- }
- },
- "required": [
- "id",
- "occurredAt",
- "durationSeconds",
- "category",
- "summary",
- "primaryRequest",
- "callerNumber",
- "unread",
- "archived",
- "needsReply",
- "followUpDismissedAt",
- "recoverySmsStatus",
- "captureStatus",
- "requestCaptureStatus",
- "intake",
- "priority",
- "linkedRequestIds",
- "url"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "archived": {
+ "type": "boolean"
+ },
+ "callerNumber": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "captureStatus": {
+ "anyOf": [
+ {
+ "enum": [
+ "tool_captured",
+ "transcript_recovered",
+ "partial",
+ "none",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "category": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "durationSeconds": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "followUpDismissedAt": {
+ "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))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "intake": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "answers": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "answer": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "applicabilityReason": {
+ "maxLength": 240,
+ "type": "string"
+ },
+ "question": {
+ "type": "string"
+ },
+ "questionId": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "answered",
+ "declined",
+ "not_collected",
+ "not_applicable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "questionId",
+ "question",
+ "answer",
+ "status"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "contextualDetails": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "value"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "recordedAt": {
+ "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"
+ }
+ ]
+ },
+ "scenario": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "scenario",
+ "answers",
+ "contextualDetails",
+ "recordedAt"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "linkedRequestIds": {
+ "items": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "needsReply": {
+ "type": "boolean"
+ },
+ "occurredAt": {
+ "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"
+ },
+ "primaryRequest": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "priority": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "category": {
+ "enum": [
+ "active_damage",
+ "blocked_access",
+ "safety_concern",
+ "essential_service_disruption",
+ "routine_timing",
+ "none",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "confidence": {
+ "enum": [
+ "high",
+ "low"
+ ],
+ "type": "string"
+ },
+ "evidenceStatus": {
+ "enum": [
+ "caller_grounded",
+ "unverified"
+ ],
+ "type": "string"
+ },
+ "followUpRequested": {
+ "type": "boolean"
+ },
+ "level": {
+ "enum": [
+ "urgent",
+ "routine",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "reason": {
+ "maxLength": 300,
+ "type": "string"
+ },
+ "temporalStatus": {
+ "enum": [
+ "current",
+ "past",
+ "hypothetical",
+ "resolved",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "uncertainty": {
+ "maxLength": 300,
+ "type": "string"
+ }
+ },
+ "required": [
+ "level",
+ "category",
+ "temporalStatus",
+ "followUpRequested",
+ "confidence",
+ "reason",
+ "uncertainty",
+ "evidenceStatus"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "recoverySmsStatus": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "requestCaptureStatus": {
+ "anyOf": [
+ {
+ "enum": [
+ "not_applicable",
+ "pending",
+ "pending_address",
+ "created",
+ "incomplete",
+ "failed"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "summary": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "unread": {
+ "type": "boolean"
+ },
+ "url": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "occurredAt",
+ "durationSeconds",
+ "category",
+ "summary",
+ "primaryRequest",
+ "callerNumber",
+ "unread",
+ "archived",
+ "needsReply",
+ "followUpDismissedAt",
+ "recoverySmsStatus",
+ "captureStatus",
+ "requestCaptureStatus",
+ "intake",
+ "priority",
+ "linkedRequestIds",
+ "url"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]