changedInput schema / properties / payload / properties / platformSpecificData / anyOf
Previous value: -[
- {
- "properties": {
- "blockDisplayForNonTargetedViewer": {
- "type": "boolean"
- },
- "contextCard": {
- "properties": {
- "buttonText": {
- "type": "string"
- },
- "content": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "coverPhoto": {
- "type": "string"
- },
- "style": {
- "enum": [
- "LIST_STYLE",
- "PARAGRAPH_STYLE"
- ],
- "type": "string"
- },
- "title": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "followUpActionUrl": {
- "type": "string"
- },
- "isOptimizedForQuality": {
- "type": "boolean"
- },
- "isPhoneSmsVerifyEnabled": {
- "type": "boolean"
- },
- "locale": {
- "type": "string"
- },
- "privacyPolicyLinkText": {
- "maxLength": 70,
- "type": "string"
- },
- "questionPageCustomHeadline": {
- "type": "string"
- },
- "questions": {
- "items": {
- "properties": {
- "inline_context": {
- "type": "string"
- },
- "key": {
- "description": "CUSTOM questions only.",
- "type": "string"
- },
- "label": {
- "description": "CUSTOM questions only.",
- "type": "string"
- },
- "options": {
- "items": {
- "properties": {
- "key": {
- "type": "string"
- },
- "value": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "type": {
- "description": "EMAIL, PHONE, FULL_NAME, FIRST_NAME, LAST_NAME, CUSTOM, …",
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- "minItems": 1,
- "type": "array"
- },
- "thankYouBody": {
- "type": "string"
- },
- "thankYouButtonText": {
- "type": "string"
- },
- "thankYouButtonType": {
- "type": "string"
- },
- "thankYouEnableMessenger": {
- "type": "boolean"
- },
- "thankYouTitle": {
- "type": "string"
- },
- "thankYouWebsiteUrl": {
- "type": "string"
- }
- },
- "required": [
- "questions"
- ],
- "type": "object"
- },
- {
- "properties": {
- "adAccountId": {
- "description": "LinkedIn ad account id (resolves the owning organization).",
- "type": "string"
- },
- "consents": {
- "items": {
- "properties": {
- "description": {
- "type": "string"
- },
- "required": {
- "type": "boolean"
- }
- },
- "required": [
- "description"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "description": {
- "maxLength": 1500,
- "type": "string"
- },
- "headline": {
- "maxLength": 255,
- "type": "string"
- },
- "locale": {
- "properties": {
- "country": {
- "type": "string"
- },
- "language": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "questions": {
- "items": {
- "anyOf": [
- {
- "properties": {
- "kind": {
- "const": "text",
- "type": "string"
- },
- "maxResponseLength": {
- "description": "Defaults to 300 on LinkedIn's side.",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "question": {
- "type": "string"
- },
- "required": {
- "type": "boolean"
- },
- "responseEditable": {
- "type": "boolean"
- }
- },
- "required": [
- "kind",
- "name",
- "question"
- ],
- "type": "object"
- },
- {
- "properties": {
- "choices": {
- "items": {
- "properties": {
- "id": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "text"
- ],
- "type": "object"
- },
- "minItems": 1,
- "type": "array"
- },
- "kind": {
- "const": "multipleChoice",
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "question": {
- "type": "string"
- },
- "required": {
- "type": "boolean"
- },
- "responseEditable": {
- "type": "boolean"
- }
- },
- "required": [
- "kind",
- "name",
- "question",
- "choices"
- ],
- "type": "object"
- }
- ]
- },
- "minItems": 1,
- "type": "array"
- },
- "state": {
- "description": "Defaults to DRAFT.",
- "enum": [
- "DRAFT",
- "PUBLISHED"
- ],
- "type": "string"
- }
- },
- "required": [
- "adAccountId",
- "headline",
- "description",
- "questions"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "blockDisplayForNonTargetedViewer": {
+ "type": "boolean"
+ },
+ "contextCard": {
+ "properties": {
+ "buttonText": {
+ "type": "string"
+ },
+ "content": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "coverPhoto": {
+ "type": "string"
+ },
+ "style": {
+ "enum": [
+ "LIST_STYLE",
+ "PARAGRAPH_STYLE"
+ ],
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "followUpActionUrl": {
+ "type": "string"
+ },
+ "isOptimizedForQuality": {
+ "type": "boolean"
+ },
+ "isPhoneSmsVerifyEnabled": {
+ "type": "boolean"
+ },
+ "locale": {
+ "type": "string"
+ },
+ "privacyPolicyLinkText": {
+ "maxLength": 70,
+ "type": "string"
+ },
+ "questionPageCustomHeadline": {
+ "type": "string"
+ },
+ "questions": {
+ "items": {
+ "$ref": "#/definitions/s1"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "thankYouBody": {
+ "type": "string"
+ },
+ "thankYouButtonText": {
+ "type": "string"
+ },
+ "thankYouButtonType": {
+ "type": "string"
+ },
+ "thankYouEnableMessenger": {
+ "type": "boolean"
+ },
+ "thankYouTitle": {
+ "type": "string"
+ },
+ "thankYouWebsiteUrl": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "questions"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "adAccountId": {
+ "type": "string"
+ },
+ "consents": {
+ "items": {
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "required": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "description"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "description": {
+ "maxLength": 1500,
+ "type": "string"
+ },
+ "headline": {
+ "maxLength": 255,
+ "type": "string"
+ },
+ "locale": {
+ "properties": {
+ "country": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "questions": {
+ "items": {
+ "anyOf": [
+ {
+ "properties": {
+ "kind": {
+ "const": "text",
+ "type": "string"
+ },
+ "maxResponseLength": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "question": {
+ "type": "string"
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "responseEditable": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "kind",
+ "name",
+ "question"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "choices": {
+ "items": {
+ "properties": {
+ "id": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "text"
+ ],
+ "type": "object"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "kind": {
+ "const": "multipleChoice",
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "question": {
+ "type": "string"
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "responseEditable": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "kind",
+ "name",
+ "question",
+ "choices"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "state": {
+ "enum": [
+ "DRAFT",
+ "PUBLISHED"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "adAccountId",
+ "headline",
+ "description",
+ "questions"
+ ],
+ "type": "object"
+ }
+]