muse-agent-example/docs/接口契约/生成/openapi.generated.json

8431 lines
209 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"openapi": "3.1.0",
"info": {
"title": "Muse 作者工作台",
"version": "0.1.0"
},
"paths": {
"/api/v1/tasks/{task_id}": {
"get": {
"tags": [
"任务"
],
"summary": "读取任务",
"operationId": "read_task",
"parameters": [
{
"name": "task_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Task Id"
}
},
{
"name": "work_id",
"in": "query",
"required": false,
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Work Id"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse______http__________________2"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/tasks": {
"get": {
"tags": [
"任务"
],
"summary": "列出任务",
"operationId": "list_tasks",
"parameters": [
{
"name": "work_id",
"in": "query",
"required": false,
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Work Id"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/muse______http__________________2"
},
"title": "Response List Tasks"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/tasks/{task_id}/controls": {
"post": {
"tags": [
"任务"
],
"summary": "控制任务",
"operationId": "control_task",
"parameters": [
{
"name": "task_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Task Id"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse_________________-Input"
}
}
}
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse___________________2"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/tasks/{task_id}/role-session-authorizations": {
"post": {
"tags": [
"任务"
],
"summary": "批准角色会话",
"operationId": "approve_role_session",
"parameters": [
{
"name": "task_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Task Id"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse______http____________________1"
}
}
}
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"title": "Response Approve Role Session"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/tasks/{task_id}/raw-authorizations/{authorization_id}": {
"delete": {
"tags": [
"任务"
],
"summary": "撤销原文批准",
"operationId": "revoke_raw_retention",
"parameters": [
{
"name": "task_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Task Id"
}
},
{
"name": "authorization_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Authorization Id"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"title": "Response Revoke Raw Retention"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/tasks/{task_id}/raw-authorizations": {
"post": {
"tags": [
"任务"
],
"summary": "批准原文",
"operationId": "approve_raw_retention",
"parameters": [
{
"name": "task_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Task Id"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse______http____________________2"
}
}
}
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"title": "Response Approve Raw Retention"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/tasks/{task_id}/raw-leases": {
"post": {
"tags": [
"任务"
],
"summary": "创建原文租约",
"operationId": "create_raw_lease",
"parameters": [
{
"name": "task_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Task Id"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse______http____________________3"
}
}
}
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"title": "Response Create Raw Lease"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/tasks/{task_id}/raw-leases/{lease_id}/content/{content_hash}": {
"put": {
"tags": [
"任务"
],
"summary": "写入原文",
"operationId": "write_raw_bytes",
"parameters": [
{
"name": "task_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Task Id"
}
},
{
"name": "lease_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Lease Id"
}
},
{
"name": "content_hash",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Content Hash"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/octet-stream": {
"schema": {
"type": "string",
"contentMediaType": "application/octet-stream",
"title": "数据"
}
}
}
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"title": "Response Write Raw Bytes"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/tasks/{task_id}/raw-leases/{lease_id}/archive": {
"post": {
"tags": [
"任务"
],
"summary": "归档原文",
"operationId": "archive_raw_bytes",
"parameters": [
{
"name": "task_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Task Id"
}
},
{
"name": "lease_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Lease Id"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse______http____________________4"
}
}
}
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"title": "Response Archive Raw Bytes"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/tasks/{task_id}/raw-leases/{lease_id}": {
"delete": {
"tags": [
"任务"
],
"summary": "清理原文",
"operationId": "cleanup_raw_lease",
"parameters": [
{
"name": "task_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Task Id"
}
},
{
"name": "lease_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Lease Id"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"title": "Response Cleanup Raw Lease"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/tasks/{task_id}/raw-recovery": {
"post": {
"tags": [
"任务"
],
"summary": "恢复原文",
"operationId": "recover_raw_leases",
"parameters": [
{
"name": "task_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Task Id"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"title": "Response Recover Raw Leases"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/tasks/{task_id}/evidence/{evidence_id}": {
"get": {
"tags": [
"任务"
],
"summary": "读取证据回执",
"operationId": "read_evidence_receipt",
"parameters": [
{
"name": "task_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Task Id"
}
},
{
"name": "evidence_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Evidence Id"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"title": "Response Read Evidence Receipt"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/tasks/{task_id}/evidence/{evidence_id}/content": {
"put": {
"tags": [
"任务"
],
"summary": "补交证据",
"operationId": "backfill_evidence_bytes",
"parameters": [
{
"name": "task_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Task Id"
}
},
{
"name": "evidence_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Evidence Id"
}
},
{
"name": "authorization_id",
"in": "query",
"required": true,
"schema": {
"type": "string",
"title": "Authorization Id"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/octet-stream": {
"schema": {
"type": "string",
"contentMediaType": "application/octet-stream",
"title": "数据"
}
}
}
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"title": "Response Backfill Evidence Bytes"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/tasks/{task_id}/context-snapshots": {
"get": {
"tags": [
"上下文"
],
"summary": "列出任务快照",
"operationId": "list_context_snapshots",
"parameters": [
{
"name": "task_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Task Id"
}
},
{
"name": "work_id",
"in": "query",
"required": false,
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Work Id"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/muse______http_______________"
},
"title": "Response List Context Snapshots"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/schemas/commands": {
"post": {
"tags": [
"元数据"
],
"summary": "维护结构",
"operationId": "schema_command",
"requestBody": {
"content": {
"application/json": {
"schema": {
"oneOf": [
{
"$ref": "#/components/schemas/muse____________________1"
},
{
"$ref": "#/components/schemas/muse____________________2"
},
{
"$ref": "#/components/schemas/muse____________________3"
}
],
"title": "请求",
"discriminator": {
"propertyName": "action",
"mapping": {
"登记候选": "#/components/schemas/muse____________________1",
"发布版本": "#/components/schemas/muse____________________2",
"兼容检查": "#/components/schemas/muse____________________3"
}
}
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"additionalProperties": true,
"type": "object",
"title": "Response Schema Command"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/schemas/{schema_id}/versions/{version}": {
"get": {
"tags": [
"元数据"
],
"summary": "读取结构",
"operationId": "read_schema",
"parameters": [
{
"name": "schema_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Schema Id"
}
},
{
"name": "version",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"minimum": 1,
"title": "Version"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse___________________3"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/works/{work_id}/plan-nodes": {
"get": {
"tags": [
"作品规划"
],
"summary": "读取规划节点",
"operationId": "read_plan_nodes",
"parameters": [
{
"name": "work_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Work Id"
}
},
{
"name": "version",
"in": "query",
"required": false,
"schema": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
],
"title": "Version"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________24"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
},
"post": {
"tags": [
"作品规划"
],
"summary": "保存规划节点",
"operationId": "save_plan_nodes",
"parameters": [
{
"name": "work_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Work Id"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________5"
}
}
}
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________25"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/works/{work_id}/progress": {
"get": {
"tags": [
"作品规划"
],
"summary": "读取进度",
"operationId": "read_work_progress",
"parameters": [
{
"name": "work_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Work Id"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________29"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/works": {
"get": {
"tags": [
"作品规划"
],
"summary": "列出作品",
"operationId": "list_works",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"items": {
"$ref": "#/components/schemas/muse__________________17"
},
"type": "array",
"title": "Response List Works"
}
}
}
}
}
}
},
"/api/v1/works/{work_id}/form": {
"get": {
"tags": [
"作品规划"
],
"summary": "读取表单",
"operationId": "read_work_form",
"parameters": [
{
"name": "work_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Work Id"
}
},
{
"name": "schema_id",
"in": "query",
"required": false,
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Schema Id"
}
},
{
"name": "base_version",
"in": "query",
"required": false,
"schema": {
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
],
"title": "Base Version"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________30"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/works/{work_id}/profile": {
"post": {
"tags": [
"作品规划"
],
"summary": "保存档案",
"operationId": "save_work_profile",
"parameters": [
{
"name": "work_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Work Id"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________6"
}
}
}
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________25"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/works/{work_id}/chapters": {
"get": {
"tags": [
"作品规划"
],
"summary": "读取目录",
"operationId": "read_work_chapters",
"parameters": [
{
"name": "work_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Work Id"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse__________________19"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
},
"post": {
"tags": [
"作品规划"
],
"summary": "新增章节",
"operationId": "append_chapter",
"parameters": [
{
"name": "work_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Work Id"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________7"
}
}
}
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________25"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/works/{work_id}/chapters/reorder": {
"post": {
"tags": [
"作品规划"
],
"summary": "重排章节",
"operationId": "reorder_chapters",
"parameters": [
{
"name": "work_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Work Id"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________8"
}
}
}
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________25"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/explorations": {
"get": {
"tags": [
"作品规划"
],
"summary": "列出探索",
"operationId": "list_explorations",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"items": {
"$ref": "#/components/schemas/muse___________________4"
},
"type": "array",
"title": "Response List Explorations"
}
}
}
}
}
}
},
"/api/v1/explorations/{draft_id}": {
"get": {
"tags": [
"作品规划"
],
"summary": "读取探索",
"operationId": "read_exploration",
"parameters": [
{
"name": "draft_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Draft Id"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse___________________5"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
},
"post": {
"tags": [
"作品规划"
],
"summary": "保存探索",
"operationId": "save_exploration",
"parameters": [
{
"name": "draft_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Draft Id"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________9"
}
}
}
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse___________________5"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/explorations/{draft_id}/check": {
"post": {
"tags": [
"作品规划"
],
"summary": "检查探索",
"operationId": "check_exploration_handoff",
"parameters": [
{
"name": "draft_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Draft Id"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________10"
}
}
}
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________32"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/works/{work_id}/exploration-selection": {
"get": {
"tags": [
"作品规划"
],
"summary": "读取选定",
"operationId": "read_exploration_selection",
"parameters": [
{
"name": "work_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Work Id"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________33"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
},
"post": {
"tags": [
"作品规划"
],
"summary": "选定探索",
"operationId": "select_exploration",
"parameters": [
{
"name": "work_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Work Id"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________11"
}
}
}
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________25"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/works/{work_id}/plans/schema": {
"get": {
"tags": [
"作品规划"
],
"summary": "读取规划结构入口",
"operationId": "read_plan_schema",
"parameters": [
{
"name": "work_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Work Id"
}
},
{
"name": "schema_id",
"in": "query",
"required": true,
"schema": {
"type": "string",
"title": "Schema Id"
}
},
{
"name": "base_version",
"in": "query",
"required": true,
"schema": {
"type": "integer",
"minimum": 1,
"title": "Base Version"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse__________________4"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/works/{work_id}/plans": {
"get": {
"tags": [
"作品规划"
],
"summary": "列出规划入口",
"operationId": "list_plans",
"parameters": [
{
"name": "work_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Work Id"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/muse__________________20"
},
"title": "Response List Plans"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/works/{work_id}/plans/candidates": {
"post": {
"tags": [
"作品规划"
],
"summary": "创建规划候选",
"operationId": "create_author_plan_candidate",
"parameters": [
{
"name": "work_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Work Id"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________12"
}
}
}
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________25"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
},
"get": {
"tags": [
"作品规划"
],
"summary": "列出规划候选",
"operationId": "list_plan_candidates",
"parameters": [
{
"name": "work_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Work Id"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/muse____________________34"
},
"title": "Response List Plan Candidates"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/plan-candidates/{candidate_id}": {
"get": {
"tags": [
"作品规划"
],
"summary": "读取规划候选",
"operationId": "read_plan_candidate",
"parameters": [
{
"name": "candidate_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Candidate Id"
}
},
{
"name": "version",
"in": "query",
"required": false,
"schema": {
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
],
"title": "Version"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________34"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/plan-candidates/{candidate_id}/versions": {
"post": {
"tags": [
"作品规划"
],
"summary": "编辑规划候选",
"operationId": "edit_plan_candidate",
"parameters": [
{
"name": "candidate_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Candidate Id"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________13"
}
}
}
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________25"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/plans/{plan_id}": {
"get": {
"tags": [
"作品规划"
],
"summary": "读取正式规划",
"operationId": "read_plan",
"parameters": [
{
"name": "plan_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Plan Id"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse__________________20"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/plan-candidates/{candidate_id}/reviews": {
"post": {
"tags": [
"作品规划"
],
"summary": "打开规划审阅",
"operationId": "open_plan_review",
"parameters": [
{
"name": "candidate_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Candidate Id"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse__________________7"
}
}
}
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________35"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/plan-candidates/{candidate_id}/decisions": {
"post": {
"tags": [
"作品规划"
],
"summary": "决定规划候选",
"operationId": "decide_plan_candidate",
"parameters": [
{
"name": "candidate_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Candidate Id"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________14"
}
}
}
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________25"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/works/{work_id}/chapters/{chapter_id}/fine-outline": {
"get": {
"tags": [
"作品规划"
],
"summary": "读取可用细纲入口",
"operationId": "read_usable_fine_outline",
"parameters": [
{
"name": "work_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Work Id"
}
},
{
"name": "chapter_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Chapter Id"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse__________________20"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/works/{work_id}/plans/form": {
"get": {
"tags": [
"作品规划"
],
"summary": "读取规划表单",
"operationId": "read_plan_form",
"parameters": [
{
"name": "work_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Work Id"
}
},
{
"name": "schema_id",
"in": "query",
"required": true,
"schema": {
"type": "string",
"title": "Schema Id"
}
},
{
"name": "base_version",
"in": "query",
"required": true,
"schema": {
"type": "integer",
"minimum": 1,
"title": "Base Version"
}
},
{
"name": "chapter_id",
"in": "query",
"required": false,
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Chapter Id"
}
},
{
"name": "node_id",
"in": "query",
"required": false,
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Node Id"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________36"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/chapters/{chapter_id}/documents/history": {
"get": {
"tags": [
"正文写作"
],
"summary": "读取历史",
"operationId": "list_document_history",
"parameters": [
{
"name": "chapter_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Chapter Id"
}
},
{
"name": "branch_id",
"in": "query",
"required": false,
"schema": {
"type": "string",
"default": "main",
"title": "Branch Id"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/muse____________________37"
},
"title": "Response List Document History"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/chapters/{chapter_id}/documents": {
"get": {
"tags": [
"正文写作"
],
"summary": "读取正文",
"operationId": "read_document",
"parameters": [
{
"name": "chapter_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Chapter Id"
}
},
{
"name": "branch_id",
"in": "query",
"required": false,
"schema": {
"type": "string",
"default": "main",
"title": "Branch Id"
}
},
{
"name": "revision",
"in": "query",
"required": false,
"schema": {
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
],
"title": "Revision"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________38"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
},
"post": {
"tags": [
"正文写作"
],
"summary": "保存正文",
"operationId": "save_document",
"parameters": [
{
"name": "chapter_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Chapter Id"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________15"
}
}
}
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________25"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/chapters/{chapter_id}/documents/restore": {
"post": {
"tags": [
"正文写作"
],
"summary": "回退正文",
"operationId": "restore_document",
"parameters": [
{
"name": "chapter_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Chapter Id"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________16"
}
}
}
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________25"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/works/{work_id}/writing-tasks": {
"post": {
"tags": [
"创作生成"
],
"summary": "发起生成",
"operationId": "start_writing_task",
"parameters": [
{
"name": "work_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Work Id"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse______http____________________5"
}
}
}
},
"responses": {
"201": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse______http____________________9"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/candidates/{candidate_id}/review-report": {
"get": {
"tags": [
"创作生成"
],
"summary": "读取审校报告",
"operationId": "read_candidate_review_report",
"parameters": [
{
"name": "candidate_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Candidate Id"
}
},
{
"name": "revision",
"in": "query",
"required": false,
"schema": {
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
],
"title": "Revision"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse______http____________________10"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/sources/import": {
"post": {
"tags": [
"资料研究"
],
"summary": "导入来源",
"operationId": "import_source",
"parameters": [
{
"name": "work_id",
"in": "query",
"required": true,
"schema": {
"type": "string",
"title": "Work Id"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse______http____________________6"
}
}
}
},
"responses": {
"201": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"title": "Response Import Source"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/sources": {
"get": {
"tags": [
"资料研究"
],
"summary": "列出来源",
"operationId": "list_sources",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array",
"title": "Response List Sources"
}
}
}
}
}
}
},
"/api/v1/sources/{source_id}/versions/{revision}": {
"get": {
"tags": [
"资料研究"
],
"summary": "读取版本",
"operationId": "read_source_version",
"parameters": [
{
"name": "source_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Source Id"
}
},
{
"name": "revision",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"title": "Revision"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"title": "Response Read Source Version"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/sources/{source_id}/versions/{revision}/clean-candidates": {
"post": {
"tags": [
"资料研究"
],
"summary": "生成清理候选",
"operationId": "create_clean_candidate",
"parameters": [
{
"name": "source_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Source Id"
}
},
{
"name": "revision",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"title": "Revision"
}
}
],
"responses": {
"201": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"title": "Response Create Clean Candidate"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
},
"get": {
"tags": [
"资料研究"
],
"summary": "列出清理候选",
"operationId": "list_clean_candidates",
"parameters": [
{
"name": "source_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Source Id"
}
},
{
"name": "revision",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"title": "Revision"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"title": "Response List Clean Candidates"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/clean-candidates/{candidate_id}/apply": {
"post": {
"tags": [
"资料研究"
],
"summary": "应用清理候选",
"operationId": "apply_clean_candidate",
"parameters": [
{
"name": "candidate_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Candidate Id"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"title": "Response Apply Clean Candidate"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/clean-candidates/{candidate_id}/reject": {
"post": {
"tags": [
"资料研究"
],
"summary": "拒绝清理候选",
"operationId": "reject_clean_candidate",
"parameters": [
{
"name": "candidate_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Candidate Id"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"title": "Response Reject Clean Candidate"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/rankings": {
"post": {
"tags": [
"资料研究"
],
"summary": "登记榜单",
"operationId": "register_ranking",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse______http____________________7"
}
}
},
"required": true
},
"responses": {
"201": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"additionalProperties": true,
"type": "object",
"title": "Response Register Ranking"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/rankings/{ranking_id}/snapshots": {
"post": {
"tags": [
"资料研究"
],
"summary": "采集快照",
"operationId": "capture_ranking_snapshot",
"parameters": [
{
"name": "ranking_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Ranking Id"
}
}
],
"responses": {
"201": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"title": "Response Capture Ranking Snapshot"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
},
"get": {
"tags": [
"资料研究"
],
"summary": "列出快照",
"operationId": "list_ranking_snapshots",
"parameters": [
{
"name": "ranking_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Ranking Id"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"title": "Response List Ranking Snapshots"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/sources/{source_id}/analyses": {
"post": {
"tags": [
"资料研究"
],
"summary": "发起拆书",
"operationId": "start_source_analysis",
"parameters": [
{
"name": "source_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Source Id"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse______http____________________8"
}
}
}
},
"responses": {
"201": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"title": "Response Start Source Analysis"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
},
"get": {
"tags": [
"资料研究"
],
"summary": "列出拆书",
"operationId": "list_source_analyses",
"parameters": [
{
"name": "source_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Source Id"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"title": "Response List Source Analyses"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/analyses/{task_id}/resume": {
"post": {
"tags": [
"资料研究"
],
"summary": "恢复拆书",
"operationId": "resume_source_analysis",
"parameters": [
{
"name": "task_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Task Id"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"title": "Response Resume Source Analysis"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/chapters/{chapter_id}/writing-candidates": {
"get": {
"tags": [
"作者审阅"
],
"summary": "列出候选",
"operationId": "list_writing_candidates",
"parameters": [
{
"name": "chapter_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Chapter Id"
}
},
{
"name": "branch_id",
"in": "query",
"required": false,
"schema": {
"type": "string",
"default": "main",
"title": "Branch Id"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/muse____________________41"
},
"title": "Response List Writing Candidates"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
},
"post": {
"tags": [
"作者审阅"
],
"summary": "创建人工候选",
"operationId": "create_author_candidate",
"parameters": [
{
"name": "chapter_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Chapter Id"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________15"
}
}
}
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________25"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/writing-candidates/{candidate_id}": {
"get": {
"tags": [
"作者审阅"
],
"summary": "读取候选",
"operationId": "read_writing_candidate",
"parameters": [
{
"name": "candidate_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Candidate Id"
}
},
{
"name": "revision",
"in": "query",
"required": false,
"schema": {
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
],
"title": "Revision"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________41"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/writing-candidates/{candidate_id}/edits": {
"post": {
"tags": [
"作者审阅"
],
"summary": "修改候选",
"operationId": "edit_writing_candidate",
"parameters": [
{
"name": "candidate_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Candidate Id"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________17"
}
}
}
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________25"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/author-reviews": {
"post": {
"tags": [
"作者审阅"
],
"summary": "打开审阅",
"operationId": "open_writing_review",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________18"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________42"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/writing-candidates/{candidate_id}/decisions": {
"post": {
"tags": [
"作者审阅"
],
"summary": "决定候选",
"operationId": "decide_writing_candidate",
"parameters": [
{
"name": "candidate_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Candidate Id"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________19"
}
}
}
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________25"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/works/{work_id}/facts/schema": {
"get": {
"tags": [
"故事世界"
],
"summary": "读取事实结构",
"operationId": "read_fact_schema",
"parameters": [
{
"name": "work_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Work Id"
}
},
{
"name": "object_id",
"in": "query",
"required": true,
"schema": {
"type": "string",
"title": "Object Id"
}
},
{
"name": "schema_id",
"in": "query",
"required": true,
"schema": {
"type": "string",
"title": "Schema Id"
}
},
{
"name": "base_version",
"in": "query",
"required": false,
"schema": {
"type": "integer",
"minimum": 1,
"default": 1,
"title": "Base Version"
}
},
{
"name": "instance_family",
"in": "query",
"required": false,
"schema": {
"enum": [
"entity",
"relation"
],
"type": "string",
"default": "entity",
"title": "Instance Family"
}
},
{
"name": "extension_version",
"in": "query",
"required": false,
"schema": {
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
],
"title": "Extension Version"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse__________________11"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/works/{work_id}/facts": {
"get": {
"tags": [
"故事世界"
],
"summary": "查询事实",
"operationId": "query_world_state",
"parameters": [
{
"name": "work_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Work Id"
}
},
{
"name": "as_of",
"in": "query",
"required": false,
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "As Of"
}
},
{
"name": "system_revision",
"in": "query",
"required": false,
"schema": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
],
"title": "System Revision"
}
},
{
"name": "view",
"in": "query",
"required": false,
"schema": {
"enum": [
"author",
"reader",
"character"
],
"type": "string",
"default": "author",
"title": "View"
}
},
{
"name": "character_id",
"in": "query",
"required": false,
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Character Id"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________46"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/works/{work_id}/fact-proposals": {
"post": {
"tags": [
"故事世界"
],
"summary": "提出事实",
"operationId": "propose_world_fact",
"parameters": [
{
"name": "work_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Work Id"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________21"
}
}
}
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________25"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/fact-proposals/{proposal_id}": {
"get": {
"tags": [
"故事世界"
],
"summary": "读取提案",
"operationId": "read_fact_proposal",
"parameters": [
{
"name": "proposal_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Proposal Id"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________47"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/fact-proposals/{proposal_id}/reviews": {
"post": {
"tags": [
"故事世界"
],
"summary": "打开事实审阅",
"operationId": "open_fact_review",
"parameters": [
{
"name": "proposal_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Proposal Id"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________22"
}
}
}
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________48"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/fact-proposals/{proposal_id}/decisions": {
"post": {
"tags": [
"故事世界"
],
"summary": "决定事实",
"operationId": "decide_world_fact",
"parameters": [
{
"name": "proposal_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Proposal Id"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________23"
}
}
}
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse____________________25"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/tasks/{task_id}/events": {
"get": {
"tags": [
"任务事件"
],
"summary": "读取事件",
"operationId": "read_task_events",
"parameters": [
{
"name": "task_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Task Id"
}
},
{
"name": "cursor",
"in": "query",
"required": false,
"schema": {
"type": "integer",
"minimum": 0,
"default": 0,
"title": "Cursor"
}
},
{
"name": "work_id",
"in": "query",
"required": false,
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Work Id"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/___-Output"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/api/v1/tasks/{task_id}/events/stream": {
"get": {
"tags": [
"任务事件"
],
"summary": "订阅事件",
"operationId": "stream_task_events",
"parameters": [
{
"name": "task_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Task Id"
}
},
{
"name": "cursor",
"in": "query",
"required": false,
"schema": {
"type": "integer",
"minimum": 0,
"default": 0,
"title": "Cursor"
}
},
{
"name": "work_id",
"in": "query",
"required": false,
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Work Id"
}
},
{
"name": "last-event-id",
"in": "header",
"required": false,
"schema": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
],
"title": "Last-Event-Id"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/health": {
"get": {
"tags": [
"系统状态"
],
"summary": "存活",
"operationId": "read_health",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"title": "Response Read Health"
}
}
}
}
}
}
},
"/ready": {
"get": {
"tags": [
"系统状态"
],
"summary": "就绪",
"operationId": "read_readiness",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/v1/session": {
"get": {
"tags": [
"作者会话"
],
"summary": "读取",
"operationId": "read_session",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse______http______________3"
}
}
}
}
}
},
"post": {
"tags": [
"作者会话"
],
"summary": "登录",
"operationId": "open_session",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse______http____________-Input"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/muse______http______________3"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
},
"delete": {
"tags": [
"作者会话"
],
"summary": "退出",
"operationId": "close_session",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"additionalProperties": {
"type": "boolean"
},
"type": "object",
"title": "Response Close Session"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"HTTPValidationError": {
"properties": {
"detail": {
"items": {
"$ref": "#/components/schemas/ValidationError"
},
"type": "array",
"title": "Detail"
}
},
"type": "object",
"title": "HTTPValidationError"
},
"ValidationError": {
"properties": {
"loc": {
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"type": "array",
"title": "Location"
},
"msg": {
"type": "string",
"title": "Message"
},
"type": {
"type": "string",
"title": "Error Type"
},
"input": {
"title": "Input"
},
"ctx": {
"type": "object",
"title": "Context"
}
},
"type": "object",
"required": [
"loc",
"msg",
"type"
],
"title": "ValidationError"
},
"__": {
"properties": {
"paragraph_id": {
"type": "string",
"title": "Paragraph Id"
},
"content": {
"items": {
"anyOf": [
{
"$ref": "#/components/schemas/muse__________________8"
},
{
"$ref": "#/components/schemas/muse__________________9"
}
]
},
"type": "array",
"title": "Content"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"paragraph_id",
"content"
],
"title": "段落"
},
"___-Input": {
"properties": {
"类型": {
"type": "string",
"title": "类型"
},
"枚举": {
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "boolean"
}
]
},
"type": "array",
"title": "枚举",
"default": []
},
"元素": {
"anyOf": [
{
"$ref": "#/components/schemas/___-Input"
},
{
"type": "null"
}
]
},
"字段": {
"items": {
"$ref": "#/components/schemas/muse_________________2"
},
"type": "array",
"title": "字段",
"default": []
},
"分支": {
"items": {
"$ref": "#/components/schemas/___-Input"
},
"type": "array",
"title": "分支",
"default": []
},
"最小值": {
"anyOf": [
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "null"
}
],
"title": "最小值"
},
"最大值": {
"anyOf": [
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "null"
}
],
"title": "最大值"
},
"引用": {
"anyOf": [
{
"$ref": "#/components/schemas/muse_________________3"
},
{
"type": "null"
}
]
},
"最少项": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "最少项"
},
"最多项": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "最多项"
}
},
"type": "object",
"required": [
"类型"
],
"title": "值规则"
},
"___-Output": {
"properties": {
"items": {
"items": {
"$ref": "#/components/schemas/muse______http______________2"
},
"type": "array",
"title": "Items"
},
"reset_required": {
"type": "boolean",
"title": "Reset Required"
},
"first_sequence": {
"type": "integer",
"title": "First Sequence"
},
"last_sequence": {
"type": "integer",
"title": "Last Sequence"
}
},
"type": "object",
"required": [
"items",
"reset_required",
"first_sequence",
"last_sequence"
],
"title": "事件页"
},
"muse_________________-Input": {
"properties": {
"command_id": {
"type": "string",
"minLength": 1,
"title": "Command Id"
},
"target_ref": {
"type": "string",
"minLength": 1,
"title": "Target Ref"
},
"expected_state": {
"$ref": "#/components/schemas/muse__________________1"
},
"action": {
"type": "string",
"enum": [
"暂停",
"取消",
"恢复"
],
"title": "Action"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"command_id",
"target_ref",
"expected_state",
"action"
],
"title": "任务控制请求"
},
"muse_________________1": {
"properties": {
"uiVisible": {
"type": "boolean",
"title": "Uivisible",
"default": true
},
"userEditable": {
"type": "boolean",
"title": "Usereditable",
"default": true
},
"userSearchable": {
"type": "boolean",
"title": "Usersearchable",
"default": true
},
"exportable": {
"type": "boolean",
"title": "Exportable",
"default": true
},
"aiContext": {
"anyOf": [
{
"type": "boolean"
},
{
"items": {
"type": "string"
},
"type": "array"
}
],
"title": "Aicontext",
"default": false
}
},
"type": "object",
"title": "字段用途"
},
"muse_________________2": {
"properties": {
"field_id": {
"type": "string",
"title": "Field Id"
},
"key": {
"type": "string",
"title": "Key"
},
"名称": {
"type": "string",
"title": "名称"
},
"值": {
"$ref": "#/components/schemas/___-Input"
},
"说明": {
"type": "string",
"title": "说明",
"default": ""
},
"必填": {
"type": "boolean",
"title": "必填",
"default": false
},
"推荐": {
"type": "boolean",
"title": "推荐",
"default": false
},
"别名": {
"items": {
"type": "string"
},
"type": "array",
"title": "别名",
"default": []
},
"用途": {
"$ref": "#/components/schemas/muse_________________1"
},
"存储": {
"type": "string",
"title": "存储",
"default": "extension_json"
},
"绑定身份": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "绑定身份"
},
"已停用": {
"type": "boolean",
"title": "已停用",
"default": false
}
},
"type": "object",
"required": [
"field_id",
"key",
"名称",
"值"
],
"title": "字段定义"
},
"muse_________________3": {
"properties": {
"目标类型": {
"items": {
"type": "string"
},
"type": "array",
"title": "目标类型"
},
"作品范围": {
"type": "string",
"title": "作品范围",
"default": "same_work"
},
"确认状态": {
"type": "string",
"title": "确认状态",
"default": "confirmed"
},
"关系用途": {
"type": "string",
"title": "关系用途",
"default": "依据"
}
},
"type": "object",
"required": [
"目标类型"
],
"title": "引用规则"
},
"muse_________________4": {
"properties": {
"type_id": {
"type": "string",
"title": "Type Id"
},
"名称": {
"type": "string",
"title": "名称"
},
"语义域": {
"type": "string",
"title": "语义域"
},
"实例粒度": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
],
"title": "实例粒度"
},
"实例族": {
"items": {
"type": "string"
},
"type": "array",
"title": "实例族"
},
"说明": {
"type": "string",
"title": "说明",
"default": ""
}
},
"type": "object",
"required": [
"type_id",
"名称",
"语义域",
"实例粒度",
"实例族"
],
"title": "类型定义"
},
"muse_________________5": {
"properties": {
"key": {
"type": "string",
"title": "Key"
},
"等于": {
"type": "string",
"title": "等于"
},
"必填": {
"items": {
"type": "string"
},
"type": "array",
"title": "必填",
"default": []
},
"禁止": {
"items": {
"type": "string"
},
"type": "array",
"title": "禁止",
"default": []
}
},
"type": "object",
"required": [
"key",
"等于"
],
"title": "字段条件"
},
"muse_________________6": {
"properties": {
"type_id": {
"type": "string",
"title": "Type Id"
},
"schema_id": {
"type": "string",
"title": "Schema Id"
},
"schema_version": {
"type": "integer",
"title": "Schema Version"
},
"字段": {
"items": {
"$ref": "#/components/schemas/muse_________________2"
},
"type": "array",
"title": "字段"
},
"父版本": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "父版本"
},
"条件": {
"items": {
"$ref": "#/components/schemas/muse_________________5"
},
"type": "array",
"title": "条件",
"default": []
}
},
"type": "object",
"required": [
"type_id",
"schema_id",
"schema_version",
"字段"
],
"title": "结构定义"
},
"muse_________________7": {
"properties": {
"路径": {
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"type": "array",
"title": "路径"
},
"动作": {
"type": "string",
"title": "动作"
},
"值": {
"title": "值"
}
},
"type": "object",
"required": [
"路径",
"动作"
],
"title": "字段变更",
"description": "业务content内的不重叠位置变更;数组结构变化用完整字段set。"
},
"muse__________________1": {
"type": "string",
"enum": [
"queued",
"running",
"paused",
"reconciling",
"failed",
"cancelled",
"completed"
],
"title": "任务状态"
},
"muse__________________10": {
"properties": {
"paragraphs": {
"items": {
"$ref": "#/components/schemas/__"
},
"type": "array",
"title": "Paragraphs"
},
"format_version": {
"type": "integer",
"title": "Format Version",
"default": 1
}
},
"additionalProperties": false,
"type": "object",
"required": [
"paragraphs"
],
"title": "正文草稿"
},
"muse__________________11": {
"properties": {
"schema_id": {
"type": "string",
"title": "Schema Id"
},
"base_version": {
"type": "integer",
"title": "Base Version"
},
"effective_schema_hash": {
"type": "string",
"title": "Effective Schema Hash"
},
"projection_version": {
"type": "string",
"title": "Projection Version"
},
"extension_version": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Extension Version"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"schema_id",
"base_version",
"effective_schema_hash",
"projection_version"
],
"title": "事实结构"
},
"muse__________________12": {
"properties": {
"paragraph_id": {
"type": "string",
"title": "Paragraph Id"
},
"start": {
"type": "integer",
"title": "Start"
},
"end": {
"type": "integer",
"title": "End"
},
"quote": {
"type": "string",
"title": "Quote"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"paragraph_id",
"start",
"end",
"quote"
],
"title": "引文锚点"
},
"muse__________________13": {
"properties": {
"chapter_id": {
"type": "string",
"title": "Chapter Id"
},
"branch_id": {
"type": "string",
"title": "Branch Id"
},
"revision": {
"type": "integer",
"title": "Revision"
},
"document_hash": {
"type": "string",
"title": "Document Hash"
},
"evidence": {
"items": {
"$ref": "#/components/schemas/muse__________________12"
},
"type": "array",
"title": "Evidence"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"chapter_id",
"branch_id",
"revision",
"document_hash",
"evidence"
],
"title": "正文依据"
},
"muse__________________14": {
"properties": {
"actor_id": {
"type": "string",
"title": "Actor Id"
},
"from_chapter_id": {
"type": "string",
"title": "From Chapter Id"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"actor_id",
"from_chapter_id"
],
"title": "知情记录"
},
"muse__________________15": {
"properties": {
"from_chapter_id": {
"type": "string",
"title": "From Chapter Id"
},
"to_chapter_id": {
"type": "string",
"title": "To Chapter Id"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"from_chapter_id",
"to_chapter_id"
],
"title": "叙事窗口"
},
"muse__________________16": {
"properties": {
"node_id": {
"type": "string",
"title": "Node Id"
},
"kind": {
"type": "string",
"enum": [
"volume",
"chapter",
"scene"
],
"title": "Kind"
},
"title": {
"type": "string",
"title": "Title"
},
"parent_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Parent Id"
},
"position": {
"type": "integer",
"title": "Position"
}
},
"type": "object",
"required": [
"node_id",
"kind",
"title",
"parent_id",
"position"
],
"title": "节点条目"
},
"muse__________________17": {
"properties": {
"work_id": {
"type": "string",
"title": "Work Id"
},
"revision": {
"type": "integer",
"title": "Revision"
},
"content": {
"additionalProperties": true,
"type": "object",
"title": "Content"
}
},
"type": "object",
"required": [
"work_id",
"revision",
"content"
],
"title": "作品概要"
},
"muse__________________18": {
"properties": {
"chapter_id": {
"type": "string",
"title": "Chapter Id"
},
"title": {
"type": "string",
"title": "Title"
},
"position": {
"type": "integer",
"title": "Position"
}
},
"type": "object",
"required": [
"chapter_id",
"title",
"position"
],
"title": "章节条目"
},
"muse__________________19": {
"properties": {
"work_id": {
"type": "string",
"title": "Work Id"
},
"revision": {
"type": "integer",
"title": "Revision"
},
"chapters": {
"items": {
"$ref": "#/components/schemas/muse__________________18"
},
"type": "array",
"title": "Chapters"
}
},
"type": "object",
"required": [
"work_id",
"revision",
"chapters"
],
"title": "目录结果"
},
"muse__________________2": {
"type": "string",
"enum": [
"planning",
"generation",
"detection",
"extraction"
],
"title": "内容用途",
"description": "内容消费用途。"
},
"muse__________________20": {
"properties": {
"plan_id": {
"type": "string",
"title": "Plan Id"
},
"work_id": {
"type": "string",
"title": "Work Id"
},
"chapter_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Chapter Id"
},
"node_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Node Id"
},
"type_id": {
"type": "string",
"title": "Type Id"
},
"revision": {
"type": "integer",
"title": "Revision"
},
"content": {
"additionalProperties": true,
"type": "object",
"title": "Content"
},
"schema_binding": {
"additionalProperties": true,
"type": "object",
"title": "Schema Binding"
},
"source_dependencies": {
"items": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"type": "array",
"title": "Source Dependencies"
}
},
"type": "object",
"required": [
"plan_id",
"work_id",
"chapter_id",
"type_id",
"revision",
"content",
"schema_binding",
"source_dependencies"
],
"title": "规划结果"
},
"muse__________________3": {
"properties": {
"node_id": {
"type": "string",
"title": "Node Id"
},
"kind": {
"type": "string",
"enum": [
"volume",
"chapter",
"scene"
],
"title": "Kind"
},
"title": {
"type": "string",
"title": "Title"
},
"parent_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Parent Id"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"node_id",
"kind",
"title"
],
"title": "目录节点"
},
"muse__________________4": {
"properties": {
"schema_id": {
"type": "string",
"title": "Schema Id"
},
"base_version": {
"type": "integer",
"title": "Base Version"
},
"effective_schema_hash": {
"type": "string",
"title": "Effective Schema Hash"
},
"projection_version": {
"type": "string",
"title": "Projection Version"
},
"extension_version": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Extension Version"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"schema_id",
"base_version",
"effective_schema_hash",
"projection_version"
],
"title": "档案结构"
},
"muse__________________5": {
"properties": {
"work_id": {
"type": "string",
"title": "Work Id"
},
"draft_id": {
"type": "string",
"title": "Draft Id"
},
"expected_hash": {
"type": "string",
"title": "Expected Hash"
},
"expected_revision": {
"type": "integer",
"title": "Expected Revision"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"work_id",
"draft_id",
"expected_hash",
"expected_revision"
],
"title": "探索选择"
},
"muse__________________6": {
"properties": {
"work_id": {
"type": "string",
"title": "Work Id"
},
"expected_revision": {
"type": "integer",
"title": "Expected Revision"
},
"schema": {
"$ref": "#/components/schemas/muse__________________4"
},
"content": {
"additionalProperties": true,
"type": "object",
"title": "Content"
},
"chapter_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Chapter Id"
},
"selection_revision": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Selection Revision"
},
"changes": {
"items": {
"$ref": "#/components/schemas/muse_________________7"
},
"type": "array",
"title": "Changes",
"default": []
},
"node_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Node Id"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"work_id",
"expected_revision",
"schema",
"content"
],
"title": "规划保存"
},
"muse__________________7": {
"properties": {
"candidate_id": {
"type": "string",
"title": "Candidate Id"
},
"candidate_revision": {
"type": "integer",
"title": "Candidate Revision"
},
"candidate_hash": {
"type": "string",
"title": "Candidate Hash"
},
"plan_id": {
"type": "string",
"title": "Plan Id"
},
"expected_revision": {
"type": "integer",
"title": "Expected Revision"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"candidate_id",
"candidate_revision",
"candidate_hash",
"plan_id",
"expected_revision"
],
"title": "规划定位"
},
"muse__________________8": {
"properties": {
"text": {
"type": "string",
"title": "Text"
},
"marks": {
"items": {
"type": "string",
"enum": [
"strong",
"emphasis"
]
},
"type": "array",
"title": "Marks",
"default": []
},
"type": {
"type": "string",
"const": "text",
"title": "Type",
"default": "text"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"text"
],
"title": "文本节点"
},
"muse__________________9": {
"properties": {
"newline": {
"type": "string",
"enum": [
"\n",
"\r\n",
"\r"
],
"title": "Newline",
"default": "\n"
},
"type": {
"type": "string",
"const": "line_break",
"title": "Type",
"default": "line_break"
}
},
"additionalProperties": false,
"type": "object",
"title": "换行节点"
},
"muse___________________2": {
"properties": {
"command_id": {
"type": "string",
"title": "Command Id"
},
"task_id": {
"type": "string",
"title": "Task Id"
},
"state": {
"$ref": "#/components/schemas/muse__________________1"
},
"last_sequence": {
"type": "integer",
"title": "Last Sequence"
}
},
"type": "object",
"required": [
"command_id",
"task_id",
"state",
"last_sequence"
],
"title": "任务控制回执"
},
"muse___________________3": {
"properties": {
"schema_id": {
"type": "string",
"title": "Schema Id"
},
"schema_version": {
"type": "integer",
"title": "Schema Version"
},
"type_id": {
"type": "string",
"title": "Type Id"
},
"effective_schema_hash": {
"type": "string",
"title": "Effective Schema Hash"
},
"contract": {
"additionalProperties": true,
"type": "object",
"title": "Contract"
}
},
"type": "object",
"required": [
"schema_id",
"schema_version",
"type_id",
"effective_schema_hash",
"contract"
],
"title": "结构读取结果"
},
"muse___________________4": {
"properties": {
"draft_id": {
"type": "string",
"title": "Draft Id"
},
"title": {
"type": "string",
"title": "Title"
},
"revision": {
"type": "integer",
"title": "Revision"
},
"draft_hash": {
"type": "string",
"title": "Draft Hash"
}
},
"type": "object",
"required": [
"draft_id",
"title",
"revision",
"draft_hash"
],
"title": "探索稿概要"
},
"muse___________________5": {
"properties": {
"draft_id": {
"type": "string",
"title": "Draft Id"
},
"title": {
"type": "string",
"title": "Title"
},
"revision": {
"type": "integer",
"title": "Revision"
},
"draft_hash": {
"type": "string",
"title": "Draft Hash"
},
"content": {
"type": "string",
"title": "Content"
}
},
"type": "object",
"required": [
"draft_id",
"title",
"revision",
"draft_hash",
"content"
],
"title": "探索稿结果"
},
"muse___________________6": {
"properties": {
"work_id": {
"type": "string",
"title": "Work Id"
},
"revision": {
"type": "integer",
"title": "Revision"
},
"snapshot": {
"$ref": "#/components/schemas/muse___________________5"
},
"selected_by": {
"type": "string",
"title": "Selected By"
},
"selected_at": {
"type": "string",
"title": "Selected At"
}
},
"type": "object",
"required": [
"work_id",
"revision",
"snapshot",
"selected_by",
"selected_at"
],
"title": "已选探索稿"
},
"muse____________________1": {
"properties": {
"action": {
"type": "string",
"const": "登记候选",
"title": "Action"
},
"类型": {
"$ref": "#/components/schemas/muse_________________4"
},
"结构": {
"$ref": "#/components/schemas/muse_________________6"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"action",
"类型",
"结构"
],
"title": "结构候选请求"
},
"muse____________________10": {
"properties": {
"expected_hash": {
"type": "string",
"title": "Expected Hash"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"expected_hash"
],
"title": "探索检查请求"
},
"muse____________________11": {
"properties": {
"command_id": {
"type": "string",
"minLength": 1,
"title": "Command Id"
},
"selection": {
"$ref": "#/components/schemas/muse__________________5"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"command_id",
"selection"
],
"title": "探索选定请求"
},
"muse____________________12": {
"properties": {
"command_id": {
"type": "string",
"minLength": 1,
"title": "Command Id"
},
"request": {
"$ref": "#/components/schemas/muse__________________6"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"command_id",
"request"
],
"title": "规划候选请求"
},
"muse____________________13": {
"properties": {
"command_id": {
"type": "string",
"minLength": 1,
"title": "Command Id"
},
"candidate": {
"$ref": "#/components/schemas/muse__________________7"
},
"changes": {
"items": {
"$ref": "#/components/schemas/muse_________________7"
},
"type": "array",
"title": "Changes"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"command_id",
"candidate",
"changes"
],
"title": "规划编辑请求"
},
"muse____________________14": {
"properties": {
"command_id": {
"type": "string",
"minLength": 1,
"title": "Command Id"
},
"candidate": {
"$ref": "#/components/schemas/muse__________________7"
},
"action": {
"type": "string",
"enum": [
"adopt",
"reject",
"defer"
],
"title": "Action"
},
"author_review_id": {
"type": "string",
"title": "Author Review Id"
},
"review_hash": {
"type": "string",
"title": "Review Hash"
},
"approved_changes": {
"items": {
"type": "string"
},
"type": "array",
"title": "Approved Changes"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"command_id",
"candidate",
"action",
"author_review_id",
"review_hash",
"approved_changes"
],
"title": "规划决定请求"
},
"muse____________________15": {
"properties": {
"command_id": {
"type": "string",
"minLength": 1,
"title": "Command Id"
},
"chapter_id": {
"type": "string",
"minLength": 1,
"title": "Chapter Id"
},
"branch_id": {
"type": "string",
"title": "Branch Id",
"default": "main"
},
"expected_revision": {
"type": "integer",
"minimum": 0.0,
"title": "Expected Revision"
},
"document": {
"$ref": "#/components/schemas/muse__________________10"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"command_id",
"chapter_id",
"expected_revision",
"document"
],
"title": "人工保存请求"
},
"muse____________________16": {
"properties": {
"command_id": {
"type": "string",
"minLength": 1,
"title": "Command Id"
},
"chapter_id": {
"type": "string",
"minLength": 1,
"title": "Chapter Id"
},
"branch_id": {
"type": "string",
"title": "Branch Id",
"default": "main"
},
"expected_revision": {
"type": "integer",
"minimum": 0.0,
"title": "Expected Revision"
},
"restore_from": {
"type": "integer",
"minimum": 1.0,
"title": "Restore From"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"command_id",
"chapter_id",
"expected_revision",
"restore_from"
],
"title": "回退正文请求"
},
"muse____________________17": {
"properties": {
"command_id": {
"type": "string",
"minLength": 1,
"title": "Command Id"
},
"candidate_id": {
"type": "string",
"minLength": 1,
"title": "Candidate Id"
},
"expected_candidate_revision": {
"type": "integer",
"minimum": 1.0,
"title": "Expected Candidate Revision"
},
"expected_candidate_hash": {
"type": "string",
"minLength": 1,
"title": "Expected Candidate Hash"
},
"document": {
"anyOf": [
{
"$ref": "#/components/schemas/muse__________________10"
},
{
"type": "null"
}
]
},
"selected_changes": {
"items": {
"type": "string"
},
"type": "array",
"title": "Selected Changes"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"command_id",
"candidate_id",
"expected_candidate_revision",
"expected_candidate_hash"
],
"title": "候选修改请求"
},
"muse____________________18": {
"properties": {
"candidate_id": {
"type": "string",
"minLength": 1,
"title": "Candidate Id"
},
"candidate_revision": {
"type": "integer",
"minimum": 1.0,
"title": "Candidate Revision"
},
"candidate_hash": {
"type": "string",
"minLength": 1,
"title": "Candidate Hash"
},
"target_ref": {
"type": "string",
"minLength": 1,
"title": "Target Ref"
},
"expected_revision": {
"type": "integer",
"minimum": 0.0,
"title": "Expected Revision"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"candidate_id",
"candidate_revision",
"candidate_hash",
"target_ref",
"expected_revision"
],
"title": "候选审阅请求"
},
"muse____________________19": {
"properties": {
"command_id": {
"type": "string",
"minLength": 1,
"title": "Command Id"
},
"candidate_id": {
"type": "string",
"minLength": 1,
"title": "Candidate Id"
},
"candidate_revision": {
"type": "integer",
"minimum": 1.0,
"title": "Candidate Revision"
},
"candidate_hash": {
"type": "string",
"minLength": 1,
"title": "Candidate Hash"
},
"target_ref": {
"type": "string",
"minLength": 1,
"title": "Target Ref"
},
"expected_revision": {
"type": "integer",
"minimum": 0.0,
"title": "Expected Revision"
},
"action": {
"type": "string",
"enum": [
"adopt",
"reject",
"defer"
],
"title": "Action"
},
"author_review_id": {
"type": "string",
"minLength": 1,
"title": "Author Review Id"
},
"review_hash": {
"type": "string",
"minLength": 1,
"title": "Review Hash"
},
"approved_changes": {
"items": {
"type": "string"
},
"type": "array",
"title": "Approved Changes"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"command_id",
"candidate_id",
"candidate_revision",
"candidate_hash",
"target_ref",
"expected_revision",
"action",
"author_review_id",
"review_hash"
],
"title": "候选决定请求"
},
"muse____________________2": {
"properties": {
"action": {
"type": "string",
"const": "发布版本",
"title": "Action"
},
"schema_id": {
"type": "string",
"title": "Schema Id"
},
"version": {
"type": "integer",
"minimum": 1.0,
"title": "Version"
},
"content_hash": {
"type": "string",
"title": "Content Hash"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"action",
"schema_id",
"version",
"content_hash"
],
"title": "结构发布请求"
},
"muse____________________20": {
"properties": {
"work_id": {
"type": "string",
"title": "Work Id"
},
"object_id": {
"type": "string",
"title": "Object Id"
},
"expected_revision": {
"type": "integer",
"title": "Expected Revision"
},
"schema": {
"$ref": "#/components/schemas/muse__________________11"
},
"content": {
"additionalProperties": true,
"type": "object",
"title": "Content"
},
"sources": {
"items": {
"$ref": "#/components/schemas/muse__________________13"
},
"type": "array",
"title": "Sources"
},
"effective_from": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Effective From"
},
"instance_family": {
"type": "string",
"enum": [
"entity",
"relation"
],
"title": "Instance Family",
"default": "entity"
},
"independent": {
"type": "boolean",
"title": "Independent",
"default": false
},
"knowledge_mode": {
"type": "string",
"enum": [
"fact",
"belief",
"plan",
"setting"
],
"title": "Knowledge Mode",
"default": "fact"
},
"known_to": {
"items": {
"$ref": "#/components/schemas/muse__________________14"
},
"type": "array",
"title": "Known To",
"default": []
},
"reader_visible": {
"type": "boolean",
"title": "Reader Visible",
"default": true
},
"planned_window": {
"anyOf": [
{
"$ref": "#/components/schemas/muse__________________15"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false,
"type": "object",
"required": [
"work_id",
"object_id",
"expected_revision",
"schema",
"content",
"sources",
"effective_from"
],
"title": "事实提案请求"
},
"muse____________________21": {
"properties": {
"command_id": {
"type": "string",
"minLength": 1,
"title": "Command Id"
},
"proposal": {
"$ref": "#/components/schemas/muse____________________20"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"command_id",
"proposal"
],
"title": "事实创建请求"
},
"muse____________________22": {
"properties": {
"proposal_id": {
"type": "string",
"title": "Proposal Id"
},
"proposal_revision": {
"type": "integer",
"minimum": 1.0,
"title": "Proposal Revision"
},
"proposal_hash": {
"type": "string",
"title": "Proposal Hash"
},
"target_ref": {
"type": "string",
"title": "Target Ref"
},
"expected_revision": {
"type": "integer",
"minimum": 0.0,
"title": "Expected Revision"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"proposal_id",
"proposal_revision",
"proposal_hash",
"target_ref",
"expected_revision"
],
"title": "事实审阅请求"
},
"muse____________________23": {
"properties": {
"command_id": {
"type": "string",
"minLength": 1,
"title": "Command Id"
},
"proposal_id": {
"type": "string",
"title": "Proposal Id"
},
"proposal_revision": {
"type": "integer",
"minimum": 1.0,
"title": "Proposal Revision"
},
"proposal_hash": {
"type": "string",
"title": "Proposal Hash"
},
"target_ref": {
"type": "string",
"title": "Target Ref"
},
"expected_revision": {
"type": "integer",
"minimum": 0.0,
"title": "Expected Revision"
},
"action": {
"type": "string",
"enum": [
"adopt",
"reject",
"defer"
],
"title": "Action"
},
"author_review_id": {
"type": "string",
"title": "Author Review Id"
},
"review_hash": {
"type": "string",
"title": "Review Hash"
},
"approved_changes": {
"items": {
"type": "string"
},
"type": "array",
"title": "Approved Changes"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"command_id",
"proposal_id",
"proposal_revision",
"proposal_hash",
"target_ref",
"expected_revision",
"action",
"author_review_id",
"review_hash"
],
"title": "事实决定请求"
},
"muse____________________24": {
"properties": {
"work_id": {
"type": "string",
"title": "Work Id"
},
"revision": {
"type": "integer",
"title": "Revision"
},
"nodes": {
"items": {
"$ref": "#/components/schemas/muse__________________16"
},
"type": "array",
"title": "Nodes"
}
},
"type": "object",
"required": [
"work_id",
"revision",
"nodes"
],
"title": "节点目录结果"
},
"muse____________________25": {
"properties": {
"receipt_id": {
"type": "string",
"title": "Receipt Id"
},
"command_id": {
"type": "string",
"title": "Command Id"
},
"target_ref": {
"type": "string",
"title": "Target Ref"
},
"action": {
"type": "string",
"title": "Action"
},
"author_review_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Author Review Id"
},
"basis": {
"additionalProperties": true,
"type": "object",
"title": "Basis"
},
"results": {
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array",
"title": "Results"
},
"impact_ids": {
"items": {
"type": "string"
},
"type": "array",
"title": "Impact Ids"
}
},
"type": "object",
"required": [
"receipt_id",
"command_id",
"target_ref",
"action",
"author_review_id",
"basis",
"results",
"impact_ids"
],
"title": "正式回执结果"
},
"muse____________________26": {
"properties": {
"candidate_id": {
"type": "string",
"title": "Candidate Id"
},
"revision": {
"type": "integer",
"title": "Revision"
},
"decision": {
"type": "string",
"title": "Decision"
},
"stale": {
"type": "boolean",
"title": "Stale"
}
},
"type": "object",
"required": [
"candidate_id",
"revision",
"decision",
"stale"
],
"title": "候选进度结果"
},
"muse____________________27": {
"properties": {
"chapter_id": {
"type": "string",
"title": "Chapter Id"
},
"title": {
"type": "string",
"title": "Title"
},
"position": {
"type": "integer",
"title": "Position"
},
"document_revision": {
"type": "integer",
"title": "Document Revision"
},
"document_hash": {
"type": "string",
"title": "Document Hash"
},
"visible_characters": {
"type": "integer",
"title": "Visible Characters"
},
"candidates": {
"items": {
"$ref": "#/components/schemas/muse____________________26"
},
"type": "array",
"title": "Candidates"
}
},
"type": "object",
"required": [
"chapter_id",
"title",
"position",
"document_revision",
"document_hash",
"visible_characters",
"candidates"
],
"title": "章节进度结果"
},
"muse____________________28": {
"properties": {
"task_id": {
"type": "string",
"title": "Task Id"
},
"state": {
"type": "string",
"title": "State"
},
"event_cursor": {
"type": "integer",
"title": "Event Cursor"
}
},
"type": "object",
"required": [
"task_id",
"state",
"event_cursor"
],
"title": "任务进度结果"
},
"muse____________________29": {
"properties": {
"work_id": {
"type": "string",
"title": "Work Id"
},
"directory_revision": {
"type": "integer",
"title": "Directory Revision"
},
"total_chapters": {
"type": "integer",
"title": "Total Chapters"
},
"saved_chapters": {
"type": "integer",
"title": "Saved Chapters"
},
"undecided_candidates": {
"type": "integer",
"title": "Undecided Candidates"
},
"chapters": {
"items": {
"$ref": "#/components/schemas/muse____________________27"
},
"type": "array",
"title": "Chapters"
},
"tasks": {
"items": {
"$ref": "#/components/schemas/muse____________________28"
},
"type": "array",
"title": "Tasks"
}
},
"type": "object",
"required": [
"work_id",
"directory_revision",
"total_chapters",
"saved_chapters",
"undecided_candidates",
"chapters",
"tasks"
],
"title": "作品进度结果"
},
"muse____________________3": {
"properties": {
"action": {
"type": "string",
"const": "兼容检查",
"title": "Action"
},
"schema_id": {
"type": "string",
"title": "Schema Id"
},
"base_version": {
"type": "integer",
"minimum": 1.0,
"title": "Base Version"
},
"结构": {
"$ref": "#/components/schemas/muse_________________6"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"action",
"schema_id",
"base_version",
"结构"
],
"title": "结构对照请求"
},
"muse____________________30": {
"properties": {
"work_id": {
"type": "string",
"title": "Work Id"
},
"revision": {
"type": "integer",
"title": "Revision"
},
"content": {
"additionalProperties": true,
"type": "object",
"title": "Content"
},
"schema_binding": {
"$ref": "#/components/schemas/muse__________________4"
},
"visible_schema": {
"additionalProperties": true,
"type": "object",
"title": "Visible Schema"
},
"editable_schema": {
"additionalProperties": true,
"type": "object",
"title": "Editable Schema"
},
"visible_projection_version": {
"type": "string",
"title": "Visible Projection Version"
}
},
"type": "object",
"required": [
"work_id",
"revision",
"content",
"schema_binding",
"visible_schema",
"editable_schema",
"visible_projection_version"
],
"title": "作品表单结果"
},
"muse____________________31": {
"properties": {
"code": {
"type": "string",
"title": "Code"
},
"message": {
"type": "string",
"title": "Message"
}
},
"type": "object",
"required": [
"code",
"message"
],
"title": "交付格式问题"
},
"muse____________________32": {
"properties": {
"draft_id": {
"type": "string",
"title": "Draft Id"
},
"draft_hash": {
"type": "string",
"title": "Draft Hash"
},
"valid": {
"type": "boolean",
"title": "Valid"
},
"problems": {
"items": {
"$ref": "#/components/schemas/muse____________________31"
},
"type": "array",
"title": "Problems"
},
"setting_count": {
"type": "integer",
"title": "Setting Count"
},
"contract_version": {
"type": "string",
"title": "Contract Version"
}
},
"type": "object",
"required": [
"draft_id",
"draft_hash",
"valid",
"problems",
"setting_count",
"contract_version"
],
"title": "探索检查结果"
},
"muse____________________33": {
"properties": {
"work_id": {
"type": "string",
"title": "Work Id"
},
"revision": {
"type": "integer",
"title": "Revision"
},
"selection": {
"anyOf": [
{
"$ref": "#/components/schemas/muse___________________6"
},
{
"type": "null"
}
]
}
},
"type": "object",
"required": [
"work_id",
"revision",
"selection"
],
"title": "探索选定状态"
},
"muse____________________34": {
"properties": {
"candidate_id": {
"type": "string",
"title": "Candidate Id"
},
"plan_id": {
"type": "string",
"title": "Plan Id"
},
"revision": {
"type": "integer",
"title": "Revision"
},
"candidate_hash": {
"type": "string",
"title": "Candidate Hash"
},
"work_id": {
"type": "string",
"title": "Work Id"
},
"chapter_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Chapter Id"
},
"node_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Node Id"
},
"expected_revision": {
"type": "integer",
"title": "Expected Revision"
},
"schema_binding": {
"$ref": "#/components/schemas/muse__________________4"
},
"content": {
"additionalProperties": true,
"type": "object",
"title": "Content"
},
"decision": {
"type": "string",
"title": "Decision"
},
"visible_schema": {
"additionalProperties": true,
"type": "object",
"title": "Visible Schema"
},
"editable_schema": {
"additionalProperties": true,
"type": "object",
"title": "Editable Schema"
}
},
"type": "object",
"required": [
"candidate_id",
"plan_id",
"revision",
"candidate_hash",
"work_id",
"chapter_id",
"expected_revision",
"schema_binding",
"content",
"decision",
"visible_schema",
"editable_schema"
],
"title": "规划候选结果"
},
"muse____________________35": {
"properties": {
"review_id": {
"type": "string",
"title": "Review Id"
},
"review_hash": {
"type": "string",
"title": "Review Hash"
},
"snapshot": {
"additionalProperties": true,
"type": "object",
"title": "Snapshot"
},
"candidate": {
"$ref": "#/components/schemas/muse____________________34"
},
"before": {
"anyOf": [
{
"$ref": "#/components/schemas/muse__________________20"
},
{
"type": "null"
}
]
}
},
"type": "object",
"required": [
"review_id",
"review_hash",
"snapshot",
"candidate",
"before"
],
"title": "规划审阅结果"
},
"muse____________________36": {
"properties": {
"work_id": {
"type": "string",
"title": "Work Id"
},
"chapter_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Chapter Id"
},
"node_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Node Id"
},
"plan_id": {
"type": "string",
"title": "Plan Id"
},
"revision": {
"type": "integer",
"title": "Revision"
},
"schema_binding": {
"$ref": "#/components/schemas/muse__________________4"
},
"content": {
"additionalProperties": true,
"type": "object",
"title": "Content"
},
"visible_schema": {
"additionalProperties": true,
"type": "object",
"title": "Visible Schema"
},
"editable_schema": {
"additionalProperties": true,
"type": "object",
"title": "Editable Schema"
}
},
"type": "object",
"required": [
"work_id",
"chapter_id",
"plan_id",
"revision",
"schema_binding",
"content",
"visible_schema",
"editable_schema"
],
"title": "规划表单结果"
},
"muse____________________37": {
"properties": {
"revision": {
"type": "integer",
"title": "Revision"
},
"document_hash": {
"type": "string",
"title": "Document Hash"
},
"visible_text_hash": {
"type": "string",
"title": "Visible Text Hash"
},
"restored_from": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Restored From"
},
"created_at": {
"type": "string",
"format": "date-time",
"title": "Created At"
}
},
"type": "object",
"required": [
"revision",
"document_hash",
"visible_text_hash",
"restored_from",
"created_at"
],
"title": "正文历史结果"
},
"muse____________________38": {
"properties": {
"work_id": {
"type": "string",
"title": "Work Id"
},
"document_id": {
"type": "string",
"title": "Document Id"
},
"chapter_id": {
"type": "string",
"title": "Chapter Id"
},
"branch_id": {
"type": "string",
"title": "Branch Id"
},
"revision": {
"type": "integer",
"title": "Revision"
},
"state": {
"type": "string",
"enum": [
"saved",
"unsaved"
],
"title": "State"
},
"document": {
"$ref": "#/components/schemas/muse__________________10"
},
"visible_text": {
"type": "string",
"title": "Visible Text"
},
"document_hash": {
"type": "string",
"title": "Document Hash"
},
"visible_text_hash": {
"type": "string",
"title": "Visible Text Hash"
}
},
"type": "object",
"required": [
"work_id",
"document_id",
"chapter_id",
"branch_id",
"revision",
"state",
"document",
"visible_text",
"document_hash",
"visible_text_hash"
],
"title": "正文读取结果"
},
"muse____________________39": {
"properties": {
"format": {
"type": "string",
"title": "Format"
},
"format_version": {
"type": "integer",
"title": "Format Version"
},
"quality": {
"type": "string",
"title": "Quality"
}
},
"type": "object",
"required": [
"format",
"format_version",
"quality"
],
"title": "候选检查结果"
},
"muse____________________4": {
"properties": {
"work_id": {
"type": "string",
"title": "Work Id"
},
"expected_revision": {
"type": "integer",
"title": "Expected Revision"
},
"nodes": {
"items": {
"$ref": "#/components/schemas/muse__________________3"
},
"type": "array",
"title": "Nodes"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"work_id",
"expected_revision",
"nodes"
],
"title": "节点目录保存"
},
"muse____________________40": {
"properties": {
"change_id": {
"type": "string",
"title": "Change Id"
},
"start": {
"type": "integer",
"title": "Start"
},
"end": {
"type": "integer",
"title": "End"
},
"before": {
"items": {
"$ref": "#/components/schemas/__"
},
"type": "array",
"title": "Before"
},
"after": {
"items": {
"$ref": "#/components/schemas/__"
},
"type": "array",
"title": "After"
},
"before_text": {
"type": "string",
"title": "Before Text"
},
"after_text": {
"type": "string",
"title": "After Text"
}
},
"type": "object",
"required": [
"change_id",
"start",
"end",
"before",
"after",
"before_text",
"after_text"
],
"title": "候选差异结果"
},
"muse____________________41": {
"properties": {
"candidate_id": {
"type": "string",
"title": "Candidate Id"
},
"revision": {
"type": "integer",
"title": "Revision"
},
"candidate_hash": {
"type": "string",
"title": "Candidate Hash"
},
"document_id": {
"type": "string",
"title": "Document Id"
},
"chapter_id": {
"type": "string",
"title": "Chapter Id"
},
"branch_id": {
"type": "string",
"title": "Branch Id"
},
"origin": {
"type": "string",
"title": "Origin"
},
"base_revision": {
"type": "integer",
"title": "Base Revision"
},
"current_document_revision": {
"type": "integer",
"title": "Current Document Revision"
},
"document": {
"$ref": "#/components/schemas/muse__________________10"
},
"visible_text": {
"type": "string",
"title": "Visible Text"
},
"checks": {
"$ref": "#/components/schemas/muse____________________39"
},
"decision": {
"type": "string",
"enum": [
"undecided",
"adopt",
"reject",
"defer"
],
"title": "Decision"
},
"stale": {
"type": "boolean",
"title": "Stale"
},
"changes": {
"items": {
"$ref": "#/components/schemas/muse____________________40"
},
"type": "array",
"title": "Changes"
}
},
"type": "object",
"required": [
"candidate_id",
"revision",
"candidate_hash",
"document_id",
"chapter_id",
"branch_id",
"origin",
"base_revision",
"current_document_revision",
"document",
"visible_text",
"checks",
"decision",
"stale",
"changes"
],
"title": "正文候选结果"
},
"muse____________________42": {
"properties": {
"review_id": {
"type": "string",
"title": "Review Id"
},
"review_hash": {
"type": "string",
"title": "Review Hash"
},
"snapshot": {
"additionalProperties": true,
"type": "object",
"title": "Snapshot"
},
"candidate": {
"$ref": "#/components/schemas/muse____________________41"
},
"before": {
"$ref": "#/components/schemas/muse____________________38"
}
},
"type": "object",
"required": [
"review_id",
"review_hash",
"snapshot",
"candidate",
"before"
],
"title": "候选审阅结果"
},
"muse____________________43": {
"properties": {
"chapter_id": {
"type": "string",
"title": "Chapter Id"
},
"branch_id": {
"type": "string",
"title": "Branch Id"
},
"revision": {
"type": "integer",
"title": "Revision"
},
"document_hash": {
"type": "string",
"title": "Document Hash"
}
},
"type": "object",
"required": [
"chapter_id",
"branch_id",
"revision",
"document_hash"
],
"title": "事实来源版本"
},
"muse____________________44": {
"properties": {
"object_id": {
"type": "string",
"title": "Object Id"
},
"type_id": {
"type": "string",
"title": "Type Id"
},
"revision": {
"type": "integer",
"title": "Revision"
},
"system_revision": {
"type": "integer",
"title": "System Revision"
},
"content": {
"additionalProperties": true,
"type": "object",
"title": "Content"
},
"effective_from": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Effective From"
},
"knowledge_mode": {
"type": "string",
"title": "Knowledge Mode"
},
"independent": {
"type": "boolean",
"title": "Independent"
},
"content_hash": {
"type": "string",
"title": "Content Hash"
},
"projection_version": {
"type": "string",
"title": "Projection Version"
},
"schema_binding": {
"additionalProperties": true,
"type": "object",
"title": "Schema Binding"
},
"sources": {
"items": {
"$ref": "#/components/schemas/muse____________________43"
},
"type": "array",
"title": "Sources"
},
"planned_window": {
"anyOf": [
{
"additionalProperties": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Planned Window"
}
},
"type": "object",
"required": [
"object_id",
"type_id",
"revision",
"system_revision",
"content",
"effective_from",
"knowledge_mode",
"independent",
"content_hash",
"projection_version",
"schema_binding",
"sources"
],
"title": "世界事实结果"
},
"muse____________________45": {
"properties": {
"object_id": {
"type": "string",
"title": "Object Id"
},
"reason": {
"type": "string",
"title": "Reason"
}
},
"type": "object",
"required": [
"object_id",
"reason"
],
"title": "事实省略原因"
},
"muse____________________46": {
"properties": {
"work_id": {
"type": "string",
"title": "Work Id"
},
"directory_revision": {
"type": "integer",
"title": "Directory Revision"
},
"system_revision": {
"type": "integer",
"title": "System Revision"
},
"facts": {
"items": {
"$ref": "#/components/schemas/muse____________________44"
},
"type": "array",
"title": "Facts"
},
"beliefs": {
"items": {
"$ref": "#/components/schemas/muse____________________44"
},
"type": "array",
"title": "Beliefs"
},
"plans": {
"items": {
"$ref": "#/components/schemas/muse____________________44"
},
"type": "array",
"title": "Plans"
},
"omitted": {
"items": {
"$ref": "#/components/schemas/muse____________________45"
},
"type": "array",
"title": "Omitted"
}
},
"type": "object",
"required": [
"work_id",
"directory_revision",
"system_revision",
"facts",
"beliefs",
"plans",
"omitted"
],
"title": "世界查询结果"
},
"muse____________________47": {
"properties": {
"proposal_id": {
"type": "string",
"title": "Proposal Id"
},
"revision": {
"type": "integer",
"title": "Revision"
},
"proposal_hash": {
"type": "string",
"title": "Proposal Hash"
},
"work_id": {
"type": "string",
"title": "Work Id"
},
"object_id": {
"type": "string",
"title": "Object Id"
},
"expected_revision": {
"type": "integer",
"title": "Expected Revision"
},
"schema": {
"$ref": "#/components/schemas/muse__________________11"
},
"content": {
"additionalProperties": true,
"type": "object",
"title": "Content"
},
"independent": {
"type": "boolean",
"title": "Independent"
},
"sources": {
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array",
"title": "Sources"
},
"effective_from": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Effective From"
},
"knowledge_mode": {
"type": "string",
"title": "Knowledge Mode"
},
"known_to": {
"items": {
"$ref": "#/components/schemas/muse__________________14"
},
"type": "array",
"title": "Known To"
},
"planned_window": {
"anyOf": [
{
"additionalProperties": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Planned Window"
},
"decision": {
"type": "string",
"title": "Decision"
}
},
"type": "object",
"required": [
"proposal_id",
"revision",
"proposal_hash",
"work_id",
"object_id",
"expected_revision",
"schema",
"content",
"independent",
"sources",
"effective_from",
"knowledge_mode",
"known_to",
"planned_window",
"decision"
],
"title": "事实提案结果"
},
"muse____________________48": {
"properties": {
"review_id": {
"type": "string",
"title": "Review Id"
},
"review_hash": {
"type": "string",
"title": "Review Hash"
},
"snapshot": {
"additionalProperties": true,
"type": "object",
"title": "Snapshot"
},
"proposal": {
"$ref": "#/components/schemas/muse____________________47"
}
},
"type": "object",
"required": [
"review_id",
"review_hash",
"snapshot",
"proposal"
],
"title": "事实审阅结果"
},
"muse____________________5": {
"properties": {
"command_id": {
"type": "string",
"minLength": 1,
"title": "Command Id"
},
"directory": {
"$ref": "#/components/schemas/muse____________________4"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"command_id",
"directory"
],
"title": "节点目录请求"
},
"muse____________________6": {
"properties": {
"command_id": {
"type": "string",
"minLength": 1,
"title": "Command Id"
},
"work_id": {
"type": "string",
"minLength": 1,
"title": "Work Id"
},
"expected_revision": {
"type": "integer",
"minimum": 0.0,
"title": "Expected Revision"
},
"content": {
"additionalProperties": true,
"type": "object",
"title": "Content"
},
"schema_binding": {
"$ref": "#/components/schemas/muse__________________4"
},
"changes": {
"items": {
"$ref": "#/components/schemas/muse_________________7"
},
"type": "array",
"title": "Changes"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"command_id",
"work_id",
"expected_revision",
"schema_binding"
],
"title": "档案保存请求"
},
"muse____________________7": {
"properties": {
"command_id": {
"type": "string",
"minLength": 1,
"title": "Command Id"
},
"work_id": {
"type": "string",
"minLength": 1,
"title": "Work Id"
},
"chapter_id": {
"type": "string",
"minLength": 1,
"title": "Chapter Id"
},
"title": {
"type": "string",
"title": "Title"
},
"expected_directory_revision": {
"type": "integer",
"minimum": 0.0,
"title": "Expected Directory Revision"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"command_id",
"work_id",
"chapter_id",
"title",
"expected_directory_revision"
],
"title": "新增章节请求"
},
"muse____________________8": {
"properties": {
"command_id": {
"type": "string",
"minLength": 1,
"title": "Command Id"
},
"work_id": {
"type": "string",
"minLength": 1,
"title": "Work Id"
},
"chapter_ids": {
"items": {
"type": "string"
},
"type": "array",
"title": "Chapter Ids"
},
"expected_directory_revision": {
"type": "integer",
"minimum": 0.0,
"title": "Expected Directory Revision"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"command_id",
"work_id",
"chapter_ids",
"expected_directory_revision"
],
"title": "重排章节请求"
},
"muse____________________9": {
"properties": {
"draft_id": {
"type": "string",
"title": "Draft Id"
},
"title": {
"type": "string",
"title": "Title"
},
"content": {
"type": "string",
"title": "Content"
},
"expected_hash": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Expected Hash"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"draft_id",
"title",
"content",
"expected_hash"
],
"title": "探索保存请求"
},
"muse______http____________-Input": {
"properties": {
"password": {
"type": "string",
"format": "password",
"title": "Password",
"writeOnly": true
}
},
"additionalProperties": false,
"type": "object",
"required": [
"password"
],
"title": "登录请求"
},
"muse______http______________2": {
"properties": {
"event_id": {
"type": "string",
"title": "Event Id"
},
"sequence": {
"type": "integer",
"title": "Sequence"
},
"event_type": {
"type": "string",
"title": "Event Type"
},
"occurred_at": {
"type": "string",
"format": "date-time",
"title": "Occurred At"
},
"payload": {
"additionalProperties": true,
"type": "object",
"title": "Payload"
}
},
"type": "object",
"required": [
"event_id",
"sequence",
"event_type",
"occurred_at",
"payload"
],
"title": "事件响应"
},
"muse______http______________3": {
"properties": {
"author_id": {
"type": "string",
"title": "Author Id"
}
},
"type": "object",
"required": [
"author_id"
],
"title": "会话响应"
},
"muse______http_______________": {
"properties": {
"snapshot_id": {
"type": "string",
"title": "Snapshot Id"
},
"task_id": {
"type": "string",
"title": "Task Id"
},
"work_id": {
"type": "string",
"title": "Work Id"
},
"input_hash": {
"type": "string",
"title": "Input Hash"
},
"state": {
"type": "string",
"title": "State"
},
"invalidation": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Invalidation"
},
"changes": {
"items": {
"type": "string"
},
"type": "array",
"title": "Changes"
},
"assembly": {
"$ref": "#/components/schemas/muse______http___________________2"
},
"sources": {
"items": {
"$ref": "#/components/schemas/muse______http___________________3"
},
"type": "array",
"title": "Sources"
}
},
"type": "object",
"required": [
"snapshot_id",
"task_id",
"work_id",
"input_hash",
"state",
"invalidation",
"changes",
"assembly",
"sources"
],
"title": "快照响应"
},
"muse______http__________________1": {
"properties": {
"step_id": {
"type": "string",
"title": "Step Id"
},
"state": {
"type": "string",
"title": "State"
}
},
"type": "object",
"required": [
"step_id",
"state"
],
"title": "步骤响应"
},
"muse______http__________________2": {
"properties": {
"task_id": {
"type": "string",
"title": "Task Id"
},
"state": {
"$ref": "#/components/schemas/muse__________________1"
},
"work_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Work Id"
},
"task_type": {
"type": "string",
"title": "Task Type"
},
"last_sequence": {
"type": "integer",
"title": "Last Sequence"
},
"steps": {
"items": {
"$ref": "#/components/schemas/muse______http__________________1"
},
"type": "array",
"title": "Steps"
}
},
"type": "object",
"required": [
"task_id",
"state",
"work_id",
"task_type",
"last_sequence",
"steps"
],
"title": "任务响应"
},
"muse______http__________________3": {
"properties": {
"checks": {
"items": {
"$ref": "#/components/schemas/muse______http___________________4"
},
"type": "array",
"title": "Checks"
},
"verdict": {
"type": "string",
"title": "Verdict"
}
},
"type": "object",
"required": [
"checks",
"verdict"
],
"title": "基础呈现"
},
"muse______http__________________4": {
"properties": {
"类别": {
"type": "string",
"title": "类别"
},
"判定": {
"type": "string",
"title": "判定"
},
"说明": {
"type": "string",
"title": "说明"
},
"证据": {
"additionalProperties": true,
"type": "object",
"title": "证据"
},
"位置": {
"type": "string",
"title": "位置",
"default": ""
}
},
"type": "object",
"required": [
"类别",
"判定",
"说明",
"证据"
],
"title": "发现呈现"
},
"muse______http___________________1": {
"properties": {
"source": {
"type": "string",
"title": "Source"
},
"reason": {
"type": "string",
"title": "Reason"
}
},
"type": "object",
"required": [
"source",
"reason"
],
"title": "省略条目响应"
},
"muse______http___________________2": {
"properties": {
"included_sources": {
"items": {
"type": "string"
},
"type": "array",
"title": "Included Sources"
},
"text_hash": {
"type": "string",
"title": "Text Hash"
},
"byte_size": {
"type": "integer",
"title": "Byte Size"
},
"omissions": {
"items": {
"$ref": "#/components/schemas/muse______http___________________1"
},
"type": "array",
"title": "Omissions"
}
},
"type": "object",
"required": [
"included_sources",
"text_hash",
"byte_size",
"omissions"
],
"title": "装配清单响应"
},
"muse______http___________________3": {
"properties": {
"source_id": {
"type": "string",
"title": "Source Id"
},
"data_version": {
"type": "string",
"title": "Data Version"
},
"schema_hash": {
"type": "string",
"title": "Schema Hash"
},
"projection_version": {
"type": "string",
"title": "Projection Version"
},
"current_state": {
"type": "string",
"title": "Current State"
}
},
"type": "object",
"required": [
"source_id",
"data_version",
"schema_hash",
"projection_version",
"current_state"
],
"title": "来源证据响应"
},
"muse______http___________________4": {
"properties": {
"名称": {
"type": "string",
"title": "名称"
},
"判定": {
"type": "string",
"title": "判定"
},
"证据": {
"type": "string",
"title": "证据"
}
},
"type": "object",
"required": [
"名称",
"判定",
"证据"
],
"title": "检查项呈现"
},
"muse______http___________________5": {
"properties": {
"findings": {
"items": {
"$ref": "#/components/schemas/muse______http__________________4"
},
"type": "array",
"title": "Findings"
},
"coverage": {
"additionalProperties": true,
"type": "object",
"title": "Coverage"
}
},
"type": "object",
"required": [
"findings",
"coverage"
],
"title": "连续性呈现"
},
"muse______http____________________1": {
"properties": {
"command_id": {
"type": "string",
"minLength": 1,
"title": "Command Id"
},
"step_id": {
"type": "string",
"minLength": 1,
"title": "Step Id"
},
"stage": {
"type": "string",
"minLength": 1,
"title": "Stage"
},
"initial_request_hash": {
"type": "string",
"pattern": "^[0-9a-f]{64}$",
"title": "Initial Request Hash"
},
"max_model_calls": {
"type": "integer",
"exclusiveMinimum": 0.0,
"title": "Max Model Calls"
},
"max_tool_calls": {
"type": "integer",
"minimum": 0.0,
"title": "Max Tool Calls"
},
"valid_until": {
"type": "string",
"format": "date-time",
"title": "Valid Until"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"command_id",
"step_id",
"stage",
"initial_request_hash",
"max_model_calls",
"max_tool_calls",
"valid_until"
],
"title": "会话授权请求"
},
"muse______http____________________10": {
"properties": {
"report_id": {
"type": "string",
"title": "Report Id"
},
"candidate_id": {
"type": "string",
"title": "Candidate Id"
},
"candidate_revision": {
"type": "integer",
"title": "Candidate Revision"
},
"snapshot_id": {
"type": "string",
"title": "Snapshot Id"
},
"basic": {
"$ref": "#/components/schemas/muse______http__________________3"
},
"continuity": {
"$ref": "#/components/schemas/muse______http___________________5"
},
"verdict": {
"type": "string",
"title": "Verdict"
}
},
"type": "object",
"required": [
"report_id",
"candidate_id",
"candidate_revision",
"snapshot_id",
"basic",
"continuity",
"verdict"
],
"title": "审校报告呈现"
},
"muse______http____________________2": {
"properties": {
"command_id": {
"type": "string",
"minLength": 1,
"title": "Command Id"
},
"source_version": {
"type": "string",
"minLength": 1,
"title": "Source Version"
},
"content_hashes": {
"items": {
"type": "string"
},
"type": "array",
"minItems": 1,
"title": "Content Hashes"
},
"content_purpose": {
"$ref": "#/components/schemas/muse__________________2"
},
"retention_mode": {
"type": "string",
"enum": [
"temporary",
"archive",
"persistent"
],
"title": "Retention Mode"
},
"valid_until": {
"type": "string",
"format": "date-time",
"title": "Valid Until"
},
"call_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Call Id"
},
"call_request_hash": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Call Request Hash"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"command_id",
"source_version",
"content_hashes",
"content_purpose",
"retention_mode",
"valid_until"
],
"title": "原文授权请求"
},
"muse______http____________________3": {
"properties": {
"authorization_id": {
"type": "string",
"title": "Authorization Id"
},
"command_id": {
"type": "string",
"minLength": 1,
"title": "Command Id"
},
"retain_until": {
"type": "string",
"format": "date-time",
"title": "Retain Until"
},
"min_remaining": {
"type": "number",
"minimum": 0.0,
"title": "Min Remaining"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"authorization_id",
"command_id",
"retain_until",
"min_remaining"
],
"title": "原文租约请求"
},
"muse______http____________________4": {
"properties": {
"authorization_id": {
"type": "string",
"title": "Authorization Id"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"authorization_id"
],
"title": "原文归档请求"
},
"muse______http____________________5": {
"properties": {
"command_id": {
"type": "string",
"minLength": 1,
"title": "Command Id"
},
"chapter_id": {
"type": "string",
"minLength": 1,
"title": "Chapter Id"
},
"granularity": {
"type": "string",
"enum": [
"new_chapter",
"expand_scene",
"edit_selection"
],
"title": "Granularity"
},
"branch_id": {
"type": "string",
"title": "Branch Id",
"default": "main"
},
"purpose": {
"type": "string",
"title": "Purpose",
"default": ""
},
"config_id": {
"type": "string",
"minLength": 1,
"title": "Config Id"
},
"budget": {
"anyOf": [
{
"additionalProperties": {
"type": "integer"
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Budget"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"command_id",
"chapter_id",
"granularity",
"config_id"
],
"title": "发起生成请求"
},
"muse______http____________________6": {
"properties": {
"kind": {
"type": "string",
"enum": [
"author_draft",
"reference",
"web",
"note",
"inspiration"
],
"title": "Kind"
},
"title": {
"type": "string",
"minLength": 1,
"title": "Title"
},
"origin": {
"type": "string",
"minLength": 1,
"title": "Origin"
},
"content": {
"type": "string",
"title": "Content"
},
"authorized_uses": {
"items": {
"type": "string"
},
"type": "array",
"title": "Authorized Uses",
"default": []
}
},
"additionalProperties": false,
"type": "object",
"required": [
"kind",
"title",
"origin",
"content"
],
"title": "导入来源请求"
},
"muse______http____________________7": {
"properties": {
"ranking_id": {
"type": "string",
"minLength": 1,
"title": "Ranking Id"
},
"name": {
"type": "string",
"minLength": 1,
"title": "Name"
},
"url": {
"type": "string",
"minLength": 1,
"title": "Url"
},
"method": {
"type": "string",
"title": "Method",
"default": "html"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"ranking_id",
"name",
"url"
],
"title": "登记榜单请求"
},
"muse______http____________________8": {
"properties": {
"command_id": {
"type": "string",
"minLength": 1,
"title": "Command Id"
},
"config_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Config Id"
},
"reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Reason"
},
"retry_windows": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Retry Windows"
},
"window_chapters": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Window Chapters"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"command_id"
],
"title": "发起拆书请求"
},
"muse______http____________________9": {
"properties": {
"task_id": {
"type": "string",
"title": "Task Id"
},
"writing_task_id": {
"type": "string",
"title": "Writing Task Id"
}
},
"type": "object",
"required": [
"task_id",
"writing_task_id"
],
"title": "发起生成回执"
}
}
}
}