changedInput schema / properties / operations / items / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "authorAccountId": {
- "type": "string"
- },
- "body": {
- "minLength": 1,
- "type": "string"
- },
- "clientOperationId": {
- "type": "string"
- },
- "generator": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "force": {
- "type": "boolean"
- },
- "keyword": {
- "maxLength": 20,
- "minLength": 2,
- "type": "string"
- },
- "niche": {
- "maxLength": 80,
- "type": "string"
- },
- "resource": {
- "maxLength": 120,
- "minLength": 3,
- "type": "string"
- },
- "type": {
- "const": "lead_magnet",
- "type": "string"
- },
- "watermarkEnabled": {
- "description": "Use relevant stored workspace buyer evidence. Defaults on when evidence is relevant; false removes the added writing bias. Drafting never launches paid research or adds probe questions.",
- "type": "boolean"
- }
- },
- "required": [
- "type",
- "resource"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "force": {
- "type": "boolean"
- },
- "slug": {
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "search_console_demand",
- "type": "string"
- },
- "watermarkEnabled": {
- "description": "Use relevant stored workspace buyer evidence. Defaults on when evidence is relevant; false removes the added writing bias. Drafting never launches paid research or adds probe questions.",
- "type": "boolean"
- }
- },
- "required": [
- "type",
- "slug"
- ],
- "type": "object"
- }
- ]
- },
- "kind": {
- "const": "post",
- "default": "post",
- "type": "string"
- },
- "mediaIds": {
- "default": [],
- "items": {
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 25,
- "type": "array"
- },
- "op": {
- "const": "create",
- "type": "string"
- },
- "platform": {
- "default": "linkedin",
- "enum": [
- "linkedin"
- ],
- "type": "string"
- },
- "postType": {
- "enum": [
- "text",
- "image",
- "video",
- "document"
- ],
- "type": "string"
- },
- "tags": {
- "items": {
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 25,
- "type": "array"
- }
- },
- "required": [
- "op"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "clientOperationId": {
- "type": "string"
- },
- "contentId": {
- "minLength": 1,
- "type": "string"
- },
- "op": {
- "const": "update",
- "type": "string"
- },
- "patch": {
- "additionalProperties": false,
- "properties": {
- "body": {
- "minLength": 1,
- "type": "string"
- },
- "mediaIds": {
- "items": {
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 25,
- "type": "array"
- },
- "postType": {
- "enum": [
- "text",
- "image",
- "video",
- "document"
- ],
- "type": "string"
- },
- "tags": {
- "items": {
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 25,
- "type": "array"
- }
- },
- "type": "object"
- }
- },
- "required": [
- "op",
- "contentId",
- "patch"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "clientOperationId": {
- "type": "string"
- },
- "copyFromId": {
- "minLength": 1,
- "type": "string"
- },
- "op": {
- "const": "copy",
- "type": "string"
- }
- },
- "required": [
- "op",
- "copyFromId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "autoSchedule": {
- "type": "boolean"
- },
- "clientOperationId": {
- "type": "string"
- },
- "contentId": {
- "minLength": 1,
- "type": "string"
- },
- "desiredState": {
- "enum": [
- "pending_approval",
- "scheduled",
- "approved",
- "rejected",
- "draft",
- "retry_draft"
- ],
- "type": "string"
- },
- "op": {
- "const": "state",
- "type": "string"
- },
- "reason": {
- "minLength": 1,
- "type": "string"
- },
- "scheduledAt": {
- "exclusiveMinimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "op",
- "contentId",
- "desiredState"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "authorAccountId": {
+ "description": "Author account (LinkedIn account ID). Omit it to default to the workspace's only LinkedIn account that is ready; with several, the error lists them (id and name) so you can ask the person which one.",
+ "type": "string"
+ },
+ "body": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "clientOperationId": {
+ "type": "string"
+ },
+ "generator": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "force": {
+ "type": "boolean"
+ },
+ "keyword": {
+ "maxLength": 20,
+ "minLength": 2,
+ "type": "string"
+ },
+ "niche": {
+ "maxLength": 80,
+ "type": "string"
+ },
+ "resource": {
+ "maxLength": 120,
+ "minLength": 3,
+ "type": "string"
+ },
+ "type": {
+ "const": "lead_magnet",
+ "type": "string"
+ },
+ "watermarkEnabled": {
+ "description": "Use relevant stored workspace buyer evidence. Defaults on when evidence is relevant; false removes the added writing bias. Drafting never launches paid research or adds probe questions.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "type",
+ "resource"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "force": {
+ "type": "boolean"
+ },
+ "slug": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "search_console_demand",
+ "type": "string"
+ },
+ "watermarkEnabled": {
+ "description": "Use relevant stored workspace buyer evidence. Defaults on when evidence is relevant; false removes the added writing bias. Drafting never launches paid research or adds probe questions.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "type",
+ "slug"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "kind": {
+ "const": "post",
+ "default": "post",
+ "type": "string"
+ },
+ "mediaIds": {
+ "default": [],
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 25,
+ "type": "array"
+ },
+ "op": {
+ "const": "create",
+ "type": "string"
+ },
+ "platform": {
+ "default": "linkedin",
+ "enum": [
+ "linkedin"
+ ],
+ "type": "string"
+ },
+ "postType": {
+ "enum": [
+ "text",
+ "image",
+ "video",
+ "document"
+ ],
+ "type": "string"
+ },
+ "tags": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 25,
+ "type": "array"
+ }
+ },
+ "required": [
+ "op"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "clientOperationId": {
+ "type": "string"
+ },
+ "contentId": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "op": {
+ "const": "update",
+ "type": "string"
+ },
+ "patch": {
+ "additionalProperties": false,
+ "properties": {
+ "body": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "mediaIds": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 25,
+ "type": "array"
+ },
+ "postType": {
+ "enum": [
+ "text",
+ "image",
+ "video",
+ "document"
+ ],
+ "type": "string"
+ },
+ "tags": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 25,
+ "type": "array"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "op",
+ "contentId",
+ "patch"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "clientOperationId": {
+ "type": "string"
+ },
+ "copyFromId": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "op": {
+ "const": "copy",
+ "type": "string"
+ }
+ },
+ "required": [
+ "op",
+ "copyFromId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "autoSchedule": {
+ "type": "boolean"
+ },
+ "clientOperationId": {
+ "type": "string"
+ },
+ "contentId": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "desiredState": {
+ "enum": [
+ "pending_approval",
+ "scheduled",
+ "approved",
+ "rejected",
+ "draft",
+ "retry_draft"
+ ],
+ "type": "string"
+ },
+ "op": {
+ "const": "state",
+ "type": "string"
+ },
+ "reason": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "scheduledAt": {
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "op",
+ "contentId",
+ "desiredState"
+ ],
+ "type": "object"
+ }
+]