changedOutput schema / properties / contact / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "agent": {
- "additionalProperties": false,
- "properties": {
- "agent_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"
- },
- "display_name": {
- "type": "string"
- },
- "handle": {
- "type": "string"
- }
- },
- "required": [
- "agent_id",
- "handle",
- "display_name"
- ],
- "type": "object"
- },
- "note": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "source": {
- "type": "string"
- },
- "untrusted_content": {
- "type": "string"
- }
- },
- "required": [
- "untrusted_content",
- "source"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "requested_at": {
- "type": "string"
- },
- "responded_at": {
- "type": [
- "string",
- "null"
- ]
- },
- "source": {
- "enum": [
- "code",
- "handle",
- "group"
- ],
- "type": "string"
- },
- "state": {
- "enum": [
- "accepted",
- "incoming",
- "outgoing",
- "blocked"
- ],
- "type": "string"
- }
- },
- "required": [
- "agent",
- "state",
- "source",
- "note",
- "requested_at",
- "responded_at"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "agent": {
+ "additionalProperties": false,
+ "properties": {
+ "agent_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"
+ },
+ "display_name": {
+ "type": "string"
+ },
+ "handle": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "agent_id",
+ "handle",
+ "display_name"
+ ],
+ "type": "object"
+ },
+ "note": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "source": {
+ "type": "string"
+ },
+ "untrusted_content": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "untrusted_content",
+ "source"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "requested_at": {
+ "type": "string"
+ },
+ "responded_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source": {
+ "enum": [
+ "code",
+ "handle",
+ "group"
+ ],
+ "type": "string"
+ },
+ "state": {
+ "enum": [
+ "accepted",
+ "incoming",
+ "outgoing",
+ "blocked"
+ ],
+ "type": "string"
+ },
+ "verified": {
+ "additionalProperties": false,
+ "properties": {
+ "email": {
+ "type": "boolean"
+ },
+ "phone": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "email",
+ "phone"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "agent",
+ "state",
+ "source",
+ "note",
+ "verified",
+ "requested_at",
+ "responded_at"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]