{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mysiren-ai/json-schema/mysiren-ai-programmatic-generate-request-schema.json",
  "title": "ProgrammaticGenerateRequest",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mysiren-ai-openapi.json#/components/schemas/ProgrammaticGenerateRequest",
  "properties": {
    "brief": {
      "type": "string",
      "maxLength": 2000,
      "minLength": 1,
      "title": "Brief"
    },
    "channel": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 80
        },
        {
          "type": "null"
        }
      ],
      "title": "Channel"
    },
    "asset_type": {
      "type": "string",
      "title": "Asset Type",
      "default": "card"
    },
    "extra": {
      "anyOf": [
        {
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Extra"
    },
    "scheduled_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Scheduled At"
    },
    "timezone": {
      "type": "string",
      "maxLength": 64,
      "title": "Timezone",
      "default": "UTC"
    },
    "platforms": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array",
          "maxItems": 12
        },
        {
          "type": "null"
        }
      ],
      "title": "Platforms"
    },
    "captions": {
      "anyOf": [
        {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Captions"
    },
    "caption": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2000
        },
        {
          "type": "null"
        }
      ],
      "title": "Caption"
    },
    "skip_cta_reply": {
      "type": "boolean",
      "title": "Skip Cta Reply",
      "default": false
    },
    "brand": {
      "anyOf": [
        {
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Brand"
    },
    "voiceover": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Voiceover"
    },
    "direction": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 300
        },
        {
          "type": "null"
        }
      ],
      "title": "Direction"
    },
    "music": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 80
        },
        {
          "type": "null"
        }
      ],
      "title": "Music"
    },
    "media": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array",
          "maxItems": 24
        },
        {
          "type": "null"
        }
      ],
      "title": "Media"
    },
    "variants": {
      "type": "integer",
      "maximum": 3.0,
      "minimum": 1.0,
      "title": "Variants",
      "default": 1
    },
    "callback_url": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2048
        },
        {
          "type": "null"
        }
      ],
      "title": "Callback Url"
    },
    "callback_secret": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 200
        },
        {
          "type": "null"
        }
      ],
      "title": "Callback Secret"
    }
  },
  "type": "object",
  "required": [
    "brief"
  ]
}