| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181 |
- {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "title": "extract_workflow_output_v5",
- "type": "object",
- "required": [
- "skip",
- "skip_reason",
- "strategy"
- ],
- "properties": {
- "skip": {
- "type": "boolean"
- },
- "skip_reason": {
- "type": "string"
- },
- "strategy": {
- "anyOf": [
- {
- "type": "null"
- },
- {
- "type": "object",
- "required": [
- "steps",
- "effects",
- "criterion",
- "unstructured_what"
- ],
- "properties": {
- "steps": {
- "type": "array",
- "minItems": 1,
- "items": {
- "type": "object",
- "required": [
- "order",
- "phase",
- "action",
- "body",
- "inputs",
- "outputs",
- "tools",
- "apply_to_draft"
- ],
- "properties": {
- "order": {
- "type": "integer",
- "minimum": 1
- },
- "phase": {
- "type": "string",
- "enum": [
- "非制作",
- "预处理",
- "生成",
- "编辑"
- ]
- },
- "action": {
- "type": "object",
- "required": [
- "main_action",
- "mechanism"
- ],
- "properties": {
- "main_action": {
- "type": "string",
- "minLength": 1,
- "description": "主动作:生成、编辑、提取、改写、合成、修复、增强、训练、评估、剪辑、模板化、排版、转写、配音、匹配、扩展、导出"
- },
- "mechanism": {
- "type": "string",
- "minLength": 1,
- "description": "动作方式:直接生成、一致性保持、结构约束、质量收束、局部重绘、扩图、换背景等"
- }
- }
- },
- "body": {
- "type": [
- "string",
- "null"
- ]
- },
- "inputs": {
- "type": "array",
- "items": {
- "type": "object",
- "required": [
- "modality",
- "description"
- ],
- "properties": {
- "modality": {
- "type": "string",
- "minLength": 1,
- "description": "模态:文本、图片、视频、音频、特征点、参数、模型、向量、表格"
- },
- "description": {
- "type": "string",
- "minLength": 1,
- "description": "功能性描述,不写具体内容what"
- }
- }
- }
- },
- "outputs": {
- "type": "array",
- "items": {
- "type": "object",
- "required": [
- "modality",
- "description"
- ],
- "properties": {
- "modality": {
- "type": "string",
- "minLength": 1
- },
- "description": {
- "type": "string",
- "minLength": 1
- }
- }
- }
- },
- "tools": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "apply_to_draft": {
- "type": "object",
- "required": [
- "实质",
- "形式"
- ],
- "properties": {
- "实质": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "形式": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
- }
- }
- }
- },
- "effects": {
- "type": "array",
- "items": {
- "type": "string",
- "pattern": "^实现"
- }
- },
- "criterion": {
- "type": [
- "string",
- "null"
- ]
- },
- "unstructured_what": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
- }
- ]
- }
- }
- }
|