changedInput schema / properties / post / anyOf
Previous value: -[
- {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "accountId": {
- "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"
- },
- "caption": {
- "maxLength": 2200,
- "type": "string"
- },
- "collaborators": {
- "items": {
- "type": "string"
- },
- "maxItems": 3,
- "type": "array"
- },
- "image": {
- "additionalProperties": false,
- "properties": {
- "altText": {
- "maxLength": 1000,
- "type": "string"
- },
- "base64": {
- "minLength": 1,
- "type": "string"
- },
- "contentType": {
- "enum": [
- "image/jpeg",
- "image/png",
- "image/webp"
- ],
- "type": "string"
- },
- "userTags": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "username": {
- "type": "string"
- },
- "x": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "y": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "username",
- "x",
- "y"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- }
- },
- "required": [
- "contentType",
- "base64"
- ],
- "type": "object"
- },
- "isAiGenerated": {
- "type": "boolean"
- },
- "platform": {
- "const": "instagram",
- "type": "string"
- },
- "profileId": {
- "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"
- }
- },
- "required": [
- "platform",
- "accountId",
- "image"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "accountId": {
- "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"
- },
- "caption": {
- "maxLength": 2200,
- "type": "string"
- },
- "collaborators": {
- "items": {
- "type": "string"
- },
- "maxItems": 3,
- "type": "array"
- },
- "images": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "altText": {
- "maxLength": 1000,
- "type": "string"
- },
- "base64": {
- "minLength": 1,
- "type": "string"
- },
- "contentType": {
- "enum": [
- "image/jpeg",
- "image/png",
- "image/webp"
- ],
- "type": "string"
- },
- "userTags": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "username": {
- "type": "string"
- },
- "x": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "y": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "username",
- "x",
- "y"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- }
- },
- "required": [
- "contentType",
- "base64"
- ],
- "type": "object"
- },
- "maxItems": 10,
- "minItems": 2,
- "type": "array"
- },
- "isAiGenerated": {
- "type": "boolean"
- },
- "platform": {
- "const": "instagram",
- "type": "string"
- },
- "profileId": {
- "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"
- }
- },
- "required": [
- "platform",
- "accountId",
- "images"
- ],
- "type": "object"
- }
- ]
- },
- {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "accountId": {
- "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"
- },
- "image": {
- "additionalProperties": false,
- "properties": {
- "base64": {
- "maxLength": 5592408,
- "minLength": 4,
- "type": "string"
- },
- "contentType": {
- "enum": [
- "image/jpeg",
- "image/png",
- "image/webp"
- ],
- "type": "string"
- }
- },
- "required": [
- "contentType",
- "base64"
- ],
- "type": "object"
- },
- "message": {
- "maxLength": 2200,
- "type": "string"
- },
- "platform": {
- "const": "facebook",
- "type": "string"
- },
- "profileId": {
- "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"
- }
- },
- "required": [
- "platform",
- "accountId",
- "image"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "accountId": {
- "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"
- },
- "images": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "base64": {
- "maxLength": 5592408,
- "minLength": 4,
- "type": "string"
- },
- "contentType": {
- "enum": [
- "image/jpeg",
- "image/png",
- "image/webp"
- ],
- "type": "string"
- }
- },
- "required": [
- "contentType",
- "base64"
- ],
- "type": "object"
- },
- "maxItems": 10,
- "minItems": 2,
- "type": "array"
- },
- "message": {
- "maxLength": 2200,
- "type": "string"
- },
- "platform": {
- "const": "facebook",
- "type": "string"
- },
- "profileId": {
- "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"
- }
- },
- "required": [
- "platform",
- "accountId",
- "images"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "accountId": {
- "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"
- },
- "message": {
- "maxLength": 2200,
- "type": "string"
- },
- "platform": {
- "const": "facebook",
- "type": "string"
- },
- "profileId": {
- "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"
- },
- "reel": {
- "additionalProperties": false,
- "properties": {
- "base64": {
- "maxLength": 89478488,
- "minLength": 4,
- "type": "string"
- },
- "contentType": {
- "enum": [
- "video/mp4",
- "video/quicktime",
- "video/webm"
- ],
- "type": "string"
- }
- },
- "required": [
- "contentType",
- "base64"
- ],
- "type": "object"
- }
- },
- "required": [
- "platform",
- "accountId",
- "reel"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "accountId": {
- "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"
- },
- "message": {
- "maxLength": 2200,
- "type": "string"
- },
- "platform": {
- "const": "facebook",
- "type": "string"
- },
- "profileId": {
- "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"
- },
- "title": {
- "maxLength": 255,
- "type": "string"
- },
- "video": {
- "additionalProperties": false,
- "properties": {
- "base64": {
- "maxLength": 89478488,
- "minLength": 4,
- "type": "string"
- },
- "contentType": {
- "enum": [
- "video/mp4",
- "video/quicktime",
- "video/webm"
- ],
- "type": "string"
- }
- },
- "required": [
- "contentType",
- "base64"
- ],
- "type": "object"
- }
- },
- "required": [
- "platform",
- "accountId",
- "video"
- ],
- "type": "object"
- }
- ]
- },
- {
- "additionalProperties": false,
- "properties": {
- "accountId": {
- "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"
- },
- "add_to_queue": {
- "not": {}
- },
- "async_upload": {
- "not": {}
- },
- "auto_add_music": {
- "default": false,
- "type": "boolean"
- },
- "brand_content_toggle": {
- "default": false,
- "type": "boolean"
- },
- "brand_organic_toggle": {
- "default": false,
- "type": "boolean"
- },
- "cover_timestamp": {
- "default": 1000,
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "disable_comment": {
- "default": false,
- "type": "boolean"
- },
- "disable_duet": {
- "default": false,
- "type": "boolean"
- },
- "disable_stitch": {
- "default": false,
- "type": "boolean"
- },
- "is_aigc": {
- "default": false,
- "type": "boolean"
- },
- "music_usage_confirmed": {
- "const": true,
- "type": "boolean"
- },
- "photo_cover_index": {
- "default": 0,
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "photos": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "base64": {
- "maxLength": 27962040,
- "minLength": 4,
- "type": "string"
- },
- "content_type": {
- "enum": [
- "image/jpeg",
- "image/png",
- "image/webp"
- ],
- "type": "string"
- }
- },
- "required": [
- "content_type",
- "base64"
- ],
- "type": "object"
- },
- "maxItems": 35,
- "minItems": 1,
- "type": "array"
- },
- "platform": {
- "const": "tiktok",
- "type": "string"
- },
- "post_mode": {
- "default": "DIRECT_POST",
- "enum": [
- "DIRECT_POST",
- "MEDIA_UPLOAD"
- ],
- "type": "string"
- },
- "privacy_level": {
- "enum": [
- "PUBLIC_TO_EVERYONE",
- "MUTUAL_FOLLOW_FRIENDS",
- "FOLLOWER_OF_CREATOR",
- "SELF_ONLY"
- ],
- "type": "string"
- },
- "profileId": {
- "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"
- },
- "scheduled_date": {
- "not": {}
- },
- "tiktok_description": {
- "maxLength": 4000,
- "type": "string"
- },
- "tiktok_title": {
- "maxLength": 2200,
- "type": "string"
- },
- "video": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "base64": {
- "maxLength": 89478488,
- "minLength": 4,
- "type": "string"
- },
- "content_type": {
- "const": "video/mp4",
- "type": "string"
- }
- },
- "required": [
- "content_type",
- "base64"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "url": {
- "format": "uri",
- "type": "string"
- }
- },
- "required": [
- "url"
- ],
- "type": "object"
- }
- ]
- }
- },
- "required": [
- "platform",
- "accountId",
- "music_usage_confirmed"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "accountId": {
- "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"
- },
- "category_id": {
- "pattern": "^\\d+$",
- "type": "string"
- },
- "contains_synthetic_media": {
- "type": "boolean"
- },
- "description": {
- "type": "string"
- },
- "made_for_kids": {
- "type": "boolean"
- },
- "notify_subscribers": {
- "type": "boolean"
- },
- "platform": {
- "const": "youtube",
- "type": "string"
- },
- "privacy_status": {
- "enum": [
- "public",
- "unlisted",
- "private"
- ],
- "type": "string"
- },
- "profileId": {
- "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"
- },
- "publish_at": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "tags": {
- "items": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "type": "array"
- },
- "title": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "video": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "url": {
- "format": "uri",
- "type": "string"
- }
- },
- "required": [
- "url"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "base64": {
- "maxLength": 89478488,
- "minLength": 4,
- "type": "string"
- },
- "content_type": {
- "enum": [
- "video/mp4",
- "video/quicktime",
- "video/webm"
- ],
- "type": "string"
- }
- },
- "required": [
- "content_type",
- "base64"
- ],
- "type": "object"
- }
- ]
- }
- },
- "required": [
- "platform",
- "accountId",
- "title",
- "privacy_status",
- "made_for_kids",
- "video"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "accountId": {
+ "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"
+ },
+ "caption": {
+ "maxLength": 2200,
+ "type": "string"
+ },
+ "collaborators": {
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "image": {
+ "additionalProperties": false,
+ "properties": {
+ "altText": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "base64": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "contentType": {
+ "enum": [
+ "image/jpeg",
+ "image/png",
+ "image/webp"
+ ],
+ "type": "string"
+ },
+ "userTags": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "username": {
+ "type": "string"
+ },
+ "x": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "y": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "username",
+ "x",
+ "y"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ }
+ },
+ "required": [
+ "contentType",
+ "base64"
+ ],
+ "type": "object"
+ },
+ "isAiGenerated": {
+ "type": "boolean"
+ },
+ "platform": {
+ "const": "instagram",
+ "type": "string"
+ },
+ "profileId": {
+ "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"
+ }
+ },
+ "required": [
+ "platform",
+ "accountId",
+ "image"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "accountId": {
+ "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"
+ },
+ "caption": {
+ "maxLength": 2200,
+ "type": "string"
+ },
+ "collaborators": {
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "images": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "altText": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "base64": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "contentType": {
+ "enum": [
+ "image/jpeg",
+ "image/png",
+ "image/webp"
+ ],
+ "type": "string"
+ },
+ "userTags": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "username": {
+ "type": "string"
+ },
+ "x": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "y": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "username",
+ "x",
+ "y"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ }
+ },
+ "required": [
+ "contentType",
+ "base64"
+ ],
+ "type": "object"
+ },
+ "maxItems": 10,
+ "minItems": 2,
+ "type": "array"
+ },
+ "isAiGenerated": {
+ "type": "boolean"
+ },
+ "platform": {
+ "const": "instagram",
+ "type": "string"
+ },
+ "profileId": {
+ "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"
+ }
+ },
+ "required": [
+ "platform",
+ "accountId",
+ "images"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "accountId": {
+ "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"
+ },
+ "image": {
+ "additionalProperties": false,
+ "properties": {
+ "base64": {
+ "maxLength": 5592408,
+ "minLength": 4,
+ "type": "string"
+ },
+ "contentType": {
+ "enum": [
+ "image/jpeg",
+ "image/png",
+ "image/webp"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "contentType",
+ "base64"
+ ],
+ "type": "object"
+ },
+ "message": {
+ "maxLength": 2200,
+ "type": "string"
+ },
+ "platform": {
+ "const": "facebook",
+ "type": "string"
+ },
+ "profileId": {
+ "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"
+ }
+ },
+ "required": [
+ "platform",
+ "accountId",
+ "image"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "accountId": {
+ "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"
+ },
+ "images": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "base64": {
+ "maxLength": 5592408,
+ "minLength": 4,
+ "type": "string"
+ },
+ "contentType": {
+ "enum": [
+ "image/jpeg",
+ "image/png",
+ "image/webp"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "contentType",
+ "base64"
+ ],
+ "type": "object"
+ },
+ "maxItems": 10,
+ "minItems": 2,
+ "type": "array"
+ },
+ "message": {
+ "maxLength": 2200,
+ "type": "string"
+ },
+ "platform": {
+ "const": "facebook",
+ "type": "string"
+ },
+ "profileId": {
+ "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"
+ }
+ },
+ "required": [
+ "platform",
+ "accountId",
+ "images"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "accountId": {
+ "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"
+ },
+ "message": {
+ "maxLength": 2200,
+ "type": "string"
+ },
+ "platform": {
+ "const": "facebook",
+ "type": "string"
+ },
+ "profileId": {
+ "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"
+ },
+ "reel": {
+ "additionalProperties": false,
+ "properties": {
+ "base64": {
+ "maxLength": 89478488,
+ "minLength": 4,
+ "type": "string"
+ },
+ "contentType": {
+ "enum": [
+ "video/mp4",
+ "video/quicktime",
+ "video/webm"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "contentType",
+ "base64"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "platform",
+ "accountId",
+ "reel"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "accountId": {
+ "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"
+ },
+ "message": {
+ "maxLength": 2200,
+ "type": "string"
+ },
+ "platform": {
+ "const": "facebook",
+ "type": "string"
+ },
+ "profileId": {
+ "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"
+ },
+ "title": {
+ "maxLength": 255,
+ "type": "string"
+ },
+ "video": {
+ "additionalProperties": false,
+ "properties": {
+ "base64": {
+ "maxLength": 89478488,
+ "minLength": 4,
+ "type": "string"
+ },
+ "contentType": {
+ "enum": [
+ "video/mp4",
+ "video/quicktime",
+ "video/webm"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "contentType",
+ "base64"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "platform",
+ "accountId",
+ "video"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "accountId": {
+ "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"
+ },
+ "add_to_queue": {
+ "not": {}
+ },
+ "async_upload": {
+ "not": {}
+ },
+ "auto_add_music": {
+ "default": false,
+ "type": "boolean"
+ },
+ "brand_content_toggle": {
+ "default": false,
+ "type": "boolean"
+ },
+ "brand_organic_toggle": {
+ "default": false,
+ "type": "boolean"
+ },
+ "cover_timestamp": {
+ "default": 1000,
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "disable_comment": {
+ "default": false,
+ "type": "boolean"
+ },
+ "disable_duet": {
+ "default": false,
+ "type": "boolean"
+ },
+ "disable_stitch": {
+ "default": false,
+ "type": "boolean"
+ },
+ "is_aigc": {
+ "default": false,
+ "type": "boolean"
+ },
+ "music_usage_confirmed": {
+ "const": true,
+ "type": "boolean"
+ },
+ "photo_cover_index": {
+ "default": 0,
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "photos": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "base64": {
+ "maxLength": 27962040,
+ "minLength": 4,
+ "type": "string"
+ },
+ "content_type": {
+ "enum": [
+ "image/jpeg",
+ "image/png",
+ "image/webp"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "content_type",
+ "base64"
+ ],
+ "type": "object"
+ },
+ "maxItems": 35,
+ "minItems": 1,
+ "type": "array"
+ },
+ "platform": {
+ "const": "tiktok",
+ "type": "string"
+ },
+ "post_mode": {
+ "default": "DIRECT_POST",
+ "enum": [
+ "DIRECT_POST",
+ "MEDIA_UPLOAD"
+ ],
+ "type": "string"
+ },
+ "privacy_level": {
+ "enum": [
+ "PUBLIC_TO_EVERYONE",
+ "MUTUAL_FOLLOW_FRIENDS",
+ "FOLLOWER_OF_CREATOR",
+ "SELF_ONLY"
+ ],
+ "type": "string"
+ },
+ "profileId": {
+ "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"
+ },
+ "scheduled_date": {
+ "not": {}
+ },
+ "tiktok_description": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "tiktok_title": {
+ "maxLength": 2200,
+ "type": "string"
+ },
+ "video": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "base64": {
+ "maxLength": 89478488,
+ "minLength": 4,
+ "type": "string"
+ },
+ "content_type": {
+ "const": "video/mp4",
+ "type": "string"
+ }
+ },
+ "required": [
+ "content_type",
+ "base64"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "url": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "url"
+ ],
+ "type": "object"
+ }
+ ]
+ }
+ },
+ "required": [
+ "platform",
+ "accountId",
+ "music_usage_confirmed"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "accountId": {
+ "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"
+ },
+ "category_id": {
+ "pattern": "^\\d+$",
+ "type": "string"
+ },
+ "contains_synthetic_media": {
+ "type": "boolean"
+ },
+ "description": {
+ "type": "string"
+ },
+ "made_for_kids": {
+ "type": "boolean"
+ },
+ "notify_subscribers": {
+ "type": "boolean"
+ },
+ "platform": {
+ "const": "youtube",
+ "type": "string"
+ },
+ "privacy_status": {
+ "enum": [
+ "public",
+ "unlisted",
+ "private"
+ ],
+ "type": "string"
+ },
+ "profileId": {
+ "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"
+ },
+ "publish_at": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "tags": {
+ "items": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "title": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "video": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "url": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "url"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "base64": {
+ "maxLength": 89478488,
+ "minLength": 4,
+ "type": "string"
+ },
+ "content_type": {
+ "enum": [
+ "video/mp4",
+ "video/quicktime",
+ "video/webm"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "content_type",
+ "base64"
+ ],
+ "type": "object"
+ }
+ ]
+ }
+ },
+ "required": [
+ "platform",
+ "accountId",
+ "title",
+ "privacy_status",
+ "made_for_kids",
+ "video"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "accountId": {
+ "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"
+ },
+ "media": {
+ "items": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "base64": {
+ "maxLength": 89478488,
+ "minLength": 4,
+ "type": "string"
+ },
+ "content_type": {
+ "enum": [
+ "image/jpeg",
+ "image/png",
+ "image/webp",
+ "image/gif",
+ "video/mp4"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "content_type",
+ "base64"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "url": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "url"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "platform": {
+ "const": "x",
+ "type": "string"
+ },
+ "profileId": {
+ "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"
+ },
+ "text": {
+ "maxLength": 25000,
+ "type": "string"
+ },
+ "thread": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "media": {
+ "items": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "base64": {
+ "maxLength": 89478488,
+ "minLength": 4,
+ "type": "string"
+ },
+ "content_type": {
+ "enum": [
+ "image/jpeg",
+ "image/png",
+ "image/webp",
+ "image/gif",
+ "video/mp4"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "content_type",
+ "base64"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "url": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "url"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "text": {
+ "maxLength": 25000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "text"
+ ],
+ "type": "object"
+ },
+ "maxItems": 24,
+ "type": "array"
+ }
+ },
+ "required": [
+ "platform",
+ "accountId",
+ "text"
+ ],
+ "type": "object"
+ }
+]