removedInput schema / properties / items / items / properties / draft / properties / whatsAppTargets
Removed value: -{
- "items": {
- "additionalProperties": false,
- "properties": {
- "accountPublicId": {
- "maxLength": 128,
- "minLength": 1,
- "type": "string"
- },
- "contactPublicIds": {
- "items": {
- "maxLength": 128,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "type": "array"
- },
- "message": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "body": {
- "maxLength": 4096,
- "type": "string"
- },
- "kind": {
- "const": "text",
- "type": "string"
- },
- "previewUrl": {
- "type": "boolean"
- }
- },
- "required": [
- "body",
- "kind"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "caption": {
- "maxLength": 1024,
- "type": "string"
- },
- "kind": {
- "const": "image",
- "type": "string"
- },
- "mediaId": {
- "maxLength": 32,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "mediaId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "caption": {
- "maxLength": 1024,
- "type": "string"
- },
- "kind": {
- "const": "video",
- "type": "string"
- },
- "mediaId": {
- "maxLength": 32,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "mediaId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "caption": {
- "maxLength": 1024,
- "type": "string"
- },
- "filename": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "document",
- "type": "string"
- },
- "mediaId": {
- "maxLength": 32,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "mediaId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "audio",
- "type": "string"
- },
- "mediaId": {
- "pattern": "^[1-9][0-9]{0,31}$",
- "type": "string"
- },
- "voice": {
- "type": "boolean"
- }
- },
- "required": [
- "kind",
- "mediaId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "sticker",
- "type": "string"
- },
- "mediaId": {
- "pattern": "^[1-9][0-9]{0,31}$",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "mediaId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "components": {
- "items": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "parameters": {
- "items": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "text": {
- "maxLength": 1024,
- "type": "string"
- },
- "type": {
- "const": "text",
- "type": "string"
- }
- },
- "required": [
- "text",
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "mediaId": {
- "maxLength": 32,
- "type": "string"
- },
- "type": {
- "const": "image",
- "type": "string"
- }
- },
- "required": [
- "mediaId",
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "mediaId": {
- "maxLength": 32,
- "type": "string"
- },
- "type": {
- "const": "video",
- "type": "string"
- }
- },
- "required": [
- "mediaId",
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "filename": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "mediaId": {
- "maxLength": 32,
- "type": "string"
- },
- "type": {
- "const": "document",
- "type": "string"
- }
- },
- "required": [
- "mediaId",
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "amount1000": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "code": {
- "pattern": "^[A-Z]{3}$",
- "type": "string"
- },
- "fallback": {
- "maxLength": 64,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "currency",
- "type": "string"
- }
- },
- "required": [
- "amount1000",
- "code",
- "fallback",
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "fallback": {
- "maxLength": 128,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "dateTime",
- "type": "string"
- }
- },
- "required": [
- "fallback",
- "type"
- ],
- "type": "object"
- }
- ]
- },
- "maxItems": 100,
- "type": "array"
- },
- "type": {
- "const": "header",
- "type": "string"
- }
- },
- "required": [
- "parameters",
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "parameters": {
- "items": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "text": {
- "maxLength": 1024,
- "type": "string"
- },
- "type": {
- "const": "text",
- "type": "string"
- }
- },
- "required": [
- "text",
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "mediaId": {
- "maxLength": 32,
- "type": "string"
- },
- "type": {
- "const": "image",
- "type": "string"
- }
- },
- "required": [
- "mediaId",
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "mediaId": {
- "maxLength": 32,
- "type": "string"
- },
- "type": {
- "const": "video",
- "type": "string"
- }
- },
- "required": [
- "mediaId",
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "filename": {
- "maxLength": 240,
- "minLength": 1,
- "type": "string"
- },
- "mediaId": {
- "maxLength": 32,
- "type": "string"
- },
- "type": {
- "const": "document",
- "type": "string"
- }
- },
- "required": [
- "mediaId",
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "amount1000": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "code": {
- "pattern": "^[A-Z]{3}$",
- "type": "string"
- },
- "fallback": {
- "maxLength": 64,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "currency",
- "type": "string"
- }
- },
- "required": [
- "amount1000",
- "code",
- "fallback",
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "fallback": {
- "maxLength": 128,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "dateTime",
- "type": "string"
- }
- },
- "required": [
- "fallback",
- "type"
- ],
- "type": "object"
- }
- ]
- },
- "maxItems": 100,
- "type": "array"
- },
- "type": {
- "const": "body",
- "type": "string"
- }
- },
- "required": [
- "parameters",
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "index": {
- "maximum": 9,
- "minimum": 0,
- "type": "integer"
- },
- "text": {
- "maxLength": 1024,
- "type": "string"
- },
- "type": {
- "const": "urlButton",
- "type": "string"
- }
- },
- "required": [
- "index",
- "text",
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "index": {
- "maximum": 9,
- "minimum": 0,
- "type": "integer"
- },
- "payload": {
- "maxLength": 256,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "quickReply",
- "type": "string"
- }
- },
- "required": [
- "index",
- "payload",
- "type"
- ],
- "type": "object"
- }
- ]
- },
- "maxItems": 12,
- "type": "array"
- },
- "kind": {
- "const": "template",
- "type": "string"
- },
- "language": {
- "maxLength": 20,
- "type": "string"
- },
- "name": {
- "maxLength": 512,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "language",
- "name"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "body": {
- "maxLength": 1024,
- "type": "string"
- },
- "buttons": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "maxLength": 256,
- "type": "string"
- },
- "title": {
- "maxLength": 20,
- "type": "string"
- }
- },
- "required": [
- "id",
- "title"
- ],
- "type": "object"
- },
- "maxItems": 3,
- "type": "array"
- },
- "kind": {
- "const": "buttons",
- "type": "string"
- }
- },
- "required": [
- "body",
- "buttons",
- "kind"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "body": {
- "maxLength": 1024,
- "minLength": 1,
- "type": "string"
- },
- "button": {
- "maxLength": 20,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "list",
- "type": "string"
- },
- "sections": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "rows": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 72,
- "minLength": 1,
- "type": "string"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "title": {
- "maxLength": 24,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "id",
- "title"
- ],
- "type": "object"
- },
- "maxItems": 10,
- "minItems": 1,
- "type": "array"
- },
- "title": {
- "maxLength": 24,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "rows"
- ],
- "type": "object"
- },
- "maxItems": 10,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "body",
- "button",
- "kind",
- "sections"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "body": {
- "maxLength": 1024,
- "type": "string"
- },
- "kind": {
- "const": "urlButton",
- "type": "string"
- },
- "label": {
- "maxLength": 20,
- "type": "string"
- },
- "url": {
- "maxLength": 2048,
- "type": "string"
- }
- },
- "required": [
- "body",
- "kind",
- "label",
- "url"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "body": {
- "maxLength": 1024,
- "minLength": 1,
- "type": "string"
- },
- "cards": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "body": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "label": {
- "maxLength": 20,
- "minLength": 1,
- "type": "string"
- },
- "mediaId": {
- "pattern": "^[1-9][0-9]{0,31}$",
- "type": "string"
- },
- "mediaType": {
- "enum": [
- "image",
- "video"
- ],
- "type": "string"
- },
- "url": {
- "format": "uri",
- "maxLength": 2048,
- "type": "string"
- }
- },
- "required": [
- "label",
- "mediaId",
- "mediaType",
- "url"
- ],
- "type": "object"
- },
- "maxItems": 10,
- "minItems": 2,
- "type": "array"
- },
- "kind": {
- "const": "mediaCarousel",
- "type": "string"
- }
- },
- "required": [
- "body",
- "cards",
- "kind"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "address": {
- "maxLength": 1000,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "location",
- "type": "string"
- },
- "latitude": {
- "anyOf": [
- {
- "maximum": 90,
- "minimum": -90,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "longitude": {
- "anyOf": [
- {
- "maximum": 180,
- "minimum": -180,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "name": {
- "maxLength": 1000,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "latitude",
- "longitude"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "body": {
- "maxLength": 1024,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "locationRequest",
- "type": "string"
- }
- },
- "required": [
- "body",
- "kind"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "contacts": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "emails": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "email": {
- "format": "email",
- "maxLength": 320,
- "pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
- "type": "string"
- },
- "type": {
- "enum": [
- "HOME",
- "WORK"
- ],
- "type": "string"
- }
- },
- "required": [
- "email"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- },
- "name": {
- "additionalProperties": false,
- "properties": {
- "firstName": {
- "maxLength": 128,
- "minLength": 1,
- "type": "string"
- },
- "formattedName": {
- "maxLength": 256,
- "minLength": 1,
- "type": "string"
- },
- "lastName": {
- "maxLength": 128,
- "minLength": 1,
- "type": "string"
- },
- "middleName": {
- "maxLength": 128,
- "minLength": 1,
- "type": "string"
- },
- "prefix": {
- "maxLength": 64,
- "minLength": 1,
- "type": "string"
- },
- "suffix": {
- "maxLength": 64,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "formattedName"
- ],
- "type": "object"
- },
- "organization": {
- "additionalProperties": false,
- "properties": {
- "company": {
- "maxLength": 256,
- "minLength": 1,
- "type": "string"
- },
- "department": {
- "maxLength": 256,
- "minLength": 1,
- "type": "string"
- },
- "title": {
- "maxLength": 256,
- "minLength": 1,
- "type": "string"
- }
- },
- "type": "object"
- },
- "phones": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "phone": {
- "maxLength": 32,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "enum": [
- "CELL",
- "MAIN",
- "IPHONE",
- "HOME",
- "WORK"
- ],
- "type": "string"
- },
- "waId": {
- "maxLength": 32,
- "minLength": 1,
- "type": "string"
- }
- },
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "minItems": 1,
- "type": "array"
- },
- "kind": {
- "const": "contacts",
- "type": "string"
- }
- },
- "required": [
- "contacts",
- "kind"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "body": {
- "maxLength": 1024,
- "minLength": 1,
- "type": "string"
- },
- "button": {
- "maxLength": 30,
- "minLength": 1,
- "type": "string"
- },
- "flowId": {
- "pattern": "^[1-9][0-9]{0,31}$",
- "type": "string"
- },
- "flowToken": {
- "maxLength": 256,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "flow",
- "type": "string"
- },
- "screen": {
- "maxLength": 128,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "body",
- "button",
- "flowId",
- "flowToken",
- "kind"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "body": {
- "maxLength": 1024,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "catalog",
- "type": "string"
- },
- "thumbnailProductId": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "body",
- "kind"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "body": {
- "maxLength": 1024,
- "minLength": 1,
- "type": "string"
- },
- "catalogId": {
- "pattern": "^[1-9][0-9]{0,31}$",
- "type": "string"
- },
- "kind": {
- "const": "product",
- "type": "string"
- },
- "productId": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "catalogId",
- "kind",
- "productId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "body": {
- "maxLength": 1024,
- "minLength": 1,
- "type": "string"
- },
- "catalogId": {
- "pattern": "^[1-9][0-9]{0,31}$",
- "type": "string"
- },
- "header": {
- "maxLength": 60,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "products",
- "type": "string"
- },
- "sections": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "productIds": {
- "items": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 30,
- "minItems": 1,
- "type": "array"
- },
- "title": {
- "maxLength": 24,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "productIds",
- "title"
- ],
- "type": "object"
- },
- "maxItems": 10,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "body",
- "catalogId",
- "header",
- "kind",
- "sections"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "emoji": {
- "maxLength": 16,
- "type": "string"
- },
- "kind": {
- "const": "reaction",
- "type": "string"
- },
- "messageId": {
- "maxLength": 2048,
- "pattern": "^wamid\\.[A-Za-z0-9_+=/-]+$",
- "type": "string"
- }
- },
- "required": [
- "emoji",
- "kind",
- "messageId"
- ],
- "type": "object"
- }
- ]
- },
- "publicId": {
- "maxLength": 128,
- "minLength": 1,
- "type": "string"
- },
- "replyTo": {
- "maxLength": 2048,
- "type": "string"
- }
- },
- "required": [
- "accountPublicId",
- "contactPublicIds",
- "message"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
-}