changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "anyOf": [
+ {
+ "properties": {
+ "deterministicResult": {
+ "type": "object"
+ },
+ "instruction": {
+ "type": "string"
+ },
+ "requests": {
+ "items": {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "jsonMode": {
+ "type": "boolean"
+ },
+ "promptCache": {
+ "type": "object"
+ },
+ "step": {
+ "type": "string"
+ },
+ "system": {
+ "type": "string"
+ },
+ "user": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "system",
+ "user"
+ ],
+ "type": "object"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "runId": {
+ "minLength": 5,
+ "pattern": "^run-",
+ "type": "string"
+ },
+ "sharedBlocks": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "needs_model"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "runId",
+ "requests"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "code": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "nextAction": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "retryable": {
+ "type": "boolean"
+ },
+ "status": {
+ "enum": [
+ "error"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "code",
+ "message",
+ "retryable",
+ "nextAction"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "approvalId": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "chapter": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "prose": {
+ "type": "string"
+ },
+ "quality": {
+ "type": "object"
+ },
+ "status": {
+ "enum": [
+ "awaiting_approval"
+ ],
+ "type": "string"
+ },
+ "workflowId": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "workflowId",
+ "approvalId",
+ "chapter",
+ "prose"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "chapter": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "commit": {
+ "type": "object"
+ },
+ "status": {
+ "enum": [
+ "completed"
+ ],
+ "type": "string"
+ },
+ "workflowId": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "workflowId",
+ "chapter",
+ "commit"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "chapter": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "code": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "nextAction": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "needs_setup"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "code",
+ "chapter",
+ "nextAction"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "changed": {
+ "type": "array"
+ },
+ "code": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "nextAction": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "needs_sync"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "code",
+ "nextAction"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "chapter": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "status": {
+ "enum": [
+ "on_hold"
+ ],
+ "type": "string"
+ },
+ "workflowId": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "workflowId",
+ "chapter"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "status": {
+ "enum": [
+ "clean_fail"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "status": {
+ "enum": [
+ "validation_incomplete"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "status": {
+ "enum": [
+ "provider_error"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "status": {
+ "enum": [
+ "ok"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status"
+ ],
+ "type": "object"
+ }
+ ],
+ "description": "집필 상태별 응답. needs_model은 lore_resume, awaiting_approval은 lore_decide, needs_sync는 lore_sync로 이어간다.",
+ "type": "object"
+}