changedInput schema / properties / activity / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "bodyText": {
- "maxLength": 20000,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "note",
- "type": "string"
- },
- "occurredAt": {
- "format": "date-time",
- "type": "string"
- },
- "participants": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "contactId": {
- "format": "uuid",
- "type": "string"
- },
- "role": {
- "default": "related",
- "enum": [
- "related",
- "sender",
- "recipient",
- "cc"
- ],
- "type": "string"
- }
- },
- "required": [
- "contactId"
- ],
- "type": "object"
- },
- "maxItems": 50,
- "minItems": 1,
- "type": "array"
- },
- "requestId": {
- "$ref": "#/properties/activity/anyOf/0/properties/participants/items/properties/contactId"
- },
- "title": {
- "maxLength": 256,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "occurredAt",
- "participants",
- "kind",
- "requestId",
- "bodyText"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "externalSource": {
- "additionalProperties": false,
- "properties": {
- "accountRef": {
- "maxLength": 256,
- "minLength": 1,
- "type": "string"
- },
- "itemId": {
- "maxLength": 512,
- "minLength": 1,
- "type": "string"
- },
- "provider": {
- "pattern": "^[a-zA-Z0-9_-]{1,40}$",
- "type": "string"
- }
- },
- "required": [
- "provider",
- "accountRef",
- "itemId"
- ],
- "type": "object"
- },
- "kind": {
- "const": "email",
- "type": "string"
- },
- "occurredAt": {
- "$ref": "#/properties/activity/anyOf/0/properties/occurredAt"
- },
- "participants": {
- "$ref": "#/properties/activity/anyOf/0/properties/participants"
- },
- "requestId": {
- "$ref": "#/properties/activity/anyOf/0/properties/participants/items/properties/contactId"
- },
- "summary": {
- "maxLength": 20000,
- "minLength": 1,
- "type": "string"
- },
- "title": {
- "$ref": "#/properties/activity/anyOf/0/properties/title"
- }
- },
- "required": [
- "occurredAt",
- "participants",
- "summary",
- "kind"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "externalSource": {
- "$ref": "#/properties/activity/anyOf/1/properties/externalSource"
- },
- "kind": {
- "const": "business_card",
- "type": "string"
- },
- "occurredAt": {
- "$ref": "#/properties/activity/anyOf/0/properties/occurredAt"
- },
- "participants": {
- "$ref": "#/properties/activity/anyOf/0/properties/participants"
- },
- "requestId": {
- "$ref": "#/properties/activity/anyOf/1/properties/requestId"
- },
- "summary": {
- "$ref": "#/properties/activity/anyOf/1/properties/summary"
- },
- "title": {
- "$ref": "#/properties/activity/anyOf/0/properties/title"
- }
- },
- "required": [
- "occurredAt",
- "participants",
- "summary",
- "kind"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "bodyText": {
+ "maxLength": 20000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "note",
+ "type": "string"
+ },
+ "occurredAt": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "participants": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "contactId": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "role": {
+ "default": "related",
+ "enum": [
+ "related",
+ "sender",
+ "recipient",
+ "cc"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "contactId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "minItems": 1,
+ "type": "array"
+ },
+ "requestId": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 256,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "occurredAt",
+ "participants",
+ "kind",
+ "requestId",
+ "bodyText"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "externalSource": {
+ "additionalProperties": false,
+ "properties": {
+ "accountRef": {
+ "maxLength": 256,
+ "minLength": 1,
+ "type": "string"
+ },
+ "itemId": {
+ "maxLength": 512,
+ "minLength": 1,
+ "type": "string"
+ },
+ "provider": {
+ "pattern": "^[a-zA-Z0-9_-]{1,40}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "provider",
+ "accountRef",
+ "itemId"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "email",
+ "type": "string"
+ },
+ "occurredAt": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "participants": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "contactId": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "role": {
+ "default": "related",
+ "enum": [
+ "related",
+ "sender",
+ "recipient",
+ "cc"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "contactId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "minItems": 1,
+ "type": "array"
+ },
+ "requestId": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "summary": {
+ "maxLength": 20000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 256,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "occurredAt",
+ "participants",
+ "summary",
+ "kind"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "externalSource": {
+ "additionalProperties": false,
+ "properties": {
+ "accountRef": {
+ "maxLength": 256,
+ "minLength": 1,
+ "type": "string"
+ },
+ "itemId": {
+ "maxLength": 512,
+ "minLength": 1,
+ "type": "string"
+ },
+ "provider": {
+ "pattern": "^[a-zA-Z0-9_-]{1,40}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "provider",
+ "accountRef",
+ "itemId"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "business_card",
+ "type": "string"
+ },
+ "occurredAt": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "participants": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "contactId": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "role": {
+ "default": "related",
+ "enum": [
+ "related",
+ "sender",
+ "recipient",
+ "cc"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "contactId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "minItems": 1,
+ "type": "array"
+ },
+ "requestId": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "summary": {
+ "maxLength": 20000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 256,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "occurredAt",
+ "participants",
+ "summary",
+ "kind"
+ ],
+ "type": "object"
+ }
+]