check_bulk_import
Validate storyboard bulk import JSON against the import schema before submitting, returning errors, warnings, and stats to prevent 400 responses and silent data problems.
Instructions
导入前的 JSON 自检:用导入端点同一份 zod schema 校验,再把导入路由的"静默行为"变成 warning。返回 errors / warnings / stats(镜数·总秒·角色·场景·mode·promptsToBuild)。免费·不落库·可反复跑。★errors = 导入会 400 或会出错覆盖的:不是合法 JSON / schema 不过(逐条带 path,如 storyboards[2].shot_type)/ 镜号重复 + 残留 <...> 占位符;必须清零。★warnings = 导入照常但会缺东西或有副作用的:bound_characters/scene_ref 引用不到(静默跳过)/ 没有 action+description(死镜)/ dialogue 含镜头语言(会被念出来)/ 单镜>15 秒 / 镜号跳号 / mode=replace(替换本集全部分镜)/ 全无角色绑定(人物会漂)。★这里绿了,bulk_import_storyboards 就能一次过。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | 要检查的 JSON:对象,或 JSON 字符串(客户贴的文本) |