{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/shortgenius-com/json-schema/shortgenius-com-series-schema.json",
  "title": "Series",
  "description": "Public series information.",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/shortgenius-com-openapi.yaml#/components/schemas/Series",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "Unique ID of the series."
    },
    "created_at": {
      "type": "string",
      "description": "Date and time (ISO 8601) when the series was created."
    },
    "updated_at": {
      "type": [
        "string",
        "null"
      ],
      "description": "Date and time (ISO 8601) when the series was last updated."
    },
    "next_posting_at": {
      "type": [
        "string",
        "null"
      ],
      "description": "Date and time (ISO 8601) when the next video will be posted."
    },
    "type": {
      "type": "string",
      "enum": [
        "SingleVideo",
        "Series"
      ],
      "description": "Type of the series (e.g., automatically generated)."
    },
    "schedule": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "time_zone": {
          "type": "string",
          "enum": [
            "Pacific/Pago_Pago",
            "America/Adak",
            "Pacific/Honolulu",
            "Pacific/Marquesas",
            "America/Anchorage",
            "America/Tijuana",
            "America/Los_Angeles",
            "America/Phoenix",
            "America/Denver",
            "America/Guatemala",
            "America/Chicago",
            "America/Chihuahua",
            "Pacific/Easter",
            "America/Mexico_City",
            "America/Regina",
            "America/Bogota",
            "America/Cancun",
            "America/New_York",
            "America/Port-au-Prince",
            "America/Havana",
            "America/Fort_Wayne",
            "America/Asuncion",
            "America/Halifax",
            "America/Caracas",
            "America/Cuiaba",
            "America/La_Paz",
            "America/Santiago",
            "America/Grand_Turk",
            "America/St_Johns",
            "America/Araguaina",
            "America/Sao_Paulo",
            "America/Cayenne",
            "America/Argentina/Buenos_Aires",
            "America/Godthab",
            "America/Montevideo",
            "America/Miquelon",
            "America/Bahia",
            "America/Noronha",
            "Atlantic/Azores",
            "Atlantic/Cape_Verde",
            "Europe/London",
            "Africa/Abidjan",
            "Europe/Berlin",
            "Europe/Belgrade",
            "Europe/Brussels",
            "Africa/Lagos",
            "Africa/Casablanca",
            "Africa/Windhoek",
            "Europe/Bucharest",
            "Asia/Beirut",
            "Africa/Cairo",
            "Asia/Damascus",
            "Asia/Gaza",
            "Africa/Maputo",
            "Europe/Kiev",
            "Asia/Jerusalem",
            "Europe/Kaliningrad",
            "Africa/Tripoli",
            "Asia/Amman",
            "Asia/Baghdad",
            "Europe/Istanbul",
            "Asia/Riyadh",
            "Europe/Minsk",
            "Europe/Moscow",
            "Africa/Nairobi",
            "Asia/Tehran",
            "Asia/Dubai",
            "Europe/Volgograd",
            "Asia/Baku",
            "Europe/Samara",
            "Indian/Mauritius",
            "Asia/Tbilisi",
            "Asia/Yerevan",
            "Asia/Kabul",
            "Asia/Tashkent",
            "Asia/Yekaterinburg",
            "Asia/Karachi",
            "Asia/Almaty",
            "Asia/Kolkata",
            "Asia/Colombo",
            "Asia/Kathmandu",
            "Asia/Dhaka",
            "Asia/Rangoon",
            "Asia/Novosibirsk",
            "Asia/Bangkok",
            "Asia/Barnaul",
            "Asia/Hovd",
            "Asia/Krasnoyarsk",
            "Asia/Tomsk",
            "Asia/Shanghai",
            "Asia/Irkutsk",
            "Asia/Kuala_Lumpur",
            "Australia/Perth",
            "Asia/Taipei",
            "Asia/Ulaanbaatar",
            "Asia/Pyongyang",
            "Australia/Eucla",
            "Asia/Chita",
            "Asia/Tokyo",
            "Asia/Seoul",
            "Asia/Yakutsk",
            "Australia/Adelaide",
            "Australia/Darwin",
            "Australia/Brisbane",
            "Australia/Sydney",
            "Pacific/Port_Moresby",
            "Australia/Hobart",
            "Asia/Vladivostok",
            "Australia/Lord_Howe",
            "Pacific/Bougainville",
            "Asia/Srednekolymsk",
            "Asia/Magadan",
            "Pacific/Norfolk",
            "Asia/Sakhalin",
            "Pacific/Noumea",
            "Asia/Anadyr",
            "Pacific/Auckland",
            "Pacific/Fiji",
            "Pacific/Chatham",
            "Pacific/Tongatapu",
            "Pacific/Apia",
            "Pacific/Kiritimati"
          ]
        },
        "times": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "day_of_week": {
                "type": "number"
              },
              "time_of_day": {
                "type": "number"
              }
            },
            "required": [
              "day_of_week",
              "time_of_day"
            ]
          }
        }
      },
      "required": [
        "time_zone",
        "times"
      ],
      "description": "The publishing schedule for the video series."
    },
    "content_type": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "Custom",
        "News",
        "Quiz",
        "History",
        "Scary",
        "Motivational",
        "Bedtime",
        "FunFacts",
        "LifeTips",
        "ELI5",
        "Philosophy",
        "Blog",
        "Ad",
        null
      ],
      "description": "Indicates the type of content in this series."
    },
    "name": {
      "type": [
        "string",
        "null"
      ],
      "description": "User-friendly name for the series."
    },
    "aspect_ratio": {
      "type": "string",
      "enum": [
        556,
        969,
        61
      ],
      "description": "Aspect ratio of the series videos."
    },
    "soundtrack_behavior": {
      "type": "string",
      "enum": [
        "MutedAfter60s",
        "FullMusic",
        "NoMusic"
      ],
      "description": "Behavior of the soundtrack."
    },
    "prompt": {
      "type": [
        "string",
        "null"
      ],
      "description": "A custom topic for the series."
    },
    "tiktok_settings": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "disable_duet": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "disable_stitch": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "disable_comment": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "privacy_level": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "PUBLIC_TO_EVERYONE",
            "FOLLOWER_OF_CREATOR",
            "MUTUAL_FOLLOW_FRIENDS",
            "SELF_ONLY",
            null
          ]
        },
        "disclose_video_content": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "brand_content_toggle": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "brand_organic_toggle": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "consent_to_use": {
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "description": "Settings for the TikTok platform."
    },
    "youtube_settings": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "privacy_level": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "public",
            "unlisted",
            "private",
            null
          ]
        },
        "self_declared_made_for_kids": {
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "description": "Settings for the YouTube platform."
    },
    "x_settings": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "post_as_a_thread": {
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "description": "Settings for the X/Twitter platform."
    },
    "locale": {
      "type": "string",
      "enum": [
        "af-ZA",
        "id-ID",
        "ms-MY",
        "ca-ES",
        "cs-CZ",
        "da-DK",
        "de-DE",
        "en-US",
        "es-ES",
        "es-419",
        "fr-CA",
        "fr-FR",
        "hr-HR",
        "it-IT",
        "hu-HU",
        "nl-NL",
        "no-NO",
        "pl-PL",
        "pt-BR",
        "pt-PT",
        "ro-RO",
        "sk-SK",
        "fi-FI",
        "sv-SE",
        "vi-VN",
        "tr-TR",
        "el-GR",
        "ru-RU",
        "sr-SP",
        "uk-UA",
        "hy-AM",
        "he-IL",
        "ur-PK",
        "ar-SA",
        "hi-IN",
        "th-TH",
        "ko-KR",
        "ja-JP",
        "zh-CN",
        "zh-TW"
      ],
      "description": "Locale of the video series."
    },
    "soundtrack": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "tracks": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique ID of the soundtrack."
              },
              "url": {
                "type": "string",
                "description": "URL of the soundtrack."
              }
            },
            "required": [
              "url"
            ]
          },
          "description": "Soundtracks for the series."
        },
        "recommendations": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique ID of the recommended soundtrack."
              },
              "url": {
                "type": "string",
                "description": "URL of the recommended soundtrack."
              },
              "reason": {
                "type": "string",
                "description": "Reason for the recommended soundtrack."
              }
            },
            "required": [
              "url",
              "reason"
            ]
          }
        },
        "playback_rate": {
          "type": "number",
          "description": "Soundtrack playback rate."
        },
        "volume": {
          "type": "number",
          "description": "Soundtrack volume."
        }
      },
      "required": [
        "tracks",
        "recommendations",
        "playback_rate",
        "volume"
      ],
      "description": "Soundtrack configuration for the series. Null if no soundtrack is configured."
    },
    "thumbnail": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "caption_color": {
          "anyOf": [
            {
              "type": "string",
              "const": "transparent"
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          ]
        },
        "caption_stroke_color": {
          "type": "string"
        },
        "caption_stroke_width": {
          "type": "number"
        },
        "caption_alignment": {
          "type": "string",
          "enum": [
            "top-left",
            "top-center",
            "top-right",
            "middle-left",
            "middle-center",
            "middle-right",
            "bottom-left",
            "bottom-center",
            "bottom-right"
          ]
        },
        "caption_font_family": {
          "type": "string"
        },
        "caption_font_size": {
          "type": "number"
        },
        "caption_text_transform": {
          "type": "string",
          "enum": [
            "lowercase",
            "none",
            "uppercase"
          ]
        },
        "text": {
          "type": [
            "string",
            "null"
          ]
        },
        "theme": {
          "type": "string",
          "enum": [
            "None",
            "Photo",
            "TikTokTint",
            "TikTokGlitch"
          ]
        },
        "media": {
          "anyOf": [
            {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "deleted_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "metadata": {},
                    "last_error": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "associated_product_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "type": "string",
                      "const": "Image"
                    },
                    "category": {
                      "type": "string",
                      "const": "Stock",
                      "default": "Stock"
                    },
                    "state": {
                      "type": "string",
                      "const": "completed"
                    },
                    "source": {
                      "type": "string",
                      "const": "Google"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "html_title": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string"
                        },
                        "display_link": {
                          "type": "string"
                        },
                        "snippet": {
                          "type": "string"
                        },
                        "html_snippet": {
                          "type": "string"
                        },
                        "mime": {
                          "type": "string"
                        },
                        "file_format": {
                          "type": "string"
                        },
                        "image": {
                          "type": "object",
                          "properties": {
                            "context_link": {
                              "type": "string"
                            },
                            "height": {
                              "type": "number"
                            },
                            "width": {
                              "type": "number"
                            },
                            "byte_size": {
                              "type": "number"
                            },
                            "thumbnail_link": {
                              "type": "string"
                            },
                            "thumbnail_height": {
                              "type": "number"
                            },
                            "thumbnail_width": {
                              "type": "number"
                            }
                          },
                          "required": [
                            "context_link",
                            "height",
                            "width",
                            "byte_size",
                            "thumbnail_link",
                            "thumbnail_height",
                            "thumbnail_width"
                          ]
                        }
                      },
                      "required": [
                        "kind",
                        "title",
                        "html_title",
                        "link",
                        "display_link",
                        "snippet",
                        "html_snippet",
                        "mime",
                        "file_format",
                        "image"
                      ]
                    }
                  },
                  "required": [
                    "url",
                    "type",
                    "category",
                    "state",
                    "source",
                    "data"
                  ]
                },
                {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "deleted_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "metadata": {},
                    "last_error": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "associated_product_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "type": "string",
                      "const": "Image"
                    },
                    "category": {
                      "type": "string",
                      "const": "Stock",
                      "default": "Stock"
                    },
                    "state": {
                      "type": "string",
                      "const": "completed"
                    },
                    "source": {
                      "type": "string",
                      "const": "Pexels"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "number"
                        },
                        "width": {
                          "type": "number"
                        },
                        "height": {
                          "type": "number"
                        },
                        "url": {
                          "type": "string"
                        },
                        "alt": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "avg_color": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "photographer": {
                          "type": "string"
                        },
                        "photographer_url": {
                          "type": "string"
                        },
                        "photographer_id": {
                          "type": "number"
                        },
                        "liked": {
                          "type": "boolean"
                        },
                        "src": {
                          "type": "object",
                          "properties": {
                            "original": {
                              "type": "string"
                            },
                            "large2x": {
                              "type": "string"
                            },
                            "large": {
                              "type": "string"
                            },
                            "medium": {
                              "type": "string"
                            },
                            "small": {
                              "type": "string"
                            },
                            "portrait": {
                              "type": "string"
                            },
                            "landscape": {
                              "type": "string"
                            },
                            "tiny": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "original",
                            "large2x",
                            "large",
                            "medium",
                            "small",
                            "portrait",
                            "landscape",
                            "tiny"
                          ]
                        }
                      },
                      "required": [
                        "id",
                        "width",
                        "height",
                        "url",
                        "alt",
                        "avg_color",
                        "photographer",
                        "photographer_url",
                        "photographer_id",
                        "liked",
                        "src"
                      ]
                    }
                  },
                  "required": [
                    "url",
                    "type",
                    "category",
                    "state",
                    "source",
                    "data"
                  ]
                },
                {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "deleted_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "metadata": {},
                    "last_error": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "associated_product_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "type": "string",
                      "const": "Video"
                    },
                    "category": {
                      "type": "string",
                      "const": "Stock",
                      "default": "Stock"
                    },
                    "state": {
                      "type": "string",
                      "const": "completed"
                    },
                    "source": {
                      "type": "string",
                      "const": "Pexels"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "number"
                        },
                        "width": {
                          "type": "number"
                        },
                        "height": {
                          "type": "number"
                        },
                        "url": {
                          "type": "string"
                        },
                        "image": {
                          "type": "string"
                        },
                        "full_res": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "duration": {
                          "type": "number"
                        },
                        "user": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "number"
                            },
                            "name": {
                              "type": "string"
                            },
                            "url": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "url"
                          ]
                        },
                        "video_files": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "number"
                              },
                              "quality": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "enum": [
                                  "hd",
                                  "sd",
                                  "uhd",
                                  null
                                ]
                              },
                              "file_type": {
                                "type": "string"
                              },
                              "width": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "height": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "link": {
                                "type": "string"
                              },
                              "fps": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "quality",
                              "file_type",
                              "width",
                              "height",
                              "link",
                              "fps"
                            ]
                          }
                        },
                        "video_pictures": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "number"
                              },
                              "picture": {
                                "type": "string"
                              },
                              "nr": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "id",
                              "picture",
                              "nr"
                            ]
                          }
                        }
                      },
                      "required": [
                        "id",
                        "width",
                        "height",
                        "url",
                        "image",
                        "full_res",
                        "tags",
                        "duration",
                        "user",
                        "video_files",
                        "video_pictures"
                      ]
                    }
                  },
                  "required": [
                    "url",
                    "type",
                    "category",
                    "state",
                    "source",
                    "data"
                  ]
                },
                {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "deleted_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "metadata": {},
                    "last_error": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "associated_product_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "type": "string",
                      "const": "Image"
                    },
                    "category": {
                      "type": "string",
                      "const": "Stock",
                      "default": "Stock"
                    },
                    "state": {
                      "type": "string",
                      "const": "completed"
                    },
                    "source": {
                      "type": "string",
                      "const": "Pixabay"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "number"
                        },
                        "tags": {
                          "type": "string"
                        },
                        "page_u_r_l": {
                          "type": "string"
                        },
                        "preview_u_r_l": {
                          "type": "string"
                        },
                        "webformat_u_r_l": {
                          "type": "string"
                        },
                        "large_image_u_r_l": {
                          "type": "string"
                        },
                        "views": {
                          "type": "number"
                        },
                        "downloads": {
                          "type": "number"
                        },
                        "likes": {
                          "type": "number"
                        },
                        "comments": {
                          "type": "number"
                        },
                        "user_id": {
                          "type": "number"
                        },
                        "user": {
                          "type": "string"
                        },
                        "user_image_u_r_l": {
                          "type": "string"
                        },
                        "full_h_d_u_r_l": {
                          "type": "string"
                        },
                        "image_u_r_l": {
                          "type": "string"
                        },
                        "vector_u_r_l": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "page_u_r_l",
                        "preview_u_r_l",
                        "webformat_u_r_l",
                        "large_image_u_r_l",
                        "views",
                        "downloads",
                        "likes",
                        "comments",
                        "user_id",
                        "user",
                        "user_image_u_r_l"
                      ]
                    }
                  },
                  "required": [
                    "url",
                    "type",
                    "category",
                    "state",
                    "source",
                    "data"
                  ]
                },
                {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "deleted_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "metadata": {},
                    "last_error": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "associated_product_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "type": "string",
                      "const": "Video"
                    },
                    "category": {
                      "type": "string",
                      "const": "Stock",
                      "default": "Stock"
                    },
                    "state": {
                      "type": "string",
                      "const": "completed"
                    },
                    "source": {
                      "type": "string",
                      "const": "Pixabay"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "number"
                        },
                        "page_u_r_l": {
                          "type": "string"
                        },
                        "videos": {
                          "type": "object",
                          "properties": {
                            "large": {
                              "type": "object",
                              "properties": {
                                "url": {
                                  "type": "string"
                                },
                                "width": {
                                  "type": "number"
                                },
                                "height": {
                                  "type": "number"
                                },
                                "size": {
                                  "type": "number"
                                },
                                "thumbnail": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "url",
                                "width",
                                "height",
                                "size",
                                "thumbnail"
                              ]
                            },
                            "medium": {
                              "type": "object",
                              "properties": {
                                "url": {
                                  "type": "string"
                                },
                                "width": {
                                  "type": "number"
                                },
                                "height": {
                                  "type": "number"
                                },
                                "size": {
                                  "type": "number"
                                },
                                "thumbnail": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "url",
                                "width",
                                "height",
                                "size",
                                "thumbnail"
                              ]
                            },
                            "small": {
                              "type": "object",
                              "properties": {
                                "url": {
                                  "type": "string"
                                },
                                "width": {
                                  "type": "number"
                                },
                                "height": {
                                  "type": "number"
                                },
                                "size": {
                                  "type": "number"
                                },
                                "thumbnail": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "url",
                                "width",
                                "height",
                                "size",
                                "thumbnail"
                              ]
                            },
                            "tiny": {
                              "type": "object",
                              "properties": {
                                "url": {
                                  "type": "string"
                                },
                                "width": {
                                  "type": "number"
                                },
                                "height": {
                                  "type": "number"
                                },
                                "size": {
                                  "type": "number"
                                },
                                "thumbnail": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "url",
                                "width",
                                "height",
                                "size",
                                "thumbnail"
                              ]
                            }
                          },
                          "required": [
                            "large",
                            "medium",
                            "small",
                            "tiny"
                          ]
                        },
                        "tags": {
                          "type": "string"
                        },
                        "duration": {
                          "type": "number"
                        },
                        "views": {
                          "type": "number"
                        },
                        "downloads": {
                          "type": "number"
                        },
                        "likes": {
                          "type": "number"
                        },
                        "comments": {
                          "type": "number"
                        },
                        "user_id": {
                          "type": "number"
                        },
                        "user": {
                          "type": "string"
                        },
                        "user_image_u_r_l": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "page_u_r_l",
                        "videos",
                        "views",
                        "downloads",
                        "likes",
                        "comments",
                        "user_id",
                        "user",
                        "user_image_u_r_l"
                      ]
                    }
                  },
                  "required": [
                    "url",
                    "type",
                    "category",
                    "state",
                    "source",
                    "data"
                  ]
                },
                {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "deleted_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "metadata": {},
                    "last_error": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "associated_product_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "type": "string",
                      "const": "Image"
                    },
                    "category": {
                      "type": "string",
                      "const": "Stock",
                      "default": "Stock"
                    },
                    "state": {
                      "type": "string",
                      "const": "completed"
                    },
                    "source": {
                      "type": "string",
                      "const": "Unsplash"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "created_at": {
                          "type": "string"
                        },
                        "updated_at": {
                          "type": "string"
                        },
                        "urls": {
                          "type": "object",
                          "properties": {
                            "full": {
                              "type": "string"
                            },
                            "raw": {
                              "type": "string"
                            },
                            "regular": {
                              "type": "string"
                            },
                            "small": {
                              "type": "string"
                            },
                            "thumb": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "full",
                            "raw",
                            "regular",
                            "small",
                            "thumb"
                          ]
                        },
                        "alt_description": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "blur_hash": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "color": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "description": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "height": {
                          "type": "number"
                        },
                        "likes": {
                          "type": "number"
                        },
                        "links": {
                          "type": "object",
                          "properties": {
                            "self": {
                              "type": "string"
                            },
                            "html": {
                              "type": "string"
                            },
                            "download": {
                              "type": "string"
                            },
                            "download_location": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "self",
                            "html",
                            "download",
                            "download_location"
                          ]
                        },
                        "promoted_at": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "width": {
                          "type": "number"
                        },
                        "user": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "bio": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "first_name": {
                              "type": "string"
                            },
                            "instagram_username": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "last_name": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "links": {
                              "type": "object",
                              "properties": {
                                "followers": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "following": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "html": {
                                  "type": "string"
                                },
                                "likes": {
                                  "type": "string"
                                },
                                "photos": {
                                  "type": "string"
                                },
                                "portfolio": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "self": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "html",
                                "likes",
                                "photos",
                                "self"
                              ]
                            },
                            "location": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "name": {
                              "type": "string"
                            },
                            "portfolio_url": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "profile_image": {
                              "type": "object",
                              "properties": {
                                "small": {
                                  "type": "string"
                                },
                                "medium": {
                                  "type": "string"
                                },
                                "large": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "small",
                                "medium",
                                "large"
                              ]
                            },
                            "total_collections": {
                              "type": "number"
                            },
                            "total_likes": {
                              "type": "number"
                            },
                            "total_photos": {
                              "type": "number"
                            },
                            "twitter_username": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "updated_at": {
                              "type": "string"
                            },
                            "username": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "bio",
                            "first_name",
                            "instagram_username",
                            "last_name",
                            "links",
                            "location",
                            "name",
                            "portfolio_url",
                            "profile_image",
                            "total_collections",
                            "total_likes",
                            "total_photos",
                            "twitter_username",
                            "updated_at",
                            "username"
                          ]
                        }
                      },
                      "required": [
                        "id",
                        "created_at",
                        "updated_at",
                        "urls",
                        "alt_description",
                        "blur_hash",
                        "color",
                        "description",
                        "height",
                        "likes",
                        "links",
                        "promoted_at",
                        "width",
                        "user"
                      ]
                    }
                  },
                  "required": [
                    "url",
                    "type",
                    "category",
                    "state",
                    "source",
                    "data"
                  ]
                },
                {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "deleted_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "metadata": {},
                    "last_error": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "associated_product_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "type": "string",
                      "const": "Image"
                    },
                    "category": {
                      "type": "string",
                      "const": "Stock",
                      "default": "Stock"
                    },
                    "state": {
                      "type": "string",
                      "const": "completed"
                    },
                    "source": {
                      "type": "string",
                      "const": "Wikimedia"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "pageid": {
                          "type": "number"
                        },
                        "ns": {
                          "type": "number"
                        },
                        "title": {
                          "type": "string"
                        },
                        "index": {
                          "type": "number"
                        },
                        "imagerepository": {
                          "type": "string"
                        },
                        "imageinfo": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "url": {
                                "type": "string",
                                "format": "uri"
                              },
                              "descriptionurl": {
                                "type": "string",
                                "format": "uri"
                              },
                              "descriptionshorturl": {
                                "type": "string",
                                "format": "uri"
                              },
                              "mime": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "url",
                              "descriptionurl",
                              "descriptionshorturl"
                            ]
                          }
                        }
                      },
                      "required": [
                        "pageid",
                        "ns",
                        "title",
                        "index",
                        "imagerepository",
                        "imageinfo"
                      ]
                    }
                  },
                  "required": [
                    "url",
                    "type",
                    "category",
                    "state",
                    "source",
                    "data"
                  ]
                }
              ]
            },
            {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "deleted_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "metadata": {
                      "type": "object",
                      "properties": {
                        "prompt": {
                          "type": "string"
                        },
                        "translated_prompt": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "rephrased_prompt": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "image_style_preset_id": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "format": "uuid"
                        },
                        "image_style_custom_prompt": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "aspect_ratio": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "width": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "height": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "cloned_media_id": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "format": "uuid"
                        },
                        "from_system_media": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "original_image_url": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "quality": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "low",
                            "medium",
                            "high",
                            null
                          ]
                        },
                        "animation_model": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "animation_prompt": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "product_id": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "format": "uuid"
                        },
                        "model_params": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "additionalProperties": {}
                        },
                        "preset_id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "variant_id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "category_id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "prompt"
                      ]
                    },
                    "last_error": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "associated_product_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "type": "string",
                      "enum": [
                        "GeneratedImage",
                        "GeneratedImagePreset"
                      ]
                    },
                    "source": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "category": {
                      "anyOf": [
                        {
                          "type": "string",
                          "const": "AIGenerated"
                        },
                        {
                          "type": "string",
                          "const": "ImageAd"
                        }
                      ]
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "pending",
                        "generating",
                        "completed",
                        "error",
                        "request_smart_motion",
                        "placeholder"
                      ]
                    },
                    "data": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "path": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "results": {
                          "type": "object",
                          "additionalProperties": {}
                        },
                        "result": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "artifacts": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "seed": {
                                "type": "number"
                              },
                              "finish_reason": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "result_image_url": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "watermarked_image_url": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "has_watermark": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        }
                      }
                    }
                  },
                  "required": [
                    "id",
                    "url",
                    "metadata",
                    "type",
                    "source",
                    "category",
                    "state",
                    "data"
                  ]
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "deleted_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "metadata": {
                      "type": "object",
                      "properties": {
                        "source_image_url": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "source_image_metadata": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "additionalProperties": {}
                        },
                        "source_image_data": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "additionalProperties": {}
                        },
                        "parent_media_id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "animation_prompt": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "animation_model": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "image_style_preset_id": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "format": "uuid"
                        },
                        "image_style_custom_prompt": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "mux_playback_id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "model_params": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "additionalProperties": {}
                        },
                        "duration_in_seconds": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "preset_id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "variant_id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "category_id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      }
                    },
                    "last_error": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "associated_product_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "type": "string",
                      "enum": [
                        "GeneratedVideo",
                        "GeneratedVideoPreset",
                        "GeneratedVideoFromCloning"
                      ]
                    },
                    "source": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "category": {
                      "type": "string",
                      "const": "AIGenerated"
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "pending",
                        "generating",
                        "completed",
                        "error",
                        "request_smart_motion"
                      ]
                    },
                    "data": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "path": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "result": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "video": {
                              "type": "object",
                              "properties": {
                                "url": {
                                  "type": "string"
                                },
                                "content_type": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "file_name": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "file_size": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "file_data": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "duration": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "fps": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "width": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "height": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                }
                              },
                              "required": [
                                "url"
                              ]
                            }
                          },
                          "required": [
                            "video"
                          ]
                        },
                        "result_video_url": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "watermarked_video_url": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "has_watermark": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        }
                      }
                    }
                  },
                  "required": [
                    "id",
                    "url",
                    "metadata",
                    "type",
                    "source",
                    "category",
                    "state",
                    "data"
                  ]
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "deleted_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "metadata": {
                      "type": "object",
                      "properties": {
                        "prompt": {
                          "type": "string"
                        },
                        "source_image_url": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parent_media_id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "prompt"
                      ]
                    },
                    "last_error": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "associated_product_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "type": "string",
                      "const": "LumaGeneratedVideo"
                    },
                    "source": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "luma-ai",
                        null
                      ]
                    },
                    "category": {
                      "type": "string",
                      "const": "AIGenerated"
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "pending",
                        "generating",
                        "completed",
                        "error"
                      ]
                    },
                    "data": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "luma_id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      }
                    }
                  },
                  "required": [
                    "id",
                    "url",
                    "metadata",
                    "type",
                    "source",
                    "category",
                    "state",
                    "data"
                  ]
                }
              ]
            },
            {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "deleted_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "metadata": {
                      "type": "object",
                      "properties": {
                        "content_type": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "preset_id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "variant_id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "category_id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      }
                    },
                    "last_error": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "associated_product_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "source": {
                      "type": "string",
                      "enum": [
                        "Upload",
                        "ImagePicker"
                      ]
                    },
                    "category": {
                      "anyOf": [
                        {
                          "type": "string",
                          "const": "UserUploaded"
                        },
                        {
                          "type": "string",
                          "const": "UserUploadedAd"
                        }
                      ]
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "uploading",
                        "error",
                        "completed",
                        "request_smart_motion"
                      ]
                    },
                    "type": {
                      "type": "string",
                      "enum": [
                        "UserImage",
                        "UserImagePreset"
                      ]
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "upload_id": {
                          "type": "string"
                        },
                        "key": {
                          "type": "string"
                        },
                        "alt": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "uploaded_at": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "upload_id",
                        "key",
                        "alt",
                        "uploaded_at"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "url",
                    "metadata",
                    "source",
                    "category",
                    "state",
                    "type",
                    "data"
                  ]
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "deleted_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "metadata": {
                      "type": "object",
                      "properties": {
                        "content_type": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      }
                    },
                    "last_error": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "associated_product_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "source": {
                      "type": "string",
                      "enum": [
                        "Upload",
                        "ImagePicker"
                      ]
                    },
                    "category": {
                      "anyOf": [
                        {
                          "type": "string",
                          "const": "UserUploaded"
                        },
                        {
                          "type": "string",
                          "const": "UserUploadedAd"
                        }
                      ]
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "uploading",
                        "error",
                        "completed",
                        "request_smart_motion"
                      ]
                    },
                    "type": {
                      "type": "string",
                      "const": "UserVideo"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "upload_id": {
                          "type": "string"
                        },
                        "key": {
                          "type": "string"
                        },
                        "alt": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "uploaded_at": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "upload_id",
                        "key",
                        "alt",
                        "uploaded_at"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "url",
                    "metadata",
                    "source",
                    "category",
                    "state",
                    "type",
                    "data"
                  ]
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "deleted_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "metadata": {
                      "type": "object",
                      "properties": {
                        "content_type": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      }
                    },
                    "last_error": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "associated_product_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "source": {
                      "type": "string",
                      "enum": [
                        "Upload",
                        "ImagePicker"
                      ]
                    },
                    "category": {
                      "anyOf": [
                        {
                          "type": "string",
                          "const": "UserUploaded"
                        },
                        {
                          "type": "string",
                          "const": "UserUploadedAd"
                        }
                      ]
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "uploading",
                        "error",
                        "completed",
                        "request_smart_motion"
                      ]
                    },
                    "type": {
                      "type": "string",
                      "const": "UserAudio"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "upload_id": {
                          "type": "string"
                        },
                        "key": {
                          "type": "string"
                        },
                        "alt": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "uploaded_at": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "name": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "upload_id",
                        "key",
                        "alt",
                        "uploaded_at"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "url",
                    "metadata",
                    "source",
                    "category",
                    "state",
                    "type",
                    "data"
                  ]
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "deleted_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "metadata": {
                      "type": "object",
                      "properties": {
                        "content_type": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      }
                    },
                    "last_error": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "associated_product_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "source": {
                      "type": "string",
                      "enum": [
                        "Upload",
                        "ImagePicker"
                      ]
                    },
                    "category": {
                      "type": "string",
                      "const": "UserUploaded"
                    },
                    "type": {
                      "type": "string",
                      "const": "UserImageSegmentation"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "source_media": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid"
                            },
                            "url": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "id",
                            "url"
                          ]
                        },
                        "results": {
                          "type": "object",
                          "properties": {
                            "image": {
                              "type": "object",
                              "properties": {
                                "url": {
                                  "type": "string"
                                },
                                "content_type": {
                                  "type": "string"
                                },
                                "file_name": {
                                  "type": "string"
                                },
                                "file_size": {
                                  "type": "number"
                                },
                                "file_data": {
                                  "type": "string"
                                },
                                "width": {
                                  "type": "number"
                                },
                                "height": {
                                  "type": "number"
                                }
                              },
                              "required": [
                                "url"
                              ]
                            },
                            "mask_image": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "url": {
                                  "type": "string"
                                },
                                "content_type": {
                                  "type": "string"
                                },
                                "file_name": {
                                  "type": "string"
                                },
                                "file_size": {
                                  "type": "number"
                                },
                                "file_data": {
                                  "type": "string"
                                },
                                "width": {
                                  "type": "number"
                                },
                                "height": {
                                  "type": "number"
                                }
                              },
                              "required": [
                                "url"
                              ]
                            }
                          },
                          "required": [
                            "image"
                          ]
                        }
                      },
                      "required": [
                        "source_media"
                      ]
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "pending",
                        "generating",
                        "error",
                        "completed"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "url",
                    "metadata",
                    "source",
                    "category",
                    "type",
                    "data",
                    "state"
                  ]
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "deleted_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "metadata": {
                      "type": "object",
                      "properties": {
                        "content_type": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      }
                    },
                    "last_error": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "associated_product_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "source": {
                      "type": "string",
                      "enum": [
                        "Upload",
                        "ImagePicker"
                      ]
                    },
                    "category": {
                      "anyOf": [
                        {
                          "type": "string",
                          "const": "UserUploaded"
                        },
                        {
                          "type": "string",
                          "const": "UserUploadedAd"
                        },
                        {
                          "type": "string",
                          "const": "Stock"
                        }
                      ]
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "uploading",
                        "error",
                        "completed",
                        "request_smart_motion"
                      ]
                    },
                    "type": {
                      "type": "string",
                      "const": "UserImageFromPicker"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "source_image": {}
                      }
                    }
                  },
                  "required": [
                    "id",
                    "url",
                    "metadata",
                    "source",
                    "category",
                    "state",
                    "type",
                    "data"
                  ]
                }
              ]
            },
            {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "deleted_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "metadata": {
                  "type": "object",
                  "properties": {
                    "source_media": {}
                  }
                },
                "last_error": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "associated_product_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "type": {
                  "type": "string",
                  "const": "Segmentation"
                },
                "source": {
                  "type": "string",
                  "enum": [
                    "GeneratedImage",
                    "GeneratedImagePreset",
                    "Image",
                    "UserImage"
                  ]
                },
                "category": {
                  "type": "string",
                  "enum": [
                    "AIGenerated",
                    "Stock"
                  ]
                },
                "data": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "path": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "width": {
                          "type": "number"
                        },
                        "height": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "width",
                        "height"
                      ]
                    },
                    "results": {
                      "type": "object",
                      "properties": {
                        "image": {
                          "type": "object",
                          "properties": {
                            "url": {
                              "type": "string"
                            },
                            "content_type": {
                              "type": "string"
                            },
                            "file_name": {
                              "type": "string"
                            },
                            "file_size": {
                              "type": "number"
                            },
                            "file_data": {
                              "type": "string"
                            },
                            "width": {
                              "type": "number"
                            },
                            "height": {
                              "type": "number"
                            }
                          },
                          "required": [
                            "url"
                          ]
                        },
                        "mask_image": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "url": {
                              "type": "string"
                            },
                            "content_type": {
                              "type": "string"
                            },
                            "file_name": {
                              "type": "string"
                            },
                            "file_size": {
                              "type": "number"
                            },
                            "file_data": {
                              "type": "string"
                            },
                            "width": {
                              "type": "number"
                            },
                            "height": {
                              "type": "number"
                            }
                          },
                          "required": [
                            "url"
                          ]
                        }
                      },
                      "required": [
                        "image"
                      ]
                    }
                  }
                },
                "state": {
                  "type": "string",
                  "enum": [
                    "pending",
                    "generating",
                    "completed",
                    "error"
                  ]
                }
              },
              "required": [
                "id",
                "url",
                "metadata",
                "type",
                "source",
                "category",
                "data",
                "state"
              ]
            },
            {
              "type": "object",
              "properties": {
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "deleted_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "metadata": {
                  "type": "object",
                  "properties": {
                    "mux_playback_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "start_time": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "end_time": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "duration_till_end": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "mux_playback_id",
                    "start_time",
                    "end_time",
                    "duration_till_end"
                  ]
                },
                "last_error": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "associated_product_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "type": {
                  "type": "string",
                  "const": "VideoClip"
                },
                "source": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "Gameplay",
                    null
                  ]
                },
                "category": {
                  "type": "string",
                  "const": "Gameplay"
                },
                "state": {
                  "type": "string",
                  "const": "completed"
                },
                "data": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "collection_id": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "collection_id"
                  ]
                }
              },
              "required": [
                "url",
                "metadata",
                "type",
                "source",
                "category",
                "state",
                "data"
              ]
            },
            {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "deleted_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "metadata": {},
                    "last_error": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "associated_product_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "type": "string",
                      "const": "UgcCreator"
                    },
                    "source": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "Ugc",
                        null
                      ]
                    },
                    "category": {
                      "type": "string",
                      "const": "Ugc"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "hook": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "id"
                      ]
                    },
                    "state": {
                      "type": "string",
                      "const": "completed"
                    }
                  },
                  "required": [
                    "url",
                    "type",
                    "source",
                    "category",
                    "data",
                    "state"
                  ]
                },
                {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "deleted_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "metadata": {
                      "type": "object",
                      "properties": {
                        "source_image_url": {
                          "type": "string"
                        },
                        "mux_playback_id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "narrating_text": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "source_image_url",
                        "mux_playback_id"
                      ]
                    },
                    "last_error": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "associated_product_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "type": "string",
                      "const": "UgcVideo"
                    },
                    "source": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "Ugc",
                        null
                      ]
                    },
                    "category": {
                      "type": "string",
                      "const": "Ugc"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "ugc_creator_id": {
                          "type": "string"
                        },
                        "ugc_preset_id": {
                          "type": "string"
                        },
                        "created_at": {
                          "type": "string"
                        },
                        "hook": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "id",
                        "ugc_creator_id",
                        "ugc_preset_id",
                        "created_at"
                      ]
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "pending",
                        "generating",
                        "completed",
                        "error"
                      ]
                    }
                  },
                  "required": [
                    "url",
                    "metadata",
                    "type",
                    "source",
                    "category",
                    "data",
                    "state"
                  ]
                }
              ]
            },
            {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "deleted_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "metadata": {
                      "type": "object",
                      "properties": {
                        "asset_id": {
                          "type": "string"
                        },
                        "asset_version_id": {
                          "type": "string"
                        },
                        "asset_render_id": {
                          "type": "string"
                        },
                        "aspect_ratio": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "Portrait 9:16",
                            "Landscape 16:9",
                            "Square 1:1",
                            null
                          ]
                        }
                      },
                      "required": [
                        "asset_id",
                        "asset_version_id",
                        "asset_render_id"
                      ]
                    },
                    "last_error": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "associated_product_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "type": "string",
                      "const": "Block"
                    },
                    "source": {
                      "type": "string",
                      "const": "Block"
                    },
                    "category": {
                      "type": "string",
                      "const": "Asset"
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "pending",
                        "generating",
                        "completed",
                        "error"
                      ]
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "thumbnail_url": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "mux_playback_id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "duration": {
                          "type": [
                            "number",
                            "null"
                          ]
                        }
                      }
                    }
                  },
                  "required": [
                    "id",
                    "url",
                    "metadata",
                    "type",
                    "source",
                    "category",
                    "state",
                    "data"
                  ]
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "deleted_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "metadata": {
                      "type": "object",
                      "properties": {
                        "asset_id": {
                          "type": "string"
                        },
                        "asset_version_id": {
                          "type": "string"
                        },
                        "asset_render_id": {
                          "type": "string"
                        },
                        "aspect_ratio": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "asset_id",
                        "asset_version_id",
                        "asset_render_id"
                      ]
                    },
                    "last_error": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "associated_product_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "type": "string",
                      "const": "Graphic"
                    },
                    "source": {
                      "type": "string",
                      "const": "Graphic"
                    },
                    "category": {
                      "type": "string",
                      "const": "Asset"
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "pending",
                        "generating",
                        "completed",
                        "error"
                      ]
                    },
                    "data": {
                      "type": "object"
                    }
                  },
                  "required": [
                    "id",
                    "url",
                    "metadata",
                    "type",
                    "source",
                    "category",
                    "state",
                    "data"
                  ]
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "deleted_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "metadata": {
                      "type": "object",
                      "properties": {
                        "element_id": {
                          "type": "string"
                        },
                        "element_category": {
                          "type": "string",
                          "enum": [
                            "backgrounds",
                            "animations",
                            "components",
                            "text-animations"
                          ]
                        },
                        "aspect_ratio": {
                          "type": "string",
                          "enum": [
                            "square",
                            556,
                            969
                          ]
                        },
                        "props": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "additionalProperties": {}
                        },
                        "configuration_settings": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "additionalProperties": {}
                        },
                        "render_dimensions": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "width": {
                              "type": "number"
                            },
                            "height": {
                              "type": "number"
                            }
                          },
                          "required": [
                            "width",
                            "height"
                          ]
                        }
                      },
                      "required": [
                        "element_id",
                        "element_category",
                        "aspect_ratio",
                        "props",
                        "configuration_settings",
                        "render_dimensions"
                      ]
                    },
                    "last_error": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "associated_product_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "type": "string",
                      "const": "Element"
                    },
                    "source": {
                      "type": "string",
                      "const": "Element"
                    },
                    "category": {
                      "type": "string",
                      "enum": [
                        "Background",
                        "Animation",
                        "Component",
                        "TextAnimation"
                      ]
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "pending",
                        "generating",
                        "completed",
                        "error"
                      ]
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "thumbnail_url": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "duration": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "render_job_id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      }
                    }
                  },
                  "required": [
                    "id",
                    "url",
                    "metadata",
                    "type",
                    "source",
                    "category",
                    "state",
                    "data"
                  ]
                }
              ]
            },
            {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "deleted_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "metadata": {
                  "type": "object",
                  "properties": {
                    "content_type": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "brand_domain": {
                      "type": "string"
                    },
                    "asset_type": {
                      "type": "string"
                    },
                    "width": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "height": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "brand_domain",
                    "asset_type"
                  ]
                },
                "last_error": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "associated_product_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "type": {
                  "type": "string",
                  "const": "BrandImage"
                },
                "source": {
                  "type": "string",
                  "const": "BrandFetch"
                },
                "category": {
                  "type": "string",
                  "const": "Brand"
                },
                "state": {
                  "type": "string",
                  "enum": [
                    "completed",
                    "error"
                  ]
                },
                "data": {
                  "type": "object",
                  "properties": {
                    "original_url": {
                      "type": "string"
                    },
                    "asset_key": {
                      "type": "string"
                    },
                    "uploaded_at": {
                      "type": "string"
                    },
                    "image_format": {
                      "type": "string",
                      "enum": [
                        "png",
                        "jpg",
                        "jpeg",
                        "webp"
                      ]
                    }
                  },
                  "required": [
                    "asset_key",
                    "uploaded_at"
                  ]
                }
              },
              "required": [
                "id",
                "url",
                "metadata",
                "type",
                "source",
                "category",
                "state",
                "data"
              ]
            },
            {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "deleted_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "metadata": {
                  "type": "object",
                  "properties": {
                    "ad_id": {
                      "type": "string"
                    },
                    "ad_name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "creative_id": {
                      "type": "string"
                    },
                    "page_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "instagram_user_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "link": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "image_hash": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "call_to_action_type": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "image_url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "thumbnail_url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "ad_id",
                    "creative_id"
                  ]
                },
                "last_error": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "associated_product_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "type": {
                  "type": "string",
                  "const": "MetaAd"
                },
                "source": {
                  "type": "string",
                  "const": "Meta"
                },
                "category": {
                  "type": "string",
                  "const": "Ad"
                },
                "state": {
                  "type": "string",
                  "enum": [
                    "completed"
                  ]
                }
              },
              "required": [
                "id",
                "url",
                "metadata",
                "type",
                "source",
                "category",
                "state"
              ]
            },
            {
              "type": "object",
              "properties": {
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "deleted_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "metadata": {
                  "type": "object",
                  "properties": {
                    "text": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "locale": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "af-ZA",
                        "id-ID",
                        "ms-MY",
                        "ca-ES",
                        "cs-CZ",
                        "da-DK",
                        "de-DE",
                        "en-US",
                        "es-ES",
                        "es-419",
                        "fr-CA",
                        "fr-FR",
                        "hr-HR",
                        "it-IT",
                        "hu-HU",
                        "nl-NL",
                        "no-NO",
                        "pl-PL",
                        "pt-BR",
                        "pt-PT",
                        "ro-RO",
                        "sk-SK",
                        "fi-FI",
                        "sv-SE",
                        "vi-VN",
                        "tr-TR",
                        "el-GR",
                        "ru-RU",
                        "sr-SP",
                        "uk-UA",
                        "hy-AM",
                        "he-IL",
                        "ur-PK",
                        "ar-SA",
                        "hi-IN",
                        "th-TH",
                        "ko-KR",
                        "ja-JP",
                        "zh-CN",
                        "zh-TW",
                        null
                      ]
                    },
                    "voice": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "owner_id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "name": {
                          "type": "string"
                        },
                        "description": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "locale": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "af-ZA",
                            "id-ID",
                            "ms-MY",
                            "ca-ES",
                            "cs-CZ",
                            "da-DK",
                            "de-DE",
                            "en-US",
                            "es-ES",
                            "es-419",
                            "fr-CA",
                            "fr-FR",
                            "hr-HR",
                            "it-IT",
                            "hu-HU",
                            "nl-NL",
                            "no-NO",
                            "pl-PL",
                            "pt-BR",
                            "pt-PT",
                            "ro-RO",
                            "sk-SK",
                            "fi-FI",
                            "sv-SE",
                            "vi-VN",
                            "tr-TR",
                            "el-GR",
                            "ru-RU",
                            "sr-SP",
                            "uk-UA",
                            "hy-AM",
                            "he-IL",
                            "ur-PK",
                            "ar-SA",
                            "hi-IN",
                            "th-TH",
                            "ko-KR",
                            "ja-JP",
                            "zh-CN",
                            "zh-TW",
                            null
                          ]
                        },
                        "avatar": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "flag": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "preview_url": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "usage_character_count7d": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "usage_character_count1y": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "tags": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "language": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "accent": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "age": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "category": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "gender": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "tone": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "use_case": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          }
                        },
                        "source": {
                          "type": "string",
                          "enum": [
                            "Cartesia",
                            "CartesiaClonedVoice",
                            "ElevenLabs",
                            "ElevenLabsShared",
                            "FishAudio",
                            "FishAudioClonedVoice",
                            "OpenAI"
                          ]
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "description",
                        "locale",
                        "preview_url",
                        "tags",
                        "source"
                      ]
                    },
                    "voice_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "owner_id": {
                      "type": [
                        "string",
                        "null",
                        "null"
                      ]
                    },
                    "prompt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "duration_ms": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "composition_plan": {
                      "type": "null"
                    },
                    "generation_type": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "prompt",
                        "compositionPlan",
                        null
                      ]
                    },
                    "asset_id": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "uuid"
                    },
                    "song_metadata": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "title": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "description": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "genres": {
                          "type": [
                            "array",
                            "null"
                          ],
                          "items": {
                            "type": "string"
                          }
                        },
                        "languages": {
                          "type": [
                            "array",
                            "null"
                          ],
                          "items": {
                            "type": "string"
                          }
                        },
                        "is_explicit": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        }
                      }
                    },
                    "background_image_url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  }
                },
                "last_error": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "associated_product_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "type": {
                  "type": "string",
                  "const": "GeneratedAudio"
                },
                "source": {
                  "type": "string",
                  "enum": [
                    "Cartesia",
                    "CartesiaClonedVoice",
                    "ElevenLabs",
                    "ElevenLabsShared",
                    "FishAudio",
                    "FishAudioClonedVoice",
                    "OpenAI"
                  ]
                },
                "category": {
                  "type": "string",
                  "enum": [
                    "AIGeneratedAudio",
                    "AIGeneratedAudioForVideo",
                    "AIGeneratedMusic"
                  ]
                },
                "state": {
                  "type": "string",
                  "enum": [
                    "pending",
                    "generating",
                    "completed",
                    "error"
                  ]
                },
                "transcript": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "words": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "text": {
                            "type": "string"
                          },
                          "start": {
                            "type": "number"
                          },
                          "end": {
                            "type": "number"
                          },
                          "confidence": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "text",
                          "start",
                          "end"
                        ]
                      }
                    }
                  },
                  "required": [
                    "words"
                  ]
                },
                "data": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "path": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "transcript_state": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "pending",
                        "generating",
                        "completed",
                        "error",
                        null
                      ]
                    },
                    "duration": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "lufs": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "lufs_output": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  }
                }
              },
              "required": [
                "url",
                "metadata",
                "type",
                "source",
                "category",
                "state",
                "data"
              ]
            },
            {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "deleted_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "metadata": {
                  "type": "object",
                  "properties": {
                    "element_id": {
                      "type": "string"
                    },
                    "element_category": {
                      "type": "string",
                      "enum": [
                        "backgrounds",
                        "animations",
                        "components",
                        "text-animations"
                      ]
                    },
                    "aspect_ratio": {
                      "type": "string",
                      "enum": [
                        "square",
                        556,
                        969
                      ]
                    },
                    "props": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {}
                    },
                    "configuration_settings": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {}
                    },
                    "render_dimensions": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "width": {
                          "type": "number"
                        },
                        "height": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "width",
                        "height"
                      ]
                    }
                  },
                  "required": [
                    "element_id",
                    "element_category",
                    "aspect_ratio",
                    "props",
                    "configuration_settings",
                    "render_dimensions"
                  ]
                },
                "last_error": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "associated_product_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "type": {
                  "type": "string",
                  "const": "Element"
                },
                "source": {
                  "type": "string",
                  "const": "Element"
                },
                "category": {
                  "type": "string",
                  "enum": [
                    "Background",
                    "Animation",
                    "Component",
                    "TextAnimation"
                  ]
                },
                "state": {
                  "type": "string",
                  "enum": [
                    "pending",
                    "generating",
                    "completed",
                    "error"
                  ]
                },
                "data": {
                  "type": "object",
                  "properties": {
                    "thumbnail_url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "duration": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "render_job_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  }
                }
              },
              "required": [
                "id",
                "url",
                "metadata",
                "type",
                "source",
                "category",
                "state",
                "data"
              ]
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "text",
        "theme",
        "media"
      ],
      "description": "Thumbnail for the series."
    },
    "styles": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "caption_active_word_background_color": {
          "anyOf": [
            {
              "type": "string",
              "const": "transparent"
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          ]
        },
        "caption_active_word_color": {
          "anyOf": [
            {
              "type": "string",
              "const": "transparent"
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "caption_active_word_stroke_width": {
          "type": "number"
        },
        "caption_active_word_stroke_color": {
          "type": "string"
        },
        "caption_alignment": {
          "type": "string",
          "enum": [
            "top-left",
            "top-center",
            "top-right",
            "middle-left",
            "middle-center",
            "middle-right",
            "bottom-left",
            "bottom-center",
            "bottom-right"
          ]
        },
        "caption_animation": {
          "type": "string",
          "enum": [
            "ZoomIn"
          ]
        },
        "caption_background_color": {
          "anyOf": [
            {
              "type": "string",
              "const": "transparent"
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          ]
        },
        "caption_background_disabled": {
          "type": "boolean"
        },
        "caption_color": {
          "anyOf": [
            {
              "type": "string",
              "const": "transparent"
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          ]
        },
        "caption_display": {
          "type": "string",
          "enum": [
            "karaoke",
            "phrase",
            "word",
            "none"
          ]
        },
        "caption_font_family": {
          "type": "string"
        },
        "caption_font_size": {
          "type": "number"
        },
        "caption_keyword_color": {
          "anyOf": [
            {
              "type": "string",
              "const": "transparent"
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "caption_rotate_occasionally": {
          "type": "boolean"
        },
        "caption_stroke_width": {
          "type": "number"
        },
        "caption_stroke_color": {
          "type": "string"
        },
        "caption_text_transform": {
          "type": "string",
          "enum": [
            "lowercase",
            "none",
            "uppercase"
          ]
        }
      },
      "description": "Styles for the series videos."
    },
    "image_style": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "description": "Unique ID of the current image style."
        },
        "recommendations": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "description": "Unique ID of the recommended image style."
              },
              "reason": {
                "type": "string",
                "description": "Reason for the recommended image style."
              }
            },
            "required": [
              "id",
              "reason"
            ]
          }
        }
      },
      "description": "Image style for series. Null if no image style is configured."
    },
    "voice": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "voices": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Voice"
          },
          "description": "Voices for the series."
        },
        "playback_rate": {
          "type": "number",
          "description": "Voice playback rate."
        },
        "volume": {
          "type": "number",
          "description": "Voice volume."
        }
      },
      "required": [
        "voices",
        "playback_rate",
        "volume"
      ],
      "description": "Voice configuration for the series. Null if no voice is configured."
    },
    "custom_watermark": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "caption_color": {
          "anyOf": [
            {
              "type": "string",
              "const": "transparent"
            },
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          ]
        },
        "caption_stroke_color": {
          "type": "string"
        },
        "caption_stroke_width": {
          "type": "number"
        },
        "caption_alignment": {
          "type": "string",
          "enum": [
            "top-left",
            "top-center",
            "top-right",
            "middle-left",
            "middle-center",
            "middle-right",
            "bottom-left",
            "bottom-center",
            "bottom-right"
          ]
        },
        "caption_font_family": {
          "type": "string"
        },
        "caption_font_size": {
          "type": "number"
        },
        "caption_text_transform": {
          "type": "string",
          "enum": [
            "lowercase",
            "none",
            "uppercase"
          ]
        },
        "text": {
          "type": "string",
          "default": ""
        }
      },
      "required": [
        "text"
      ],
      "description": "Custom watermark for the series (paid plans only)."
    },
    "connections": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Connection"
      },
      "description": "Publishing connections for the series."
    },
    "hashtags": {
      "type": [
        "string",
        "null"
      ],
      "description": "List of custom hashtags for the series."
    }
  },
  "required": [
    "id",
    "created_at",
    "next_posting_at",
    "type",
    "schedule",
    "aspect_ratio",
    "soundtrack_behavior",
    "locale",
    "soundtrack",
    "styles",
    "image_style",
    "voice",
    "connections"
  ],
  "$defs": {
    "Connection": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "description": "Unique ID for the connection."
        },
        "type": {
          "type": "string",
          "enum": [
            "Email",
            "TikTok",
            "YouTube",
            "X",
            "Facebook",
            "Instagram"
          ],
          "description": "The publishing destination."
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "description": "User-friendly name for the connection."
        }
      },
      "required": [
        "id",
        "type"
      ],
      "description": "A connection to a publishing destination"
    },
    "Voice": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique ID of the voice."
        },
        "name": {
          "type": "string",
          "description": "Name of the voice."
        },
        "description": {
          "type": [
            "string",
            "null"
          ],
          "description": "Description of the voice."
        },
        "avatar_url": {
          "type": [
            "string",
            "null"
          ],
          "description": "Avatar url of the voice."
        },
        "flag_url": {
          "type": [
            "string",
            "null"
          ],
          "description": "Flag url of the voice."
        },
        "tags": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "language": {
              "type": [
                "string",
                "null"
              ]
            },
            "accent": {
              "type": [
                "string",
                "null"
              ]
            },
            "age": {
              "type": [
                "string",
                "null"
              ]
            },
            "category": {
              "type": [
                "string",
                "null"
              ]
            },
            "gender": {
              "type": [
                "string",
                "null"
              ]
            },
            "tone": {
              "type": [
                "string",
                "null"
              ]
            },
            "useCase": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "description": "Tags of the voice. Describe the characteristics of the voice."
        },
        "preview_url": {
          "type": [
            "string",
            "null"
          ],
          "description": "URL of the preview audio of the voice."
        },
        "locale": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "af-ZA",
            "id-ID",
            "ms-MY",
            "ca-ES",
            "cs-CZ",
            "da-DK",
            "de-DE",
            "en-US",
            "es-ES",
            "es-419",
            "fr-CA",
            "fr-FR",
            "hr-HR",
            "it-IT",
            "hu-HU",
            "nl-NL",
            "no-NO",
            "pl-PL",
            "pt-BR",
            "pt-PT",
            "ro-RO",
            "sk-SK",
            "fi-FI",
            "sv-SE",
            "vi-VN",
            "tr-TR",
            "el-GR",
            "ru-RU",
            "sr-SP",
            "uk-UA",
            "hy-AM",
            "he-IL",
            "ur-PK",
            "ar-SA",
            "hi-IN",
            "th-TH",
            "ko-KR",
            "ja-JP",
            "zh-CN",
            "zh-TW",
            null
          ],
          "description": "Locale of the voice."
        },
        "source": {
          "type": "string",
          "enum": [
            "Cartesia",
            "CartesiaClonedVoice",
            "ElevenLabs",
            "ElevenLabsShared",
            "FishAudio",
            "FishAudioClonedVoice",
            "OpenAI"
          ],
          "description": "Source of the voice."
        }
      },
      "required": [
        "id",
        "name",
        "description",
        "tags",
        "preview_url",
        "locale",
        "source"
      ],
      "description": "A text-to-speech voice"
    }
  }
}